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

Issue while executing BAPI_ROUTING_CREATE

Former Member
0 Likes
576

Dear All,

I have an issue while executing the BAPI_ROUTING_CREATE for component Allocation.

After execution of the BAPI for the Component Allocation, I am getting the successful message . But after execution of the BAPI, the components should be assigned for the given Operation and Sequence which were provided through the BAPI. But in GUI we are not able to see that Operation and Sequence.

Even I tried with many usecases. But not successful.

The parameters i am passing for the component allocation are

ACTIVITY 0010

ITEM_ID 00000001

COMP_QTY 1.000

COMP_UNIT EA

PLANT 1100

MATERIAL MAT36 (Header Material)

BOM_TYPE_ROOT L

ALTERNATIVE_BOM_ROOT 1

I request you all to please help me in solving this issue.

Thanks In Advance.

Regards,

Ramana Kiran.

4 REPLIES 4
Read only

GrahamRobbo
SAP Mentor
SAP Mentor
0 Likes
520

Hi ptc,

most BAPIs require an explicit commit after they complete. You can either do a

COMMIT WORK.

or else call the function module BAPI_TRANSACTION_COMMIT.

Cheers

Graham Robbo

Read only

0 Likes
520

Dear Sir,

Thank you Very much for giving immediate response. I am using 'BAPI_TRANSACTION_COMMIT' after executing the BAPI BAPI_ROUTING_CREATE for saving. I am able to create remaining things like Operations, sequences, Task, material Task Allocation etc. But for component allocation only I am getting the problem even though i am getting successful message.

Thanks & Regards,

Ramana Kiran.

Read only

0 Likes
520

Hi Rama,

I don't think I can help you then. Have you tried looking for a relevant note in OSS?

Cheers

Graham Robbo

Read only

0 Likes
520

Dear Sir,

I checked OSS notes also. But I didn't get any solution for this issue. Any way Thank you very much for your help in this regards.

Thanks & Regards,

Ramana Kiran.