Posts

Showing posts from December, 2018

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

Modularization in SAP ABAP

What is Modularization in SAP ABAP Programming? The concept of modularization is divided the main program into sub-programs for better readability and re-usability. Modularization can be implemented in the following ways: Include Programs. Function Modules. Sub-routines. Classes. Include Programs: These programs can not be executed directly. These are sub-programs which contains a set of  re-usable statements. These programs doesn't contain parameter interface, that is no importing and exporting parameter. Function Module: These are also sub-programs which contains a set of reusable statements for better readability and re-usability. Function modules contains parameter interface, that is importing and exporting parameter. These function module can be executed independently. Function modules contains exception to catch certain type of error.] For functional modules T-code is : SE37. Sub-routines in SAP ABAP: Sub-routines are sub-programs in SAP ABAP ...