‎2006 Jan 03 6:00 AM
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
‎2006 Jan 03 8:07 AM
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
‎2006 Jan 03 9:34 AM
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