09-09-2009 2:32 PM
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
09-10-2009 1:18 AM
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