Application Development and Automation 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: 
Read only

BAPI_NETWORK_COMP_ADD Component assignment not intended for sales order

Former Member
0 Likes
1,121

Dear,

I have problem when I use the function:

CALL FUNCTION 'BAPI_NETWORK_COMP_ADD'

EXPORTING

number = number

IMPORTING

return = return

TABLES

i_components_add = i_components_add

e_message_table = e_message_table.

I have inserted only these values in the structure i_components_add:

ACTIVITY_TYPE_PUR_RESV__ITEM_NR____MATERIAL_________PLANT___ENTRY_QTY___ITEM_CAT

108--


8
10

1TAH052000

1100

25.460
--


L

108--


8
20

4RAVBLA098SL01

1100

2.000
--


L

108--


8
30

34R0000000

1100

4.160
--


L

but the result is wrong

e_message_table:

METHOD--


C--


32

OBJECT_TYPE--


C--


32

INTERNAL_OBJECT_ID---C--


90

EXTERNAL_OBJECT_ID--C


90-----0108 0010 1TAH052000 1100

MESSAGE_ID--


C
20
-----CNIF_MAT

MESSAGE_NUMBER--


C
3
--


1

MESSAGE_TYPE--


C
1
--


E

MESSAGE_TEXT--


C
72
--


Component assignment not intended for sales order or project stock

Very kind for one answer of yours to this problem...

Thanks & Regards,

Marco Echino.

Edited by: Marco Echino on Sep 8, 2011 12:16 PM

1 ACCEPTED SOLUTION
Read only

former_member222709
Contributor
0 Likes
771

Hi Marco,

I believe this is a Functional Issue rather than a Technical one. If you could speak to the Functional Concultant or pass this data via manual transaction, you will get the error details.

It's just that the data passed to the BAPI is either incorrect or incomplete. You can also refer the Function Module Documentation for tips.

Regards,

Pranav.

1 REPLY 1
Read only

former_member222709
Contributor
0 Likes
772

Hi Marco,

I believe this is a Functional Issue rather than a Technical one. If you could speak to the Functional Concultant or pass this data via manual transaction, you will get the error details.

It's just that the data passed to the BAPI is either incorrect or incomplete. You can also refer the Function Module Documentation for tips.

Regards,

Pranav.