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

idoc help needed

Former Member
0 Likes
804

Hi

I have an idoc of type

message type orders

partner type li

In data record E1EDK01,i have a field belnr.

in the same idoc i have a segment e1edpo1 , i have a sub segment E1EDPO2 005 FOR THIS ALSO i have field belnr too.

but both the belnr values differ.

can you tell me what the belnr values here refer too and for few idocs i don't have E1EDPO2.

I WANT TO KNOW IN WHICH SEGMENT I CAN FIND THE PO NUMBER AND INVOICE NUMBER.

2 REPLIES 2
Read only

Former Member
0 Likes
596

Hi Baala,

E1EDK01 defines header info where E1EDP02 defines line items.Sometimes you may not have E!EDP01(parent of E!EDP02) if u don't have item level for that document.

If you r using this for PO.then E1EDK01-belnr refers PO number where E1EDP02 -belnr refers to contract no or RFQ_no.Because you can create one PO with different items fromdifferent RFQs.

If u want more info can u pls tell me for which order u r using this message type ORDERS.

Regds,

Vinsa.R

Read only

former_member404244
Active Contributor
0 Likes
596

Hi,

I think E1EDK01-BELNR refers to PO number.E1EDPO2 is an item level segment whcih can occur many times.Also E1EDK01 is a mandatory segment,butE1EDP02 is not a mandatory segment.So u better refer BELNR of E1EDK01 segment.

Regards,

nagaraj