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: 

Mfbf Badi RM_BFLUSH_GOODSMVT

Former Member
0 Kudos

Hi;

i'm trying to write a text into documents item text (SGTXT) in method

MODIFY_GOODSMVT_AFTER_DIALOG

loop at ch_imseg into ls_imseg.

move vard to ls_imseg-sgtxt.

ls_imseg-vstat = 'V'.

modify ch_imseg from ls_imseg.

endloop.

but it does not write the text on document

but if i change the quantity field it affects document

why ?

1 REPLY 1

Former Member
0 Kudos

Hi, Mustafa!

Did you solve your problem?

I tried to use this BADI to write cost center to 261 movement type (field CH_IMSEG-KOSTL), but it was not changed and I did not get statistical post to the cost center. I think this BADI can change only fields that changeable in MFBF screens.