Code Combinations for Segment Hierarchies

Dear Members,
I have one question on Hierarchies in GL Accounting Flex fields. I read the documentation on Flexfield hierarchies, in which its said that generally hierarchies are used for only GL accounting flexfields.
Suppose One of the Accounting Flexfield Segment Value hierarchy structure is like this :
1000
_________|_______
100 200 300
____|____ ____|______
101 102 301 302 303
_______|______
303A 303B 303C
__|__
303BB
This hierarchy is not coming properly when i post it so i am explaining it in detail here :
Parent Child
1000 ---> 100 200 300
100 ----> 101 102
300 ---> 301 302 303
303 ---> 301A 303B 303C
303B --> 303BB
Here 1000 is the parent which has childs and they inturn have childs. This is used maily for reporting purpose in GL. I do not understand how a code combination is generated for the above structure in gl_code_combination table.
Suppose we have 5 segments in our accounting flexfield structure
ex: seg1,seg2,seg3,seg4,seg5 and 1000 in the above mentioned structure is seg3.
how does a combination is generated if we want the information pertaining to 303BB which is the leaf node value in the hierarchy.
seg1.seg2.seg3.seg4.seg5 --> how does this change if we have hierarchies.
It would be great if you can help me out in this.
Thanks
Sandeep
Message was edited by:
user340
Message was edited by:
user340
Message was edited by:
user340

Hi :
1000 is a parent ---> 100 200 300 are chid
100 is a parent ----> 101 102 are chid
300 is a parent ---> 301 302 303 are chid
303 is a parent ---> 301A 303B 303C are chid
303B is a parent --> 303BB
Here 1000 is the parent which has childs and they inturn have childs. This is used maily for reporting purpose in GL. I do not understand how a code combination is generated for the above structure in gl_code_combination table.
seg1,seg2,seg3,seg4,seg5 and 1000 in the above mentioned structure is seg3.
a combination is generated for every single combination oif child values (child valued should be posting allowed = yes meanwhile parent values should be posting allowed = no) for every segment
so at the end the combination is created whenever you use child value for every single segment
if you have rollup groups associated to the parent values, you can define summary accounts and balances are going to be automatically updated for parent values so even you can query onbalances on parent values
I hope this gives you some light

Similar Messages

  • Access Sequence for Plant/Tax code Combination  for JTAX

    Dear All
    i want to create a new access sequence for "Plant/Tax code" Combination.
    Please let me know the process for the same
    Regards
    Amey

    Hi,
    Goto- M/05.
    Create the condition table by selecting the fields Plant & Tax code.
    Assign this condition table in the Access sequence JTAX as per ur requirement.
    Create condition records (FV11) by choosing the requirec access sequence.
    Regards,
    Satpal

  • To get code combination in transaction screen -AR

    hi all
    i am using r12
    in AR super user -transactions-in the transactions screen -when it is queried say 10000086 in the field Number
    when distributions tab is clicked we get to see a field named GL account eg 701-100001-1000-0101-1220001-000000-0000-0000
    when i see record history for Transactions screen it says RA_CUSTOMER_TRX_PARTIAL_V
    when i see record  history for gl account   RA_CUST_TRX_LINE_GL_DIST_V  but i don't see the code combinations
    how to join RA_CUSTOMER_TRX_PARTIAL_V and RA_CUST_TRX_LINE_GL_DIST_V
    i did join with customer_trx_id but it gives more number of rows
    kindly guide
    thanking in advance

    Do you want sql script to find GL Code Combinations for a AR transaction?
    If yes, following is the query.
    select rcta.trx_number, gcck.concatenated_segments
    from ra_customer_trx_all rcta, ra_customer_trx_lines_all rctla, RA_CUST_TRX_LINE_GL_DIST rctlgd, gl_code_combinations_kfv gcck
    where rcta.trx_number = '<Give your AR Invoice>'
    and rcta.customer_trx_id = rctla.customer_trx_id
    and rctla.customer_trx_line_id = rctlgd.customer_trx_line_id
    and rctlgd.code_combination_id = gcck.code_combination_id;
    If you are looking for something else, please be clear
    Regards,
    Srini

  • Difference in Account Code combination at Transaction and Accounting entry

    Hi All,
    We are working on Subledger Modifications (SLA) for a Client in order to meet few key business scenarios... Even though we were able to achieve the desired outcome through SLA, client is not pleased about the fact, there exists two different account code combinations for a transaction i.e.
    1) The account code combination that is defaulted or entered in the transaction
    2) The account code combination that is used for creating the accounting entry considering the modifications done at SLA.
    There is a difference between the above two, due to modifications carried out in SLA. 
    Since the scope of SLA is limited only to make changes at the Accounting entry level, such variations would exist, however client is not comfortable with such an approach.
    We are performing the SLA changes for three modules:  1) Cost Management 2) Accounts Receivables and 3) Accounts Payables
    If someone has worked on such similar situation in your previous assignments, perhaps you can share how the same was addressed.
    (Such as any customizations, Workarounds, irrefutable justifications etc ..)
    Thanks and Regards,
    Karthikeyan

    Hi,
    Check is there any restrictions are there . the data must be displayes if the data is there in infocube.
    Regards
    sivaraju

  • Insert into rcv_transactions_interface, Invalid Code combination

    Hi All,
    I am new to OM and just trying to figure out where is gl_code_combination is stored in this table rcv_transactions_interface . I am currently facing a issue where Receiving transaction proecssor givs us a error as
    "Invalid gl code combination for a record".
    Can any please tell me where this gl_code_combination is stored? i would like to know the table name and change the valkue there itself.
    Thanks in Advance.
    Regards,

    "trying to figure out where is gl_code_combination is stored in this table rcv_transactions_interface"
    According to the ETRM (accessible via the Metalink) two columns in the table rcv_transactions_interface are connected to the table "gl_code_combinations."
    These are:
    CHARGE_ACCOUNT_ID
    TRANSPORTATION_ACCOUNT_ID
    I think that the column that mainly interests you is the first one..
    Greetings,
    Sim

  • Updating one Segment Value in GL Code Combinations

    Dear Members,
    We are using Oracle GL in our Organization from past couple of years.
    Our COA consists of 6 Segments (i.e, Company--Organization--Area--Activity--Account--Product)
    Now users are requesting us to change few account combinations for instance
    11-00-00-00-123456-0000 to 11-00-00-00-123456-1000 ie. We have to update all the Posted and Unposted Journals having code combination of 11-00-00-00-123456-0000 to 11-00-00-00-123456-1000.
    Please let me know whether this is a common practice? Are we allowed to do such updates without any adverse effects?
    If we are allowed to update is there any API available?
    Many thanks in advance.
    Best Regards.

    Hi
    If you do this from the backend (i.e. update GL_JE_LINES and GL_BALANCES) it is completely unsupported (for obvious reasons).
    If you want to do it via the frontend the General Ledger Mass Maintenance function will do it (Setup > Other > Mass Maintenance), i.e. it will move the balances from one combination to another. It does not create journals to do so though so it depends on the business requirement as to whether an audit trail is required for the change.
    It's a pretty common practice - finance often want new cost centres, change their minds about cost centres and move balances around. I usually don't use Mass Maintenance as the auditors usually prefer journals but if a mistake was made in the cost centre setup or something then yes, Mass Maintenance works. Give it a shot in your test environment, show finance what results and check that they are happy with that.
    Regards
    Jo

  • Gl code combination segments description

    Hi all
    i am feeling very difficulty to retrieve the gl code combination segments description. Can any one help on this by giving the query
    Advance Thanks

    See http://ashokkumartj.blogspot.com/2011/02/key-flex-field-structures-table-details.html for useful queries for KFF

  • Need an API to Validate the Segment Values of an GL Code Combination

    Hi,
    I have a requuirement wherein i need to validate the semgent values of an GL Code Combination. I want to know is there any API to Validate the Segment Values. The API should be able to validate the segment values for existence in value set, enabled/disabled, Posting flag enabled or disabled (i.e Compiled Attributes Validation).Please provide me some pointers.
    Thanks & Regards,
    Siva

    look at FND_FLEX_EXT or FND_FLEX_KEYVAL
    FND_FLEX_KEYVAL.validate_segs

  • Segmentation Error : Server returned HTTP response code: 500 for URL

    Hi,
    when we do customer segmentation in Applet Java Builder, we create a target group using 2 or more criterion, then it prompts us an error "Communication Error" - Server returned HTTP response code: 500 for URL: http//xxxxxxxxxxx/bc/bsp/sap/CRM_MKTTG_SEGAP/communication.do
    we're in CRM 7.0 SP 6.
    What we have done
    - activated the service CRM_MKTTG_SEGAP
    - implement sap note 1481289, 1359890, 1161753
    any info is really appreciated.
    Thanks
    JD

    HI ,
    Communication error occurs because of two active versions of segment builder jar files are appearing , deletion of older version resolves this issue .
    Go to SE80 u2013 Select the BSP Application - CRM_MKTTG_SEGAP and check segmentbuilder.jar Segment Builder Applet under MIME folder and check the size and delete the older version .
    Regards,
    Satish Bondu

  • Customer Conversion-"Incorrect Code combination id for Receivable account"

    Hello experts!!
    I have created the customer conversion program the customers.
    All customers are getting loaded into the base table properly as expected . But for few customer it is throwing the below error:
    "Incorrect Code combination id for Receivable account"
    I have checked all the setups related things upto my knowledge everything is perfect.
    Could anyone help me out what would be the cause and how can i fix this error.
    Waiting for your valueable reply..
    Thanks,
    Thiru.

    As per the message, identify one of the failed records and retrieve the code combination used. From there you can validate that a) the id exists for the LE on the gl code combinations table and b) that it passes whatever cross validation rules are enabled for the organization.

  • Validation table for region/sales district/postal code combination

    Hi Folks,
    Is there any validation table for region/sales district/postal code combination? As I am looking for some standard functionality where a user if puts a wrong zip code/ postal code for a specifc city or country while creation of customer master then system should not allow and throws any kind of error or warning message.
    Please let me know if there is somethiong like this.
    I have some failt idea that we have something in standard SAP where we get a pop warning where postal code-country and postal code-city combination does not exist.
    Please let me know the transcation code and table name for that.
    Thanks and cheers,
    Sandy

    Hello,
    I'm not aware of any settings for this which include sales district.  For the rest a few spots to look at:
    -SAP NetWeaver>General Settings-->Set Country-Specific Checks (some controls for postal code per country)
    -SAP NetWeaver>General Settings-->Set Country-Insert Regions (country to region ties)
    ---Flexible Real Estate Management >Address Management>Regional Structure/City File-->Cities (have not worked with this area but you'll see several nodes for dealing with cities here).
    Hope this helps.

  • GL Code Combination from GL_SUBR_LED table using ACCT_ID and ACCTNG_UNIT_ID

    Hi Gurus,
    Is there anyway that I can get the GL Code Combination ID from GL_SUBR_LED for OPM Transaction by using the ACCT_ID and ACCTNG_UNIT_ID. It is very urgent.
    Please help me on this.
    Thanks,
    Genoo

    Yes, one parameter per segment. As I explained earlier, I'm currently doing it just fine using 3 separate queries, but it seems highly inefficient.
    Here is what I'm doing [but wanting to create a view]:
    Parameter 1: Company segment1
    Parameter 2: GL Account segment2
    Perameter 3: Dept (cost center) segment3
    So I was thinking the view should look something like [each are columns]:
    co_value | co_descr | gl_acct_value | gl_acct_descr | dep_value | dep_descr
    I did something like this yesterday---but that's definitely not what I want.
    (SELECT     fvt.flex_value_meaning, ffv.flex_value
         FROM     apps.fnd_flex_values_tl fvt, apps.fnd_flex_values ffv
    WHERE          ffv.flex_value_id = fvt.flex_value_id
                   AND ffv.flex_value_set_id = y
                   AND ffv.enabled_flag = 'Y')
    UNION ALL
    (SELECT     fvt.description, ffv.flex_value
         FROM     apps.fnd_flex_values_tl fvt, apps.fnd_flex_values ffv
    WHERE          ffv.flex_value_id = fvt.flex_value_id
                   AND ffv.flex_value_set_id = x
                   AND ffv.enabled_flag = 'Y')
    Edited by: Akatsuki on Aug 31, 2010 1:46 PM
    Edited by: Akatsuki on Aug 31, 2010 2:00 PM

  • Code Combination Validation

    Hello,
    Has anyone setup Code Combination validations in Hyperion Planning? I have done it to a certain extent using forms or security. Is there a way to setup full blown code combination validation like it would be done in GL?
    Thank you,
    Nitin

    Hi,
    There is a method that works both at the web and smartview. It's quite straight forward and maintainable.
    Prepare a query that would extract the combination data along with a dummy data column (i.e. 0 for all records). Load this data to Essbase, but when loading you should select a constant member from any dimension that does not exist in code combination. For example, you do not probably have segments in GL called version or scenario, likewise code combination usually does not contain period or year. So, load the data to a constant member from each of these dimensions (i.e. Begbalance, noyear, noversion, noscenario etc.)
    In the next step you need to create dynamic calc members in any of these dimensions which you use at the column section of the forms. Usually it's only period but it might be necessary for other dimensions also. No matter in which dimension, The member formula for these members will be as below:
    Begbalance->noyear->noversion->noscenario; this is in short the combination of constant members you use while loading the code combination.
    Now edit a form and add a column as the first or last position, place this dynamic member and hide the column. If you have more than one dimension in the column that you used constant members in data load then placing the dynamic member from one of them is sufficient. For example, you might have both period and scenario on the column section. Then place only period dynamic member and select any scenario. On the rows section, enable suppression on missing data (not block). Ultimately, you must do this customization in all the forms you want code combination to kick off.
    This way only the valid combinations will appear on the form and the others will be disabled. We are happily using this for a long time.
    Cheers,
    Alp

  • How to get Code Combination Range (Account Range From - Account Range To)

    Hi,
    I have a requirement that I need to get the range of code of combinations based on the parameter (Account Range From & Account Range To) in the query. Please could anyone help how to fetch this value based on the parameter.
    Account Range From (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    Account Range To (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    These is the example of value which I will be getting on the Accounting Range From and Accounting Range. Based on this account range, I need to pull records from the GL_CODE_COMBINATIONS table. Any help on this plz?
    Thanks,
    Geno

    I would not use the code_combination_id. That code_combinaition_id is incremented by one for each new account, so unless you happened to create all your accounts in the right sequential order (not likely), then you cannot do a range of FROM code id a TO code id b. Do an SQL against the code combinations table and sort on the segments columns and take a look at the code combination id on each row, and I think you will see that they jump around quite a bit. I think you can only rely on using the segment columns values for doing an account range.
    John Dickey

  • GL Balances with segment Hierarchies in Discoverer

    Does anyone here have the need to report on GL balances using the Account segment hierarchies?
    The only way users can utilize the GL segment hierarchies is through FSG reporting and some other products such as DBI and EPF.
    Each segment in GL accounting flexfield can have one or multiple hierarchies and the hierarchies are defined as parent child relationship in the FND_FLEX_NORM_HIERARCHY table. Because of the nature of the way these hierarchy is defined in GL it cannot be directly consumed for Discoverer reporting.
    To take advantage of these hierarchies in Discoverer, I have developed a solution that flattens the hierarchies in one go and the flattened hierarchy can then be mapped to Discoverer hierarchies. Once this is established, users can truly benefit from Drilling down and rolling up feature of discoverer hierarchy and I have seen users just love this feature. I am sure this can be adapted to OBIEE too.
    If you would like to know more about this solution, please let me know njethwa @ gmail . com
    Thanks and Regards
    Nilesh
    http://www.infocaptor.com

    You can find the code and documentation here
    http://www.infocaptor.com/dashboard/gldisco
    Design Dashboards

Maybe you are looking for