FI MIRO Substitutions
Hello all.
I got a new demand where I have to work with FI substitutions (OBBH). Though I don't really know exactly how it works. I know it is possible to develop some specific substitution exits to manage data while in the substitution process.
However, this data will come through the MIRO transaction.
My question is: When exactly, I mean, at which momment of this transaction process have the substitutions to be executed? For as far as I understand, the exit will be executed at the same time, as part of the substitutions.
Thanks in advance!
Regards.
Thanks again, Naimesh!
Although things are more clear now, I'm still getting a huge problem with these substitutions. Let me try to explain my situation:
First things first:
I got a substitution Z001 under "Line Item" application area, which step 2 has the following conditions:
BKPF-BLART = 'RE' AND BKPF-AWTYP = 'RMRP' AND
BKPF-TCODE = 'MIRO' AND BSEG-HKONT <> '212101' AND
BKPF-BUKRS = '1000'
Problem is, when I open a pre-edited document with MIRO and register the document so that it can be entered into BSEG, this procedures are not executed. I've developed the exit UFOR under this step, and it's not being called.
Could it be some error with the application areas?
Thanks in advance again!
Similar Messages
-
Coding Error in Exit substitution
Hi Experts,
I've assigned an Exit for MIRO-Substitution as 'UPCT' in Form routine under report program 'ZRGGBS000'.
In that I've to update the field of PRCTR for particular GL Account. The details of invoices available in bseg table parameter. I've to write a coding part where Im facing problem while looping.
When I do loop at bseg ,it's saying an error as 'Version' expected after BSEG.
Pls check below and reply me with example code .
data: v_prctr type prctr.
select single prctr into v_prctr from marc where matnr eq bseg-matnr.
if sy-subrc eq 0.
loop at bseg where hkont = '0000300016'.
if bseg-prctr ne v_prctr.
bseg-prctr = v_prctr.
endif.
endloop.
endif.
My requirement is Thru material I'll get a Profit center value where the same I've to update in line item of particular GL account.
Pls advise.
Thanks & Regards
sankar.Hi KPN,
Sorry for the delay in reply.
the table what u've written is right but it no way help me in this Form routine exit.
I want to update the value to Profit center field for Price difference GL Account which will be derived only at the time of posting MIRO.
FYI: Pls go thru the std report,I've copied it into Z report and assigned a Form routine and inside to that I've to declare my coding part.
Report : RGGBS000.
Regards
Sankar.
Edited by: sankar babu on Aug 31, 2008 7:48 AM -
BTE to substitute BSEG-BZDAT in MIRO doesn't work
Hi all,
I need to substitute the field BSEG-BZDAT with BKPF-BLDAT in all asset invoices postings through MIRO, in order to get the correct value date in AM for depreciation calculation.
After set a breakpoint in function module BF_FUNCTIONS_FIND, I got the correct event was 1025. My client has a 'Z' function modul for this event, so the basis guy added the corresponding programming code into it.
When I run MIRO, substitution works OK, but after the Z function modul, the system goes into OPEN_FI_PERFORM_00001025_E, and set the original values the fields have before the substitution as per note 530655.
Could, please, anyone help me to carrying out this requirement?
Many thanks in advance.
Regards,
M.Hi all,
I've found a solution for this issue by myself.
For the new adquisitions posted from MIRO, there's a customizing point to determine the data, and for all the asset posted with wrong capitalization date, I'd made a program that makes a mass substitution in the master records.
Value date in asset explorer is not changed, and depreciation for subsequent adquisitions are not calculated correctly, so I have to apply note 92925, in order to set the corresponding entry in T090NP and get the correct depreciation calculation.
Regards,
M.
Edited by: Miriam Munoz on Jul 26, 2010 12:02 PM -
Hi Expert,
When I enter reference in MIRO then I want the text in reference automatically fill in the assignment? It is possible?
Thanks
Regards
FeiHi,
Try to as snap shot or write an Exit
Write substitution as( for reference only)
Prerequisite
BKPF-BUKRS = 'XXXX' AND BKPF-TCODE ='MIRO"
Substitutions ( for fulfilled requirements )
Only exit" U400"
Write User exit at what condition eg GL Account you want or Etc
MOVE BKPF-XBLNR TO BSEG - ZUONR
For this discuss with ABAP consultant and give him a condition which u want .
Regards
Raheem -
Steps to create substitution rule for field BSEG-RECID
MIRO generates FI document. FI document has BSEG-RECID field. I need to apply substitution for BSEG-RECID depending on the value of the RSEG-GEBER field in MIRO. The substitution must be activated only if account to be booked is PL account in FI and derived MM document based on ZNPP PO type.
Field values are as follows:
RSEG-GEBER BSEG-RECID
No value No value
N N
D D
A A
Could anyone please let me know the steps to create the above substitution rule for the FI document
Thank YouHi,
You can do it as below:
Prerequisite : Select the document type for which you want check, here you have to select the BKPF-BLART = " " (Give the document type for the MIRO)
Substitution: Use the User exit with the logic as you said.
If you want you can use the user exit in both PREREQ & SUBSTITUTION. It will be applicable in your case
VVR -
Issue with FI substitution in Miro
Hi Friends,
I have a substitution created in FI. According to substitution, if cost center entered in document is 'xyz', then it will substitute tax code from x1 to x2. It is working fine for any FI document posted in FI (like FB01 and so on)
I am expecting this should work fine with MIRO postings also.
(X1 is input tax and X2 is irrecoverable tax)
But when I try to post a transaction MIRO with this cost center and tax code X1, it is not substitute to X2 and it is giving error as follows:
Tax statement item missing for tax code X2
Message no. FF805
Diagnosis
No tax item exists for tax code X2 in a G/L account item. A possible cause is an incorrect transfer of parameters by the application to the Accounting interface.
Procedure
Enter an OSS message.
Please could any one help me?
Thanks and Regards,
Krishna.Hi,
If it is working fine for FB01 document type XYZ,then it should work for MIRO also.
Please check the FI document type which is generating from MIRO.
I guess the document type from MIRO is not XYZ.
Thats why it is not substituting the Tax value.
Regards
jabeen -
Substitution of account(HKONT) when posting in MIGO/MIRO
Issue: Need to change account(HKONT) when posting in MIGO/MIRO
example: HKONT(GL Account) KTOSL(Transaction type)
1000000001 XX1
1000000002 XX2
1000000003 XX3
If XX3 exist then replace hkont of XX1 to hkont of XX2
expected result is:
1000000002 XX1
1000000002 XX2
1000000003 XX3
Solution with problems:
1. Used substitution GGB1>Financial Account>line item for field HKONT. My problem with this is, since the data is in line item. How can I get the replacement of my account(shown above sample). if BSEG structure only shows 1 line item. I tried using bool_data-bseg. but its empty. Im assuming bool_data is used when callup 003(complete document) is triggered.
I used subtitution field G/L - Exit <UXXX>
Any Ideas or solutions would be great!!if your Substituion exit is called then you can directly change the value of
BSEG-HKONT there according to your requirement. -
Substitution for MIRO Business Area for tax line items
Hi All,
Our business requirement is updation of BA in tax line items during MIRO transaction. To fulfill this requirement i have written a substitution with user exit. Business user enters BA in bktxt . In user exit iam passing bktxt field to bseg-gsber. But BA is not updating in tax line items. Here iam giving the code which i have written in my user exit. Pls guide me what to do aprt from this.
IF bkpf-bktxt IS NOT INITIAL.
t_gsber = bkpf-bktxt.
ENDIF.
IF bseg-hkont EQ '0000098511' OR bseg-hkont EQ '0000098521' OR bseg-hkont EQ '0000098583'.
cobl-gsber = t_gsber.
ENDIF.
IF bseg-hkont EQ '0000098511' OR bseg-hkont EQ '0000098521' OR bseg-hkont EQ '0000098583'.
bseg-gsber = t_gsber.
ENDIF.update like below:-
UPDATE dbtab FROM TABLE itab. or
UPDATE (dbtabname) FROM TABLE itab. -
Hi Guys,
when I enter MIRO the terms of payment(BSEG-ZTERM) are taken from Purchase Order and instead I want that they are taken by Vendor master data.
Can I do this with a substitution,if yes how can you descrbe the principals steps?
Thanks in advance
Bye
Massimilianologically the payment terms should flow from the PO only and not from Vendor Master.
From a SAP Perspective, you can use the BADI MRM_PAYMENT_TERMS to validate and populate the required payment terms based on your requirements
Regards
Sanil Bhandari -
Accounting substitution during MIRO
Hello Experts,
I need to define substitution during MIRO
Process is :
When material is received from foreign vendor, exchange rate used is as on the date of mat receipt. But the requirement is to valuate the inventory
with exchange rate prevailing on invoice date (ex rate declaration date)
Currently, system takes difference between invoice date's ex rate and mat receipt date's ex rate to exchange gain/loss.
During MIRO such exchange gain/ loss is posted to, say, account 611400 account
I need to define substitution rule wherein system posts such gain/loss to different GL account,say, 520430. So that exchange gain/loss on only such transaction is readily available for reporting requirement.
How such substitution rule can be defined.
Thanks in advance.
RegardsHi
Please, see these notes
SAP Note 116250 - MR08/MR8M:Cancellation+exchange rate diffrnces(KDM)
SAP Note 165635 - Documentation: Enhancement LMR1M001 (MM-IV)
SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
I hope this helps you
Regards
Eduardo -
Substitution to give a discount to vendor on MIRO - BSEG-ZBD1P
Hi people.
We are having a issue trying to add a discount on field bseg-zbd1p.
We have added a substitution rule that executes on MIRO, for a certain material we want to give a discount to vendor, but it is not working.
We try to change the field bseg-zbd1p and bseg-zterm, but when we change the first field, nothing happens(It's not changed) and changing ZTERM does not change the field zbd1p, Even having customized the condition term to give 25% discount.Not solved.
But now, we are using that payment codition on PO -
HI
i need to substitute amount and quantity fields at line item level in miro
can ny1 suggest how to achieve this using substitution..
tcode for mm substitutions?
OR NY OTHER USER EXIT DAT 'LL FULFILL MY REQUIREMENT?
points 'll b rewarded.
Message was edited by:
abapuser
Message was edited by:
abapuserfulfilled my requirement via badi
-
Hi all,
I created standard substitution for fill cost center in tax account for MIRO, but when I post I got message
"Account xxx requires an assignment to a CO object". Where is problem?
BTE1120 didn't help yet.
But when I fill cost center for this account in OKB9 then I got message that entry (with this cost center) isn't exist in table COKA.
Thanx for any help.Can you check
(transaction KA03) is this account defined as a Cost Element (Else no link to CO available)
(transaction KS03) is this cost center defined in CO area
(transaction FS03) create/bank/interst tab, does the account refer to a field status group allowing cost center input
Regards,
Raymond -
Substitution exit. in TC MIRO
I am trying to populate the Purchase order number in the assignment field in CenvatThis gets populated correctly in the
transaction J1IEX but not so in MIRO.
it can be solved through substitution exit, if any body having material pertaining to substitution exit plz mail me to my id [email protected]
Thanks & Advance
Laxmi NarayanThere is no need for substitution for bringing purchase order number in cenvat through MIRO, instead you can give the sort key No.010, in GL master of cenvat under tab control data.
The purchase order number will be automatically displayed in assignment field of cenvat items.
Hope this will resolve your query.
Best Regards
Mukesh Mokashi
If useful kindly assign points -
can create a FI SUBSTITUTION in such a way that i can pass any table as a parameter to it.if yes then how..please be elaborative...in this regaard
Hi
U can use the substitution only to replace the data in FI document, if you need to trigger only for the MIRO you should insert a validation (or a filter) on that trx.
Max
Maybe you are looking for
-
My pc crashed. When I access my iTunes account, the only music in my library is the music I purchased from Apple. I had music purchased from other sites and also music ripped from CDs. I back up my phone to iCloud daily. Can I restore my iTunes l
-
Can I "lock" just one out of my four displays in mission control.
I have a Mac Pro (2013) with 3 monitors and my projector hooked up. I use the projector primarily for videos and entertainment, while i use the 3 monitors for work space. I use up to 6 desktops in mission control and prefer to lock them so they all m
-
IDOC related to Order creation
Hi , I have to upload Sales Orders through IDOC's which I am successfully doing using ORDERS05. I am facing one issue on this, here the flat file will also have Quotation Number of which Orders have to be referred. This too has been achieved. But the
-
How to loging into the vision instance.
Hi gurus , I m new to oracle 11i and have manage to install the vision instance and it was succesfull how do i log in (11.5.5) i mean the url for vision and secondly do i need to install the j iniatiator or not.I dont know if it comes with the system
-
Display hints not working after migration to 9.03.
Has anyone experienced a problem with the display hints not rendering once migrated from 9.0.2 to 9.0.3? I can see the hints in the properties of the attributes, but they are not rendering. Thanks, Aaron Haimovitz