Badi or user exit for changing currency INR to EUR
hi friends,
in po header there is one tab called status.
in this tab there is one field called delivery payment
which has curr INR but i want to change that INR CuRR
to EUR.Can any one tell me how do this is there any badi or user exit
for this req.
thanks.
Hi Sonu,
Use the following program to find out the appropriate user exist for ur transaction:
REPORT ZGURU_USER_EXIT_FIND .
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
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 = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
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.
Take the user to SMOD for the Exit that was selected.
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.
Then u can use the function CONVERT_TO_LOCAL_CURRENCY to change the amount from INR to EUR.
Regards,
Himanshu
Similar Messages
-
BADI or User Exit for Txn : CRMD_ORDER
Hi Experts,
Is there any badi or user-exits for the transaction crmd_order.
regrads,
arul jtohi aDear Arul Jothi,
BAPI_ACTIVITYCRM_CREATEMULTI
BAPI_BUSPROCESSND_CREATEMULTI
CRM_BUSPROCESSND_BAPI
CRM_LEADCRM_BAPI
BAPI_LEAD_CREATEMULTI
CRM_OPPORTUNITYCRM_BAPI
BAPI_OPPORTUNITY_CREATEMULTI
CRM_SLSTRANSACTCRM_BAPI
BAPI_SLSTRANSACT_CREATEMULTI
Also, visit the following thread:
Change status for sales order in crmd_order
BAdi/Enhancement:
/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
Regards,
Naveen. -
BADI or User Exit for updating MSEG
Hi,
We are using ECC 6.0 and here is the scenario that we have to update custom fields into VBAP, LIPS and MSEG tables when these fields are entered on the sales order screen VA01,VA02.These field are added on this screen using Additional Data B screen.Also, These fields are there in VBAP and LIPS through Append Structure and MSEG through CI_COBL.Is there any BADI or USER EXIT for this.Thanks in Advance.
Priya.Hi
You can use exit ZXMBCU02 ( Function EXIT_SAPMM07M_001
in SAP enhancement MBCF0002 ). Here also whtever changes you make to I_MSEG will be lost as MSEG is an importing parameter. You can do something like this.
FIELD-SYMBOLS <F1> TYPE MSEG.
DATA NAME(50) VALUE '(SAPMM07M)MSEG'.
ASSIGN (NAME) TO <F1>.
<F1>-KOSTL = 'XXXX'.
( In above example MSEG-KOSTL will be set as XXXX, you can change any of MSEG fields in above way. ).
Cheers -
BAdI: or User Exit for Campaign Creation IN CRM 5.0
Hi all,
we are working in CRM 5.0,
we have a Requirement like :
when we create the campaign it should check higher level project ID (marketing Plan ID)
if it is there it should permit for create campaign else it ll show error...
Any BAdI: or User Exit for Campaign Creation?
I ll geive reward points....
Rhanks & Regards,
GaneshIN WHICH TRANSACTION U R CREATING CAMPAIGN ??
-
Hi Gurus,
I am looking for BADI's or User exits for transaction ME23n.
Exactly I am looking for BADI or user exit for the release strategy for the PO and then mailing it to th e apporover.
regards
kanishkadear ,
check out these two badi it may be useful for your requiremrnt
ME_RELEASE_CREATE
SMOD_MRFLB001
Cheers
fareed -
BAdI: or User Exit for Campaign Creation
Hi all,
we are working in CRM 5.0,
we have a Requirement like :
when we create the campaign it should check higher level project ID (marketing Plan ID)
if it is there it should permit for create campaign else it ll show error...
Any BAdI: or User Exit for Campaign Creation?
I ll geive reward points....
Rhanks & Regards,
GaneshDear Ganesh,
As campaign can be created and executed individually also, it will never check for higher level project ID.
Let me check the system if we can block creation of campaign individually, without having a higher level marketing plan. -
Badi or user exit for allocation run (Tcode-J3AT) on save button
hi friends,
i m searching for the BADI or user exit for the Tcode J3AT on the save button press. if u know any badi or user exit for same pls let me know.
thanks and regards,
vicky.solved with the help of SAP note.
-
BADI or USER Exit for BP Adress check
Hi All ,
what is the badi or user exit for giving a additional check on Postal Codes when creating a BP ?
I have checked BUPA_ADDR_CHECK
BUPA_ADDR_EXPORT
BUPA_ADDR_IMPORT
BUPA_ADDR_UPDATE
BUPA_ADRREL_EXPORT
and the user exit ZXSZARU01
but when i am entering the postal code and pressing Enter , i am not able to catch the User/EXIt or badi .
Thanks for help.Hi
Use the BAdi : ADDRESS_CHECK
Implement the method: ADDRESS_POSTAL_CHECK
Once you enter the Post Code and Country on BP Txn, Pressing Enter will trigger this Badi for address check !
Good Luck !
Thanks
<b>Allot points if this helps !</b> -
User Exit for Changing G/L account in Accounting Document
hi all,
This one is urgent for me. If you guys can help.
Iam looking for a user-exit to change the G/L account while posting the accounting document.
If someone has worked on a similar user-exit Kindly help.
Thanks and Regards
VarunHi Experts,
The requirement is to change the GL account when PGI is done for a delivery.
I have coded in the above user exit for changing the GL account. I am facing the issue here.
I am changing the GL account through a user exit, but even before the user exit is called the standard SAP is throwing a error.
the Error is GL account is blocked for posting in the company code. This check is happening for the GL account what standard SAP proposes from the customization. The GL account that is getting picked is blocked in SPRO for posting in the mentioned company code. Because of the error message, our z code is not getting executed.
Kindly suggest if some user exits that can be used even before this error message. or let me know if you have any suggestions to over come this.
I have coded this in the enhancement point. Include MM07MFK0_KONTIERUNG_PRUEFEN and subroutine kontierung_pruefen.
Thanks, -
Is there any user exit for changing V1 field value?
Hello Expert,
Is there any user exit for changing V1 update value?
For example, sales order number will populate 2LIS_11_VAHDR-VBELN. If other value need to populate 2LIS_11_VAHDR-VBELN, can we use any user exit to customize the V1 routine?
Please forget the enhancement for 2LIS_11_VAHDR. Just populate the system field VBELN.
Thanks
F-B-IHi,
Use the 'usual' user-exit for transactional data in R/3 EXIT_SAPLRSAP_001 (CMOD). Here your can overwrite VBELN for each extracted record with the value you want.
Hope this helps.
Grtx
Marco -
User-Exit for changing Sales Document Number - Urgent
Hi Experts ,
Please suggest me the <b>User Exit for changing Sales Document Number.</b>
thanks,
Jayesh<b></b>hi jayesh,
chech this exit-----EXIT_SAPFV45S_002.
this exit's description says " Change Sales Document Using Configuration".
Other available exits are
SDAPO001 Activating Sourcing Subitem Quantity Propagation
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Enter these exits name in SMOD transaction and select components. u can find all the user exits available for this exit name.
Reward me if useful..........
Harimanjesh AN -
User exit for changing operation scap in PP order
Hi,
I want to know user exits for changing operation scrap in PP production order. Please help
Regards
ShaliniI could found only one at the moment...
QEVA0002 - Calculation of share of scrap in inspection lot
check if it is helpful.....else u can go on
CMOD - Utilities - SAP Enhancements - (Remove Maximum No of fields) - Execute (F8)
You will get all user exits.
Now i need points.... :)...My score is not gettin increased... lolz
kapil -
USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT
Hi,
Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
Regards,Hi,
There is another user exit for updating material document data Upon posting is MB_CF001
I hope this will fullfill you.
Prem -
BADI or USER EXIT for MIGO when changing order number
Hi experts, I'm looking for a BADI or USER EXIT in Tx. MIGO that is triggered after pushing ENTER when you change the order number. What I need to do is to propose the movement type depending on the order data. Thanks.
Not sure but you can try in BADi MB_DOCUMENT_BADI menthod:
MB_DOCUMENT_UPDATE -
Badi or user-exit for QA32 after save
I need a badi or user exit to execute exactly after save in QA32 ..I tried belows but they are not that i want
QPL1_SUBSCREEN_ADDON
INSPECTIONLOT_UPDATE
Check these Exits:
QEVA0004 Exit for changing information line in usage decision he
QEVA0005 User subscreen for displaying add. data for usage decis
QEVA0006 Entry to usage decision transactions
QEVA0007 UD: Control of compulsory comment or long text presetti
QEVA0008 Usage decision: Customer function key (e.g. to cancel U
QEVA0009 UD: Predefinition of quantity to be posted to sample st
QEVA0010 UD: Usage decision check
QLCO0001 QM: Call alternative costs report from UD
QSS10001 Possibility of calling a different print reportHello Tuncer,
have you checked the BADI QE_SAVE? This is the last possible chance of changing data on saving a QM transaction and should be active in QA32.
The only other solution I can come up with is a follow-up action i.e. for the UD-code
Hope this information proves usefull.
Regards
Isabelle
Maybe you are looking for
-
Push button in ALV Grid Display
Hi all, I have a requirement wherin i need to place a button in the ALV Grid Display which should update all the records whatever are displayed in the specified infotype. This is to be done in a report. Can anybody give me any pointers or sample code
-
How to get the Material-Document-Number wie the delivery-Number+Position???
Hi, we want to connect mseg and likp+lips. But therefore we need the Material-Document-number concerning this delivery and in likp+lips isn't a Material-Document-Number! Could anybody help me to connect likp+lips with mseg!
-
PREMIERE PRO CS3 CRASHING on SNOWLEOPARD OS
Please Help! I searched the forum - but I couldn't find anything that matched this exactly. Adobe Premier Pro CS3 crashes every 5-10 minutes or so on my mac with no crash report! I am running the fastest MAC available - with a solid state hard drive
-
How do I empty the spooler on my Photosmart 310A?
I have several documents stuck in Queue on my 310A all in one. How do I empty them?
-
''locking as a duplicate - https://support.mozilla.com/en-US/questions/793163'' @ weeks ago the view, copy, edit, files, tools, bar at the top of the page disappeared. Then last week the next row that contained back, refresh, and a search bar disappe