Enhancement for MIRO
Hi all,
i want to trigger a workflow after posting an incoming invoice via MIRO. i've found user exit LMR1M001 which unfortunately importing parameter types MRM_RBKPV that contains the field BELNR for invoice number but not the field i want for accounting doc number.
could someone tell me how to find the structure or other variant that contains accounting number? for the data has not updated into database, i cannot select the accounting number with invoice number in database table.
Thanks ahead. Any information that helps would be awarded.
Hi Surendar,
Thanks for your advice. I've already found the way to solve my problem. Use a function module FI_DOCUMENT_RETURN can return the accounting number.
Similar Messages
-
Hi,
I need help for the following issue.
1. There is a Purchase Price Variance PL Account which doesnt has Cost element and during MIRO while posting with price variance posting happens to same PL Account which should take the Profit center of the Debit line item that has maximum amount.
2. There is Price Var-Packaging PL Account which is a Vendor Discount account, so it gets posting only while doing F110 and while posting it should take Profit Center of Credit line item.
Kindly suggest some ways of the doing this as during MIRO i tried implementing the BADI Invoice_Update but it doesnt give me the Debit Line item and for F110 i still have not tried much.
Thanks in advance... looking forward to your replies..
Thanks,
Khushi.Hi Khushi ,
as per my knowledge , all these BADI's can influence only FI entry only not the PL/GL entry , my understandings from ur post is , u want to change the PL entry , so u need to find out any Explict/implict Enhancement Spot thru which u can play around with the data.
regards
Prabhu -
Enhancement for MIRO (PO Invoice)
Hi,
I have implemented the method IF_EX_INVOICE_UPDATE~CHANGE_IN_UPDATE to trigger a custom workflow when a PO invoice is posted (save button is pressed).
When a PO invoice is held (hold button is pressed), it will still hit the method. That is okay since I have some checks in place (checking if document is created in bkpf) that would not trigger the workflow.
However, when I open the held invoice in MIRO and post (pressing the save button) it, it will not hit the method.
Anybody knows if there is there is an enhancement point or exit where I can place the codes to trigger the workflow when an invoice is held before being posted? Any advice is appreciated. Thanks.Hello
You say that you have created a class implementing the interface IF_EX_INVOICE_UPDATE. However, you do not mention at all whether you have created an implementation of the corresponding BAdI <b>INVOICE_UPDATE</b>. If you have not done this yet you will never run through your coding.
Steps for implementing a BAdI include:
(1) SE19: Create an implementation (e.g. Z_INVOICE_UPDATE) of the BAdI
(2) SE19: Display tabstrip Interface and enter your class at Name of implementing class
(3) SE19: Activate (!!!) your implementation
Now you should run through your coding. If you have set break-points the SAP system will stop there and allow debugging.
Regards
Uwe -
User exit or badi or enhance for MIRO using Purchase order
Hello All,
When Miro was done using Purchase order i want to change the field BSEG-ZUONR value to assign purchase oder number.
In the setting when the purhcase order was selected but still it comes as blank. could any body suggest the solution.
Thanks in Advance !
Regards
SrinivasHello srinivas,
Exits for the given tcode
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
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Po
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 Verifica
Badis and Enhcance spots for the given tcode
Badis Enhcance spots
INVOICE_BW ES_BADI_INVOICE BW Update
INVOICE_UPDATE INVOICE_UPDATE
INVOICE_UPDATE Business Add-In
Thanks,
Santhosh Kumar R
Edited by: santhosh kumar on Dec 23, 2010 9:25 AM -
Help about enhancement for miro
I am looking for a user-exit (or some other means) in MIRO, to display some information in the 'Text' field in the 'PO reference tab'. I came across a few - like EXIT_SAPLMR1M_001, EXIT_SAPLMR1M_002, EXIT_SAPLMRMP_010 etc, but nothing that gets executed before the 'simulate' or 'save' of the invoice.
If anybody knows of a user-exit that will get executed after the company code and PO number is entered, but before the PO details are displayed in the 'PO reference' tab ?
my sap version:ecc6.0
Thanks in advance for your help,Transaction Code - MIRO Enter Incoming Invoice
Exit Name Description
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
No of Exits: 10
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
How to check what are the enhancement done for MIRO transaction
Hi Experts,
Please help me out, how to check what are the enhancement done for MIRO transaction.
Thanks in advance.
Thanks,
BasanagoudaHi
Use the BADI
Please refer these documents: [Enhancements required in MIGO|Enhancements required in MIGO; and
[Enhancement in MIGO for Goods Movement|Enhancement in MIGO for Goods Movement;
Hope this helps!!
Regards
Vijay -
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 -
Dear All,
I have to Change the Base Line Date in MIRO transaction with the GR Posting Date while booking the Incoming Invoice..i.e BSIK-ZFBDT date i have to change it with MKPF-BLDAT...
I have tried all of the UserExits for MIRO transactions. but did not work...
Can any body tell me any alternate way.e.g BADI or something..
Regards,
RushikeshHave a look at below code which lists BADI for particular tcode. It might help you.
*& Report ZBADI *
REPORT zbadi .
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.
Best Regards,
Vibha
*Please mark all the helpful answers -
Enhancement for qa32 for rebate amount
Want to do one enhancement before MIRO - Invoice
Verification transaction for rebate amount for defects in material during
quality inspection and usage decision .
Presently our process of invoice verification is as follows,
1. We do goods receipts and Do quality inspection.
2. During quality inspection if their is any defects in material and we
calculate rebate on that challan quantity and this rebate data is stored in
Z-table which is used in payment slip.
3. After this purchase dept receive challan for that material and Purchase dept
include rebate amount in payment slip with material document number and forward
to account dept.
4. According to document received to account dept.
a). Account post MIRO- Invoice Verification against challan quantity.
b). for rebate amount raise debit note against same material document, purchase order
and vendor manually.
Now we want to do following enhancement,
1. At the time of quality inspection and usage decision if their is any rebate for that
document according to defects in material received, then it should be post MIRO
rebate amount automatically in background with reference to Purchase Order
and Material Document Number.Hi,
You can use below user exits,
QEEM0002 User exit add. functions after reading inspection features
QEEM0003 User exit: add. functions after valuating insp. characteristics
QEEM0004 User exit: add. functions after valuation of partial sample
QEEM0006 User exit: add. functions after closing inspection char
QEEM0007 User exit: add. functions after completing partial sample
Sandip -
Hi ,
I am working with miro t-code,
presently i am using one Badi:: MRM_HEADER_CHECK.
in method :: HEADERDATA_CHECK.
my requirement is like after giving PO No based on this po no i am fetching purchase order history data
from ekbe table ,
if GR is done on 17.11.2008 then in MIRO base line date should come this DATE..,
in this mehod i am updating the date but afer this method automatically it is taking system date.
Regards,
mohammed.The available badi & exits for MIRO are the following. Just check, any one might help u.
19.11.2008 Dynamic List Display 1
Possible Enhancement Objects : MIRO
Enhancemen Object Name Description
Business-Addin INVOICE_UPDATE Business Add-In: Logistics Invoice Verification
Enhancements LMR1M001 User exits in Logistics Invoice Verification
Enhancements LMR1M002 Account grouping for GR/IR account maintenance
Enhancements LMR1M003 Number assignment in Logistics Invoice Verification
Enhancements LMR1M004 Logistics Invoice Verification: item text for follow-on docs
Enhancements LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
Enhancements LMR1M006 Logistics Invoice Verification: Process XML Invoice
Enhancements MRMH0001 Logistics Invoice Verification: ERS procedure
Enhancements MRMH0002 Logistics Invoice Verification: EDI inbound
Enhancements MRMH0003 Logistics Invoice Verification: Revaluation/RAP
Enhancements MRMN0001 Message output and creation: Logistics Invoice Verification
regards,
Padma -
Subsitution Exit for MIRO transaction
Dear Sir,
We are required to write a subsituion-exit for MIRO , so that during the MIRO Assignment field can be populated with the PO-Number .
We request SAP experts to kindly guide us about the code to be written for such a subsitution-exit . We willl be highly greatful for the help please .
We assure to give full points for the suggested solution pl .
Regards
B MittalHi,
in enhancement LMR1M001 if you read the documentation of component *EXIT_SAPLMR1M_003 it says:
As of Release 4.6A, transaction MR1M is no longer supported. Therefore this customer exit and its functions are obsolete.
Being this the case i would consider using badi BADI_FDCB_SUBBAS04 (if it´s not already implemented).
If you have a look at badi BADI_FDCB_SUBBAS01 in se18 you´ll see that there is an example implementation class named CL_EXM_IM_BADI_FDCB_SUBBAS01 .
Read carefully as well the documentation of BADI_FDCB_SUBBAS01.
Best regards. -
Field/Screen Exit for MIRO
Hi Friends,
The client requirement is to fix an Exit to disable or inactive the field INVFO-LIFRE or to put the INVFO-LIFRE field (invoice party in Details tab) as display mode where the user not able to change it while posting invouces in MIRO.
I've tried by program screen enhancement in 'SAPLFDCB' but i couldn't able to fix it since the screen name of INVFO-LIFRE is not showing/coming while posting MIRO (checked in debugging mode).
Instead of fixing error message through BADI/USER EXIT, is there any way to make field/screen exit to disable or inactive the filed??
Please advise.
Thanks & regards
Sankar.Hi,
Check the below link.
[Screen exit for MIRO transaction;
[Re: steps to create field exit;
Regards
Sunil -
Suggest EnhanceMent For SALES area determination In stock Transfer.
Suggest EnhanceMent For SALES area determination In stock Transfer.
V02V0001 Sales area determination for stock transport order Doesnt Work,Is user exit required, as the sales area will be different. Incase of Intra company stock transfer the process will be as under:
Create Purchase Order (ME21N)
Create Delivery in background (VL04, VL10a, VL10C, etc)
Change Delivery for picking / packing & PGI (VL02n)
Create Billing Document (VF01)
Assumption: Stock Transfer configuration is in place. Assistance can be taken from SAP Best Practices in help.sap.com
Incase of Inter-company, the process will be as under:
Create Sales Order (VA01)
Create Delivery (VL01N, etc)
Change Delivery (VL02N)
Create Billing Document (VF01)
Assumption: Configuration is in place. Assistance can be taken from SAP Best Practices in help.sap.com
Regards,
Rajesh Banka -
Print out put for miro and incomming excise invoice(j1iex)
Hi guru's
my client need print out for miro and incoming excise invoice.Plz help me in configuring them.
thanks
with regardshi,
Do check the NACE transaction...
Message schema is nothing but a program which will come into action whenever there will any need of output...
So, check your message schema...Define the output type as per your requirement...
Condition table consist of all those Fields which will be taken into consideration, whenever you trigger the message output...and those fields will be taken into consideration for the req. output...
Access seq. will provide you the scequence in which the fields are be read and perform an output...
At last printer determination is main, by which you'll print output...
hope it helps..
Regards
Rahul. -
Badi / Exit / Enhancement for replacing INSMK during PO creation
Hi Gurus,
we want to default the INSMK field (stock type) during Purchase Order creation..
Can someone help me findind the right BAdI / exit / enhancement for it?
Thanks in advance,
Regards,
AlessioHi Alessio,
You may check these first:
Re: Negative postings to MVER table
Re: select stock type
Thanks,
Gordon
Maybe you are looking for
-
Reading text file(array of 2d) and putting in a int array , help required.
import java.io.*; import java.util.*; public class lastphase public static int[][] getData(File f) throws IOException { ArrayList line = new ArrayList(); BufferedReader br = new BufferedReader(new FileReader(f)); St
-
I've just installed PE 10. When I try to open it, I get a "Welcome" page which urges me to log in and has two buttons: Organize and Edit. I've logged in, don't want to Organize, do want to Edit a photo which isn't Organized, just somewhere on my hard
-
Change feed, can't edit prior list
Hey all, thanks in advance for the help! I am the Director of Media Ministry at Argyle UMC, and I am having problems with my podcast. Our website is a CMS site, so all I do is upload video/audio files, tell the files to attach to the "RSS", and I get
-
Which view to find if database is 32 or 64 bit
Hello, Which view or where is the information that indicate if the database is 32 or 64 bit. I looked at v$version but the info is not there. Thank you.
-
Hi, How do i create a master data info source in BI7? Please give steps if possible. Regards, Nomsa