User Exists for MIRO /FB03 transaction
Hi,
Our requirement is to capture the PO text in MIRO posting document (FB03)
I have tried the following -
I made use of SAP enhancement LMR1M004 and user exit EXIT_SAPLMRMP_004 to populate the BSEG_SGTXT.
What i observed are -
- When you create the MIGO document then some records are inserted in BSEG, after that when you create the MIRO document the records which are created in MIGO are updated by the user exit which i have written (field BSEG-SGTXT) .
- After the user exit is executed then the MIRO records are inserted into BSEG. So these MIRO records are not updated, which is my actual requirement.
Please suggest/guide me to accompanish this task.
Santosh.
I think when MIRO document is created the entries are updated in RSEG instead of BSEG.
Anyway if you want to update MIRO data while it is saved you can make use of BADI: INVOICE_UPDATE. METHOD: CHANGE_BEFORE_UPDATE.
Similarly you have badi for MIGO: MB_MIGO_ITEM_BADI, but here you can only change storage location and item text.
Similar Messages
-
To find the User Exits for a particular Transaction.
hi,
I want to find the number of User Exits for a The Transaction MM01 or MM02,
I serched in the forums but could not find satisfactory ans,
I tried with:
T.Code-> System>Status->Prog Name>SE38>find Call Customer-Exit.
But its not helping me,
Please help me.
Thanks and Regards
Suraj S Nair.hi ,
if you are new to user exist use --> follw the below methos to find the user exit for a particular transaction or t-code
create one custom pgm in se38 and execute >selection screenenter t-code and execute it will return all the user exists for a specific transaction..
Finding the user-exits of a SAP transaction code
* Finding the user-exits of a SAP transaction code
* Enter the transaction code in which you are looking for the user-exit
* and it will list you the list of user-exits in the transaction code.
* Also a drill down is possible which will help you to branch to SMOD.
* Written by : SAP Basis, ABAP Programming and Other IMG Stuff
* http://www.sap-img.com
report zuserexit no standard page heading.
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.
*---End of Program
Regards,
Prabhudas -
User Exist for MM - Purchase Order
Hi ABAP expert,
is there any user exist for Purchase order, actually i'm want to prevent the user from do the deletion on PO items, as per my understanding we can use user exit.
can anyone help and how to do the process ?Hi,
1. Just copy and paste this code and execute it.
2. Give the Tcode "ME21" and you will see the lot of user exits.
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).
Thanks,
Reward If Helpful. -
BADI/User exists for versions(snapshots) CN71/CN72
Hello friends!
Is there a BADI/User exists for versions(snapshots) CN71/CN72?
Please let me know the name and your experience using it.
Best regards
Jose MarinHi,
Try following user exit for both transaction codes, CN71 & CN72
CNEX0010 (PS: Customer-defined hierarchy in LDB PSJ)
sandeep -
Dear friends,
Can any body tell me that where we can see the related User Exists for F110 in SAP?
Thanks,
RajuHello,
Here is the list of user exists in F110
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)
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)
Hope this helps
Rgds
Rajendra
Pls assign points if useful -
Reg. User exist for G/L account change
Dear Experts
I want to create new contion or user exist for change the G/L account from consumption account to
stock account.
That is when I create purchase order with account assignment the stock account should be assigned instead of consuption account.
Without any account assignment mean no problem,that accounts are posted correctly.Stock account and GR/IR account.
Thanks
Rajakumar.kWhile create Purchase order.
If Acct assignment E - Stock account - depending on the material type
Acct assignment and item cat. E & L WIP of material
Like the above.
while I create purchase order the consumption account is posted and after enter the sale order
the G/L for consumption is changed to stock account. I can see the changes directly.
Thanks
Rajakumar.k -
Hi all,
Is there any user exists for the ME22N tcode While Saving PO, excluding MM06E005 and M06E0004. These exists are M06E0004 inpacting on Release strategy and other MM06E005 is SAP stored the screens in $tmp because of this impacting on other tcode me41 going to dump.so anybody can suggest any other user exists.
Thank u,
sksk.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
AMPL0001 User subscreen for additional data on AMPL
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
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
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Regards,
Madan -
User exists for changing the selection screen of the transaction CS11
Hi,
I want to change the selection screen of the transaction cs11 and modify the ALV output.
I searched the old forums but not got satisfactry results.
I want to change the plant and material from the parameter to the select option.
i dont want to copy the transaction for the zcs11.
any suggestion on this ?
Regards,
udupione more requirement i have is that, i need to remove all the header fields such as material , plant etc and place that field in the item level. i can use the user exists PCSD0002 for the adding the customer field in the item. but how can i removed the header level field such as plant and material. whether we have any user exits for that?
-
MIRO user exist for invoicing party
Dear Experts ,
I have a requirement where in i need the system to automatically pick a different invoicing party ( as per pre defined logic ) .
Please suggest me SPECIFIC exit / BAPI where in i can fit my logic so that the system suggest the invoicing party in MIRO transaction as per requirement .
Regards
AnisHello Wojciech,
Thanks for the prompt response .
I did locate the BADI - INVOICE_UPDATE, but , as per discussions with my technical team & note 1156325 , the data changed in the BAdI is not processed further in the standard program MIRO.
Further , as specified in note 1156325 there is only one relevant BADI for MIRO , that is MRM_TRANSACT_DEFAULT
, but it cannot change/default the invoicing party in MIRO.
My requirement is that I want to populate a different invoicing party as per the documnet for which the invoice is being booked via tcode MIRO.
Please suggest how can this be done .
Regards
Anis -
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 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 exist for delivery document save
Dear friends,
I want to have a custom validation function at Delivery document save action. Can anyone specify a USER EXIST that triggered at Delivery save.
Thanks for help,
RaminduDear Tissera,
Go through this these are User exits avail in the Delivery,You choose in these.
Processing Delivery Data
You can use the following includes to process delivery data:
MV50AFZ1
This include contains routines for processing delivery header and item data, as well as for changing the entrie delivery at central points during delivery processing. For more information on the exit, see note 415716.
MV50AFZ2
You can use this user exit to influence distribution of the delivery quantity to the batches found.
MV50AFZ3
You can use this user exit to control the confirmation requirement of an individual delivery item. You can only use this user exit for picking without Warehouse Management.
MV50AFZK
You can use this user exit to control material determination (material listing, material exclusion, product selection), by changing the communication structures for accessing the condition tables.
MV50AFZL
This exit allows you to control the behavior of delivery creation for order-based deliveries in the case of incomplete delivery groups.
MV50AFZZ
You can use this exit to influence batch determination for an individual delivery item.
Status Updates
Include LV50PFZA enables you to determine your own delivery item status.
You can use the include RV45PFZA to determine your own header status. This exit is also used by other applications in Sales and Distribution (sales order, billing document).
You can use the customer exit in enhancement V50PSTAT if you want to influence determination of the picking status in the case of rounding problems.
Incompletion Control of Deliveries
You can use the include FV50UZXX to program individual incompletion checks for a delivery document. Note 158807 contains more information on this.
Dezentralized Warehouse Management System
You can use enhancement V50S0001 to control system behavior when you create deliveries in the decentralized Warehouse Management System:
Control of the input attributes of delivery fields for distributed deliveries
Control of number assignment for a delivery created in the decentralized WMS
Collective Processing of Deliveries
You can use the customer exits in enhancements V50R0002 and V50R0004 to calculate the stocks for displaying in the delivery due list.
You can use the FORM routines in the include MV50SFZ4 to control output of the delivery due list in the old transaction VL04.
You can use the include RVV50TOP to branch to user exits that you can use to influence the list output in transaction VL10. For more information see note 198137.
Stock Transfer Process
You can use enhancement V02V0001, if you want to control sales area determination of stock transport orders in a different way to the standard system.
Determinations in the Delivery
You can use the following enhancements to control determination of the organizational units that control the picking or putaway process of deliveries:
Enhancement
Function influenced
V02V0002
Storage location determination
V02V0003
Gate and staging zone determination (Header)
V02V0004
Staging zone determination (item)
Delivery Monitor
You can use the enhancement V50Q0001 to influence the data selection for outputting the list. For more information, see note 128150.
Constructing Wave Picks
You can control the construction of wave picks using the customer exits in enhancement V53W0001.
Subsequent Outbound Delivery Split
You can use the FORM routines in the include LV53SFZ1 to enhance the functions of the subsequent delivery split. The include LV53STZ1 enables you to enhance the type group that is used by the function modlues of the delivery split. For more information see note 416765.
Processing Delivery IDocs
You can use the following enhancements to influence processing of delivery IDocs:
Enhancement
Function
V55K0001
Delivery (Inbound) : Copy data
V55K0002
Delivery (Inbound) : Prepare processing
V55K0003
Delivery (Inbound) : Evaluate result
V55K0004
Shipping notification (Inbound): Modification of IDoc control data
V55K0005
Purchase order (Inbound): Modification of IDoc control data
V55K0011
Shipping notification (Inbound): Copy data
V55K0012
Shipping notification (Inbound): Prepare processing
V55K0013
Shipping notification (Inbound): Evaluate result
V50B0001
User exit for BAPI replication/confirmation of deliveries
I hope it will help you
Regards,
Murali. -
How to find out the User Details for the particular transaction
Hi,
Actually AJAB -Asset Year closing was done by One User.How and Where to find out the User details who executed the Transaction.Kindly tell me the T-code for this.
Thanks
Sap GuruHi:
Please contact you basis administrator.Give him the T.code and date when Year closing was done. He may resolve your problem.
Please let me know if you need more information,
Assign points if useful.
Regards
MSReddy -
GL Account User Exit for all FI transactions
Hi Experts,
We have to create a Ztable and it stores GL bank account principal amount.
Ex: 130121 (SCB Bank) - Rs.10,00,000.00
In SAP , for the same GL account closing balances will available in FS10N of each month.
Ex: 130121 (SCB Bank) for Sep'09 - Rs.8,50,000.00
Now, the requirement is..
I want to put an User Exit for this Bank GL Account . It has to perform a check operation whenever this GL accounts comes for posting on any FI transactions, and
it'll check each time to the GL account principal balances(from Ztable) with the posting amounts and give a popup message regarding about the bank limits exceeded, remainaing amounts and then only they can able to post the transactions.
Ex: If they are posting in F-02 (general ledger posting) the amount showing in GL account which go for my user exit calculations everytime and the same will be for all other FI GL transactions.
Hope u understood else pls let me know by your replies.
Pls advise.
thanks & regards
sankar.Hi..
In the tcode where u want to put the user exit, In the menu select System--> Status and double click on the program.
Then click on search and give the search term as "call-customer function".. and see if there are any available user exits..
Select one, and double click on the 3 number..if '003' ,double click on it,it will take u to the Fm..where u will find an include starting with Z.
Here u can write the code u want.
Regards,
Vishwa. -
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
Maybe you are looking for
-
Mac OS X 10.6.7, Firefox 4.0.1, using a MacBook Pro.
-
How do i find out if the "find my phone" is enabled on my ipad?
how do i find out if the "find my phone" is enabled on my ipad 2 32mgs ?
-
HT201269 Why didn't my photos back up to my new phone?
Just used icloud to set up a new iphone 4s...wondering why my photo's didn't transfer?
-
Hi everybody, hope this is the place to finally solve my problem. I bought myself a Fujifilm HS10 some time ago (don't laugh at me just for that). And the Raw-Converter that comes with it (of course) works perfectly with regards to distortion correct
-
Transportation Master Data in ECC (TRA)
Hello guys, Please, I would like to clarify some doubts about Master Data in Transportation (ECC-TRA): 1. I need extra fields in material master (verp) like a vehicle identification number (used by the government over here in Brazil), called "RENAVA