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

reg idoc

Former Member
0 Likes
721

Hi all,

Is there anytable that would relate the idoc and po

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
691

Hi Venki,

Please check table NAST.

NAST-KAPPL = 'EF' (Purchase Order)

NAST-OBJKY = EKPO-EBELN

Regards,

Ferry Lianto

Hi all,

Is there anytable that would relate the idoc and po

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
692

Hi Venki,

Please check table NAST.

NAST-KAPPL = 'EF' (Purchase Order)

NAST-OBJKY = EKPO-EBELN

Regards,

Ferry Lianto

Read only

0 Likes
691

Hi FERRY,

what about the idoc number.

lets say if i know the idoc number then on what basis i would retrieve the po number.

Thanks

VENKI

Read only

0 Likes
691

hI ANYSUGGESTIONS

thanks

Read only

Former Member
0 Likes
691

Venki,

I think one practice is to build the linkage by placing the IDOC number within the "Our reference" field of the PO header (field EKKO-UNSEZ).

Alternatively, if the PO# is actually passed on the IDOC, and you know the segment, you can do something like this to get at it:

select * from edid4 into yourtable

where docnum = youridocnumber and

segnam = 'E1MBXYH'.

Paul