We have created a routine via exit EXIT_SAPLMEKO_001 to determine our forwarding agent for our internal stock transfers based upon customer created tables. I am successful in determining the partner and transferring the partner into the communication table for determining freight rates. What I would like to do is identify the partner determined on the partner screen. I understand from SAP note 117537 that there is no partner determination process for stock transfer but is there a way to manually update table EKPA with the appropriate partner. Every function module I have found uses the document number as the key but in the create process the document number has yet to be assigned. Is there a BADI or some other process to allow me to update this table during the purchase order create process.
Any assistance is appreciated.
Regards,
Brian