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

Hide Column in SAP ABAP

 In SAP ABAP we need to hide some column based on users. Today I share  with you how to do it.

In module pool program we usually use it frequently.

At the very first time we need to define table control then need to use Loop.

we use  invisible = '1' for hide column.

Syntax like:

LOOP AT table_cnt-cols ASSIGNING FIELD-SYMBOL(<fs_cols_2>).
      IF <fs_cols_2>-index 'Column No' OR <fs_cols_2>-index 'Column NoOR <fs_cols_2>-index 'ColNo'.
        <fs_cols_2>-invisible '1'.
      ENDIF.
    ENDLOOP.  

Comments

Popular posts from this blog

New commodity code create in SAP S/4 Hana

Convert First character to Upper case in SAP ABAP