Posts

Showing posts from August, 2022

BAPI for material storage location Add

 We can add material storage location plant wise using third party app or web. BAPI names : BAPI_MATERIAL_MAINTAINDATA_RT Import parameters: HEADDATA: Material Tables: STORAGELOCATIONDATA: Material: Plant: STGE_LOC:   STORAGELOCATIONDATAX: Material: Plant: STGE_LOC:   use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.        

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

Function Module for sign (+/-) position change in SAP ABAP

 In SAP sign's are coming after number. But in our real life practice we need to show them before number.We can solve the problem by using a FM. The name of FM is   "CLOI_PUT_SIGN_IN_FRONT" Here I show you how to use it with a example. Suppose you get your value and keep it in a variable. Now need to follow as like below. UPP_val = GS_QAS- TOLERANZOB.            CALL  FUNCTION  'CLOI_PUT_SIGN_IN_FRONT'              CHANGING                VALUE  =  UPP_VAL .   By using it you are getting your desire result.