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

Different types of ALV Report in SAP

 Different types of ALV:

ALV list: this uses the function module

'REUSE_ALV_LIST_DISPLAY'

Hierarchical sequential list: function module

'REUSE_ALV_HIERSEQ_LIST_DISPLAY'

Fullscreen grid: this uses the function module

'REUSE_ALV_GRID_DISPLAY'
ALV Grid Control: Methods of the class CL_GUI_ALV_GRID
ALV Tree: Methods of the class CL_GUI_ALV_TREE

In Basis Release 6.40, an object-oriented ALV wrapper is provided.  This can be used for three different types of tables.

- for simple, two-dimensional tables using the classCL_SALV_TABLE
- for hierarchical sequential tables (class CL_SALV_HIERSEQ_TABLE)
- for tree structures (class CL_SALV_TREE)

 

  • The methods of the class CL_GUI_ALV_GRID, which are required for an ALV grid that cannot be edited, are released for use in customer-specific programs.  The documentation is accessed in the class documentation.
  • The object-oriented ALV wrapper, which is provided in Basis Release 6.40, is also released for customers.  For more information, see the corresponding class documentation, as well as the sample report SALV*.
  • The methods of the classes CL_GUI_ALV_TREE CL_GUI_ALV_TREE_SIMPLE, CL_ALV_TABLE_CREATE and the ALV function modules are not released for use by the customer.
  • The class CL_ALV_TABLE_CREATE is not released.

 

 

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