‎2010 Aug 02 8:41 AM
Hi,
I am using the exit ZXM06U43 to make some validation during the create of a PO using BAPI_PO_CREATE1.
In order to make this validation I need to know if the PO is been creating online or by the BAPI_PO_CREATE1.
Thanks in advance.
‎2010 Aug 02 12:30 PM
Hi,
you can check variable SY-TCODE. If it's ME21n (or whatever transaction you use for creating the PO), then it's online. Anything else would then be via the BAPI.
Hope this helps.
‎2010 Aug 02 12:30 PM
Hi,
you can check variable SY-TCODE. If it's ME21n (or whatever transaction you use for creating the PO), then it's online. Anything else would then be via the BAPI.
Hope this helps.