on 2024 May 15 6:05 PM
Hey people,
I have an Issue in which I fail to update delivery item fields when using 'BAPI_OUTB_DELIVERY_CHANGE'
I'll let you consider the following setting:
The solution I have gathered is this:
The problem is that it all runs well except for the actual change save to table LIPS,
I thought it might be caused due to some efficiency mechanism that detected no changes to standard LIPS fields and therefore figured no changes should be done and dropped the change to db.
Suggestions will be suuuuuper useful.
Thanks,
Ariel.
Request clarification before answering.
Well,
after taking a deeper look into it, I found this
since non of the standard values change the system will not call the BAdI's (LE_SHP_DELIVERY_PROC) following methods:
- CHANGE_DELIVERY_HEADER
- CHANGE_DELIVERY_ITEM
but will call SAVE_DOCUMENT_PREPARE,
and what I did notice is that the system sets the update indicator to being empty instead of 'U' that will ultimately trigger an update i.e. XLIPS-UPDKZ = 'U' and/or XLIKP-UPDKZ = 'U', the one relevant for you depends whether you need changes in delivery header and/or items.
when you set these values to 'U' the values that you extracted from the 'BAPI_OUTB_DELIVERY_CHANGE' on BAdI 'SMOD_V50B0001' will be saved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.