on 10-28-2010 5:17 PM
Hello all,
We would like to split deliveries that have more than 250 lines on them. We have tried inserting code in several routines in transaction VOFM - Data Transfer - Deliveries. We have copied Routines 302 & 500 and inserted code directly in 500.
Here is an example of what we have tried. We count the lines in table xlips and if it is greater than 249, we delete the table from 250 and following. Right now we are using 10 lines for testing purposes.
DATA: l_lines LIKE sy-tabix.
*Limit deliveries to 249 lines for certain European plants
IF likp-lfart = 'NLCC'.
CASE xlips-werks.
WHEN: '4310' OR '4311' OR '4322' OR '4331' OR '4341'.
DESCRIBE TABLE xlips[] LINES l_lines.
IF l_lines > 10.
DELETE xlips[] FROM 11 TO l_lines.
clear ilips.
ENDIF.
ENDCASE.
endif.
When we copied routine 500, the program wouldn't stop at breakpoints put in the code. Now that we have put it in routine 500, we get a short dump related to ILIPS.
It seems to me that there would be a more elegant way of splitting deliveries than this.
Does anyone know of a way to do this?
Thanks in advance,
Chris
Hello Chris
Yes, there is something called Subsequent Outbound Delivery Split. T code VLSP.
Read about it here on the set up etc.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/16/8d8afe8bbc11d3b4c6006094b9b9dd/frameset.htm
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are looking at SAP notes 546668 & 166397. The latter describes the use of field LIKP-ZUKRL as a splitting criterion.
Thank you all for your responses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
i got your question.
this you can achieve through only BAPI for delivery line items split.
for eg:
there are 250 line items in the delivery you wanted to split basing on the item category.
you can use this BAPI with a different screen which will be similar to VLSP.
maintain the fields in screen exit.
and you can achieve on the same.
but it taes long time for achieveing this
regards
balajia.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You many also be interested in OSS Note 103334 - Error F5 807 in GI - split deliveries that are too large. Check whether this note could help for in your scenario.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.