‎2010 Mar 25 3:50 PM
Hi Folks
I need to create partner function in the delivery header with some information extracted from different tables. I have done the coding in SAVE_DOCUMENT for XVBPA by appending a line to it. However when I look at the Delivery partners after the execution, the newly added partner in the XVBPA is not added to the partners list.
I have looked at SAVE_DOCUMENT_PREPARE though I havent tried it. Can anyone give me an expert opinion that should I use SAVE_DOCUMENT_PREPARE instead of SAVE_DOCUMENT to populate the XVBPA.
Regards
Waz
‎2010 Mar 25 7:04 PM
XVBPA will not be changed or the change will be ignored after SAVE_DOCUMENT_PREPARE. At SAVE_DOCUMENT_PREPARE, check whether you need XVBPA or whether you're only working with VBPA at that point, since the before/after tables may no longer be relevant.
‎2010 Mar 26 7:52 AM
Hi Waz,
When updating the XVBPA structure, be sure to update the field UPDKZ accordingly, this is important.
Regards,
Chen
‎2010 Mar 29 2:03 AM
Thanks Folks for your valuable inputs. I did find this out that XVBPA and XLIKP are only updated in SAVE_DOCUMENT_PREPARE and nothing is updated for them in SAVE_DOCUMENT.