‎2008 Jun 23 10:32 PM
Hi Gurus,
I have a requirement to populate 2 fields in MIRO. Basically, when you go to tcode MIRO and you fill in the PO number and press enter, on the Payment Tab, the fields Pmt Method (INVFO-ZLSCH) and Pmt Mtd Suppl. (INVFO-UZAWE) should be populated with some values automatically (which i'm going to get from another transaction). The case is when i get this value, how I'm I goint to send them to this field in the screen.
How do I go around doing this. Do i use enhancement point, or user exit. Which one?
Please help me. I dont have a clue on how to go around this.
Thanks.
Reward will be given.
‎2008 Jun 23 11:13 PM
Hi,
I think probably you can use the Enhancement: LMR1M001.
SMOD -> LMR1M001 -> components.
This has a component EXIT_SAPLMR1M_003 - Customer Exit: Pass On Document Header Data
THis takes you to a FM:
FUNCTION EXIT_SAPLMR1M_003.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_RBKPV) TYPE MRM_RBKPV
*"----
INCLUDE ZXM08U15 .
ENDFUNCTION.
Double click on the 'Z' include and write the code to populate the I_RBKPV-ZLSCH and I_RBKPV-UZAWE.
Regards,
Subramanian
‎2008 Jun 23 11:13 PM
Hi,
I think probably you can use the Enhancement: LMR1M001.
SMOD -> LMR1M001 -> components.
This has a component EXIT_SAPLMR1M_003 - Customer Exit: Pass On Document Header Data
THis takes you to a FM:
FUNCTION EXIT_SAPLMR1M_003.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_RBKPV) TYPE MRM_RBKPV
*"----
INCLUDE ZXM08U15 .
ENDFUNCTION.
Double click on the 'Z' include and write the code to populate the I_RBKPV-ZLSCH and I_RBKPV-UZAWE.
Regards,
Subramanian
‎2008 Jun 24 4:27 PM
I found out that the fields on the screen are been populated from INVFO which is a structure and its not define in the UserExit you provided.
Is there any other way to do this.
Thanks