2018 Feb 22 9:23 PM
Hello,
I have a requirement to copy a reference field from a PR - table EBAN to the PO field EKKO-IHREZ.
Is there a field on EBAN that will transfer to EKKO-IHREZ when the PO is generated?
If not, is there ABAP code that can be used to accomplish this task?
Help is much appreciated.
Bernardo
2018 Feb 22 9:30 PM
the purchase requisition has no header table, the purchase requisition is so to say just items.
Standard functionality allows to combine x requisitions in a single PO.
If you do not restrict this standard functionality from which PR do you then want the value to flow in the PO header?
2018 Feb 22 10:41 PM
Hi Jürgen,
In this case we are going to restrict the combination of requisitions into a single PO. It will be one PR to one PO.
Thank you.
2018 Feb 23 1:00 PM
AFAIK, EKKO-IHREZ is information provided by the vendor in their acknowledgment of your purchase order...
Why do you want to fill this field from purchase requisition, hopefully not to prevent an abapper from reading the purchase requisition when printing the order?
Nevertheless from an Abap point of view, look at BAdI ME_PROCESS_PO_CUST (executed in ME21N, ME22N and ME59N) use item methods to update header...
2018 Mar 07 9:51 PM
Hi Raymond,
My apologies for the late response. We have a supplier sending us info on a text file to create a PR and from there we need to carry their reference ID to the PO EKKO-IHREZ.
I will try your ABAP suggestion and will let you know the results.
thank you,
Bernardo