‎2009 Mar 11 8:04 AM
Hi Experts,
I am currently using BAPI_NETWORK_MAINTAIN to create a network (with id NETWORK1) on a project. I then need to use BAPI_NETWORK_COMP_ADD to add a material component to this same network.
I have tried to use the id NETWORK1 as the Paremeter, but I get the error
Network NETWORK1 does not exist. I have determined that you require the network internal number to run bapi BAPI_NETWORK_COMP_ADD, but I need both actions to run succesfully before I commit the work. How can I get the correct network number for the newly created network before commit?
Thank you in advance,
Johan Kriek.
‎2009 Mar 11 8:56 AM
Hi once again experts,
Is there a FM that converts an external Network number to an internal network number?
Would this solve my problem?
‎2009 Mar 11 9:24 AM
Hi,
Try this ...
CONVERSION_EXIT_ALPHA_INPUT Conversion exit ALPHA, external->internal
CONVERSION_EXIT_ALPHA_OUTPUT Conversion exit ALPHA, internal->external
‎2009 Mar 11 10:23 AM
Hi Prakash
Thank you for your response
I tried to use these function modules, but the network number remained the same, and BAPI_NETWORK_COMP_ADD still did not execute. Any other suggestions?