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

Needed help for creation of batch by using BAPI

Former Member
0 Likes
742

Hi all,

I am creating batch by using BAPI 'BAPI_BATCH_CREATE'.

I am successfully creating batch,but that batch will be updating in the MCH1 table.

In that table one Classification number field CUOBJ_BM is not updating.

Generally one number will be generated for CUOBJ_BM(Eg like 342543) when creating batch.

If am doing manually through MSC1 that field CUOBJ_BM number generating and updating in MCH1 table also.

I am getting doubt that through BAPI is it possible to update generated Classification numberinto MCH1 table or not?

if any one knows solution pls guide me.

Regards,

Lokesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
584

Did you use COMMIT WORK or call 'BAPI_TRANSACTION_COMMIT' after the batch was successfully created.

Did you use COMMIT WORK or call 'BAPI_TRANSACTION_COMMIT' after the batch was successfully created.

2 REPLIES 2
Read only

Former Member
0 Likes
585

Did you use COMMIT WORK or call 'BAPI_TRANSACTION_COMMIT' after the batch was successfully created.

Read only

0 Likes
584

Hi friend,

Yes i used that commit statement also.

I am not getting idea how that classification will be generated and updated in MCH1 table after creation of batch through BAPI.

I dont have idea to pass any extra fields into that BAPI.

But by using BDC that CUOBJ_BM is updating with number.

Actually i am having problem of using BDC becuase the problem of passing Valuation Type value through BDC.

Thats why i have chosen BAPI to create batch.

But the classification number not updating in the MCH1 table after creating Batch through BAPI.

If any one knows solution or if any one faced same type of issue pls help me regarding this issue.

Regards,

J.Jayasankar Goud