on 04-02-2009 7:31 AM
Hey experts,
i want to use function module BAPI_INB_DELIVERY_CHANGE. But i can't find a docu, how to use it. I want to update some standard fields in table LIPS. What have i to do? What strructure do have to extend or is there no need?
thx,
Ming
Functionality
You can use this method to change inbound deliveries both the Enterprise Resource Planning system (ERP system) and the decentralized Warehouse Management System (WMS), according to their respective distribution to the decentralized WMS.
You can make these changes in the central ERP system and in the decentralized WMS. The interface ensures that inbound delivery data planned for a comparison is identical in both systems, even after subsequent changes.
Changing Header Data:
Weight (gross weight and net weight)
Volume
Door
Delivery date
Delete delivery
You can only delete deliveries in the decentralized system and copy this deletion to the central SAP ERP system, if the decentralized WMS is an external system. For this, set the DLV_DEL indicator in the HeaderControl parameter.
Changing Item Data:
Quantity
Weight (gross weight and net weight)
Volume
Expiration date
Delete item
Changing Partner Data:
Change or delete partner for a partner function
Change a partner's address
If you want to change partner data, the system checks the Customizing settings of the other system, to see whether this type of change is permitted.
Change Process Flow
1. You subsequently change an inbound delivery in the central ERP system or the decentralized WMS, after the delivery was distributed to the decentralized WMS.
2. If the decentralized WMS is an SAP system, the system blocks the relevant inbound delivery in the partner system as soon as you call the change transaction.
3. When you save the changes to the inbound delivery, the system sends a synchronous change request to the connected partner system.
4. The partner system uses the synchronous change request to simulate the change, then either accepts or rejects the change request.
5. If the partner system rejects the change request, you cannot make the change. The system cancels processing and displays a relevant error message.
If the partner system accepts the change request, the system saves the changes to the outbound delivery in the system in which you have made the changes. It then sends an asynchronous change request to the partner system.
6. This asynchrounous change request causes the partner system to update the inbound delivery data.
7. The system removes the cross-system lock for the changed inbound delivery.
Example
If you want to change the quantity for a distributed quantity, then following entries are required for the transfer to the connected system:
In the header data of inbound delivery parameter (HEADER_DATA)
The delivery number (DELIV_NUMB)
In parameter item data of inbound delivery (ITEM_DATA)
The delivery number (DELIV_NUMB)
The delivery item (DELIV_ITEM)
The delivery quantity in sales unit (DLV_QTY)
The actual delivery quantity in base UoM (DLV_QTY_IMUNIT)
The sales unit (SALES_UNIT)
The ISO code for the sales unit (SALES_UNIT_ISO)
The base unit of measure (BASE_UOM)
The ISO code for the base unit of measure (BASE_UOM_ISO)
In the control of the inbound delivery at item level parameter (ITEM_CONTROL)
The delivery number (DELIV_NUMB)
The delivery item (DELIV_ITEM)
The Change Delivery Quantity indicator(CHG_DELQTY)
If you do not make any further entries, the system copies the material number, plant, quantities as floating point numbers, volumes, weights, and their units from the original inbound delivery document.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am also facing the same problem.
I want to update one of the fields of LIPS (LIPS-LIFEXPOS) using the BAPI - BAPI_INB_DELIVERY_CHANGE. But this field is not available at item level strucute.
Please help me in this regard ASAP, how to change this field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmmm,
i already read the documantion. Isn't there an additional one? I want to change 4 fields in LIPS, which are not in the item structure of the module. How can i do this? The fields are:
- vbeln
- posnv
- vbtyv
- sobkz
Is this possible?
thx,
Ming
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thx, i will try it and give you feedback.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
DATA g_delivery TYPE bapiobdlvhdrchg-deliv_numb.
DATA gt_header_data TYPE TABLE OF bapiobdlvhdrchg WITH HEADER LINE.
DATA gt_header_ctrl TYPE TABLE OF bapiobdlvhdrctrlchg WITH HEADER LINE.
DATA return TYPE TABLE OF bapiret2 WITH HEADER LINE.
DATA gt_data TYPE TABLE OF bapiobdlvitemchg WITH HEADER LINE.
DATA gt_ctrl TYPE TABLE OF bapiobdlvitemctrlchg WITH HEADER LINE.
CLEAR g_delivery.
g_delivery = '0080000001'.
CLEAR gt_header_data.
REFRESH gt_header_data.
gt_header_data-deliv_numb = g_delivery.
APPEND gt_header_data.
CLEAR gt_header_ctrl.
REFRESH gt_header_ctrl.
gt_header_ctrl-deliv_numb = g_delivery.
APPEND gt_header_ctrl.
CLEAR gt_data.
REFRESH gt_data.
gt_data-deliv_numb = '0080000001'.
gt_data-deliv_item = '000010'.
APPEND gt_data.
REFRESH gt_ctrl.
gt_ctrl-deliv_numb = '0080000469'.
gt_ctrl-deliv_item = '000010'.
gt_ctrl-del_item = 'X'.
APPEND gt_ctrl.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
EXPORTING
header_data = gt_header_data
header_control = gt_header_ctrl
delivery = g_delivery
TABLES
item_data = gt_data
item_control = gt_ctrl
return = return.
Thanks,
Shailaja Ainala.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI ,
In se37 if u open the fm, and from menu u can do go to -> documentation.
U will get the detail desc.
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 |
---|---|
101 | |
12 | |
10 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.