2010 Apr 27 3:29 PM
Hi,
I am using message type PORDCR1 to create a purchase order. This is calling a BAPI_PO_CREATE1 to create the PO inside. Now I have coded some validation in user exit that is available in Pre processing. So when there is any any error i populate the table bapi_return.
Now what is happeing after executtion of user exit it continues the function module and find out if there are any more errors. After execution it shows all the errors.
My requirement is when ever i get an error in user - exit it should stop further processing and write that error in log.
Can anybody please suggest me how can we do this.
Thanks,
Neha.
Hi,
I am using message type PORDCR1 to create a purchase order. This is calling a BAPI_PO_CREATE1 to create the PO inside. Now I have coded some validation in user exit that is available in Pre processing. So when there is any any error i populate the table bapi_return.
Now what is happeing after executtion of user exit it continues the function module and find out if there are any more errors. After execution it shows all the errors.
My requirement is when ever i get an error in user - exit it should stop further processing and write that error in log.
Can anybody please suggest me how can we do this.
Thanks,
Neha.
2010 Apr 27 4:38 PM
Think this as your last option:
1) create and attach ZBAPI_PO_CREATE1 in ALE Config
2) COPY your User Exit code at the start and it it gets through then only submit BAPI_PO_CREATE1
2010 Apr 28 9:49 AM