Posts

Showing posts with the label Convert First character to Upper case in SAP ABAP

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

Convert First character to Upper case in SAP ABAP

 In SAP sometime we need to convert string as first letter in capital format and then start with small letter word wise. For that case we need to use Function module. In my profession i did so many times. Give here example, hope it will help you to solve the issues. FM: 'FI_CONVERT_FIRSTCHARS_TOUPPER'     Data :  string   type  char255 ,       OUT_STR  TYPE  CHAR255 . string  =  ' SMALL CHANGE' . CALL  FUNCTION  'FI_CONVERT_FIRSTCHARS_TOUPPER'    EXPORTING     INPUT_STRING         =  'string' *   SEPARATORS          = ' -.,;:'   IMPORTING    OUTPUT_STRING        =  OUT_STR            .   Output: Small Change...