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 Transaction MFBF

Former Member
0 Kudos

Hey guys,

I'm creating a custom program that requires a BAPI for MFBF Transaction. The BAPI_REPMANCONF1_CREATE_MTS creates only the confirmation or the Backflush Number but not the goods movements.

I need a BAPI that requires the backflush execution and even the goods movement exactly the same as MFBF transaction.

Request you lal to help as soon as possible.

Thanks Ajay.

2 REPLIES 2

Former Member
0 Kudos

Hi Ajay ,

i have one doubt ? if u are getting Confirmation , that is nothing but u are comfirming the Goods usage ? So i think u already created material Document ? please correct me if i am wrong.

check tables like <b>BLPK / BLPP</b>, 
You must enter a material and a plant or a planned order.

You must also enter a posting date and a document date.

If the repetitive manufacturing profile is set so that an online correction is mandatory when withdrawal errors occur and if a withdrawal error does occur when backflushing, the backflush cannot be carried out and an appropriate error code is displayed in the RETURN parameter.

If the repetitive manufacturing profile is set so that an online correction is optional when withdrawal errors occur and if a withdrawal error does occur when backflushing, the system creates postprocessing records for the components which could not be withdrawn. Therefore, make sure that the creation of postprocessing records is allowed in the repetitive manufacturing profile. Otherwise the withdrawal errors are not logged and there is no system-aided way of postposting the components.

The backflush number given by the system is returned to the caller via the CONFIRMATION parameter.

Regards

Prabhu

0 Kudos

You are right Prabhu, the system is creation a Material Doc Number, But thats not coming as an entry in MKPF and MSEG coz this BAPI executes only the BACKFLUSH but nor the GR and GI for the same, whihc is executed in MFBF . and i think bacause of that the enrties are not coming in these tables.The MFBF gives an out put message as "GR/GI with Doc number xyz created" But the BAPI returns only the Confirmation Message as Backflush number. and the Mat doc number doesn't come into MKPF and MSEG