Using BAPI upload excel file for t-code AS02 in SAP

Using BAPI " BAPI_FIXEDASSET_CHANGE " create a zprogram to upload excel file for mass change fixed asset in SAP. REPORT  ZAS02_ASSET_CHANGE_UPLOAD . TYPE-POOLS :  truxs . " Structure for Excel data TYPES :  BEGIN  OF  ty_excel ,          anln1  TYPE  anln1 ,          bukrs  TYPE  bukrs ,          kostl  TYPE  kostl ,          werks  TYPE  werks ,          prctr  TYPE  prctr ,         END  OF  ty_excel . DATA :  lt_excel     TYPE  TABLE  OF  ty_excel ,       ls_excel     TYPE  ty_excel ,     ...

Data Dictionary : Data Types Domains Data Elements in SAP

Data Types Domains Data Elements in SAP:

Basically there are three types of data types in sap: Elementary Data types, Complex Data types, Reference Types.

Elementary Data types: In elementary data types there are again two types of data category: Fixed length and Variable length.

Fixed Length Data Types:
  • F Float 
  • I integer
  • H hexadecimal
  • D Date
  • T Time
  • N Numeric
  • C Text Field
  • P Parked Number
Variable Length:
  • STRING Character Sequence
  • X STRING Byte Sequence. 
Complex Types includes structure types and table types.
Reference Types includes Data References and Object References 
 

Comments

Popular posts from this blog

New commodity code create in SAP S/4 Hana

BAPI to Change STO PO/ PO Delivery date in SAP

Decimal remove in a smartforms report