OBBH - Substitution Routine

Hi All,
We have taken a substitution routine RGGBS000 access key and included one routine for BSEG-HKONT (house bank value change) it was working in the production since 1 yr.
Now i got a requirement to change the values for withholding tax base amount and withholding tax exempted amount both these are from BSEG only.
What is your suggestion in the above case.
Should i modify the same routine which was done for housebank or should i go for another routine. i already tried to put code in the existed routine for housebank....but surprisingly, what ever the values i have put in the code was getting refreshed when it comes to screen.
I was wondering... the same routine(place) is working for housebank but not my withhold tax base/exempted amounts.
Now the Problem is i never gone through the total process for creating/modifying substitution routines.
Please suggest me a solution regarding my problem and if posible give me the posible steps that i have to proceed with the system. I dont any thing about this substitution routines Funda, the routine for housebank was done by somebody who has quit the Org.
Please... suggest me.
Thanks,
Bye

Dear Deva,
I have taken RGGBS000 acceskey and there is no probs to coding in this RGGBS000(its my client preferance).
BSEG Structure is avalible and one routine is changing one of its field(housebank) also. i had put my code in the same routine but.... my values is getting refreshing, i mean it was not comming to the screen.
I guess there might be some procedure after changing the existed substitution routine prg..
Thanks,
Diwakar

Similar Messages

  • FI Substitution Routine (OBBH) - error in formula

    Hello FI Experts,
    I am an ABAPer.
    My requirement is to write a Subst routine(OBBH) using  call point 3 which
    checks for a given range of co codes (BUKRS) and reason codes(BSEG-RSTGR)  NOT equal to '   ' (space) at <b>document item level.</b>
    But i am unable  to create a formula in pre requisite  which checks for a range of co codes(BUKRS) and also Reason codes(BSEG-BUKRS as it is throwing an error.
    My pre requisite formula should be like :
    BKPF-BUKRS >=1000 AND BKPF-BUKRS <= 2000 AND BSEG-RSTGR <> ' '.
    when i use the formula builder its not allowing me to write a space for
    BSEG-RSTGR <> ' '. It only enables the commentary button
    How can i acheive this?  Please help.
    Thanks
    Dany

    Dan - If you use call point 2 (at document item level) & not global you  will  be able to assign and you can write a space for BSEG-RSTGR <> ' '.
    It  enables the both the commentary & constant buttons.
    Bye

  • Variable substitution in Unit Testing validation - Date format?

    Using SQL Developer unit testing, I am having difficulty comparing Date datatype in a validation.
    I use a Dynamic Value Query to set the parameters of an insertion procedure under test.
    select * from (select doc_nbr as p_mstr_doc_nbr, doc_nbr as p_assoc_doc_nbr, sysdate as p_date_added from documents sample(0.01) order by dbms_random.random)  where rownum <= 1;So P_DATE_ADDED is a DATE datatype.
    I wish to validate that the insertion was correct. So I run a Process Validation returning one or more rows.
    SELECT * FROM X100_ASSOC
      WHERE MSTR_DOC_NBR = '{P_MSTR_DOC_NBR}'
        AND ASSOC_DOC_NBR = '{P_ASSOC_DOC_NBR}'
        AND to_char(DATE_ADDED,'dd-MON-yy HH24:MI:SS')  = {P_DATE_ADDED};I understand that the {P_DATE_ADDED} is substituting in a string. From Help page :
    "What is actually substituted is the string representation of the parameter value. For example:
    If P1 is a parameter of type NUMBER and has the value 2.1, the string {P1} will be replaced by the string 2.1.
    If P1 is a parameter of type VARCHAR2 and has the value ABC, the string '{P1}' will be replaced by the string 'ABC'. (Note the single-quotation marks around {P1} in this example.)"
    I need to know the format that the date is cast into as a string. Then I can do the comparision on the where clause.
    Any answers? or details of where is more in depth documentation?
    Thank you,
    Bill

    I agree as a general rule. However in this case, it appears that the variable substitution routine is returning the default format. So to compare my expected data to the returned data I choose to use the default format. If the variable substitution routine specified an explicit format, I would use that. In my original question, I asked if anyone knew the format.
    Regards,
    Bill

  • Text substitution does not work on all apps

    Text substituiton feature works fine in Mac Mail, but does not work in Microsoft Word, excel and others.
    How can I fix this?

    Word and Excel do not support the system level text substitution routines. These work only with native apps like Mail, TextEdit and so forth. Some third-party apps can also tap into them.
    The workaround is simple:
    Preferences>AutoCorrect
    Word will allow you to create any number of text substitutions. They won't, though, interact with native apps like Mail.
    Microsoft Outlook, being more of a native OS X app, does support the system level text functions.

  • FI substitution rule for Business area  on New GL view(FAGLFLEXA)

    Hi Gurus,
    Need a your expertise guidance.
    We have a requirement to substitute u2018Business areau2019 field on GL view(table u2013 FAGLFLEXA) for all FI postings.. I am trying to achieve this by OBBH substitution rule using user exit, Is this possible anyway??
    I have already worked with my developer, but he is not getting any clue to write a logic in the user exits available in OBBH.. can anyone please guide us..
    Actual requirement is to update u2018Business areau2019 field on all FI postings at new GL view for some of the company codes (not all), I am not sure if we can achieve it by activating document splitting by business area field.. we have document splitting active already by profit center and segmentu2026
    Please guide me..
    Many thanks in advance..
    Prasad

    HI pampana,
    If you add the Business area is document splitting char's  with Mandatory check box
    then reach and very line will update the business area value in Doc splitting.
    But you allready have profit center as a doc splitting char's
    If you want to Business area is new doc splitting char's then you need
    go for NewGL migration.
    Please refer the NewGL migration scenario 6, 7 for your case.
    please check the link
    http://wiki.sdn.sap.com/wiki/x/JghNCw    (NewGL Migration Secnarios)
    Regards
    Madhu M

  • Substitution for FI Parked document

    Hi all,
    I have a requirement to make some field like xref2 substitution when I make up a parked document via F-63. I am aware that regular OBBH substitution is not available for parked docs. So the question is do anyone could suggest any standard solution\enhancments? I've already tried few of them like BTE - 00001030 & BADI - AC_DOCUMENT both CHANGE_INITIAL & CHANGE_AFTER_CHECK methods and got no good. So I would appreciate any suggestion.
    Thanks,
    Tim.

    Hi Kumar,
                    I am working to design a Journal entry Workflow for my client.Can you please let me know what are the best practice to implement the Journal entry process.Please let me know how this workflow was implemented in u r case.
    Reply will be gretly appreciated.
    Waiting for u r reply.
    Thanks,
    Yogesh

  • Profit Center Substitution in GL Account

    Hi Guys,
    I have a mini project to solve the below mention Client Scenerio:
    It appears that profit centers are not being reliably determined for postings to account 420XXX in CoCode USXX for intercompany shipments to Canada. The profit center determined was 99xx but should have been 20xx.  The profit center should have been correct on the associated billing document and then it flows into the accounting document during posting.  The profit center is determined via a substitution routine or SD copy control user exit. 
    Please Propose a solution to make necessary correction.
    I will assign point for suggestion and resoluation.
    Thanks
    Shoeb Kanpurwala
    I

    Hi Liz,
    I´ve got the similar problem like you wrote. 
    My client had a reorg project behind and locked the old profit centers. For the reason of clearing open items and FX valuation those locked profit centers need either to be  re-locked or the posting need to be posted to the new profit centers by using substition. Could you please kindly advicehow did you solved this problem?
    OR maybe someone else can help?
    Many thanks in advance.

  • Substitution BSEG-ZBD1T

    Hi Experts!,
    I need to change te field BSEG-ZBD1T with a FI substitution or a user-exit. I change the value BEXCLUDE of the table GB01 but I can`t change the field in my substitution yet.
    Any idea??
    Thanks

    Hi,
    Did you already run program RGUGBR00 to regenerate the substitution?  If not, refer to [Note 842318|https://service.sap.com/sap/support/notes/842318] which includes the following instructions: "...make sure that the generated source code is up to date. You can use the report RGUGBR00 to do this.  Call this report in transaction SE38... enter the application area, for example FI, and the application callup point... and set all indicators except for 'Generate substitution routine in all clients' and 'Generate trace program calls'. Then execute the report."  The callup points can be found in table GB31 (for VALUSER = 'FI').
    If you have already generated with RGUGBR00 and still have a problem, then further research (and possibly a customer message to SAP) might be needed.
    Cheers,
    Jamie

  • Error while doing MR11 as enter Profitability segmet as Cost object

    Hi All,
    While doing MR11, we noticed a error message (ZC - 001) as "Enter Profitability segment as Cost object for Revenue and COGS posting".
    The specified Material account is created as Cost element (CE Category 11) and in OKB9 configuration this cost element is choosed (ticked) with the option "profitability segment". Also there is no substitution rule to derive profitability segment in OBBH substitutions.
    However there is a validation (GGB0), where the above specified Material account is included in the range of accounts in the Prerequisite, and Check as "Profitability segment is > (greater than) 0000000001 and with the message maintained as "Enter Profitability segment as Cost object for Revenue and COGS posting".
    Can any please help why this error has come at the earliest.
    Thanks & Regards
    Karun

    Hi Eli,
    Thank you very much for reply.
    I hope the note 184987 is not applicable in our case as the Field status of specified Material account does not have required entry for Profitability segment.
    Can you please let me know if we have entry in OKB9 and existance of entry in Validation creates the problem and throws the above error message?
    With regard to other note 134484 which you have specified on "error in Account assignment check in MM transactions" says "A detailed default account assignment (for example profitability segment) was defined in Transaction OKB9. However, the profitability segment is not set up correctly for goods movements: the characteristics material, plant, business area are missing. A later check of the profitability segments against material, plant and business area then generates an error message since the profitability segment is inconsistent".
    Is there any way to confirm whether this situation is leading to our error before implementing this note.
    Thanks & Regards
    Karun

  • How to avoid withholding tax posting in the case of ERS

    Hi
    We are trying to process Rent using Frame work Order.
    The issue here is withholding tax codes maintained for other purposes like Professional Fee, etc in the vendor master gets picked up automatically in this Rent invoice and the relevant WH Tax postings are made in the accounting document.
    Being ERS and usage of T code MRRL, the invoice generation is automatic instead of manual MIRO. Hence, user has no control to deselect withholding tax codes while generating invoices.
    Appreicate any suggestions how to avoid this?
    OR
    Is there any way of posting rent using frame work order instead of ERS (ie MRRL)?
    Please let me know if I m not clear.
    Thanks
    Sridevi
    PS: In Spain, there is no WH tax on Rent

    Hi,
    Assign a new Accounting Document to T. Code "MRIS" in OMR4.
    First create a new Document Type
    Then Assign Document Types in Invoice Verification
    Now go to OBBH - Substitution in Accounting Documents and write substitution for this new FI Doc Type and T. Code MRIS. Here take help of your FI consultant.
    You can use field XREF3 - Cash Flow, and keep constant vale for this as "Blank" since it is Relevant with Cash Flow.

  • BTE 1640 for FBL1N

    Hello All,
    I have used BTE 1640 to display some text at the header of  tcode FBL1N.
    I have appended the text lines in table T_LINES and the text is displayed correcly on the vendor display header at the top.
    But when I do sorting of the line items the header text displayed at the top goes away.
    Is there any other BTE to do this change or do we have to activate any other BTE so that even while displaying the sorted line items the header text remains unchanged.
    Thanks in advance
    Regards,
    Neelambari
    Edited by: neelambari naik on Mar 1, 2011 1:23 PM

    Hi,
    It may not be the appropriate one. Try couple of them by placing break points in as many as possible. if not go for Substitution routines.
    thanks
    Dany

  • Validation and Subtitution for accounting document (FB01) by EXIT method

    hi experts,
      i want to modify the bseg-vbund field while posting in FB01. for this i  need to insert my logic to find out the vbund value and i need to subtitute  the new value for  posting the document.
    for this requirement i wriiten my logic in exit U102 ( by copying the program RGGBS000 to ZRGGBS000  and assigned in ( GCX2 transaction ) and uncomment the code for form U102 )
      i created one (OBBH) substitution and selected the 'ONLY EXIT'  option then i saved .but the system througing error as ' EXIT U102 has the incorrect type' .if i remove the type reference in form it is saving but the field is reset to original value while saving and not taking my substitution.
      and i want to change the field BSEG-VBUND which is not in the substitution list is it possible?
       is this is correct or any other method is correct?
       i checked in BTE,user-exits and BADI  which is applicable for FB01 ,i am not getting any suiteable solution.
      please suggest me.

    (1) don't duplicate posts Fb01 - enhancement
    (2) Look at parameters when filling the EXITS table
      use a C_EXIT_PARAM_NONE parameter under Line Item node.
      Also use a TABLES BSEG declaration and directly udpate the BSEG-VBUND field.
      OR
      put your Step rule under the Complete Document node and update the value in
      a LOOP AT the received parameter.
    Regards

  • Assign Functional area to Profit Center Distribution Cycle postings

    Hi All,
    I am using a NEW GL distribution cycle (Tran Code : FAGLGA35) for distributing balances in the Dummy Profit center to relevent Profit centers.
    My Company is using Functional area for FIN STAT Ver and other reportings. When I run the profit center distribution cycle, it distirbutes the amounts but doesnot assign the Functional areas to the posting. Is there a way I can pass the functional area of the relevent postings of the accounts to the postings of each distribution postings.
    Thanks
    MKR

    Dear MKR,
    Thank you for using the SAP SDN Forums,
    In this particular case, you could have a look at the following to
    see if it helps you, but I have not tested this for your case
    so it is not being offered as a definite solution:
    You could look at using FAGL_ALLO_SUBSTITUTE which might be able to
    help you to get the results that you want.
    Due to the inheritance logic in allocation, if you set "transfer
    field" option active for the field (T811I-INHER), the system copies
    the sender value to the receiver if the receive value is not specified.
    Please refer to SAP Help portal:
       http://help.sap.com/saphelp_erp2005vp/helpdata/en/40/e1510735f30baee10000000a114cbd/frameset.htm
    You can deactivate "transfer field" flag in customizing
    and use BAdI : FAGL_ALLO_SUBSTITUTE to substitute the intended
    functional area. (This BAdI is the "official" way to substitute any
    field during allocation, rather than OBBH substitution.)
    I hope this may be of some assistance in resolving the issue.
    Kind Regards,
    Brendan

  • Error while creating GRN

    Hi,
    We are finding the error "Rule 1V001_LN021 message no. GB 102" while doing GRN against PO through movement type 101 or any entires GR against delivery etc......As per my understanding if any inventory posting is happening system is throwing the above mentioned error.
    We are not able to check what the error is all about there is some probs in out network connectivity.
    Please help.
    Regards,
    SD.

    Hi,
    Check FI Validation / Substitution setting in OB28 (Validation) / OBBH (Substitution). Rule is not created which is given in the message.

  • Help on OB28

    Hi experts,
    I have a requirement where in ZZBENEFITS will be created in the validation. A user should enter value from the list. The value is already filtered depends on the wage type defined in the transaction. Should I create in the OB28? And also should I maintain a custom table in SM30 that will hold the values and use this as Check table for easy maintenance? Or a Group SET ID would help?
    Are validations names the same with the fieldnames?
    Really need your assistance because I'm not famliar with OB28.
    Your professional advice will be appreciated. \
    Thanks!

    Ella,
    This is not possible in OB28. A validation looks only if the values is OK or NOT.
    When you want this you can tray to use OBBH Substitution with an user exit.
    The substitution is the step before the values are in the memory from the program (here you can change/ ad values) and the validation after (no changes possible)
    Do this only in some cases. When you have to many validation and substitutions no one understand what is happening and when thing are changing or when there are errors it can take hours even days to found and solve the problem. When thing are not working (blocked) users will found other solutions (use an other wrong G/L account, cost center,...)
    Paul

Maybe you are looking for

  • Super Slow Load Times

    I am having ridiculously long load times under Logic 9.1.1... up to five minutes for some projects. This is happening in both 32 and 64 bit modes. Anyone have a similar experience or a workaround?

  • Photos are show in wrong order

    Hello, I bought an iPod Touch 32 GB because I thought it's a good way to carry my pictures with me. The problem is that within the folders/albums the pictures are displayed in the wrong order. It's not chronlogically, by name or something else I can

  • Timeline won't survie a save

    I can't get a timeline to survive closing and opening of the file. I am new to dreamweaver and don't know what is really going on or why it is not working. The problem: I create a simple timeline giving it a name. Define a few behavors that show and

  • Rename Fact dimension in tabular model

    Hi there, I have a small Question I wanna rename Fact dimension  in tabular model I mean I was using Fact table as a dimension as well. Fact Table: SaleOrder Dimension: SalesOrder So under measures it should display as Fact_SalesOrder and Under dimen

  • Unable To Read Online Adobe PDF Files

    Hello! New to the forum...I have Reader 9 and when I go to open a PDF file online, I get a window saying the version I am currently running is not set up for online reading as well as needing Reader 8 or higher to open it. Any help is appreciated. Ta