Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module MD_PEGGING

former_member297642
Participant
0 Likes
761

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.

3 REPLIES 3
Read only

Former Member
0 Likes
585

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

Read only

0 Likes
585

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.

Read only

0 Likes
586

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.