Skip to Content
author's profile photo Former Member
Former Member

problem creating delivery from vl01n transaction using BDC

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 06: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 08: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.