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

BOM Creation using BAPI with integrated system PI

Former Member
0 Likes
842

Hi Experts,

I have situation where i need to get data from PI integration system to sap for creation of BOM -- Bill Of Material.

(Because a non SAP system is integrate to SAP system with PI integration). after receiving data i need to implement custom logic then pass that data to BOM creation BAPI FM. I think calling PI Data into another BAPI and then validate after that passing to another BAPI is critical thing. So can I get data from PI to Z program or is there any best solution to optimise.?

Thanks in advance.

Prasad

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
637

Hi,

Try one of the following options:

1) create service interface (proxy) where you can massage data sent by XI and later on process thru BAPI call.

2) create wrapper custom function module for data massaging and call standard BAPI from custom function module. Now create ALE interface (BDFG tcode) on your custom function module to process idocs sent by XI.

regards,

Pranav

3 REPLIES 3
Read only

Former Member
0 Likes
638

Hi,

Try one of the following options:

1) create service interface (proxy) where you can massage data sent by XI and later on process thru BAPI call.

2) create wrapper custom function module for data massaging and call standard BAPI from custom function module. Now create ALE interface (BDFG tcode) on your custom function module to process idocs sent by XI.

regards,

Pranav

Read only

0 Likes
637

Hi,

Is there any BAPI to update BOM in T-Code CS02?

Read only

0 Likes
637

See - BAPI_MATERIAL_BOM_GROUP_CREATE

Also look at Business object BUS1080 program in SWO1 tcode. You will get some idea how to fill up required tables/parameters before calling above BAPI.

Ignore above comments -- i thought you are looking for BAPI to create BOM.

Dont know any BAPI to change BOM but see following FMs to maintain BOMs.

CSAI_BOM_MAINTAIN

CS_BC_BOM_CHANGE_BATCH_INPUT

regards,

Pranav

Edited by: PBHATT on Oct 25, 2010 1:45 PM