Doubt in exits for miro tcode
Hi all,
I have to change the account posting no in MIRO transaction.For this an user exit LMR1M002 is used but this fn module doesn't hold the value for a/c details.So i checked with BADI INVOICE_UPDATE.But I am unable to find whether that BADI is holding the field HKONT in BSEG table or KONTS in T030 table.can any one help me out to find the suitable field and if this BADI is helpful for my scenario.
Thanks in advance,
Krithika.S
Transaction Code - MIRO Enter Incoming Invoice
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
No of Exits: 10
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal
Similar Messages
-
hI Expert
Can anyone tell me any menu exit EXISTS IN MIRO T CODE??
Moderator message: please do more research before asking, show what you have done yourself when asking.
Edited by: Thomas Zloch on Aug 19, 2011 9:37 AMHI VINO
any other alternate solution is there to add button on menu in miro tcode ?
any other menu badi for miro .
thanks -
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 -
Subsitution Exit for MIRO transaction
Dear Sir,
We are required to write a subsituion-exit for MIRO , so that during the MIRO Assignment field can be populated with the PO-Number .
We request SAP experts to kindly guide us about the code to be written for such a subsitution-exit . We willl be highly greatful for the help please .
We assure to give full points for the suggested solution pl .
Regards
B MittalHi,
in enhancement LMR1M001 if you read the documentation of component *EXIT_SAPLMR1M_003 it says:
As of Release 4.6A, transaction MR1M is no longer supported. Therefore this customer exit and its functions are obsolete.
Being this the case i would consider using badi BADI_FDCB_SUBBAS04 (if it´s not already implemented).
If you have a look at badi BADI_FDCB_SUBBAS01 in se18 you´ll see that there is an example implementation class named CL_EXM_IM_BADI_FDCB_SUBBAS01 .
Read carefully as well the documentation of BADI_FDCB_SUBBAS01.
Best regards. -
Field/Screen Exit for MIRO
Hi Friends,
The client requirement is to fix an Exit to disable or inactive the field INVFO-LIFRE or to put the INVFO-LIFRE field (invoice party in Details tab) as display mode where the user not able to change it while posting invouces in MIRO.
I've tried by program screen enhancement in 'SAPLFDCB' but i couldn't able to fix it since the screen name of INVFO-LIFRE is not showing/coming while posting MIRO (checked in debugging mode).
Instead of fixing error message through BADI/USER EXIT, is there any way to make field/screen exit to disable or inactive the filed??
Please advise.
Thanks & regards
Sankar.Hi,
Check the below link.
[Screen exit for MIRO transaction;
[Re: steps to create field exit;
Regards
Sunil -
Hi Experts,
I need to do difference calculation in posting date and document date. I have made the code but not able to find exact BADI or exit for MFBF tcode.
BADI i searched - RM_BFLUSH_GOODSMVT
EXIT ???
Please suggest, where I have to put below code so that when user put dates into this, then it will not allow him to get more than 7 days.
data: d_days like po347-scrdd,
budat like mkpf-budat,
bldat like mkpf-bldat.
budat = rm61b-budat.
bldat = rm61b-bldat.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
I_DATUM_BIS = budat
I_DATUM_VON = bldat
I_STGMETH = '2'
IMPORTING
E_TAGE = d_days
if d_days > 7 .
message 'date exceeds' type 'E'.
elseif d_days < 0.
message 'document date should be greater than posting date' type 'I'.
endif.
Please suggest experts,
Thanks.
DeepanshuHi,
Include - LBARMFS1
FORM - FORM get_hr_data .
Create a implicit enhancement in the beginning of above mentioned form FORM get_hr_data and put below code inside that.
FORM get_hr_data.
ENHANCEMENT 1 ZTEST_TEST.
data: d_days like po347-scrdd,
budat like mkpf-budat,
bldat like mkpf-bldat.
budat = rm61b-budat.
bldat = rm61b-bldat.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
I_DATUM_BIS = budat
I_DATUM_VON = bldat
I_STGMETH = '2'
IMPORTING
E_TAGE = d_days
if d_days > 7 .
message 'date exceeds' type 'E'.
elseif d_days < 0.
message 'document date should be greater than posting date' type 'I'.
endif.
ENDENHANCEMENT.
BR,
Vijay -
hi,
i need screen exit for mi04 tcode .Hi Prabhakar,
Try these User Exit.
MB_CF001 Customer Function Exit in the Case of Updating a Mat. D
MBCF0002 Customer function exit: Segment text in material doc. i
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREA
MBCF0011 Read from RESB and RKPF for print list in MB26
Regards,
Vijay -
Hi all,
Can anybody guide me to find an user exit for the tcode CN25 . Actually i want add two customer fields in CN25 screen.
Help of any type regarding the subject will be highly appreciated.
Regards,
AbhiDear,
you can meet the requirement by using the exit CONFPP07
Cheers
fareed -
Hi,
i want to know which is relevant user exit for qa11 tcode while saving the data.Hi ricx,
Check the below exits.
Transaction Code - QA11 Record usage decision
Enhancement/ Business Add-in
Description
Enhancement
QSS10001
Possibility of calling a different print report
QLCO0001
QM: Call alternative costs report from UD
QEVA0010
UD: Usage decision check
QEVA0009
UD: Predefinition of quantity to be posted to sample stock
QEVA0008
Usage decision: Customer function key (e.g. to cancel UD)
QEVA0007
UD: Control of compulsory comment or long text presetting
QEVA0006
Entry to usage decision transactions
QEVA0005
User subscreen for displaying add. data for usage decision
QEVA0004
Exit for changing information line in usage decision header
Business Add-in
QEEM_OPER_ADDON
Functional Enhancements - Results Recording Operation Level
QEVA_ADDON_TAB
Include Tab Page for Operation Completion
QEVA_ALT_QTY_INPUT
BAdI for Input Help for Quantities in Usage Decision
QEVA_SUBSCREEN_1101
VE: BAdI Subscreen for Display of Data on Screen 1101
No.of Exits: 9
No.of BADis: 4
Regards
Karthik D -
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 -
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-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 -
USER Exits FOR TM_55 Tcode
Hi All,
Iam working on the enhancement for the TM_55 Transaction which is for the reverse of interst rate.
I want to do some enhancement when user presses the save button.
can any body give me any exits, badi, or enhancement point which will trigger when user click the save button on the tcode tm_55.
thanks in advance.
vinod.Hi,
There are 2 Exits in Tcode "TM_55".
RFTBCOEX
RFTBCOMO Treasury: Correspondence Monitor
The Badis List as below.
FTR_BAV Open TR-TM: BAV regulatory reporting
FTR_CORR_INC_100 CFM: Inbound confirmation via IDoc
FTR_CORR_OUT_100 CFM: Outgoing Confirmation via IDoc
FTR_CUSTOMER_EXTENT Open TR-TM: Enhancements for Customers
FTR_FINANCIAL_OBJECT Open TR-TM: Finance object connector
FTR_FX_INT_EXIT Enhancements for Internal Forex Trading
FTR_HEDGE_MGMT Open TR-TM: Hedge Management
FTR_HEDGE_MGMT_USER User Exit for Hedge Management Subscreen
FTR_MA_LAUNCH Settings for the MiniApp Launcher
FTR_MA_LAUNCH_1STP Control Start Page for MiniApp Launcher (FTR_MA_LAUNCH)
FTR_MA_LAUNCH_CUSTOM Settings for the MiniApp Launcher
FTR_MIRROR_DEALS Open TR-TM: Connection to Mirror Transactions
FTR_PARTNER_ASSIGN Open TR-TM: Partner Assignments
FTR_SE_DEFAULTS Add-In: Default Issue Structure Data for Sec. Transaction
FTR_TRACA_STATREPORT Posting of TR Transactions: Enhancements for Reporting
FTR_TR_EXTENTION Enhancements to TR-TM
FTR_TR_FACILITY Open TR-TM: Connection to Facilities
FTR_TR_GENERIC Open TR-TM: Generic Connection to Transaction Management
FTR_TR_POSMON BADI Position Monitor
FTR_TR_TBB1_EXIT Enhancements of (Operat.) Posting Interface (Obsolete!!!)
IBS_FS_LIST_OPTIONS Manipulate Field List for Display in MiniApp
SMOD_RFTBCOEX CFM: Enhancement of Transaction Confirmations/Dealing Slips
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 Folks,
I am doing some enhancements for MM01 Tcode.we need to add new screens to MM01. could any one tell me the available screen exits or BADI' s for tcode MM01. thnx in advance.
santosh.Hi,
Check these:
MGA00001 - Material Master (Industry): Checks
and Enhancements
MGA00002 - Material Master (Industry): Number
Assignment
MGA00003 - Material Master (Industry and
Retail): Number Display
Check with 'BADI_MATERIAL_REF'
Refer
http://www.****************/Tutorials/ExitsBADIs/MM/MM01.htm
https://forums.sdn.sap.com/click.jspa?searchID=7217830&messageID=3313524
Regards
Maybe you are looking for
-
Duplicate listing of same email in Inbox
I have an intermittent issue of having email info duplicated in my inbox (one email with two identical listings). When this occurs, clicking on one listing, then the second, sets up a red highlight on the listing not chosen. The duplicate listing pro
-
Hi, Please let me know can we present the Balance Sheet in the XBRL Format in ECC 5.0 . If yes please let me know what would be the procedure for the same. Regds Pushpi
-
I use an IMac and for several days my firefox will not load from the logo I have on my dock. I have to use the download image from my opening screen. Please help.
-
It is possible to charge the Sony S tablet by connecting to PC or laptop? Solved! Go to Solution.
-
Win7 64-bit driver for Photosmart 7550
I have Windows 7 64-bit. I need a driver for my HP Photosmart 7550 printer. The Deskjet 5550 alternative driver will not work. Short of dumping the printer, what can I do? Is there a driver to be released soon? Joe