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 purchase order create (subcontracting)

maciej_gerke
Discoverer
0 Likes
1,024

Hi,

Is it possible to create subcomponents for PO item when it is not BOM related? I checked BAPI_PO_CREATE and CREATE1 (with ALE messages assigned) but cannot find how to use standard way to accomplish this (ver. 4.6C).

Is there a better way to do this than batch input with ME21?

Best regards,

Maciej

2 REPLIES 2
Read only

Former Member
0 Likes
444

Check this FM where they used that BAPI.

IDOC_INPUT_PORDCR

Read only

maciej_gerke
Discoverer
0 Likes
444

That's the first thing I checked...

CREATE1 is used only once in 4.7 (idoc_input..) and not in 4.6C, there should be new interface generated. The problem is all BAPIs interfaces have no container for subcomponents at all (only items general, schedule lines, service lines, conditions etc.).

Note 197958 says BAPI_PO_CREATE can be used for creating subcontracting items only when BOMs exist and most probably it is the last answer to this issue;)

Br,

Maciej