2008 Jul 07 5:26 PM
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.
2008 Jul 08 7:32 AM
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
2008 Jul 08 9:51 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |