‎2011 May 04 7:46 AM
Hi,
My requirement is to update the VTREF field by BAPI_SALESORDER_CHANGE. But i could not find this field in this BAPI . Any means of doing this? Awaiting for ur response.
Thanks in advance
Agilent
‎2011 May 04 5:53 PM
Where did you get this field? I've searched VBAK, VBAP, VBKD, but it's not there.
‎2011 May 05 7:44 AM
Hi Agilent,
I looked at the BAPI and my understanding is that you might not be able to update VBKD-VTREF using the BAPI, so the workaround for this would be.
If you are calling the BAPI within SAP then,
1) Export the value of VTREF to ABAP memory before calling the BAPI.
2) Implement the Implicit enhancement for "FORM USEREXIT_MOVE_FIELD_TO_VBKD." in "MV45AFZZ" and import the VTREF Value here and update the structure.
If you are calling the BAPI from an external system,
1) Pass the value of VTREF in the extensions parameter.
2) Implement the Implicit enhancement for "FORM USEREXIT_MOVE_FIELD_TO_VBKD." in "MV45AFZZ" and import the VTREF Value here and update the structure.
Regards,
Chen