User-exit on material document
Is there a user-exit on the material document to enter a field for goods movement reason codes?
...or any other place where you could maintain goods movement reason codes (drop-down list)
Thanks
Hi Torkel,
In which transaction you need this field and on what is the version of your SAP system(4.6C, 4.7 etc)
There is one BADI with name MB_MIGO_BADI in transaction MIGO which allowes adding our Customer tab on level of Header or item with our self defined fields. This BADI exist in mySAP ERP 2004 but I'm not sure if exist on previous releases.
Regards,
Drazen Lovrencic
Similar Messages
-
BADI or User Exit - Change Material Document(GL/Account) before posting
Hi,
I want to change the MSEG and FI Posting values before the material documet is posted. I am not using the transaction MIGO for the material document posting. The material document which has to be changed was created during the stock adjustment (MI01,MI02,MI07.etc)
The Details I want to change is "GL Account No" based on
storage location. Since I cannot solve this requirement throught customization, I need a way to achive this using
user exits or badis..
Points will be rewared.
Prasath
Edited by: Prasath Kumar R on Jul 24, 2008 1:18 PM
Edited by: Prasath Kumar R on Jul 24, 2008 1:18 PMHi ,
What you advised is right, But my customer demands to set the Gl Account at Storage location level.
Is there any way that i can change GL/Account after Posting....????!!!! I hope it also not possible..
Plz advise..abt my assumption.
Regards
Prasath
Dear All,
Please let me know the possiblity of achiveing the above reqmt. Your suggestions will be helpful..
Regards
Prasath
Edited by: Prasath Kumar R on Jul 25, 2008 9:33 AM -
MIRO user exit at material document creation
I need to find out where or how material documents are created. Right now we have one material document per day per invoice so a single document can have many payments made against it (if they are made in the same day). What I need to do is change it so that each payment has its own material document. If you have 3 payments against invoice 001 in the same day then you have three material documents against that invoice instead of just one.
I am assuming this is done, or can be changed, in a user exit. If not is this a configuration issue?
Regards,
DavisHere is the list of User Exits and BADIs for MIRO.
Enhancement/ Business Add-in Description
Enhancement
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
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification -
User exit for material document.
Hi,
does any one know and user exit or BADi which gets triggered when ever a material document is posted ( Saved) in to the system and is irrespective of transaction used. we want to send the updated stock information and their status to a third party system when ever there is a material document posted via an IDoc.Try BAdI [MB_DOCUMENT_BADI|http://www.sdn.sap.com/irj/scn/advancedsearch?query=mb_document_badi], method [IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_UPDATE|http://www.sdn.sap.com/irj/scn/advancedsearch?query=mb_document_badi+mb_document_update]
Regards,
Raymond -
PC-WQS: User exit for material valuation
Hello,
Currently we use data from the purchase info records to carry out material valuation of raw materials in the cost estimate. The client would like to get this data from the contracts instead of the info records since all purchase orders get information from the contracts. The second reason is that maintenance of the info record is very cumbersome and prone to errors when creating or updating the cost/ quantity.
My question is, has anyone used the user exit COPCP005 - User exit for material valuation (strategy U) in the valuation variant and has anyone gone after the contracts to get the purchase price?
If yes, I would like to know how you did it.
Thanks,
dineshCan you explain a little more where you encountered the problem?
1. Is there a Val Strategy before the Val Strat U that is probably able to find a price for costing?
2. Is the User Exit being triggered?
3. Can you run CK11N in the debug mode (/h) and check if the User Exit is triggered?
4. If all of these occur, the problem probably lies in the ABAP code... check for changes in the material number range or plant codes, or the plant-specific material status - the system does not valuate if the status does not permit it to.
If nothing works, come back with confirmation of the above and we'll go forward from there.
Cheers. -
Hi All,
I need a user exit for FI document posting.
My purpose is based on types of G/L accounts i need to add line item data to FI document.(i.e.,inserting into BSEG table )
Can you please suggest me the user exir.
Thanks and regards
PraveenTransaction Code - FB01 Post Document
Exit Name Description
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
If you know tcode then you can find out user exits associated with the same with the following code:
*& Report ZUSEREXIT *
*& 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. *
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.
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
User Exit after posting document (FB01)
Dear all,
I want to change the BSEG entries based on a mapping table.
Is there any User Exit after posting document. I debuged long time and couldnt find any User Exit where u can change the BSEG.
Thank u very much!
best regardsthank u for ur answer. I know it but not really! I know there is also an option. But my question here:
-> Is here no User Exit where I can change the BSEG?
-> It is possible to write a normal ABAP code in the substitution?
Thank u very much -
BADI, User Exit before FI document is posted during GR posting in MIGO
Hi Gurus,
In transaction MIGO, whenever a goods receipt is posted, a corresponding FI document is then created. I am in need of a BADI, User Exit, or other forms of enhancements that is triggered before this FI document gets posted because I have to edit data in the header (BKPF) and detail (BSEG) part, specifically the fields BKPF-XREF1_HD (Reference key 1) and (BSEG-ZUONR) (Assignment).
The field XREF1_HD is to be populated with the vendor number from MIGO (GOHEAD-LIFNR)
The field ZUONR is to be populated with the PO Number from MIGO (GOITEM-EBELN)
Regards to all,
JosephHi,
I am on 4.6C.
We are using EXIT_SAPLF048_001 of enhancement F180A001 for the same.
Please note that control comes here for no of SAP transactions, hence you need to take care of it by executing your logic only for a particular SAP transaction.
I hope this helps,
Regards
Raju Chitale -
User Exit for material valuation is not called up
Dear all,
We want to add special logic when user process the material valuation through CK11N.
We have also activated the project with the user exit COPCP005, changed valuation variant to "valuation price with user exit" and modified ZXCKAU08 in the component EXIT_SAPLCK21_002.
And this special logic is correctly workd on development but we are not able to get the desired result on pre-production and production.
Could you please guide that I check anything more?
Thanks in advance.
SK Roh.Can you explain a little more where you encountered the problem?
1. Is there a Val Strategy before the Val Strat U that is probably able to find a price for costing?
2. Is the User Exit being triggered?
3. Can you run CK11N in the debug mode (/h) and check if the User Exit is triggered?
4. If all of these occur, the problem probably lies in the ABAP code... check for changes in the material number range or plant codes, or the plant-specific material status - the system does not valuate if the status does not permit it to.
If nothing works, come back with confirmation of the above and we'll go forward from there.
Cheers. -
User exit in material creation
Hi,
Can anyone help me to find a user-exit while saving a material in MM01? I need to validate the sales data of the material, table MVKE.
Regards,
Priya.Hi,
MGA00001 is the enhancement which you can use to check the data while creating Material. All the data(like MARA, MARC, MVKE) are available during this enhancement.
If this solves your problem please close this Qn and award points.
Thanks
Vamsi -
MIRO BTE or User-Exit for FI Document
I need to know if exists a BTE or User-Exit I can use for the MIRO Transaction after the system assign the FI document number, because I need to assign that information in a 'Z' table.
Regards,
JuanHi,
1) Create a RFC Function modules which takes MIRO INVOICE number as input..
In that select from BKPF with the invoice to get the accounting document details....
2)
Try to use the BADI INVOICE_UPDATE.
In that use the method..CHANGE_IN_UPDATE..
When you implement the method..
In that code..Call the RFC FM IN BACKGROUND TASK.
THis should work..
Thanks,
Naren -
User exits for Material Master in ECC 6.0
Hello,
We would like to have a function for checking descriptions when we are saving a material in the material master. We are today running R/3 on release 4.6C and as I understad there are no user exits at that point for this release. We are going to do an upgrade to ECC 6. Do you know if there are more user exits for the material master for this release?
Regards
Ann-SofieFollowing are the user exists available for Material master :-
-> MGA00001
Enhancement and addition of checks and (limited) changes to data
-> MGA00002
Control for the material number assignment
-> MGA00003
Control for the material number display
-> MGV00001
Distribution via ALE
-> MGV00002
Read customer-specific filter objects for a material -
User Exit for Material Group...Urgent help needed
Does anybody have an idea of which user exit can be used to capture the changes made to material group in MM02(Material)..... Urgent help needed...
See the below user exit and this will trigger under MM01,MM02 and MM17 Transaction
Enhancement name : MGA00001
Function module :EXIT_SAPLMGMU_001
Include : ZXMG0U02
Reward Points if it is helpful.
Thanks
Seshu -
User Exit for Material Plan Costs
I have an escenario where the client needs another option to calculate the material plan costs, but need to identify the correct user exit.
In transaction OKYF exist the option "U Valuation Price with User Exit" but need the user exit to use.
Hope to receive information soon...
Best Regards...Hi
you can use unit costing for material option for this...
Automatic netowrk costing for material component
you need to maintain proper costing variant for material component in config.
in projects assign material then select material -edit - cost - unit costing.
which will get reflected in network cost in CJ40.
Venkatesh -
Hi everybody,
I'm looking for a BAdi or an userexit for material master data (TA MM01/MM02). This BAdi should be used every time a user press the save button. I could not find any BAdi in the SAP help.
Do anybody of you know if there is a BAdi implementation or userexit exists?
Regards
BertholdHi Berthold,
Here are user exits and BADI available for MM01/MM02.
User Exits:
MGA00001
MGA00002
MGA00003
BADIs:
MG_MASS_NEWSEG
MATGRP_SKU_UPD
CDT_CHECK_MATERIAL
BADI_MM_MATNR
BADI_MAT_F_SPEC_SEL
BADI_MATNR_CHECK_PVS
BADI_MATERIAL_REF
BADI_MATERIAL_OD
BADI_MATERIAL_CHECK
BADI_GTIN_VARIANT
BADI_EAN_SYSTEMATIC
Regards,
Ferry Lianto
Maybe you are looking for
-
Please help! How can I delete a file without deleting all my photos? I have just managed to delete all my more than 2000 photographs by choosing' Select all' and then delete. But I thought only 'all' the photographs in the file I had open would be s
-
My jspx query code doesn't respond
<?xml version="1.0"?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jstl/core" xmlns:sql="http://java.sun.com/jstl/sql" version="1.2"> <jsp:directive.page contentType="text/html"/> <jsp:directive.page impo
-
Cannot insert more than 4000 characters using PL/SQL SP to LONG columns
I have created a stored procedure which will insert more than 4000 characters in a table having long column. The stored procedure body is as follows : CREATE OR REPLACE PROCEDURE INSERTTOTEST(P_ZUNIQUEID IN VARCHAR2,P_LONGVAL IN LONG) AS BEGIN inse
-
Pdf viewing on E-mail -weird!!-
I can't open pdf files from email application on iphone 6 plus using latest ios 8.1.2 please help!
-
Whwn I start the program a legend appears "this program is not compatible with de OS system (windows 8.1) please change the language in the main menu of windows for non unicode programs" How I fix this problem? Because no language works in OS works