Posts

Showing posts with the label FM for fetch value against unconverted value in SAP ABAP

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

FM for fetch value against unconverted value in SAP ABAP

 In SAP ABAP sometimes we need to show value field data but when we fetch data from table we get unconverted value. Most of the time its happens when we need to show Base unit of measurement. In below I show you the process with example.Hope it will help you to find the desire field. Function module name: " CONVERSION_EXIT_CUNIT_OUTPUT "   CALL  FUNCTION  'CONVERSION_EXIT_CUNIT_OUTPUT'              EXPORTING                INPUT     =  GS_QAMV - MASSEINHSW                LANGUAGE  =  SY - LANGU              IMPORTING *             LONG_TEXT           ...