Skip to Content
avatar image
Former Member

Error in BAPI BAPI_NETWORK_COMP_ADD

Hi all,

I'm trying to use the BAPI BAPI_NETWORK_COMP_ADD to create material components, soon after to create the network and activities.

I am filling the NUMBER with the value of temporary network created by bapi BAPI_BUS2002_CREATE.

When I run the bapi BAPI BAPI_NETWORK_COMP_ADD, I get the message 00 058 saying that this network does not exist in table AUFK.

Someone had this problem and know what is the solution?

Thank's very much,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 01, 2008 at 08:52 AM

    Try maintaining the valuation category ( in accounting view of the material) and then execute the BAPI

    Regards

    Sreenivas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2008 at 04:16 AM

    Hi,

    You should fill the component BAPI with the permanent network number and not the temporary number. Permanent number is returned by create BAPi after commit.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Rodrigo Paisante

      For those who are still looking for the solution of this problem - refer to note 672750. As per this note you need to do some initialization. So just put a statement before BAPI_NETWORK_COMP_ADD call:

      CALL FUNCTION 'CO_ZF_DATA_RESET_COMPLETE'.

      and the problem will be solved.