Pass value to search help(EKORG) under source of supply tab ME51N in SAP ABAP.

 

* Find out the parameter id.

    - Goto SE11.

    - Give table name EBAN and click on display.

    - Select the field and double click on data element.

    - Click on further characteristics tab.

    


BADI - ME_PROCESS_REQ_CUST

* Create implementation for this Badi.

    - Go to SE18.

    - Give Badi name and click on display.

    - Click on implementation and click on create.

    - Give implementation name. Give short text and save.

    - Double click on process item method and write code.

  method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.
    IF sy-uname 'TRNGAB63'.
      SET PARAMETER ID 'EKO' FIELD 'B222'.
    ENDIF.
  endmethod.

- Finally activate the implementation.


Checking

* Goto T-code: ME51N.

* Give item number 10 and press enter.

* Click on desired vender search help under source of supply tab.



******************************Thank You***************************

Comments

Popular posts from this blog

Pf status and user command in factory method - OOPS ALV in ABAP

fetch the data from table and send an email in ABAP

Enhancements in abap