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

problem creating delivery from vl01n transaction using BDC

Former Member
0 Likes
602

Hi Gurus,

i am facing trouble entering correct quantities for line items in Sales Order in transaction vl01n while performing BDC on it.

i have an internal table with all the values required to perform BDC.

the problems is due to different shiping point or ship-to-party or route the delivery gets split and then i have got confused as to how can i enter correct quantity fields for corrrect line item in the SO.

the problem starts when there are suppose 3 line items in a SO for which shipping point and route and ship-to-party code all r same and and i have to enter the quantity and create delivery only of 3rd line item and not for line item 1 and 2.

the cursor by default goes for line item 1 how can i process the BDC such that the control directly goes to the 3rd line item and keeping what fields in consideration should i move inside the item fields of vl01n transaction.

please suggest and kindly help with supportive code.

Hi Gurus,

i am facing trouble entering correct quantities for line items in Sales Order in transaction vl01n while performing BDC on it.

i have an internal table with all the values required to perform BDC.

the problems is due to different shiping point or ship-to-party or route the delivery gets split and then i have got confused as to how can i enter correct quantity fields for corrrect line item in the SO.

the problem starts when there are suppose 3 line items in a SO for which shipping point and route and ship-to-party code all r same and and i have to enter the quantity and create delivery only of 3rd line item and not for line item 1 and 2.

the cursor by default goes for line item 1 how can i process the BDC such that the control directly goes to the 3rd line item and keeping what fields in consideration should i move inside the item fields of vl01n transaction.

please suggest and kindly help with supportive code.

2 REPLIES 2
Read only

Former Member
0 Likes
513

Hi,

we have button called Place cursor at the bottom of the table control screen in VL01N.A popup will appear with item number as input when we click on this button. What ever the item number we enter in the popup screen that item will become the first row of the table control. So, make use of this button to enter the values for the required item

Thanks,

Rajinikanth

Read only

Former Member
0 Likes
513

Hi Ankit,

As Rajini said we need to record the table control vl01n,using that button and when you are looping through line items, that button will insert row for each line itme and place the cursor in subsequent rows.

OR

You can Find number of line items for order and Increment index of table control for every loop pass.

make sure that you select default size = 'X', when recording.

Hope this will be help ful for you.

Reward points if it is help ful.