BADI or User Exit to Change the Item Details in AFAB Transaction(Depreciation)
Hi Experts,
I have a requirement of changing the Item details in AFAB Transaction (Internal Order Number). Is there any BADI or User exit available for that.
Thanks in advance.
Hi Sivag,
You can find BADI for transaction in different ways. Try with below methods
1. To find New BADI(Karnel), Run the transaction with debug mode(/h), keep break point at statement
CALL BADI
2. To find old BADI (Classic), Keep break point at exit handler CL_EXITHANDLER=>GET_INSTANCE and run the transaction
3. Check in SPRO transaction - Check with functional consultant in which business process this transaction comes and any customization details available
4. Get pakage name of transaction and go to to tcode se84 enhancement browser . Try to find with package name, any enhancement available
Thanks & Regards,
aRun
Similar Messages
-
Badi and user exit active at the same time ?
Hi All,
Please let me know whether
1> I can have a BADI and a user exit both active at the same time for the same enhancement?
2> I can have a BADI and a user exit both active at the same time but they are for different purpose.
eg: BADI -- > to change statistical date of po item line on ME21N screen
User Exit -- > to change the exchange rate on PO header on me21n screen
Please response to the second point... as this is what I am working on.
Regards,
ShitalHello,
Thanks for your response.This is my code.
WSA_header = IM_HEADER->GET_DATA( ).
wsa_header-wkurs = '0.6668'.
CALL METHOD im_header->set_data
EXPORTING
im_data = wsa_header.
Kind Regards,
Shital -
Is there any user exit to change the UOM of a material while creating sales
Hi experts,
I have a requirement to change the UOM of the item material in sales order while creating. Could anybody help me in finding the correct user-exit to change the UOM.
Thanks,
srinivas.Hi Ravish,
I am already changing the UOM in the same include and in the subroutine "USEREXIT_MOVE_FIELD_TO_VBAP". But it is again over writing in the standard program. What I need to do, to remain same UOM.
Thanks,
srinivas. -
BADI or User exit to update the data in a PO(ME22N or ME21N)
Hi,
I require a BADI or an user exit to update all the line items of a PO...
Please let me know if there is a badi or user exit that triggers before the saving of the PO..and also updates the values of all the item data fields..
Thanks in advance
Regards
ShivaHi,
we have checked above BADI;s but will not suffice the requirement;
The requiement is
While Creating PO(ME21N) and Changing PO(ME22N):
When the user tries to Save the PO:
All the line items should be accessible and can be editable.
If the validation fails, error message should be displayed on
the screen and user should be able to edit at that location.
Please let me know if there is any other way or enhancement point for the same...
Regards
Shiva -
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 -
Rule based ATP Check - User Exit to modify the item
Hi all,
We are working with standard rule based ATP check to change the plant in the Sales Order item.
That creates a new subitem with the new plant determination, and changes the Item Category of the original item.
My doubt is: Is there any User Exit in this process to do the system change something else in the Sales Order items?
<< Moderator message - Please do not offer points >>
Thanks!!
Edited by: Rob Burbank on Oct 8, 2010 2:20 PMHi Roger,
Please clarify more what do want to change exactly example any Z field to be copied from main item to sub item.
You can use exit USEREXIT_MOVE_FIELD_TO_VBAP , USEREXIT_MOVE_FIELD_TO_VBAK
Thanks,
Pavan Verma -
User exit to change the storage section indicator (MLVS-LGBKZ)
Hi.
I'm looking for a user exit which be able to change the storage section indicator (field MLVS-LGBKZ) proposed by the material master data in the process of creating a TO (transaction LT06). I haven't found any user exit for this. Do you know any user exit to change this value?
Thanks in advancehi,
thank you for your response.
whatever the exit which you have been provided, not calling when i creating PR through MD50.
i need an exit which will trigger when we create PR through MD50.
Many thanks,
Regards,
kiran -
User exit to change the value of ltbp-wempf
Hi,
Is there any user exit to modify the value of ltbp-wempf during Transfer requirement creation ?It is also ok, if i can get a way to modify MSEG-wempf during production declaration. (MFBF)
-
MIRO User - Exit to Change the Profit Centre..?
I need to change the Profit Centre in the Accounting document(for Vendor Line Item) and Profit Centre Accounting Document(For Payable Line Item) Created by MIRO Transaction.Can any one let me know if there is anyuser-exit or badi to achieve the same
Thanks a lot for your help .
Regards,
Gopi.Khi
These are all the user exits avalilable 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
I think you can use this exit.
LMR1M002
Regards.
Lavanya. -
Using Field-Symbols in a user exit to change the importing parameter
Please don't ask why but I need to use a user exit, changing the importing parameter. I decided that I could do this using field-symbols.
Please excuse my ignorance but I have never used field symbols for something such as this.
Here is my goal: Loop through an internal table (im_document-item). When I find what I need I want to make a change to this line (not so hard if I am looping into a field symbol) and also append a line to the end of the table im_document-item.
I have the following so far:
DATA: wa_item TYPE accit,
wa_item_out type ACCIT_SUB.
FIELD-SYMBOLS: <document> type acc_document,
<accit> TYPE ACCIT.
LOOP AT im_document-item ASSIGNING <accit> where saknr = '0000211000'.
* Modify the curent line
wa_item = <accit>
* Append a new line into table im_document-item.
ENDLOOP.
How can I use field-symbols to append a line to this table? Please note that the table in question (im_document-item) is an importing only parameter.
Regards,
Davisthat will allow me to append an initial line with <accit> pointing to the line. Therefore I just have to modify <accit> and the new line will then have my changes?
Yep, that is exactly it. So after the APPEND statement, simply fill the fields of the <accit>.
append initial line to im_document-item ASSIGNING <accit>.
<accit>-field1 = 'Blah'.
<accit>-field2 = 'Blah'.
Regards,
Rich Heilman -
User exit for Change the Tariff Number in Customs Declaration Document
Hi Guru,
Due the business requirement, user only maintain the Tariff Number in ECC, there is an solution when GTS creating the customs declaration document in GTS, there is an user exit calling the Function Module (Customized program) to get the Tariff Number from ECC and then update the Tariff number in the item level automatically.
Do you know if there is user exit or BADI can update the "Tariff Number" in the item level of Customs Declaration Document in GTS?
Thanks,Hi,
I would not do it in that manner, first because of performance reasons and 2nd, GTS needs to have the Data in the system and for certain procedures (for example swiss customs you will have to manipulate them in GTS). Furthermore we tried to do this for dummy numbers and then conclusion is that it only works with a Programm modification (at least for CH customs) becasue the system needs to retreive more than just the Tarif number.
Yet if ECC has to be your master for Numbering (which I dont recommend by the way), but if there is really no other way.
Then create a batch job that transfers the ECCN number to GTS (there is a standard functionnality to do so), and then do a batch job in GTS that retreives these numbers.
Regards,
Marc -
User exits while changing the PO Output Medium
Hello Champions,
Will anyone share me, is there any user exit which triggers while changing Purchase Order Output Medium in ME22N transaction. How to know list of user exits which are applicable for ME22N transaction?. will anyone guide me.
Reward with Full pointHi PV,
These are the list f User exits for ME22N:
Exit Name Description
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
Regards,
Maia -
User exit to change the deliveries in self-billing
Hi abapers
i have a problem with badis
In the transaction VSB1 i have the badi BADI_SBWAP.
in this i have a method DELIVERY_DETERMINE_2.
i want to write the code to change the deliveries in that method.
since the required data to validate the VBELN is given in this method only.
but the problem is the program SDSBWAPSPS is not entering into this method.
if i write the code in that method then it is not executing the code.
so any alternate solution for this problem.
thanks in advance.
samiCheck the user exit USEREXIT_PRICING_CHECK or USEREXIT_CHANGE_PRICING_RULE in include MV61AFZA for your requirement.
Regards, -
User Exit to change the Ship-to party address at Sales Order headder level
Hi,
I have requirement like this......
I need to change the ship-to party address at Sales Order headder level. for that which user exit i need to use and which structure i need to use to update the transaction.
I used : userexit_save_document_prepare, in that i passed data to 'xvbpa' and 'xvbadr' structures. even though it is not update the transaction.
Please let me know the answer.
Thanks,
Satish.Hi Satish,
Step1. Create new Data Copy Routine using Tcode VOFM.
Step2. *-----------------------------------Ship to Party from contract
IF CVBPA-PARVW = 'WE' OR
CVBPA-PARVW = 'SH'.
REFRESH IT_STP.
SELECT KTOKD
A~KUNNR
NAME1
NAME2
A~ADRNR
FROM VBPA AS A INNER JOIN KNA1 AS B ON A~KUNNR = B~KUNNR
INTO CORRESPONDING FIELDS OF TABLE IT_STP
WHERE VBELN = CVBPA-VBELN .
Step3.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL = 80
ENDPOS_ROW = 10
STARTPOS_COL = 10
STARTPOS_ROW = 5
TITLETEXT = 'Your Title'
IMPORTING
CHOISE = T_SELIDX<=====Index No of selection
TABLES
VALUETAB = IT_STP
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
Step4.
READ TABLE IT_STP INTO WA_STP INDEX T_SELIDX.
IF SY-SUBRC = 0.
CLEAR:CVBPA-KUNNR, CVBPA-ADRNR.
MOVE WA_STP-KUNNR TO CVBPA-KUNNR.
MOVE WA_STP-ADRNR TO CVBPA-ADRNR. <========Address ID (Change Here).
ENDIF.
Regards,
Amrendra
Moderator Message - Please do not reply to old, dormant threads.
Message was edited by: Suhas Saha -
User Exit to change the Net price in the Billing document
Hi,
We have one billing document used for three countries
My requirement is , for worng price, user has to chaange the Price manually in the Billing document.
I cannt maintain the copy control setting from the Delivery document to Billing with Pricing Type C
Is there any user exit or alternative way to change Netprice in the Billing document.
regards,
santoshCheck the user exit USEREXIT_PRICING_CHECK or USEREXIT_CHANGE_PRICING_RULE in include MV61AFZA for your requirement.
Regards,
Maybe you are looking for
-
Info-Object data not appearing in Multiprovider
Guys, I got a problem here. I have created a multiprovider based on master data and cube. My master data has certain attributes which are not present in the cube. I want to display data for those fields in the multiprovider. I can see cube data in th
-
All, I am getting below error message from log file after Invoice Validation program error out, please advise. I could not search on "ORA-06512: at "APPS.AP_APPROVAL_PKG", line 11124" search, but found other errors and able to see we are very much hi
-
Having Problems Seeing your LiveCycle Designer Forms on the iPAD Adobe Reader App?
I'm not a computer wize and very new to Adobe and creating forms with LiveCycle. So apologize to anyone that reads this and says "duh", but hopefully it will be helpful to someone out there who is struggling like I was. First off - the IPad will wil
-
IPhoto and recognizing still photos Canon DC10
I'm using iPhoto 6.0.6. I am not trying to view the video portion on this camera with iPhoto. The problem is iPhoto won't recognize that a camera is connected to the computer when the DC10 is in the still photo mode. The iPhoto application use to rec
-
Hi, We have completed a fresh installaion of EP7 on our production server. We need to adopt the best practise in taking backups. Is CPPO the best way forward? Can anyone give me the exact link for me to download the guide for CPPO for the 2004s (EP7)