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

Adding subcontracting components BAPI_PR_CREATE

former_member368216
Participant
0 Likes
1,350

Hi,

I am trying to create a PR using 'BAPI_PR_CREATE' -- I am able to create a PR without components, if i pass the subcontracting Components(Item cat as 'L'), the return structure comes up with error "Not possible to determine any components". I passed material, Plant, quantit, UOM, batch and change_id eq 'I'. lease, any suggestions...

Thanx,

Ashok

1 ACCEPTED SOLUTION
Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
788

Hello,

For your information, the message ME154 is hardcoded in the System,

The Standard system was programmed that the message has to

be an error, as it is not allowed to create a subcontracting

purchase order without components.

The System works in the following manner :

If you use a material that does in fact have components (BOM),

the message ME154 does not occur. However, if you use a

material that does not have components, then the message ME154

does occur.

To get to the components screen, proceed as follows:

-If the component exist:

Item details -> Select the 'Material data' tab and you should

now see the [Components] button, on the right hand side of the

'Revision level' field. Selecting this will allow you to see

the components.

Or

-you can enter the components.

Please note that if no components exist and you enter the

[Components] then you will need to return from this screen.

Regards,

David

2 REPLIES 2
Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
789

Hello,

For your information, the message ME154 is hardcoded in the System,

The Standard system was programmed that the message has to

be an error, as it is not allowed to create a subcontracting

purchase order without components.

The System works in the following manner :

If you use a material that does in fact have components (BOM),

the message ME154 does not occur. However, if you use a

material that does not have components, then the message ME154

does occur.

To get to the components screen, proceed as follows:

-If the component exist:

Item details -> Select the 'Material data' tab and you should

now see the [Components] button, on the right hand side of the

'Revision level' field. Selecting this will allow you to see

the components.

Or

-you can enter the components.

Please note that if no components exist and you enter the

[Components] then you will need to return from this screen.

Regards,

David

Read only

former_member368216
Participant
0 Likes
788

Able to create the subcontracting components using the BDC.

Thanks,

Ashok