Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9564

Re: Create Classification for Network

$
0
0

I think you have written code of "BAPI_PS_PRECOMMIT" betweeen if and endif statements and it does not get executed because the if condition is false or  "BAPI_PS_PRECOMMIT" returns error, and then you are calling "BAPI_TRANSACTION_COMMIT"  . Since the earlier BAPI is not getting called or returning error, you get this dump. Please make sure that you call "BAPI_TRANSACTION_COMMIT"  only if  "BAPI_PS_PRECOMMIT" is executed without any error. Please do as follows:

  1. call function 'BAPI_PS_INITIALIZATION'.
  2. Call BAPI_OBJCL_CREATE and check return table. If it contains any error, dont call  "BAPI_PS_PRECOMMIT", otherwise call this BAPI
  3. Check return table of  "BAPI_PS_PRECOMMIT". If it contains error, do not call "BAPI_TRANSACTION_COMMIT", otherwise call this.

Following link might also be helpful:

http://scn.sap.com/message/6614887

 

Please paste your code in case issue still persists.

 

Regards


Viewing all articles
Browse latest Browse all 9564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>