cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting item componente while REM Backflush

Former Member
0 Kudos
206

Hey guys,

I want to find a function BADi or similar in order to take off automatically ítems-components while Backflush.

Any abap example??.

Other posibility could be, make bulk material or put blank quantities while backflush. I do not stablish bulk material in advance, only avoid some choosen by abap were backflushed while MFBF BOM explosión.

Thanks a lot.

Accepted Solutions (0)

Answers (2)

Answers (2)

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

BAdI RM_BFLUSH_GOODSMVT and method MODIFY_GOODSMVT_BEFORE_DIALOG can be used to check and update existence of the goods issue items for the components.

Best Regards,

R.Brahmankar

Former Member
0 Kudos

Thanks a lot

I implemnted above code but it's NOT working properly maybe I am not expert in ABAP.

The method is looking for ítem material = 40-100C and then I put blank or 0. ( same as to delete the ítem). The changing structure CH_IMSEG inside method and before to leave it contains that material with "0" (OK) but when the main program takes control again it appears original quantity(diferent to 0).

MFBF program in the field data for components is referenced by COWB struct and after execute the BADI there is some call MOVE_MDPX_TO_COWB instead to CH_IMSEG.

I can change the value in CH_IMSEG but just to save MFBF backflush again carry out the original value from MDPX maybe.

I am not able to change the backflush value. Regards.

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello Lacasa,

For the methods of BADI RM_BFLUSH_GOODSMVT to work, the Input/Output Fields for Backflushing in Repetitive Mfg 'RM61B' should be filled.

Please refer the modification given in OSS note    1287768 - MF70: Component list not modified though BADI is implemented.

Also you can use  Enhancement XMRM0001 exit EXIT_SAPLBARM_001.

Best Regards,

R.Brahmankar

Former Member
0 Kudos

Finally I solved that issue in RM badi. I should have maintained vstat field at imseg structure(parameter). After the badi, the main program maintains diferent behaviors (modify...etc) around this field.

It was nothing to do with MPDX: RM_BFLUSH it Works at before method for changing components.

Best regards,

Guillermo.

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello Guillermo.,

That's great, if your issue is address please close the discussion.

Cheers,

R.Brahmankar

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

As mentioned by Rupesh, please close this thread selecting the correct and helpful answers.

See the blog below for more details:

http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why

BR
Caetano

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Try BAdI RM_BFLUSH_GOODSMVT.

BR
Caetano