MIRO tcode exit or badi
Hi Experts,
In MIRO transaction, the currency field in the invoice header gets changed from USD to USDN when I change the PO no. at the item level. The currency is based on the PO currency.
Please let me know if there is any badi or user exit available for changing the USDN back to USD and display on screen as well as save the USD currency instead of USDN.
Regards,
Sangeeta.
Hi Sangeeta.
You can do debuging at the point that you want to know what are BADIs and EXITs called during the
processing. Please follow the tips that the way I did.
BADI: The following steps will allow you to simply find a BAPI that is linked to an SAP transaction code
1. Execute transaction SE37 or SE80 and find function module 'SXV_GET_CLIF_BY_NAME'. or SXC_EXIT_CHECK_ACTIVE
2. Insert a breakpoint in it.
3. Now go to the SAP transaction you want to find a BADI in.
4. When you execute it, it will stop at the above function module.
5. Look at the value of field EXIT_NAME.
6. This will provide you with the name of the BADI that is available in your SAP transaction code.
EXIT: The following steps will allow you to simply find a USER EXIT that is linked to an SAP transaction code
1. CALL SAP transaction
2. set to debug mode /h
3. set break point at command "CUSTOMER-FUNCTION"
Hope it helps.
Sayan
Similar Messages
-
Hi all,
How can i control MIRO referans field during saving Vendor Invoices? What is the name of User Exit or BADI name?
Best regards,
Munur EBCIOGLUSE18 > INVOICE_UPDATE >
based in ur requirement you can use:
Methods:
CHANGE_AT_SAVE Invoice Document at Save
CHANGE_BEFORE_UPDATE Invoice Document Before Update
CHANGE_IN_UPDATE Invoice Document During Update -
Hi frnds,
i need to pass default values in MIRO transaction.
i have found MRM_HEADER_DEFAULT Badi and LMR1M001 user exit, for this. but i am not able to pass the values here. can u help on this? or can u give any userexist for this?
Badi Code:
I_RBKPV-WAERS = 'INR'.
I_RBKPV-BUPLA = '1000'.
I_RBKPV-SECCO = '1000'.
User Exit Code:
the same above code i have used in EXIT_SAPLMR1M_003.
Thanks in advance.
Points will be rewarded for helpful answers.
Regards,
BaluHi,
Have you passed the values that you want to set to the export parameters in the BAdI:
E_BLART Document Type
E_BKTXT Document Header Text
E_XBLNR Reference Document Number
E_BLDAT Document Date in Document
E_REINDAT Invoice Receipt Date
E_XBNK Planned Delivery Costs Indicator
E_XWARE Goods Invoice/Service Indicator
In the BAdI source code you must pass values to these parameters that you want to set.If you have done this and still you are not getting the desired result then can you send the source code.
Hope this helps.
Pravat
<i>*Reward points if helpful</i> -
MIRO : User-exit to block an invoice
Hello,
I try all miro user-exits and badi and nothing works.
I need to block some invoices in MIRO. The badi is good but no export parameters (I try dynamic assignment but it dumped !!)
I you've any idea, I will reward
ThanksHi Fabrice,
Please take a look at these threads..
User Exit for FB60 ( Enter Vendor Invoice )
Please help me find a User exit to block a Vendor
cheers,
Prashanth
P.S : Please mark helpful answers -
User exit or BAdI for MIRO(before save)
Hi all,
My requirement is for tcode MIRO to change the table control data, 'amount' field in po reference tab for drseg as soon as the user hits 'enter' after putting the po number.
plz suggest if there is any user exit or badi to achieve the same.
Thanks n regards,
Mukesh YadavHi,
Check the following.
<exit farm removed by moderator>
Moderator message: please reply with specific information only.
Edited by: Thomas Zloch on Jun 3, 2011 10:20 AM -
User Exit or BADI for MIRO after save
Hi
I want to show a message in MIRO once the invoice document is create but I am unable to find a user exit or BADI after save of the MIRO transaction.
Please guide me in this aspect.
Regardstry to run the below codes in a new program,it can help you to find all user exits of a t-code:
TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
TABLES : 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 OBLIGATORY.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
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 = 'SMOD'
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:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN. -
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 -
USER EXIT or BADI for Vendor field in MIRO
Hi Experts,
In MIRO transaction vendor field gets defaulted from Purchase Order. So my requirement is to changes that vendor with alternate payee.
To <u>replace the vendor with alternate payee</u> I need the <b>USER EXIT or BADI</b>, kindly help me on this will be useful for us.
Thanks in Advance.
SAP ConsultantTransaction Code - MIGO Goods Movement
Exit Name Description
MBCF0002 Customer function exit: Segment text in material do
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_
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Ma
No of Exits: 8
BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Rewards if useful.................
Minal -
User Exits or BADI for Tcode ME51N
Hi All,
My requirement is i need to check available quantity at the time of Purchase req creation. If PR quantity is available in stock then it should not allow to create new PR.
Is there any user exit or Badi for this requirement. Kindly send me.
Regards,
ParasHi Paras,
Copy this program and execute. Will get all list of existin g Exits and Badis.
very useful program
Below code will give a list of BADIs for particular transaction.
*& 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.
Reward points if this helps.
hema. -
User Exit or BADI used to block the payment in MIRO
Hi all,
Is there any user exit or BADI to block the payment in MIRO . please give me in detail with all methods used.
Thanks
babucan anybody give me any answer. thanks.
-
Any menu exit or badi for tcode F110
Dear all,
My requirement is that whenever the user runs tcode F110, a flat file has to be generated with all the details from tcode F110. How can i do that? Should i change the std pgm or any menu exit or badi available. Plz help me in this regard.Hi
Following are the User Exits and BADIs available:
Enhancement
RFFOX074 Frame for user exit RFFOX074 (in program RFFOCH_U)
RFFOX075 Frame for user exit RFFOX075 (in program RFFOCH_U)
RFFOX081 Frame for user exit RFFOX081 (in program RFFOF__T)
RFFOX082 Frame for user exit RFFOX082 (in program RFFOF__T)
RFFOX100 Frame for user exit RFFOX100 (in program RFFOUS_T)
RFFOX101 Frame for user exit RFFOX101 (in program RFFOUS_T)
RFFOX102 Frame for user exit RFFOX102 (in program RFFOUS_T)
RFFOX103 Frame for user exit RFFOX103 (in program RFFOUS_T)
RFFOX104 user exit
RFFOX105 Frame for user exit RFFOX105 (in program RFFOUS_T)
RFFOX200 Frame for user exit RFFOX200 (in program RFFONZ_T)
RFFOX210 Frame for user exit RFFOX210 (in program RFFOAU_T)
RFFOX211 Frame for user exit RFFOX211 (in program RFFONZ_T)
RFFOX230 General program for user exit RFFOX230 (in program RFFOJP_L)
RFFOX240 Enhancement for User Exit 240 (RFFOAT_P)
RFFOX250 Enhancement for User Exit 250 (RFFODK_E)
RFFOX901 Framework for user exit RFFOX901 (in program RFFOM100)
RFFOX902 Framework for user exit RFFOX902 (in program RFFOM100)
FDTAX001 Enhancement to Transaction FDTA (event after the download)
FEDI0002 Function exits for EDI DOCS in FI - Incoming pyt adv.notes
FEDI0003 Function exits for EDI docs in FI - Save PEXR segments
FEDI0004 Function exits for EDI docs in FI - particular events
FEDI0006 Function Exits for EDI-docs in FI: Save IDCR Segments
RFFOX003 Frame for user exit RFFOX003 (in program RFFOM100)
RFFOX041 Framework for user exit RFFOX041 (in program RFFOBE_I)
RFFOX042 Framework for user exit RFFOX042 (in program RFFOBE_E)
RFFOX043 Framework for user exit RFFOX043 (in program RFFOBE_D)
RFFOX061 Frame for user exit RFFOX061 (in program RFFOCH_P)
RFFOX062 Frame for user exit RFFOX062 (in program RFFOCH_P)
RFFOX063 Frame for user exit RFFOX063 (in program RFFOCH_P)
RFFOX064 Frame for user exit RFFOX064 (in program RFFOCH_P)
RFFOX065 Frame for user exit RFFOX065 (in program RFFOCH_P)
RFFOX066 Frame for user exit RFFOX066 (in program RFFOCH_P)
RFFOX071 Frame for user exit RFFOX071 (in program RFFOCH_U)
RFFOX072 Frame for user exit RFFOX072 (in program RFFOCH_U)
RFFOX073 Frame for user exit RFFOX073 (in program RFFOCH_U)
Business Add-in
FI_BSTM_MC_EXIT FI Account Statement: Exit from MultiCash Conversion
FI_F110_SCHEDULE_JOB F110: Check before scheduling a proposal/update run
Cheers
Shakir -
Exit or BADI when Tax Calculation in MIRO from Purchase order
Hi Gurus,
I Need a Exit or BADI when Tax Calculation in MIRO from Purchase order.
The problem is the tax is automatically calculated from tax code in PO but I want it to be calculated
from PO condition. Is there any exit available by which I can modify the value of tax when ticking the check box of tax calculation in MIRO.BADI has method COPY_DRSEG_SELKZ but since there only importing paramters and no exporting or changing parametrs you cannot change the values of rseg here.
Try using proper Implicit enahncement by debugging .
For implicit enhancement check
Re: How do we search enhancement point/section
Edited by: Gautam Totekar on May 29, 2009 5:56 PM -
User exit for BADI for Tcode: IW31
Hi
Can any one tell me User-exit or BADI for Tcode: IW31.
Whenever an Order is released (IW31) or saved then automatically Purchase Requisition will be created by standard program. My requirement is like at the same time , we need to create Purchase order automatically based on Requisition created above within the transaction IW31.
Thanks in advance.
Sowjanya.Try this
BADI : IWO1_ORDER_BADI
IWO1_PREQ_BADI
IWO1_SCREEN_MODIFY
User Exit : IWO10012 (SMOD) -
HI
We have a special situation where SAP MIRO is proposing values for freight at MIRO which is in variance with freight clearing account values at GR stage. Is there some user exit or BADI that I can call to substitute the system proposed value with another value?
Or some exit or BADI to atleast give a warning message to users along the lines in such situation?
Sriram
Message was edited by:
Sriram ChundiHi,
Before you try using BADIs or user exits it is worth understanding why you think there is a problem?
This functionality is being used world wide and does not cause a problem for many other users?
Have you determined why it is using a different value at GR to Invoice receipt stage? The only situation that I can think of is for exchange rate differences if foreign currencies are being used.
If it is not a foreign currency and so the difference is not down to fluctuation exchange rates then the two values should be the same. (i.e the value posted to the clearing account at GR will equal the value proposed at MIRO stage).
So please can you check WHY there is a difference because it is probably working as it should.
As for using a different value via a user exit, where would that value come from? How woould you calculate it? The problem is that the whole MIRO has to balance exactly, if you manually (via a BADI or user exit) change a value there is a real danger of causing corruption, because the system is using the value it has calculated with a complex equation.
Steve B -
User Exit or BADI for payment block in MIRO
Hi all,
I need a User Exit or BADI for payment block in MIRO for line item. please help.
Thanks
babuHi,
Check the components in enhancement "LMR1M001".
Regards
Vinod
Maybe you are looking for
-
HT5796 Can I set up 2 apple IDs with one email address?
My husband & I both have iPads but only one email address.
-
I need help having my program read in finite amounts of data at a time
I've attached my diagram. The problem(s) I am having are as follows I need to read the data from a .txt (alternately .lvm) file 250 entries at a time. The problem with the construction I have now is that the dynamic to array buffer kind of destroys t
-
My nokia browser is not closing.
Hi sir, when i opened internet on my device 311 there's a massage to update and i do that. But after that i browse my internet and want to close that app then its not clossing. What i have to do? Please help.
-
Export form results - XLS and HTML/CSS
Hi, When I save my form's responses to XLS on my PC, I can't open the XLS form: I get an error message saying that the document I'm trying to open is in a different format than the extension. I open it anyways, but the document looks empty. Any idea?
-
What are the steps we have to follow to develop RFC function module
hi what are the steps we have to follow to develop RFC function module