Application Development 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: 

Problem in Vl01n T-code Upload program

Former Member
0 Kudos

Hi Experts,

I have a issue in BDC for T-code 'VL01N' (Creating Outbound Delivery with Sales Order Reference) ..

I Have to perform page down in table control for line items and batch Split for the same line items.

First It will select the first line item and then i will press batch split button at the button in the same screen, It will take to next screen that is also table control with batch split here also i should

perform page down option i may have 500 to 600 batch for single line item.

In the same way i may have 500 line items for the same order so i have to select line item and then perform

batch split option then come back and Select the next line item in the same order.

I am facing problem in page scrolling in line item wise.

Is there any BAPI Code for the same Please forward me . i am working on ECC 5.0 version.

Thank you .

Regards.

Ravi.

Message was edited by:

Ravi reddy

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Ravi use the following BAPI

"BAPI_OUTB_DELIVERY_CREATE"

6 REPLIES 6

Former Member
0 Kudos

1. use the place cursor icon(bottom of the screen) on the main screen. this will help you to select the main line.

2. On the batch split screen use the create item icon(bottom of the screen) this will by default position the cursor on the 2 row, where u can keep adding batches by doing this in a loop.

3. Once the batches for the first line item are filled, then go back to main screen, place the cursor for the main item and then again do a batch split. Follow the same sequence and it should work

Former Member
0 Kudos

Hi Sam,

Thanks for the reply sam.

I have written BDC program its working fine but in some scenarios this not working .

Example:-

For a Sales order 10000. there are 24 line items assume that.

I can view 13 line items in the table control . After processing 13 line items i perform

page down then the remaining 11 line items should process but its picking 13 line items in the table control. the first two line items are already process one.

this is the problem i am facing .

regards.

Ravi.

0 Kudos

check the sy-ucomm(User command) for Page down and also check in BDC mode after doing page down where the cussor will be shifted and you could put cursor at specific line after making page down.

Try to run BDC in display mode for one of delivery you will understand the porblem.

Regards,

Amit R.

0 Kudos

Do not use pagedown.

1. use the place cursor icon(bottom of the screen) on the main screen. this will help you to select the main line.

since the line items are already there, it should bring the 14th line item to the top line

Former Member
0 Kudos

Ravi use the following BAPI

"BAPI_OUTB_DELIVERY_CREATE"

Former Member
0 Kudos

Ravi,

You will face many problems if you are trying to do a BDC for enjoy transactions(Transactions that end with N). Better use BAPI as suggested by Anirudha.

Thanks

Aneesh.