Skip to Content

Error in processing. Function was not executed.

Hi Experts,

A custom object was developed to change WBS user status. In this object, I am using this BAPI "BAPI_BUS2054_SET_STATUS".

Now, while testing this BAPI returns following error message:

"Error in processing. Function was not executed".

To Use this BAPI I fallowed below Sequence.

'BAPI_PS_INITIALIZATION'

'BAPI_BUS2054_SET_STATUS'

'PS_FLAG_SET_GLOBAL_FLAGS'

'BAPI_TRANSACTION_COMMIT'

Still while debugging found BAPI returns Error..

TYPE 'E'

ID 'CNIF_STATUS'

NUMBER '005'

MESSAGE 'Error in processing. Function was not executed'.

Does anyone has any idea how to handle this? Pls suggest.

Thanks in Advance

Sundeep.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 09, 2017 at 09:35 AM

    You forgot the call of BAPI_PS_PRECOMMIT before BAPI_TRANSACTION_COMMIT. PS_FLAG_SET_GLOBAL_FLAGS is only one the FM executed in this BAPI which, as most BAPI, also fill a RETURN parameter that you MUST check before next call.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 07, 2017 at 01:32 PM

    Sundeep, did you try searching for the error message?

    https://www.google.com/search?q=CNIF_STATUS+0005&ie=utf-8&oe=utf-8&client=firefox-b

    Add comment
    10|10000 characters needed characters exceeded