Substitution not working for MIRO

Hi Gurus,
I have a problem were in we have created a substituion rule where if tax code is ' X ' for certain co. code than substitute with tax code ' Y '. evrything is working fine in FI but in MIRO it fails.
Has any one faced this problem and got any solution????
Thanks in advance

hello Experts,
As Said By Burak Uygur Sir I followed the Same to Update gsber In Miro where it Is blank. below Is my code Can Any One please Suggest Me Where i'm Going Wrong.. Problem is when i'm Debugging The Value Is get Modified in Blank Place By Gsber In T_bseg...but In Miro It Is Not Showing....
Z_SAMPLE_PROCESS_00001120
READ TABLE t_bseg into wa_bseg with key koart = 'K'.
IF SY-SUBRC = 0.
LV_GSBER = WA_BSEG-GSBER.
ENDIF.
if sy-tcode = 'MIRO'.
LOOP AT T_BSEG INTO WA_BSEG.
IF WA_BSEG-GSBER IS INITIAL And Lv_gsber Is Not Initial.
WA_BSEG-GSBER = LV_GSBER.
MODIFY T_BSEG FROM WA_BSEG TRANSPORTING GSBER.
CLEAR: WA_BSEG.
ENDIF.
ENDLOOP.
Thanks In Advance...
Uday...,

Similar Messages

  • FA segment derivation from business area substitution not working for AFABN

    Hello Gurus,
    I have a FA substitution of Field 'segment' is substituted by Field BSEG-GSBER.
    But its not picking the Business area as Segment for the 'AFABN' postings.
    Thanks for your early reply.
    Thanks and regards.
    Gopa

    Hi, AFABF it's depriciation?
    Try do it with tcode obbh.
    And if you have some problems with substitution simulate it for  inspection

  • Substitution not working for transaction F110

    Hi Folks ,
    I have created a Substitution for FI transactions for substituting a Header field. I have added 3 transactions (F-28, FB01 and F110) to the pre requisite of the substitution.
    The susbtitution works perfectly fine for the transaction FB01 and F-28, but is not triggered when I run transaction F110.
    Could you please tell me what can be the issue?
    Secondly, do the Automatic Payment Program (APP, transaction F110) creates an accounting document number BELNR? Where can I get that number in the program?
    Thanks in advance !!!!!
    Regards,
    Sud.

    F110 is the transaction code for automatic payment run program; the transaction execution happens in the background and in normal way, catching a break point in related substitution/validation exits might not be possible.
    Main programs associated with this transaction are SAPF110V (Entering Payment Run) and SAPF110S (Payment Program). In program SAPF110S, variables XDEBUG and ONLINE decides whether the run should be in online or in debugging mode. Flag the variable leads the execution to debugging mode.
    Create a payment run via F110 transaction and do a proposal run.
    Execute SE38 transaction code and select program SAPF110S and open in display mode.
    Find variable “XDEBUG” and set break point at “XDEBUG” assignment (XDEBUG = SPACE).
    Now execute OBBH transaction code and select desired substitution and go to Menu Extras -> Expert Trace -> Set Breakpoint.
    Got to the substitution include in which exit is defined. Set a session breakpoint at the U exit.
    Execute program SAPF110S with the above created payment run id and date.
    Execution of SAPF110S stops at XDEBUG variable assignment. Now change value of variables XDEBUG and ONLINE as ‘X’, which enables the debugging mode and continue execution.
    Execution stops at the session breakpoint placed in the U exit.
    Check with above method to reach your substitution. If it reached then you can use ABAP stack to get variable values used in some other programs which is already available in the ABAP stack.
    Data:     lv_stru TYPE string,
              lv_bkpf TYPE bkpf.
    FIELD-SYMBOLS: <fs_bkpf> TYPE bkpf.
    * Assign BKPF reference area in SAPF110S payment program
      lv_stru = '(SAPF110S)BKPF'.
      ASSIGN (lv_stru) TO <fs_bkpf>.

  • Substitution not working for Cost Center

    Hi All,
    We are using OBBH to make a substitution for Foreign Exchange valuation to meet one of requirement as cost center at line item level to be blank, we have made cost center field blank in substitution.
    When we run the foreign exchange valuation system is updating the cost center from the source line item to the difference account. It is not considering the substitution value which is blank in cost center.But we have added some other fields in substitution those are working fine other than the cost center.
    Do I need to make any settings for this to take cost center as blank at line item level.
    Regards,
    Shilpa

    Hi Shilpa,
    the substitution may be used for filling the cost center when it is empty, but not for clearing it when it is filled, because the substitution isn't called when the cost center is already filled.
    Please read OSS note 1296568.
    [https://websmp230.sap-ag.de/sap(bD1mciZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1296568]

  • Partner functions for FV11 conditions are not working for MIRO

    Hi,
    We have a business process wherein PO Ordering vendor and invoicing vendor are different.
    We have defined  FV11  tax conditions  ( VAT and Excise)for PO vendor .
    We have not defined  FV11 tax conditions  ( VAT and Excise) for Invoicing vendor.
    So while we are doing MIRO for such PO, we are getting an error that  VAT tax code  say G1 is not maintained in TAXXINN proceedure.
    When we defined  TAX conditions for Invoicing vendor also ,  system allowed MIRO for such PO.
    We are using TAXINN proceedure.
    Guide  me whether :
    1. Definining VAT and Excise conditions for Invoicing vendor is a must ..?
    OR
    2. We can do some configuration in Partner functions  sothat whatever  Tax conditions defined for PO vendor will be defaulted and can be used sothat at the time of MIRO  there will not any error for VAT and Excise conditions defined only in PO.
    Thanks in advance !
    Thanks & Regds,
    Kasi.

    Hi  Kishore,
    Thanks a lot for quick  response .
    As you said we have defined FV condition records were defined to key combination specific to Vendor. Given the scenario, can we change partner functions from PI or VN or other related , will System allow defualt these conditions to invoicing partner..? Iam not very much sure how partner functions work..? can please throw some light on this or guide me a link where can I get information on partner functions?
    ALternatively , instead of defining FV11conditions for key combination with vendor, if we  define  FV 11 conditions for other combination such as at material group level- will it work?
    Thanks in advance.
    Thanks & Regds,
    Kasi.

  • Variable substitution not working for dynamic file name in Receiver File CC

    Hi Experts,
    I am doing the scenario of Proxy sender to File receiver and my purpose is to Create the text file
    as per the filename available in Source Message payload.
    I am using the Variable Substitution method for this as shown below.
    Source Message Structure:-
         <Row>            -
    having Cocurence 1.1
             <Filename>     -
    having Cocurence 1.1
             <Item>            -
    having Cocurence 1.Unbounded
              <Field1>
              <field2>
             <Item>
             <Item>
              <Field1>
              <field2>
                <Item>        
         <Row>
    Target structure is same as the source structure and i have mapped the Filename field of the Source
    with the Target structure Filename.
    In ID the following is the File receiver CC Configuration.
    File Name Scheme:- %Dyn_filename%
    In Advance tab, I have selected the Enable option and added one row as Variable name %Dyn_filename%
    and Reference as payload:Row,1,Filename,1
    In testing I am getting the Error as 'variable Dyn_filename is not found in Message payload'.
    Please suggest me.
    Regards,
    Jagesh

    Hi Pooja,
    Hi Pooja,
    Thanks for your valuable reply..
    I  tried with the same. but still Filename is appearing in Output file.Giving you some details regarding my Receiver File Configuration settings.
    Target Message Type:-
              <MT_Target_Struct>
                    <Row>----
    1.1 occurence
                            <Filename_test>----
    1.1 occurence
                            <ITEM>----
    1.unbounded occurence
                                  <Field1>
                                  <Field2>
                            <ITEM>
                            <ITEM>
                                  <Field1>
                                  <Field2>
                            <ITEM>
                    <Row>
              <MT_Target_Struct>
    Recordset structure:-  Row,Filename_test,ITEM
    Row.fieldSeparator----
    >'nl'
    Filename_test.fieldFixedLengths----
    >0  (Zero)
    Filename_test.fixedLengthTooShortHandling----
    >Cut
    ITEM.fieldSeparator----
    >,
    ITEM.endSeparator----
    >'nl'
    I want only ITEM node to be written in the output file.
    Please suggest.
    Regards,
    Jagesh

  • Substitution not working for VO

    Hi,
    In my programme, there is a substitution for AM and also a VO.
    I have run the substitution command and AM1 is getting substituted successfully but the extended VO1 is not getting substituted and its not even throwing any errors.(both AM1 and VO1 belong to a different package)
    I have checked the .jpx file in the server and it contains the substitution for AM but not for VO.
    I dont have any idea why this error is coming.
    please give me suggestions
    Thanks a lot
    kumar

    Use the JDR_UTILS.Print_Docuemnt(path) to see if the VO substitution is there.
    The path is displayed during jpx import.
    HTH
    Srini

  • Withholding tax not working for MIRO

    Hi Sap Experts,
    I am able to get TDS challans posted by J1inchln for Invoice postings done by Fb60 Transactions , However for the same vendor when I do Invoice postings through MIRO transactions I get mesage that " No unpaid tax lines exist for the given selection criteria"
    Detailed look of error says under System Response that  " For withholding tax recovered from the vendor, tax line is present in table BSIS, but the corresponding entry is missing in table WITH_ITEM , which is necessary for challan updation"
    Also observed after posting that the accounting doc of MIRO has Business place & Section code present & shows Posting to Withholding tax accounts
    But the MIRO invoice tab for Withholding tax shows With/tax Base & With/tax amount as blank. Could You please advise why this happens.
    How this could be avoided?
    What is the solution for this MIRO not getting Witholding tax?
    I shall appreciate  your resdponse by giving max points for a solution.
    Warm regards
    Marazban Dalal

    thnks

  • Variable Substitution not working for multiple files

    Hi,
    Have a scenario in which we are using Interface Collection with multiple files as output.
    The naming of the files is derived from a payload field as follows.
    payload:MT_OrdersAck,1,Order,1,File_Header,1,StoreNo,1
    When the first file is generated this works fine, but fails for the rest of the files.
    I guess this is because of the hardcoding 1 in 
    payload:MT_OrdersAck,1,Order,1,File_Header,1,StoreNo,1
    how do we get around this problem?
    Any Ideas?

    Hi, I suppose you are using Mapping-Based Message Split, right? Do the following files look the same like the first file with respect to File_Header?
    Make sure that the payload structure (payload:MT_OrdersAck,1,Order,1,File_Header,1,StoreNo,1) is equal in all files and that first occurrence of StoreNo always has a value in all the files.
    Regards, Martin

  • Substitution written under cost center accounting is not working for tcode MB1B but working for MIGO_GI

    Hi All
    Do you know why this behaviour different for subtitution written under cost center accounting.
    We have written substitution using coding block table. Logic of substitution is in case of any GL maintained in a set is being used for posting , then we will replace the cost center with profit center vlaue. Reason being we have same naming convention for Cost center and Profit center.
    Thanks
    Sonia

    Hi,
    MB1B is t-code for stock transfer posting.
    Stock transfer posting generate FI document using balance sheet account, not P&L account.
    Because you don’t create cost elements using balance sheet accounts related to stock, I think that Substitution written under cost center accounting is not working for tcode MB1B is right.

  • Substitution now working for reversal documents

    Hi,
    I understand that substitution does not work for reversal documents; all attributes in the reversal document are picked up from the original document.
    However is there any way to change this? I want the reversal document to pick up something else. Please note that the attributes fields are all Z fields.
    Thanks & Regards
    Rajesh

    hi Rajesh,
    pls. check the conditions of the substitution, may be reversing is not included.
    ec

  • Substitution not happening for Asset Master

    Hi Experts,
    I have created a substitution rule in OACS to update Depreciation key based on the Evaluation Group while creating Asset Master Record. After this when i simulate the system was giving value for the LVA Key as designed but however when i run the actual transaction it does not populate. Currently the substitution is working for the other steps created under the same substitution rule for other fields in Asset Master record.
    Also let me know if the default made at Asset Class level for the depreciation key has any impact on this substitution
    Regards
    Zehran

    Also i notice that when i create the asset in the test system with expert total trace, the substitution is triggered when the values is entered in the Time Dependent tab and the input for the substitution is available in the allocation tab. Even if the data is entered in allocation tab first, the system is triggering the expert trace with TRUE condition for the substitution but the values are not populated in the depreciation tab for the depreciation key
    Regards
    Zehran

  • PVCS/Headstart revision substitution not working

    We've been following the instructions on p95 of the Headstart documentation, using a string of $Revision::xxxxxxxxxxx$ to get PVCS revision number substitution on our modules. This doesn't seem to be working correctly - sometimes the substitution takes place, sometimes it doesn't (in standard text files, not binary). We're using PVCS V6.5.
    There's nothing in the PVCS documentation to suggest that a revision string of anything except $Revision$ will work. Why does the Headstart documentation state otherwise? Does it refer to functionality that used to be available at an earlier release of PVCS? It also seems to be saying that using this string will prevent the corruption of binary files - the PVCS documentation clearly states that keyword substitution should never be used with binary, as corruption may result.

    Cheryl,
    I am not sure what you mean by sometimes the substitution takes places and sometimes it doesn't. The expansion of a keyword is depended of a setting in your configuration file (see file type tab on configure tab).
    You can enable/disable the expansion per file type extension (even using a wild card).
    Normally once you have enabled it for a fmb it should work for all fmb's. However it may not work for already checked-in fmb's: if you add a keyword later on it may not expand. You can use wild card here (undefined) but it takes a specific file type extention first. You have disabled it for fmb and enabled it for (undefined) then it will not expand.
    Please let us know if this solves your problem: verifying the keyword enabling/disabling per file type.
    In addition you mentioned the disrecommendation of PVCS/VM to use keywords in binary files. Expansion in binary files with the fixed lenght, as you do, has always worked in previous releases. It still works in 6.5 and 6.6 but pvcs/vm no longer supports it officially, what can I say?
    k r the Headstart team

  • I have an event in my calendar that was sent by someone who does not work for the company anymore and I am reminded 2 times a week. How can I remove it?

    I have an event in my calendar that was sent by someone that does not work for the company anymore and I am reminded 2 times a week. How do I delete it?

    Tap on the event to open the event. Click the 'Edit' button in the event bubble, then press the 'Delete Event' button at the bottom of the Edit pop-up. It's a little different for events that come through Microsoft Exchange, you tap the event to bring up bubble and click the 'Details' button, and then press 'Decline' to remove the event.

  • IPhone 6 External Mic not working for Siri/Dictation

    I am finding that the external mic on my iPhone 6 works for phone calls and voice memos, but does not work for Siri/Dictation.  When I plug in the earbuds, they work for everything (including Siri/Dictation).
    Was chatting to Apple support who had me reset all settings.  I thought that worked, but realized that after a reset, Siri is off and I was talking to "Voice control" (which works).  When I turned Siri back on, it does not work.
    I have two questions for the community to see if you can help:
    1- I have been assuming this must be a software problem since the mic does work for non-Siri access.  But is that true?  Is there a hardware component that Siri depends on which could be faulty here?
    2- If it is software, what action should I try to address it?  I have done a reset all settings already and that did not help.
    Doug

    Hi, everyone.  I talked to Apple Genius at Apple Store last week, she said it should be a software issue and I needed to reset my iphone 6 plus as a new device and I can not use the backup restore from my iCloud, it was because the microphone bug or glitch can be in the backup also. Ok, followed her advice, erased all contents and set my iphone as a new device , the microphone worked for an hour, but went bad again.  I used "voice memo" app from Apple to test the microphone. It is the best tool since it doesn't involve any provider's network and it doesn't need another person's phone to listen and test.  If you can hear your voice recording clearly, then the mic works.  I tested it 3-4 times a day for a few days now, half of the time the mic doesn't work.  So, set as a new device isn't working. The issue is intermittent and it comes and goes as it likes, so very annoying. I carry my Apple EarPods with me in these past few days ust in case I need to make important phone calls.  Will need to go back to Apple Genius this weekend for sure.  Will give update after the weekend.

Maybe you are looking for

  • How to import catalog and create new link to folder in a new external disk

    I lost my data in my laptop. I have a back-up into an external hd. Now I would like to import the catalog and change the link of folder to external disk

  • Leading Zeros in Cost Center Account Creation

    Hi All, I am creating new cost centers using KS01. The problem I have is that the numbering system that my client requires have leading zeros for some of the cost centers, e.g. 00702. However, the system is not taking the leading zeros and creating t

  • Camera already in use

    Hi I know this has been covered, but I'm scrounging for more hacks. I have: 1.8 Ghz Dual G5 just bought a Panasonic PV-GS 150 camcorder just bought Tiger tried iChat AV chat works, video doesn't says my camera is being used by another application Her

  • How to back up itunes to a external drive.

    I need some help I just bought a Western Digital Elite Portable external drive and I want to back up my itunes in it. The problem is that I've never done it before so basically I do not know how to do it. I been backing up to discs but I want to do i

  • Photoshop CS2 Images Not Showing

    So any time I open an image in photoshop now they are only displayed in my navigation window. I updated my driver already and there is not an openGL option for CS2. I don't know what else to do solve this problem. Any suggestions would be great. Than