03-05-2007 7:23 PM
Hi, my name is Javier Maldonado and I'm using the FM BAPI_PO_CREATE1 to create a purchase order, everything is ok except that is no place to map the european article number in the inteface, the system automatically takes the principal EAN, but I want to assign another valid EAN for the measurement unit used for the material.
Any way to send that field?
Best regards,
Javier
03-05-2007 9:32 PM
In your material set-up MM01/MM02 under additional data tab , under additional EAN's you should be able to select which EAN is the main EAN.
But from what you are saying , you are posting in SAP from an external system, so why not popultae the EAN you want in the BAPI from the data you have?
03-05-2007 9:39 PM
The FM BAPI_PO_CREATE1 doesn't have the field on it's interface.
Regards,
Javier
03-06-2007 9:13 PM
Did you try checking the main EAN against the european EAN in MM02?
03-06-2007 11:06 PM
I don't know what you mean... I'm trying to use the FM 'BAPI_PO_CREATE1' to create a PO (that part works OK) and to update the EAN in the positions of the PO, but the BAPI doesn't have the field available.
I'm asking if there is any exit to move the EAN or a way to enhance the BAPI in order for it to take the EAN.
Best regards,
Javier
10-20-2011 12:02 AM
10-20-2011 10:06 AM
Hi
Try to modify the value for EAN11 with the BADI ME_PROCESS_PO_CUST in method PROCESS_ITEM for MEPOITEM-EAN11.
I hope this helps you
Regards
Eduardo
07-01-2021 8:51 AM
It's a pity to give a solution so late. I think I have found a solution. Please refer to my blog:
https://blog.csdn.net/DeveloperMrMeng/article/details/118385460
Hope to help more ABAPer~