‎2007 Nov 09 1:15 PM
Hello every one
Can any one give me the code to write VBAP.PRODH field into E1EDP19 segemnt with qualifier 999 ?
I just want to populate the E1EDP19 segment's IDTNR with qualifier 999 with VBAP.PRODH data.
I knw how to write data which has exactly the same fields , but i don't know how to write the data to a particular qualifier.
I know thw user exit and function module for it . I just need hte code.
Our requirement is to make the orders.Quote idoc to have the VBAP.PRODH data in it.
Your help is appriciated.
thank you
‎2007 Nov 09 3:30 PM
Hi,
I assumed you are using user exits EXIT_SAPLVEDC_002 (ZXVEDU02).
Please try this.
DATA: WA_E1EDP19 LIKE E1EDP19.
LOOP AT INT_EDIDD.
CASE INT_EDIDD-SEGNAM.
WHEN 'E1EDP19'.
MOVE INT_EDIDD-SDATA TO WA_E1EDP19.
WA_E1EDP19-QUALF = '999'.
WA_E1EDP19-IDTNR = DXVBAP-PRODH.
MOVE WA_E1EDP19 TO INT_EDIDD-SDATA.
APPEND INT_EDIDD.
WHEN OTHERS.
ENDCASE.
ENDLOOP.
Regards,
Ferry Lianto
‎2007 Nov 14 1:55 PM
Hi Lianto
Thnaks a lot for your reply ... When i ran the syntax check on the code it says that DXVBAP... does exixt but XVBAP exists.
What should i do Change it to XVBAP or inore it
What is DXVBAP?
Thank you
‎2007 Dec 18 2:26 PM