MIRO message collector
Hello,
I am using Badi INVOICE_UPDATE method CHANGE_AT_SAVE. I have a loop at ti_rseg_new, every loop the program issues warning message. I want to add the message to the message collector. I know that its possible to do it in PO using macro MM_MESSAGES_MAC, is it possible to do it also in MIRO ?
thanks
Yifat
Hi
Try populating the ITAB of FM MRM_PROT_FILL, then it will display the messages.
[More Info: Add a custom messae in the message log box of MIRO transaction .;
Shiva
Similar Messages
-
Add message to MIRO messgae collector
Hello,
I am using BADI INVOICE UPDATE METHOD CHANGE_AT_SAVE. Right now the program issues warning message every time it passes through the loop.
Instead of several warning message , I want to get only one message in the message collector.
I tried to use MACRO MM_MESSAGES_MAC using mmpur_message_forced, but it doesnt work.
Is it possible to do it in MIRO ?
Regards
YifatHi,
try to check the messages and update with your own logic or add your message to the below FM
Store the messages to be displayed
CALL FUNCTION 'MESSAGE_STORE'
EXPORTING
arbgb = 'ZCCH001' "Meeage type
msgty = p_msgty
msgv1 = p_msgv1
msgv2 = p_msgv2
msgv3 = p_msgv3
msgv4 = p_msgv4
txtnr = p_txtnr
EXCEPTIONS
message_type_not_valid = 1
not_active = 2
OTHERS = 3.
Display all the messages together on a pop up
CALL FUNCTION 'MESSAGES_SHOW'
EXPORTING
show_linno = ' '
IMPORTING
e_exit_command = wa_exit_command
EXCEPTIONS
inconsistent_range = 1
no_messages = 2
OTHERS = 3. -
Miro messages on pop-up screen
Hi MM Gurus,
Is it possible to make MIRO messages to be on a pop-screen when trying to save rather than have to click on the messages button to see them?
Please advise,
Thanks,
ThembaHi,
If Invoice Contains any Message It will not allow you to Post it untill and unless you resolve the error.
and Looking in to the Mesg screen is just a Add on for you. as soon as you try to save it it will directly show you the Mesg(if its error one).
Regards,
Ninad Kshirsagar -
Error - GR reduction not possible in MIRO (Message no. FICUSTOM350)
Hello Gurus,
I am getting error while doing MIRO (GR reduction not possible. Wrong cmmt item (fin. trans. 30) in GR/IR acct) .
I have activated FM - BCS. In Customizing transaction OFUP (Make other settings) I have ticked GR and INV and my update profile is 000101 (Payment budget; Payment basis ; Posting date).
I have created a commitment item for GR/IR specific and assigned financial transaction 40 then also system is giving the same error. The issue is system is not creating a FM line item for GR/IR clearing account at the time of MIGO but only creating for P&L item (Debit Part). Now when we post MIRO system is looking for FM line item for GR/IR (which should have been created during MIGO) for clearing hence error appears.
Please let me guide if I have missed some configuration or have done some wrong configuration.
Full Error description is :
GR reduction not possible. Wrong cmmt item (fin. trans. 30) in GR/IR
acct
Message no. FICUSTOM350
Diagnosis
You are trying to reduce a goods receipt line (GR) with an invoice (IR).
However, the GR/IR clearing account has an incorrect financial transaction ('30'
instead of '40') in the commitment item.
System Response
The system cannot calculate a GR reduction. This is not a program error, but
rather an inconsistency in the customer master.
In order to calculate the GR reduction, Funds Management (FM) updating has to
create original records for the GR lines with value type '54' and transaction
'RMWE'. Otherwise it is not possible to calculate the reduction.
Procedure
Correct the commitment item of the GR/IR clearing account. If necessary,
reconstruct the document in FM.
Regards
RohitHi,
Sorry, I have a question about message FICUSTOM350. I also encounter this error message when we do MIRO and set the AP amount = 0. I try to set GR/IR as '40' but I found GR/IR account will not determint through FMDERIVE. I found this seems the standard behave in SAP. So, I close the message FICUSTOM350 and MIRO is work OK without error. But when I execute the report FMRP_RFFMEP1AX , the budget is incorrect. The system does not reduce the payment budget. Ex: PO amount = 7000 USD, MIRO AP amount =0 , I think the total budget should be 0, but the total payment budget of the report is 7000. Please advise.
Thanks and Best Regards, -
Hello Experts,
while doing miro for a particular vendor for whom down payment was
done - the advance warning message does not appear. This only happens
in a few cases.
Cananybody please help me out in solving this issue.
Thanks in advance
Edited by: Pavi Raju on Jan 17, 2011 11:23 AMHi Raju,
In fact, The warning messsage generally come for all advance related postings.
Generally warning message is controlled in spcial Gl indictor creation screen. From there, system checks whether warning should populate or not while doing invoice postings for vendors.
In your case it is different.check there are any client specific controls .
Thanks,
ANJI REDDY -
Dear all,
When i save invoice verification by MIRO, the system message No M8 060 is shown Document No.& created.
How can it show FI document no. at the same time?hi,
If you are not able to find the Parameter id then do consult the BASIS consultant....
Anyways...again repeat the process...
Go to SU3/SU01...
maintain the parameter IVFIDISPLAY...
then put the para. value as X and then save it..
check again..
Regards
Priyanka.P -
MIRO - Message Trigerring at Header and Item Level..
Hi Gurus - In MIRO the message INVS is triggering at both the header and the item level when creating the invoice. We want the output only at the header level. How do we get the output only at the header level?
Please provide your valuable solutions.
Thanks,
SreeHi Lakshmi,
Where do we maintain this entry to reflect this change. -
When I do a MIRO, a message(output) is triggered everytime. This is because in the message determination has a access company code. Condition record has been maintained for this comapny code. Thats why the msg gets triggered for this Co Code.
The actual requirement is to trigger the message in MIRO only if its a credit memo created with ref to a returns PO. But at present it gets triggered for every doc created using MIRO.
Any Thoughts?
VishalHi Vishal,
if it is the case,you have to create a conidtion table for company code and Document type.and then.....as usual proces till message type
In your condition record when you select this key combination and assign the document type "KG-Vendor credit memo.
I hope it will work
regards
venkadesh -
Hi Experts,
I'm trying to run BDC for MIRO T-code while posting i'm getting
Error as "Invoice document still contains messages" but actual error is in the
balance calculation. before posting i'm trying to click message button in the miro screen i receive popup menu with text message note: [Balance not zero: 1,400.00 debits: 54,600.00 credits: 56,000.00 ] whether there is any possible way to fetch that message.
Plz Provide me Solution ASAP.
With Regards
Muralitharan.CPlease its Very Urgent..
-
Withholding tax information in MIRO
Hello Friends,
In vendor master the withholding tax type is selected and the liable tick mark is selected.
when posting vendor invoice through transaction F-02 after entering the vendor line item amount the system gives a pop-up for
selecting the withholding tax code, if for that particular transaction no withholding tax is applicable then that pop up can be ignored by pressing enter.
When posting vendor invoice through transaction FB60 a information message in staus bar is displayed saying
Vendor 2001305 is subject to withholding tax
Message no. 7Q333
When posting vendor invoice througth transation MIRO no such information or alert being displayed to the user while processing VIV.
How can we make this possible in MIRO, can any one please suggest.
Regards,Hi,
System should give message 7Q 333,
check OSS notes
Note 369330 - Warning: customer/vendor subject to w/tax version 2
Note 496208 - FB60, MIRO, messages F5126 and F5122 are not displayed
hope this helps
Reg
D -
How to issue warning message in BADI ME_PROCESS_PO_CUST
Hi Guys,
I have already checked the forum regarding this. There are lots of threads. Unfortunately none of them helped me. I must be missing some thing in my code.
I tried issuing warning message in BADI ME_PROCESS_PO_CUST and method PROCESS_ITEM.
First i tried with normal message statement
MESSAGE w001(00) WITH text-001 text-002.
Didn't worked.
Next tried calling standard macros
DATA:mmmfd_cust_01 TYPE mmpur_metafield VALUE 90000000.
call method cl_contextfield_mm=>set_current_field
exporting im_field = mmmfd_cust_01.
mmpur_metafield mmmfd_cust_01.
mmpur_message_config 'W' 'X' ' '. "Tried all permutations here
mmpur_message_forced 'W' '00' '001' text-001 text-002 '' ''.
Still no solution
Tried with macro mmpur_message also
Can some one helpme out to solve this issue.
Thanks,
Vinod.Hi all,
Thanks for the responce.
Not sure whether you have looked into BADI documentation or not. Please check below.
"Further notes
The above-mentioned macros are defined in the program MM_MESSAGES_MAC. Please include this program in your own application.
Never issue messages in BAdI ME_GUI_PO_CUST! This is the task of the business logic and must therefore be done via the BAdI ME_PROCESS_PO_CUST.
"Never use the ABAP statement MESSAGE in the BAdI ME_PROCESS_PO_CUST. Please use the macro mmpur_message_forced only. This macro only writes a message in the message collector.
If you wish to mark the business object as invalid in order to prevent posting, you must additionally use the INVALIDATE ( ) method of the relevant interface. In this connection, see also the code example in the PROCESS_ITEM method of the BAdI ME_PROCESS_PO_CUST.
I have tried almost all macros including mmpur_message_forced 'E' 'ME' '083' l_text ' ' ' ' ' '.
Not sure where i am missing:(
If i give error using MESSAGE statement it is working perfectly i.e. give error and save the PO. Only wanted to know if there are any implications.
Thanks,
Vinod -
MIRO badi MRM_HEADER_CHECK park/post control
Hello friends,
We have implemented MRM_HEADER_CHECK badi to check unplanned delivery cost, and used MRM_PROT_FILL fm to fill the errors.
Everything going fine, but for this error message system should not allow to post document in MIRO, and it should only allow to part the document.
Any expert ideas where and how do we control to not to allow posting the document, but only to allow to park if any failure in this badi?
Thanks in advance.
ManoharCheck this thread in which Pablo Casamayor uses field symbol call stack technique (to retrieve values from main program memory) and use it to not allow saving in MIRO if there are still error messages.
Another problem also may arise that even if user corrects the invoice document still custom message may still show in the message log, for that issue also the post by Pablo clarifies.
[Pablo Casamayor's solution to MIRO messages problem with BADI: MRM_HEADER_CHECK |Tcode MIRO with BADI: MRM_HEADER_CHECK; -
Hi Experts,
I need to collect all the error messages that are triggered inside a function module. The function is SAP standard and I cannot make any changes in it.
For example - In transaction ME22N, if we trigger some error message in a particular user exit, it is not shown instantly. Instead, it is collect in some message collector and then all the messages are shown in a popup.
I want to do the same thing. I tried to debug the transaction, but could not find out.
Please suggest the correct approach. Is there any class or function used to do this?? If possible send some sample code.
Regards,
Prabhas Kalele.Hi,
Look at the Fm <b>BAL_GLB_MSG_CURRENT_HANDLE_GET</b>
Regards
Sudheer -
HI,
I want to disable HOLD button in transaction MIRO.
Can anybody help me on this.
Thanks
Regards,
SoumyaHi,
in badi MRM_HEADER_CHECK try something like:
DATA: c_okqx(17) TYPE c VALUE '(SAPLMR1M)OK-CODE'.
FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
ASSIGN (c_okqx) TO <fs_okqx>.
CASE <fs_okqx>.
WHEN 'STORE'.
IF sy-tcode = 'MIRO'.
* delete the ok-code.
CLEAR <fs_okqx>.
*Holding documents is not allowed in transaction MIRO
MESSAGE s0xx(zxx).
ENDIF.
ENDCASE.
Best regards. -
Purchase order ME21N ,ME22N Cost center validation against GL
HI,
I'm validating the purchase order cost center against the G/L , if a particular entry is not found against G/L in a custom table
the BADI -ME_PROCESS_CUST_PO Method -->PROCESS_ACCOUNT should raise error message and append in the collector.
i was able to append the error message in the collector and still PO is able to save , but when re-open the PO the error message is cleared from the message collector.
any idea why the message is disappearing from the PO error message collector?
here is my code:
INCLUDE mm_messages_mac.
DATA: ls_acct TYPE mepoaccounting,
lt_zgl_cc TYPE zgl_cc,
ls_customer TYPE mepo_badi_exampl,
ls_tbsg TYPE tbsg.
ls_acct = im_account->get_data( ).
IF NOT ls_acct-kostl IS INITIAL.
SELECT SINGLE * FROM zgl_cc INTO lt_zgl_cc WHERE
glacc = ls_acct-sakto AND
costcenter = ls_acct-kostl.
IF sy-subrc NE 0 AND ls_acct-sakto GE '0000500000'.
mmpur_message_forced 'E' 'ZM' '048' TEXT-003 ' ' ' ' ' ' .
CALL METHOD im_account->invalidate( ).
ENDIF.
else.
mmpur_remove_messages_by_id ls_acct-id.
ENDIF.Hi,
have you tried to invalidate item instead of account assignment? You can get a reference to item with method GET_ITEM. I can see only one class which implements interface IF_PURCHASE_ORDER_ACCOUNT_MM. It is CL_PO_ACCOUNTING_HANDLE_MM and this class has no code for this method.
Cheers
Maybe you are looking for
-
Browse animation effects causing Bridge to freeze
Every time I select browse effects from the animation menu, Adobe Bridge launches (as expected). When I navigate to the "Text/Blurs" folder and open it, Bridge freezes. I know I can add an effect to my text without resorting to Bridge, but I'm follow
-
Accordion tabs need to stay open
I'm using an accordion widget for my navigation area at my wife's site, paxbaby.com. I would like to set the javascript so that instead of defaulting to all-panels-closed on each loaded page, it rather keeps open the panel that was open on the previo
-
On Mac FAT32 Format Slower Than HFS
My 60GB iPod came in Windows FAT32 format which I liked since I could use it in disk mode on both Mac & Windows. However it seemed slow to start playing video and when switching between video files. I did some timing tests and on the Mac FAT32 was mu
-
Sql*net V2 vs. Net 8
I need to connect Forms 4.5 with Oracle 8. Since Forms 4.5 uses sql*net v2 and Oracle 8 supports Net 8 as TNS, how do i go about accomplishing this ? Need help ASAP. Thanks !
-
Lots of Trouble with a 1st generation MacBook
Hi everyone, I'm writing for my sister, who's in Thailand having trouble with her MacBook. Hopefully you can help with the information I have. I'm sorry for the long message. About a week ago, her 1st generation MacBook (running Leopard), full off th