User exit in MIRO
Hi,
I am looking for a user exit in MIRO that allows me to stop the transaction before saving, retrieve the PO associated to the invoice and check against a customized workflow status before saving.
I found MRMN0001 that stops before saving but it does not give me the PO number associated with the invoice being processed.
Any suggestion?
MAC.
Hi Nitin,
Thank you for your answer.
I tried it using component EXIT_SAPLMR1M_003.
My code only has a break point if it is my user id, to test where it stops and the data I have access, but it did not stop.
The note in the documentation says that it is obsolete since 4.5 and it is not supported anymore, but I guess we can still use it right?
Any idea why it may not stop with MIGO transaction?
Monica.
Similar Messages
-
User exit for MIRO after pressing ENTER
Hello,
Is there a user exit in MIRO after entering PO, Invoice date and Reference and pressing ENTER?
I want to popup a message that relates to vendor data that does not appear in the screen
Thanks,
MosheHi,
BADI
class_name CL_EX_PPA_CUST_BADI
exit_name PPA_CUST_BADI
class_name CL_EX_FAGL_PERIOD_CHECK
exit_name FAGL_PERIOD_CHECK
class_name CL_EX_MRM_VARIANCE_TYPE
exit_name MRM_VARIANCE_TYPE
class_name CL_EX_MRM_HEADER_CHECK
exit_name MRM_HEADER_CHECK
Check which one is best.
Regards,
Clemens -
BADI/USER EXIT for MIRO.
Hi All
I have added a new field (GST) on MIRO screen using GUI XT.
The requirement is such that I need to populate this field after I have entered the purchase order no (It needs to take the vendor from the PO and then its subsequent VAT no from the vendor master). I am not sure where to do this part of the coding.
i have tried to implement BADIs
BADI_ENJ_ALT_ADR
INVOICE_UPDATE
BADI_FDCB_SUBBAS01
but it doesn't help.
Is there any other BADI/User Exit that I can try.
Thanks in advance.
HarshHi,
Bellow are the exit names for MIRO.
<Irrelevant enhancement list removed by moderator>
Regards,
Goutam Kolluru.
Edited by: Vinod Kumar on Feb 3, 2012 9:34 AM -
User exit during MIRO with PO reference data
I have maintained dates Validity Star and End dates in Purchase order header data. My client wants that during MIRO system will throw error message if the posting date of IV crosses the Validity end date maintained in PO.
Is there any user exit for this so that during giving PO reference system will look for this data in PO and throw message or during simulate or post.
Regards,
SumanHello Suman,
Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
Steps.
1. Goto the Tcode
2. System-> Status.
3. Copy the program name, find the package for the program.
4. Go to SMOD (tccode) press F4 -> Click on "Information System" Push Button->
Enter the Package name-> and press the enter button.
5. Now you get the list of Userexits. Need to select one by looking into its short description.
Hope this solves your issue,
Cheers,
Suvendu -
User-exits for MIRO :: for terms of payment & baseline date
Hi all,
is thr any user exit for terms of payment (zterm) & baseline date (zfbdt) for transaction MIRO.
Regards,
Nileshhi Nilesh,
try this exit: LMR1M001
hope this helps
ec -
Hi friends
My requirement is to do some validation in MIRO when user will press the save button. For this I am using EXIT_SAPLMRMP_010 fm exit in LMR1M001enhancement. But the problem is when I am trying to validate that and show some messages it is not showing my error message and processing is still going on. Please suggest me how to show that message and stop the processing on that point. I am using ECC 5.0 version and already checked the BADI INVOICE_UPDATE but it is also not working.
regards
shiba duttaHi,
Put the breakpoint in each of the userexit that are provided and check whether processing is going at that step.
If it is so then put the logic in that userexit.
Exit Name Description
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Regards,
Sonika -
User exit for MIRO while saving
Hi
I need to validate the Company code in Txn MIRO with the company code of the PO that's been processed
Is there any user-exit which gets triggered while saving the document in txn MIRO.
I know the following BADI INVOICE_UPDATE gets triggered while saving the documents, as i am new to the BADI functionality, i am unable to proceed further with the implementation of it in the system.
Can some one let me know how to implement a BADI.
CheersHi Sushis ,
check this link abt badi
http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
and u have to choose this method is useful
<b>CHANGE_AT_SAVE Invoice Document at Save
CHANGE_BEFORE_UPDATE Invoice Document Before Update
CHANGE_IN_UPDATE Invoice Document During Update</b>
let me know if u required more info.
regards
Prabhu -
Hi,
In MIRO FI entry passed
Vendor Cr.
GRIR Clearing Dr.
Now We are having a scenario where above entries should be
GL code Cr.
GRIR Clearing Dr.
Now it should be automatic that when we click Post that Vendor should automatic substituted with GL.
Please help me with user exits/badi/enhancement if any
Regards
NikeHi,
You can use the BAdI "INVOICE_UPDATE" having below methods.
CHANGE_AT_SAVE Invoice Document at Save
CHANGE_BEFORE_UPDATE Invoice Document Before Update
CHANGE_IN_UPDATE Invoice Document During Update
Thanks
Gangadhar -
Hello All,
Our requirement is to change line item data in the MIRO before save. It would be a great help if you can provide any BAdI or User Exits.
Thanks
AnuragHave a look at below code
http://www.erpgenie.com/sap/abap/code/abap26.htm
which gives the list of exits for a tcode.
Also have a look at below code which lists the BADI for particular tcode.
*& Report ZNEGI16 *
REPORT ZNEGI16 .
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase.
I hope this helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
BAPI or USER EXIT for MIRO: Change PO reference amount (on-line)
Hi, I need to find a BAPI or USER EXIT for TX MIRO to change/modify the PO reference amount for the selected positions (using the given checkbox) just after selecting them (when pressing ENTER). Any ideas? Thanks.
Hello Suman,
Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
Steps.
1. Goto the Tcode
2. System-> Status.
3. Copy the program name, find the package for the program.
4. Go to SMOD (tccode) press F4 -> Click on "Information System" Push Button->
Enter the Package name-> and press the enter button.
5. Now you get the list of Userexits. Need to select one by looking into its short description.
Hope this solves your issue,
Cheers,
Suvendu -
EXIT_SAPLMRMP_010 - User Exit for MIRO
Hi,
I'm trying to call this User Exit EXIT_SAPLMRMP_010, in the MIRO transaction, but it is not triggered at all. And so after troubleshooting, in one table TFDIR, for this function module, the MAND field is blank.
Whereas the program expects character 'C' in the MAND field.
I do not understand from where this C is coming.
I executed another User Exit EXIT_SAPLMEREQ_005, which is having MAND = C and it is executing correctly.
Please help me on this.
ThanksHi,
I thought because of this MAND = C the PR user Exit is triggering, but its not due to that.
Actually i wanted to do one validation in the MIRO using this Function module, but my validation is not getting triggered at all. For testing, i just gave one message, to be prompted, to test whether working or not. but still doesn't work.
So anyone can tell me, how to trigger this FM.
Thanks. -
User Exit for MIRO versio ECC 5.0
Business Process u2013
STAGE 1: PO creation and release
STAGE 2: GRN
Material comes in Quality inspection stock
STAGE 3: Quality test and approval - Material shifts to Unrestricted use
Quality test and Rejection - Material shifts to Blocked stock.
STAGE 4: MIRO
regards
syamahi
here it is
STAGE 1: PO creation and release
PPCO0001 Application development: PP orders
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for
prod.process order
PPCO0010 Enhancement in make-to-order production - Unit of measu
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determin
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document link
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines.
STAGE 4: MIRO
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Po
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verifica
Cheers
Snehi -
Hi All,
Is there any user exit / field exit which gets activated when invoice party value ( in the detail tab of transaction MIRO ) gets filled (either manually or from PO ). The requirement is to display a warning message, once the invoice party is filled, if its a particular supplier.
Thanks in Advance.
Regards,
KiranHi,
Check the following user exits available for MIRO transaction,
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Rgds, -
User exit in MIRO for differences
Hi all,
When the user enters an invoice in TRX miro, sometimes there are differences between PO, GR and amounts invoiced. Differences are posted automatically in standard SAP.
My requirement is to, in some cases, use a different GL account to post any difference in MIRO.
Is there a user exit to post the invoice difference to a different GL account? if so, do you have code or more details about it?
Thanks,
CDHi,
Try using one of the following BADI'S.
MRM_TRANSACT_DEFAULT
MRM_HEADER_DEFAULT
BADI_FDCB_SUBBAS01
BADI_FDCB_SUBBAS02
BADI_FDCB_SUBBAS03
BADI_FDCB_SUBBAS04
BADI_FDCB_SUBBAS05
FI_TRANS_DATE_DERIVE
ME_COMMITMENT_STO_CH
ME_COMMTMNT_PO_RELEV
ME_COMMTMNT_PO_REL_C
BADI_PRKNG_NO_UPDATE
MRM_PAYMENT_TERMS
MRM_WT_SPLIT_UPDATE
MRM_HEADER_CHECK
KR Jaideep, -
User exit in MIRO for GRN reference
Just wanted to know is there any user exit for displaying only GR items in MIRO which are there only in GR documents. Using SAP version 4.7 , here MIRO doesn't have any option for displaying GRN documents.
regards
anuHi,
Try using one of the following BADI'S.
MRM_TRANSACT_DEFAULT
MRM_HEADER_DEFAULT
BADI_FDCB_SUBBAS01
BADI_FDCB_SUBBAS02
BADI_FDCB_SUBBAS03
BADI_FDCB_SUBBAS04
BADI_FDCB_SUBBAS05
FI_TRANS_DATE_DERIVE
ME_COMMITMENT_STO_CH
ME_COMMTMNT_PO_RELEV
ME_COMMTMNT_PO_REL_C
BADI_PRKNG_NO_UPDATE
MRM_PAYMENT_TERMS
MRM_WT_SPLIT_UPDATE
MRM_HEADER_CHECK
KR Jaideep,
Maybe you are looking for
-
Hi Mac family, Im new to Mac and Im having problems viewing some of my video attachments the msg I get is Adobe Flashplayer 11.0 or higher in needed. I have searched for this app but cannot locate it. please advise...
-
got new mac, all songs purchased on the former one are no longer in the library - how can I get them, please? thx
-
Any one have any idea how to set up the planning layout for WBS ELEMENTS,COST CENTER,? We are trying to plan for WBS elements and Cost center through CJR2 but I dont have any layout designed for this. Any ideas or suggestions?
-
Net amount and taxes are not reflected in net value and taxes tab in sale
hi While i am generating sale order that time system calculated all condition like price E.D cess E-cess Lst but it is not reflected in net value and tax tab.The value comes in net is quantity value. Pl Give me Solution on that... Thanks & Regards s
-
Premiere Pro CC 2014 - Workspace mixed when I open the program
Dear Sirs, I recently started using the program and every time I open the Premier Pro the workspace is all mixed up/not display the way I finished using it the last time. I mean I have to reorganized my workspace everytime I open the program. By mixe