Skip to Content
Former Member
Jun 09, 2010 at 12:52 PM

How to create substitution exit for PO substituting of BSEG-PROJK


Hi all,

Actually I have requirement to substitute the value of BSEG-PROJK

and my exact requirement is

"The substitution needs to look up the WBS-element in the PO. To achieve this, retrieve the PO number the goods receipt is posted for (BSEG-EBELN). Then go to table STXH and enter the PO number in the field TDNAME, enter F03 into the field TDID and EKKO into the field TDOBJECT. Then read out the text from the structure STXT with function module READ_TEXT. This value will then substitute the field BSEG-PROJK."

All the functional work is done i have to give a exit name to functional.

But now I am unable that from where i have to write my code.

please reply.