‎2008 May 23 6:57 PM
Hi,
I have a requirement in my production order outbound idoc(LOIPRO01), I have extended with some custom fields. In that one of the custom filed is there by named BackOrder with length char(1).
By using Function Module MD_PEGGING and if the Pegging Source is a Sales Order, I need to send the Flag as 'X' to Backorder filed.
Question :
I can give input as Material Number and Plant fields. Apart from this, from where I can get the values for other parameters edelkz,edelnr,edelps,eplaab etc. ?
Appreciated your help. Thanks in advance.
Regards,
Ranjith.
‎2008 May 23 7:12 PM
Hi,
I think you should get DTNUM from MDKP based on MATNR and PLWRK (plant).
Then get all your needed fields from MDTB based on DTNUM and DTPOS.
I think this will help..if yes.. <REMOVED BY MODERATOR>
thnx,
Ags..
Edited by: Alvaro Tejada Galindo on May 23, 2008 3:11 PM
‎2008 May 23 8:08 PM
Hi Agasti,
But when I am passing DTNUM to MDTB table, No entries found in the table.
Is there any other table, please let me know ?
Regards,
Ranjith.
‎2008 May 23 8:24 PM
Hi I don't know much functional stuff about this area.
You can either ask some functional guy in which tables corresponding data is stored. Else please do Where-used list for the fields you are looking for. and you will find some tables.
thnx,
Ags.