Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Release of Network data via BAPI_BUS2002_SET_STATUS

Former Member
0 Kudos

Hi Experts,

I have to release network data via a Custom Report Program, so I am using the STD BAPI , BAPI_BUS2002_SET_STATUS.

The functionality must be similar to the release of Network as in case of transaction CN22 or can also be done via Project Builder(Transaction CJ20N).

we r using the std BAPI as follows :

CALL FUNCTION 'BAPI_BUS2002_SET_STATUS'

EXPORTING

number = < NETWORK NUMBER >

set_system_status = 'REL'

IMPORTING

return = c_return

TABLES

e_result = lt_result.

The error is Error in processing. Function was not executed . On further analysis, the Function Module CO_ZR_HEADER_RELEASE is causing the issue , not allowing network header data to be free.

The same functionality works via CN22. Please advice whether there is a need to pass further parameters or anything else.

Awaiting a response..

Regards,

Sonika

1 REPLY 1

mvoros
Active Contributor
0 Kudos

Hi,

there are some special requirements for using this BAPI. You need to call BAPI BAPI_PS_INITIALIZATION and BAPI_PS_PRECOMMIT with this BAPI. Check documentation for your BAPI. It's well documented there.

Cheers