on 03-25-2009 7:49 AM
Hi,
My customer has a specific business scenario in the warehouse, that I need an ABAP code to add a additional item into the existing delivery. This item would be without a reference to any preceding document (warehouse is allowed to add an item, whic was not ordered in the preceding document). It is easy to do it via VL02N manually, but I have not found any ABAP function to do it from the ABAP programm. What I have found is WS_DELIVERY_UPDATE, BAPI_OUTB_DELIVERY_CHANGE, but it seems, that those can make changes in the existing outbound delivery items, but cannot add additional one. Any ideas?
Mazvydas
You may find valuable answers in a development or ABAP forum.
Here is what we have done:
Create a BDC to add a delivery line item. In order to do this, the program had to do the following:
Determine the last line item number of the delivery
Determine the number range interval for line items
In the BDC, use the "Cursor placement" fuction to place the curser on the last line item
Add a new line item on the next line.
There may be much smarter ways to do this, but this seemed to work for us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.