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

Help on ORDERS05 IDoc mapping..

Former Member
0 Likes
2,001

Hi Experts,

Please help me out in finding out the IDoc Segment fields(ORDERS05) equivalent to the following SAP fields.

20 Quantity VBAP KWMENG Num(6)

21 Unit of Measure VBAP VRKME Char(3)

22 Gross Price KONV KBETR Curr(11.2)

23 Discount KONV KBETR Curr(11.2)

24 Surcharge KONV KBETR Curr(11.2)

25 Net Value KONV KBETR Curr(11.2)

26 Cost Object

31 Payment Terms VBKD ZTERM Char E1EDK01 -ZTERM

32 Footer Msg1 STXI n/a Char

33 Footer Msg2 STXI n/a Char

34 Footer Msg3 STXI n/a Char

35 Total KONV KBETR Curr E1EDS01 -SUMID (004)

I thought for

Quantity : E1EDP01-MENGE

Unit of Measure : E1EDP01-MENEE

Gross Price : E1EDP01-PREIS

But when i went to WE19 and posted the idoc by populating the above segment fields its not getting updated in the sales order, instead in the created sales order it shows quantity as 0 and its not getting updated.

so iam not sure whether these segment fields (in ORDERS05 IDoc) are the right fit for quantity, UoM and Gross price. Please provide me the correct segment fields mapping for the above SAP fields.

Actually Gross price, surcharge, discount and Net value are calculated automatically by SAP while creating the sales order based on the amount and quantity entered - right..? Then do i need to populate the values for these fields also in IDoc for testing using WE19.

Please reply me.

Thanks in advance,

karthik.

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
1,508

Hi karsar,

I remember you need schedule lines. Populate segment

E1EDP20 IDoc schedule lines Field WMENG.

Regards,

Clemens

Hi Experts,

Please help me out in finding out the IDoc Segment fields(ORDERS05) equivalent to the following SAP fields.

20 Quantity VBAP KWMENG Num(6)

21 Unit of Measure VBAP VRKME Char(3)

22 Gross Price KONV KBETR Curr(11.2)

23 Discount KONV KBETR Curr(11.2)

24 Surcharge KONV KBETR Curr(11.2)

25 Net Value KONV KBETR Curr(11.2)

26 Cost Object

31 Payment Terms VBKD ZTERM Char E1EDK01 -ZTERM

32 Footer Msg1 STXI n/a Char

33 Footer Msg2 STXI n/a Char

34 Footer Msg3 STXI n/a Char

35 Total KONV KBETR Curr E1EDS01 -SUMID (004)

I thought for

Quantity : E1EDP01-MENGE

Unit of Measure : E1EDP01-MENEE

Gross Price : E1EDP01-PREIS

But when i went to WE19 and posted the idoc by populating the above segment fields its not getting updated in the sales order, instead in the created sales order it shows quantity as 0 and its not getting updated.

so iam not sure whether these segment fields (in ORDERS05 IDoc) are the right fit for quantity, UoM and Gross price. Please provide me the correct segment fields mapping for the above SAP fields.

Actually Gross price, surcharge, discount and Net value are calculated automatically by SAP while creating the sales order based on the amount and quantity entered - right..? Then do i need to populate the values for these fields also in IDoc for testing using WE19.

Please reply me.

Thanks in advance,

karthik.

3 REPLIES 3
Read only

Clemenss
Active Contributor
0 Likes
1,509

Hi karsar,

I remember you need schedule lines. Populate segment

E1EDP20 IDoc schedule lines Field WMENG.

Regards,

Clemens

Read only

Former Member
0 Likes
1,508

Hi Clemens,

Ok i try populating E1EDP20-WMENG field and check in the sales order.

If you could advice me on my other questions that would be of great help and i will award the points also.

Thanks.

Read only

Former Member
0 Likes
1,508

In sales order,these quantity updating in Tatget quantity,look at VBAP Table ..

You will get good idea..

Reward Points if it is helpful

Thanks

Seshu