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 ,     ...

ALV Report in SAP

In SAP most of the people used ALV report to fill their demands.ALV means ABAP List Viewer.

This time I am providing some important information on Simple Report.

Simple Report:
This report provides function modules which is helps to get the desired report without provide much effort.Important function modules are given below:

  • Reuse_ALV_Fieldcatalog_merge
  • Reuse_ALV_grid_Display
  • Reuse_ALV_Events_Get
  • Reuse_ALV_List_Display
  • Reuse_ALV_Commentary_Write

Reuse_ALV_Fieldcatalog_merge: Populate a field catalog  which is essential to display data in ALV report.
Important catalog are given here.
1. Export:
  • I_Program_Name : report id.
  • I_Internal_Tabname : Internal output Table.
  • I_Inclname : Include or the report name where all the dynamic forms are handel.
2.Changing:
 Ct_fieldcat: an internal table with the types SLIS_T_Fieldcat_ALV which is declare in the type pool SLIS.

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