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

SAP Report Catagory

In SAP there are multiple types of report.We can mark them like: Classical report, Interactive report, ALV report.

Classical Report:
  • Which contains both selection-screen and output screen.
  • Event based program, written in ABAP language.
  • Executed based on events not line by line.
Interactive Report:

  • Display basic information on the basic list and the detail information in the  secondary list.
  • In SAP there are 21 list, first one is called basic list with list number 0 and others are known as secondary list and start with 1,2,3 to 20.
  • System variable SY-LSIND  give the list index number.
ALV Report:

  • Looks better 
  • ALV report gives extra benefit like sort, Filter, sum, changing layout, downloading in different format & print.



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