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 Elements & Domains Concept in SAP

What is a Date Element in SAP ABAP ?

Data elements is an object which specified semantic information of a field, like: field label, headings.

What is a Domain in SAP ABAP ?
Domain is an object which specified technical information of a field in a table, like : data type, value range, length  etc.


Why use Data elements and Domains in SAP:

When ever we are creating a new table or adding a field to existing table, we need to specify field labels and data types for the field, in SAP we maintain these values in the form of Data elements and Domains.


T-Code is : SE11

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

Alpha IN/OUT to Handle Leading Zeros in SAP ABAP