Application Development 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: 

bapi for transfer posting

Former Member
0 Kudos
2,296

hi,

I am bapi for (MB1B) transfer posting for movement type 311.

the requirement is to do a select on table rkpf, if kdauf is not initial then process the reservation

item with the movement type 311+E otherwise 311.

call the bapi fm BAPI_GOODSMVT_CREATE to do transfer posting.

i should select the reservation no and item no by doing with module pool programming.

how should i enter these values to the bapi fm.

can anyone solve the problem.

with regards,

1 ACCEPTED SOLUTION

tarangini_katta
Active Contributor
0 Kudos
416

HI,

I am not sure about u r question.this is a suggestion not answer to u r question.

I have seen the documentation of the function module.There we have clear explaing for Goods movement 4.(transfer posting).There u have the fields reservation and item text.

Please go through the documentation once.

Thanks,

5 REPLIES 5

Former Member
0 Kudos
416

Hi you can transfer Posting(311) through BAPI_GOODSMVT_CREATE .

In GM_CODE, pass 04.

The item data MOVE_PLANT and MOVE_STLOC is as target plant and storage location.

Regards,

Joan

tarangini_katta
Active Contributor
0 Kudos
417

HI,

I am not sure about u r question.this is a suggestion not answer to u r question.

I have seen the documentation of the function module.There we have clear explaing for Goods movement 4.(transfer posting).There u have the fields reservation and item text.

Please go through the documentation once.

Thanks,

tarangini_katta
Active Contributor
0 Kudos
416

Hi,

U have the tables parameter in the function module u r using.

GOODSMVT_ITEM STRUCTURE BAPI2017_GM_ITEM_CREATE

In this u have reservation no and item no y can't u apss ur screen field values to this tables.

thanks

Former Member
0 Kudos
416

thankyou for your suggestions.

when I call the bapi function module BAPI_GOODSMVT_CREATE for transfer posting. i should get the pop up message showing

6 goodsmovement were successfully posted

o goodsmovement could not be posted

OK

should i call the fm BAPI_TRANSACTION_COMMIT. can any one suggest what should i do.

thanks,

with regards.

0 Kudos
416

HI,

USe the the function MOdule POPUP_TO_CONFIRM.

After BAPI_TRACTION_COMMIT.

Thanks