Skip to Content
author's profile photo Former Member
Former Member

Error in Release of Network data via BAPI_BUS2002_SET_STATUS

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 10, 2009 at 12: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.