Posts

Showing posts with the label Internal Table value pass to template in smartforms

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

Internal Table value pass to template in smartforms

Image
In smartforms we can pass internal table as well as work area. Literally we pass internal table in a smartforms table from Data tab we provide internal table name and work area name also declare in Global Declaration part. Suppose we used template in our smartforms and need to pass internal table. Right click on it and select create then Flow logic and finally select Loop. Then from Data tab click internal table and provide your internal table and work area.