User exit during MIRO with PO reference data
I have maintained dates Validity Star and End dates in Purchase order header data. My client wants that during MIRO system will throw error message if the posting date of IV crosses the Validity end date maintained in PO.
Is there any user exit for this so that during giving PO reference system will look for this data in PO and throw message or during simulate or post.
Regards,
Suman
Hello Suman,
Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
Steps.
1. Goto the Tcode
2. System-> Status.
3. Copy the program name, find the package for the program.
4. Go to SMOD (tccode) press F4 -> Click on "Information System" Push Button->
Enter the Package name-> and press the enter button.
5. Now you get the list of Userexits. Need to select one by looking into its short description.
Hope this solves your issue,
Cheers,
Suvendu
Similar Messages
-
BAPI or USER EXIT for MIRO: Change PO reference amount (on-line)
Hi, I need to find a BAPI or USER EXIT for TX MIRO to change/modify the PO reference amount for the selected positions (using the given checkbox) just after selecting them (when pressing ENTER). Any ideas? Thanks.
Hello Suman,
Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
Steps.
1. Goto the Tcode
2. System-> Status.
3. Copy the program name, find the package for the program.
4. Go to SMOD (tccode) press F4 -> Click on "Information System" Push Button->
Enter the Package name-> and press the enter button.
5. Now you get the list of Userexits. Need to select one by looking into its short description.
Hope this solves your issue,
Cheers,
Suvendu -
User exit in MIRO for GRN reference
Just wanted to know is there any user exit for displaying only GR items in MIRO which are there only in GR documents. Using SAP version 4.7 , here MIRO doesn't have any option for displaying GRN documents.
regards
anuHi,
Try using one of the following BADI'S.
MRM_TRANSACT_DEFAULT
MRM_HEADER_DEFAULT
BADI_FDCB_SUBBAS01
BADI_FDCB_SUBBAS02
BADI_FDCB_SUBBAS03
BADI_FDCB_SUBBAS04
BADI_FDCB_SUBBAS05
FI_TRANS_DATE_DERIVE
ME_COMMITMENT_STO_CH
ME_COMMTMNT_PO_RELEV
ME_COMMTMNT_PO_REL_C
BADI_PRKNG_NO_UPDATE
MRM_PAYMENT_TERMS
MRM_WT_SPLIT_UPDATE
MRM_HEADER_CHECK
KR Jaideep, -
MIRO - User Exit during SAVE: Read items & Update header
Hi there!
During MIRO after pressing save...
I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE.
I have searched this forum, but with no luck. Many more then me seem to have the same problem. The most common answer have been to try BAdI INVOICE_UPDATE, but that BAdI only give READ access and NO UPDATE, so no luck there..
To summarize all my searching here and findings... I list all exits I have tested...
User-Exits
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
BADI - When saving in MIRO the following BAdI were passed...
PPA_CUST_BADI
/CCIS/FICLRDC_ENH
INVOICE_UPDATE << only read no update
ME_DP_CLEARING
AC_DOCUMENT
FI_LIMIT_PROCESS
AC_QUANTITY_GET
FMRE_BUS_PROCESS
EXIT_XFMPRI_001
CO_DOCUMENT_INFO
INVOICE_UPDATE (method change_before_update ) << only read no update
MRM_RANSACT_DEFAULT
MRM_HEADER_DEFAULT
Other BAdI's
MRM_HEADER_CHECK - Bara ingående värden för kontroll
MRM_HEADER_DEFAULT - Tyvärr sätter bara XBLNR precis när man går in i MIRO...dvs för tidigt.
MRM_ERS_HDAT_MODIFY - EJ anropad...
Would be greatful for any ideas on this matter...
Best regards
HenrikHello Henrik,
In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.
Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed. We can use this to update RBKP-XBLNR.
We can't use CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE methods as they are called after INSERT / UPDATE statements are executed and before COMMIT.
You can update RBKP-XBLNR through INVOICE_UPDATE~CHANGE_AT_SAVE method using call stack technique like below. You can replace 'VALUE' in the below code with the value based on your calculation using other variables like s_rbkp_new, ti_rseg_new etc.
method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE.
DATA: lv_name_xblnr(30) TYPE c VALUE '(SAPLMRMP)RBKPV'.
FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
ASSIGN (lv_name_xblnr) TO <fs_rbkpv>.
IF <fs_rbkpv> IS ASSIGNED.
<fs_rbkpv>-xblnr = 'VALUE'.
ENDIF.
endmethod.
Best regards,
Vishnu Tallapragada -
User exit for MIRO after pressing ENTER
Hello,
Is there a user exit in MIRO after entering PO, Invoice date and Reference and pressing ENTER?
I want to popup a message that relates to vendor data that does not appear in the screen
Thanks,
MosheHi,
BADI
class_name CL_EX_PPA_CUST_BADI
exit_name PPA_CUST_BADI
class_name CL_EX_FAGL_PERIOD_CHECK
exit_name FAGL_PERIOD_CHECK
class_name CL_EX_MRM_VARIANCE_TYPE
exit_name MRM_VARIANCE_TYPE
class_name CL_EX_MRM_HEADER_CHECK
exit_name MRM_HEADER_CHECK
Check which one is best.
Regards,
Clemens -
Hi,
I am looking for a user exit in MIRO that allows me to stop the transaction before saving, retrieve the PO associated to the invoice and check against a customized workflow status before saving.
I found MRMN0001 that stops before saving but it does not give me the PO number associated with the invoice being processed.
Any suggestion?
MAC.Hi Nitin,
Thank you for your answer.
I tried it using component EXIT_SAPLMR1M_003.
My code only has a break point if it is my user id, to test where it stops and the data I have access, but it did not stop.
The note in the documentation says that it is obsolete since 4.5 and it is not supported anymore, but I guess we can still use it right?
Any idea why it may not stop with MIGO transaction?
Monica. -
User exit for calculating Base line due date in VF01
Hi,
I need a User Exit for calculating Base line Due date i'e ZFBDT with respect to billing date
for VF01
Regards,
Moderator message: if there is one, you can find it yourself by doing due research.
Edited by: Thomas Zloch on Nov 23, 2011 1:52 PM>
Rahul Saxena wrote:
> I have given the condition"BSEG-ZTERM = 'ZTST'" in Prerequisite, and in the Substitutions when I try to assign constant value '02/16/2009' to the field Baseline Date, I don't see that Baseline date field in Substitute fields for Class '009'.
>
> How do I add Baseline date in that popup to select and assign values.
>
> Please suggest.
>
> Thanks-
i think your date format and system date format is not suitable.
give the date format as 20090216 as system format. -
User Exit during MB1B transaction
Our scenario is during MIGO GR we are creating batches with a custom number range based on the unit of entry on the PO. For example if we are procuring and receiving material A as Pallets with the unit of entry PAL then the batch number to be generated will be PAL0000123. If for the same material A we are receiving as Drums then the batch number is DR00000123. Each batch is required as all have a specific characteristic value that must be maintained.
The next step in our process is to transfer these materials from one storage location to another using batch determination based on FIFO from MB1B. The batch determination is only at the material level and not the Unit of Entry such as PAL or DR and so the system will transfer whatever material was received first irregardless of the unit of entry in MB1B.
What we're looking for is a user exit during the MB1B transaction prior to the batch determination that will only select batches according to the value in the Unit of Entry field in MB1B. This will allow us to apply the FIFO strategy to only PAL or DR batches separately based on the batch number assigned during GR.
Thank you,
Jeff DiluzioHello,
I have checked in my system and I see we do not have the order unit field available to create condition table with it but then we have a option to enahance the field catalog and there if we mention the field . However even in feild catalog I cant locate this filed but I see we have filed dummy.
Conclusion: First step will be to do enhance field catalog with order unit field. If that is not possible then we need to use dummy field in field catalog to create condition table and then we need to pass order unit from MB1B screen to batch search/selection procedure.
I know you have already tried for exit and all but I do not see any way possible to pass order unit to your selection /search procedure. -
User exit during planned order to production order conversion
Hi,
Let me know if there is any user exit during planned order to production order production.
Regards,
YogeshDear
You can try the following :
1.PPCO0001 /PPCO0007 /PPCO0012
2.BADI workorder_update
3.Check in SMOD or CMOD and enter PPC* -you will find all the related user exit
Hope this helps
Regards
JH
Edited by: Jiaul Haque on Oct 21, 2010 10:55 AM -
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 -
User Exit transaction FB05 with data of documents that are to be cleared.
Hi,
Is there any user exit or badi in transaction FB05, where the data of documents that are to be cleared and the data of payment document are available?
I need that in the F110 transaction, the field SGTXT of the payment document is filled with the field XBLNR of documents to compensate.
Thanks in advance.
Regards,
Ana LucasHi,
The field XBLNR of the clearing document isn't the same of cleared document.
In the substitution we don't have available the data of cleared document, but only the data of clearing document.
Regards
Ana Lucas -
Billing user exit to overwrite the service rendered date with billing date
Hello,
My client would like to determin the rebate conditions based on billing date. However, the system only uses the service rendered date for rebate determination.
Therefore, I am trying to overwrite the service rendered date with billing date at the time of billing creation.
Could you please let me know what user exit I can use?
I can't user the user exit RV60AFZC because the billing date is not determined when this user exit is running.
Your help would be appreicated! I will give you good points! ThanksHi Londa,
Try using one of the following includes for your requirement.
(a.) rv60afzz
(b.) rv60afza
(c.) rv60afzb
(d.) rv60afzd
(e.) BAdi SD_CIN_LV60AU02
or if you are working with ECC 6.0 use the Enancement Spot ES_SAPLV60A available from SE80 by giving package VF and then selecting Enhancements and then expanding Enhancement Spots
Hope these are helpful to you. Reward accordingly.
Thanks and Regards,
Maddineni Bharath. -
User Exit during Sales Order Creation - New Line Item needed
I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
I will definitely reward points for useful answers.
ClarkHello Mahendra
The requirement is as follows :
PART 1:
Sales Order Enter:
1. When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP. TANN are free goods that should not be considered for consolidation. TAPS & ZTAP are lower level materials as a result of product selection. They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
Do not check items where VRKME <> EA
2. If VRKME = EA, go to MARM for MATNR.
3. Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
4. Divide the order quantity (VBEP-WMENG) by UMREZ.
5. If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
6. Add a new line to VBAP for the same material with the case quantity. If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
PART 2:
Batch Job to run prior to the Delivery Due List:
1. Read VBUK for Delivery Status (LFSTK) = A (delivery not processed). Get all of the document numbers (VBELN).
2. Go to VBEP for those document numbers to get the goods issue date for the order. There will be many records in VBEP for the same sales order. Look at all orders with a goods issue date (WADAT) of next day.
3. Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
4. For customers who have more than one order in VBAK, search all line items (for all orders). If there are no duplicate materials across sales orders, do nothing.
Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP. TANN are free goods that should not be considered for consolidation. TAPS & ZTAP are lower level materials as a result of product selection. They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
5. If there are duplicate materials, go through the same logic as in part 1. If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order. If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, Line Item Consolidation. If there is no remainder, update the qty on this item directly.
Part 2 is relevant for order types ZOR, ZCA, ZSM
This batch job will have to be run manually for Day Pick orders. The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
Business Justification:
The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking. This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material. In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines. -
User exit for MIRO while saving
Hi
I need to validate the Company code in Txn MIRO with the company code of the PO that's been processed
Is there any user-exit which gets triggered while saving the document in txn MIRO.
I know the following BADI INVOICE_UPDATE gets triggered while saving the documents, as i am new to the BADI functionality, i am unable to proceed further with the implementation of it in the system.
Can some one let me know how to implement a BADI.
CheersHi Sushis ,
check this link abt badi
http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
and u have to choose this method is useful
<b>CHANGE_AT_SAVE Invoice Document at Save
CHANGE_BEFORE_UPDATE Invoice Document Before Update
CHANGE_IN_UPDATE Invoice Document During Update</b>
let me know if u required more info.
regards
Prabhu -
Hi,
In MIRO FI entry passed
Vendor Cr.
GRIR Clearing Dr.
Now We are having a scenario where above entries should be
GL code Cr.
GRIR Clearing Dr.
Now it should be automatic that when we click Post that Vendor should automatic substituted with GL.
Please help me with user exits/badi/enhancement if any
Regards
NikeHi,
You can use the BAdI "INVOICE_UPDATE" having below methods.
CHANGE_AT_SAVE Invoice Document at Save
CHANGE_BEFORE_UPDATE Invoice Document Before Update
CHANGE_IN_UPDATE Invoice Document During Update
Thanks
Gangadhar
Maybe you are looking for
-
Opengl Shaders glslv1.20
How do i Add Opengl shaders glslv1.20 to Mac 10.75. Thanks
-
Application.Properties Loosing Content
I am using Action.Properties to set error codes and display them as part of my validation. I am setting the Error in a Validate class using the following Syntax errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("error.FirstField.invalid")); I am r
-
Illegal characters in SOAP message
Hi I consistently get the following in the server log (I'm using JAX-WS 2.1): Couldn't create SOAP message due to exception: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolo
-
OBIEE 11g migration issues...
Hi Experts, I have installed the OBIEE 11g and tried out the SimpleLite repository and catalog which is available along with the installation. That was working fine. and also I was be able to create/edit the analysis. I could be able to access admin
-
How do I create a 3D rotating images animation
Hi, I'm trying to create an animation like the one on www.ibuypower.com I have 4 images that I would like to array in a similar 3d animation that users can manipulate like the one on this site. Any tips? Thanks