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

Using MRM_INVOICE_CHANGE

Former Member
0 Likes
889

Hi All,

Can anybody please explain me the usage of the function module MRM_INVOICE_CHANGE ? I want to change the Detail\Header text (Field : BKTXT) of an invoice after invoice is created.

I am passing the parameter I_AKTTYP = 'V', and passing the header data to C_RBKPV. What should be passed to the parameter FCODE ? What ever fields I am passing, Its giving error "The field <field name> Cannot be changed.-" during syntax check.

Please Help.

--Krishna

2 REPLIES 2
Read only

christian_wohlfahrt
Active Contributor
0 Likes
643

Hi Krishna!

Inside of MRM_INVOICE_CHANGE is a call screen - looks like you would end up in a dynpro in case you can skip the errors.

I found a BAPI BAPI_BILLINGDOC_EDIT - but here just a call VF02 is inside.

=> Make your own call transaction for VF02 (BDC), it's obviously a correct way to do it.

Regards,

Christian

Read only

0 Likes
643

Hi Christian,

Thank you for your reply.

My doubt is with regards to MM invoices through EDI. IDOCs are posted using IDOC_INPUT_INVOIC_MRM and after the processing the detail\header text need to be changed depending on blocking reasons..

I was using a user exit just before document save, but after that the header text is geting cleared.

Regards,

Krishna