GL substitution rules

all I have two different substitution rules for one vender
#1 is vendor and plant 1 or 2 or 3 and GL xxxxx then post to BA - 70
2 is vendor and plant 4 or 5 or 6 and GL xxxx then post to 81
When I created PO and did the GR/ it's posting to BA 70 where my plant is 5 and GL it's posted to is different from substitution rule
when I did the invoice, it's posting to the BA 81 where the plant and vendor combination is correct.  The GL is not the same here again.
When I traced the substitution rule, it's showing true to #1 rule false to # two for GR.   However, my document is no where matched to # 1 The plant is not correct and the GL is also not correct.  The only true statement is the vendor. 
Can someone help me why it's happening?
I would expect to post either to BA 81 or ignore as the GL is not correct. 
Please advise. 
Just fyi
Thanks,
Sri

Thanks for your prompt response. We do want to keep BA as a criterion in automatic clearing. I have the following substitution rules
1) Vendor ABC and
    plant 85 and
   vendor recon GL 123456
   substitute with BA 47
2) vendor abc and XYZ
    plant 85 and
    GL 654321
  substitue with BA 43
the plant and divistion determination config is set to BA 47
The vendor on PO is ABC
the plant and division on PO is - 85
my FI entry is
Dr - FG (BA 43)
Cr - GR/IR ( 43)
when I traced the substitution rule it's saying true to Rule 2 above
why the rule is considering rule two as true when the condition is not fulfiling. 
FI enty at invoice
Dr - vendor recon (47) which is ture and the substitution is working
Cr - GR/IR (47)
How does the system derives the BA on FI documents. To me, it should carry the same BA through out all FI documents.
Your help is greately appreciated.
Thanks,
Sri

Similar Messages

  • In Substitution rule view only one task "All" is coming

    Hi! All,
    I am facing very strange problem in UWL. Recently we upgraded our SAP Portal from SP10 TO SP15 but in Manage Substitution Rule view under Assign these task drop down we are getting only one task i.e 'All'. Remaining 3 tasks are gone.
    Can you help me in resolving this issue please..
    Thanks and Advance.
    Thanks and Regards,
    M.D.Sahu

    Hi,
    You had upgrade from SP10 to Sp25, wich version? 6.40 or 7.00?
    Please find for OSS notes from
    UWL 6.40 SP15
    UWL 7.00 SP15
    for example, I don't have your portal version, I can't help much more on this. I worked with the UWL, and this I'd very issues with Substitution Rules...
    BR
    Joã

  • Substitution Rule in SAP 7.0

    Hello Experts,
    We are in SRM 7.0
    What is the meaning and the functionality of u201CFill in for meu201D selection, that can be met in the course of the engaging of the substitution rule?What is the difference between u201CReceive my tasksu201D and u201CFill in for meu201D?
    Any pointer will be highly appreciated,
    Regards,
    Rupesh

    Hi,
    Receive my tasks means that your taslks will be traasfered to your substitutes for the period determined meaning between start and end date.
    Fill in for me means that if you didn't plan to be unavailable (no start and end date), your substitute could take your tasks.

  • 500 internal error in managhe substitution rule in UWL

    Hi All,
    One user is getting 500 internal error when cklicks on manage substitution rule in UWL.Only one user is facing this problem.
    I checked in backend system, so substitute exists.
    Can some body help me what could be the problem? Thanks in advance.
    Regards,
    Thirun.

    Hi Thirun,
    This is a common issue and usually has to do if the 'substitutee' for lack of a better word, is no longer a valid user.
    4. When there is a substitution rule connecting the current user to a
    deleted user, the following problems were discovered:
       - substitution rule management returns 500 browser error;
       - it is not possible to delete a Java Workflow substitution which
    refers to a deleted user as assignee;
       - Java workflow connector is not able to retrieve items for user that
    has a substitution rule with a deleted user;
       - The "status", "What to do", "assignee" and "Task Owner" fields are
    not properly filled in the Manage Substitution Rules view.
    Do a search in SAP notes in component EP-BC-UWL and also for your version.  Alternatively you can let me know the version here and I can tell you in what release this is fixed in that matches closest to your version.  (maybe only a patch required).
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Error in Manage Substitution Rules - MSS

    Hello Team,
    I am working on new Implementation for ESS MSS in ECC6.0 and the country grouping is 99. I am getting error in 'Manage Substitution Rules' in MSS.
    When I create the substitution rule, I am getting 'problems Reported' in the 'Rule activation' field.
    The detailed message is 'System does not support Substitution methods'.
    I tried different options in the rule creation. All gave same error.
    I have activated the standard workflow TS12300097 and changed the task to 'General Task'.
    Is there anything else I need to do?
    How can I solve this issue?
    Thanks for your help.
    Regards,
    Preethi

    Hi,
    Check the below link :
    https://cw.sdn.sap.com/cw/docs/DOC-106384
    Hope this helps.
    Cheers-
    Pramod

  • Problem in UWL Substitution Rules

    Hi all,
        I have created a Substitution Rules for user X from user Y. when user X logins and accepts for user Y's rules but he is not able see the rule above his UWL.
       But when I create a rule for some other user U from user Y, user U is able to get the rule above the users U  UWL.
       Did anyone faced the same problem can help to solve.
    Thanks in advance.
    Ponnusamy

    Have you ensured that the source person actually HAS items in their inbox?
    Because of the way that task processing occurs you might also want to make sure that the source person hasnt already started processing the item.  You should ensure that the task item is "released" in the backend - something as simple as opening the item could cause this.  Once you open an item it is locked into your inbox - I dont believe from memory that these can then be substituted to someone else.
    If all of that appears OK  (and you can actually see the items mixed with your own) then I would suggest you check the properties of the iview and make sure that all "options" (like buttons etc) are turned on.  In EP7.0 there is much more control over what is / isnt displayed to the end user.  Those facilities (filters) you speak about "should" become visible when you have susbstituted items.

  • FB60 - Substitution rule to generate Text in automatic generated line item

    Hello SAP genious,
    While we post vendor invoice ( FB60) and customer invoice (FB70), at this time along with Dr and Cr line items one automatic additional line item is getting generated this is based on Tax type which you select while making invoice.
    now, I want to show some text in this automatically created line items. This might be possible by creating some substitution rule but i am not sure.
    and if it is possible through substitution rule then what could be my prerequisite, and check would be..?????
    can you please tell how can i get Text in this additional line item getting created due to VAT tax code.
    Thanks a Lot for your input.
    your reply will be rewarded with points.
    Thanks
    Jignesh

    Thanks for all your replies.
    I Want the field BSEG- KOBEZ i.e description field in the accounting doc of the offsetting entry to be replaced in the GL account  text field.
    Ex :
    PK    Account        Description                  Amount           Text
    31    100000         Furniture  Vendor             50             Sales
    40    1999             Inter Compy                     50             Furniture Vendor
    I want the description of offsetting entry vendor description i.e Furniture vendor (field BSEG-KOBEZ) to be replaced in GL line item text BSEG-SGTXT.
    I cant find the field BSEG- KOBEZ while i search in the substituion to replace in Text field.
    How do i write in substitution to say that the offsetting entry description should be in text field of GL account.

  • Substitution rule is not working correctly

    Hi PS Gurus,
    We have a problem in one of the newly created projects that the substitution rule is not working correctly; the data is not copied to the WBS element Cust. Enhancement tab.
    Project 1 is working fine and the data is copied & Project 2 and Project 3 are not getting all the data copied to the WBS element,
    In that project profile (substitution rule is given), substitution rule is also maintained 
    So please help why in one project substitution rule in working & other isnu2019t.
    Many Thanks in Advance.
    MM

    Hello Menaka,
    Select the WBS element in the project builder.
    Cleck on Edit --> Validation Substitution --> Substitution
    You will get the list of Substituitions, Double click on the required Substition rule.This action will generate a log, whether substitution has been succesfully caried out or with some error.
    Kindly provide us that error log to guide you further.
    Regards
    Ravi

  • PO down payment is not picking FI substitution rule.

    Hi All,
    We have an issue with PO down payment and clearing. We have a
    substitution rule on line item level as per company code were default profit
    center is set. But while doing ME2DP, profit center is picking from PO account
    assignment and overriding our substitution rule. We did try with complete
    document substitution rule also but not worked.
    Clearing of the pre-payment is deriving the profit center of
    the account assignment on the PO, overriding our profit center substitution.
    This is only happening with PO down payment. Please let me
    know any solution. 

    Hi Rakesh
    If the Down payment GL you are referring to is a Balance sheet account, your substitution should work.. How have you written your substitution? Can you give a screen shot?
    But if you are referring to the Down Payment Cost Element assigned against your Controlling area, system is correct... For a cost element, PC is always derived from the associated CO object
    br, Ajay M

  • CREATE SUBSTITUTION RULE FOR u0093COPYING LINE ITEM TEXT FOR LINE ITEMSu0094

    Hi every body
    When user post transactions in FB60 we have give the line item text, Suppose no.of lineitems are there in tht instnace my client asked to create the substitution rule to “COPYING LINE ITEM TEXT FOR LINE ITEMS”
    pls tell me the processes how to create the substitution rule
    Plz can anyboby help me out...
    laxmi velaga

    sorry,
    link doesn't work:
    here's the content:
    you must add your rules at event 3 (complete document)
    in an exit of ZGGBS000:
    data htext type bseg-sgtxt.
    *find
      LOOP AT BOOL_DATA-BSEG INTO BSEG
                      WHERE    bseg-sgtxt <> space.
      move  bseg-sgtxt to htext.
      ENDLOOP.
    *copy
      LOOP AT BOOL_DATA-BSEG INTO BSEG
                      WHERE    bseg-sgtxt = space.
      move  htext to bseg-sgtxt
    *modify
      MODIFY BOOL_DATA-BSEG FROM BSEG.^
      ENDLOOP.
    http://help.sap.com/saphelp_47x200/helpdata/en/5b/d231a843c611d182b30000e829fbfe/frameset.htm
    please reward useful answers
    thanks and regards
    Andreas

  • Trigger substitution rule for a background job

    Hi all,
    I ve written a subroutine in Substitution rules for FI in GGB1 tcode for F110 transaction to replace the section code (bseg-secco) while posting a fi document.
    but the substitution rule is not getting triggered as F110 runs a background job to post the document...
    The substitution is active and the activation level is active all the time.
    Could u please suggest how to get it triggered for a background job...

    Measuring External Processes
    Use
    The runtime analysis allows you to switch into work processes that are already running and to measure the runtime of dialogs running in them as though they were running in the current session. You can have up to ten external sessions, which may be of any type – for example, dialog, update, or spool. This runtime analysis variant is ideal for monitoring long-running background jobs.
    Filename and Directory
    If you do not want to use the default filename and directory to store files, you can change them using the profile parameter abap/atrapath. If the profile parameter does not contain an entry at all, an error occurs when you start the runtime analysis.

  • GP task is not going to UWL  when defining the substitution rule

    Hi experts,
    I have defined substitution rule for user in UWL,  all task is going to assigned user's UWL
    but  GP task is not going .
    How to solve this ??
    Regards,
    Piyush

    Add a dummy execute sql task as first step inside loop and add a breakpoint to that for OnPreExecute event and check value of variable during each iteration to see if it gets value of each child package witin folder correctly.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • BPM and Substitution rule (Delegate mechanism)

    can we create substitution rule (Delegate mechanism )using BPM

    Hi,
    I have one scenario..!
    If the user is on leave and  and he is not submitting his task for more than 3 days automatically BPM has to redirect that task to another user with out any human involvement. Is it possible?? If so with what version.
    Please help me on this.
    Regards,
    Krishnam

  • UWL Substitution Rule Issue

    Hi All,
    We are facing some issues with Substitution rule in UWL on NW portal 7.3 SPS08
    Issue described below,
    One user has created substitution rule by selecting task type "All" and "Fill In For me" option.
    So, as per the standard process this is visible in assignee's login in UWL under "Other users' Sunstitution rule section".
    But here problem is in this section there are two line items with same user name and task type, one for "Take Over" and another for "End Take Over".
    But as these both are from same user and for "All" type of tasks, it should have only one entry. and both "Take Over" and "End Take Over" should be operated from one entry and two entries of same type is not required, Screenshot is attached here with,
    We are required this to be sorted out asap, any help is appreciated...
    Regards,
    Bhavin Anajwala

    Hello,
    In continuation of my earlier...can you please check if Substitution from manager is Activated ?
    SBWP -> Settings -> Workflow settings -> Activate/Deactivate Substitute....
    If it is deactivated......then Login as secretary:
    SBWP -> Settings -> Workflow settings ->  Adopt Substitution....
    Also goto TCode PFTC...
    And check your TASK that is not coming in secratary inbox....
    Select Additional data -> Agent Assignment -> Maintain data....
    Select task and click on attributes.....
    Make sure correct classification is mentioned for this task....it should be same to what has been delegated to secretary......
    If are able to resolve the query then please let us know how...?
    Edited by: Saurabh Agarwal on Jul 20, 2011 11:44 AM

  • Profit center substitution rule miss matching or not working properly

    Hi Experts,
    We have a   substitution rule for profit center for sales group and profit center rule is like
    Is the sales group is 123 profit center should be 123, but now for some g/l like sales deductions that rule is not working for sales group BG1 PROFIT CENTER IS COMING AS BG4  in the same sale order
    I have checked out OKB9 settings also but for that g/l there is no derivation rule has been defined and there is no    cost derivation also
      Please help me out how find out the correct reason
    Thanks in advance,

    can any one give tthe sujestions ,plzzzzzzzzzzzzz
    Thanks and Regards
    Visu

  • Substitution Rule not working for invoice receipt

    Hi All,
    I have written a Substitution rule using OBBH T.code for Call point "2" - Line item, The rule details are as below
    For Account "GR/IR Account" And "Business Area=XXXX" Substitute "Profit Center = YYYY"
    When I do Goods Receipt the my substitution is working, it is replacing the existing cost center to "YYYY", but when i do Invoice Receipt the profit center is being derived from the account assignment of the WBS element.
    I tried writing a derivation rule 3KEI and it didn't work either,
    How can i make my above substitution to work on both (GR and IR) accounting documents.
    Any help is greatly appreciated.
    Thanks
    Shasha

    Hello,
    Perhaps your prerequisite need to contain other BKPF values like, company code, t-code, etc (if any).
    Also please run program RGUGBR00 in SE38 to activate programs.
    hope this helps
    Regards
    Ajith

Maybe you are looking for