I want display account description per perticular  code_combination_id

Hi
Can any one give the query, I want display account description per perticular code_combination_id, Where this account discription will store?

Hi.
Use either of the below queries:
Query 1.
=====
select ffv.description
from fnd_id_flex_structures ffst
,fnd_id_flex_segments ffse
,fnd_flex_value_sets ffvs
,fnd_flex_values_vl ffv
where ffst.application_id = 101
and ffst.id_flex_code = 'GL#'
and ffst.id_flex_structure_code = '<<Your Accounting Flexfield Structure Name>>'
and ffst.application_id = ffse.application_id
and ffst.id_flex_code = ffse.id_flex_code
and ffst.id_flex_num = ffse.id_flex_num
and ffse.flex_value_set_id = ffvs.flex_value_set_id
and ffvs.flex_value_set_id = ffv.flex_value_set_id
and ffse.segment_name = '&Segment_Name'
and ffv.flex_value = '&value'
Query 2:
=====
select id_flex_num
from fnd_id_flex_structures
where application_id = 101
and id_flex_code = 'GL#'
and id_flex_structure_code = '<<Your Accounting Flexfield Structure Name>>'
select ffv.flex_value
,ffvv.description
,ffvs.FLEX_VALUE_SET_ID
,ffse.segment_name
from fnd_id_flex_structures ffst
,fnd_id_flex_segments ffse
,fnd_flex_value_sets ffvs
,fnd_flex_values ffv
,fnd_flex_values_vl ffvv
where ffst.application_id = 101
and ffst.id_flex_code = 'GL#'
and ffst.id_flex_num =50134 -- This is derived from the first part of Query 2
and ffst.id_flex_num = ffse.id_flex_num
and ffse.segment_name = <SegmetName>
and ffse.flex_value_set_id = ffvs.flex_value_set_id
and ffvs.flex_value_set_id = ffv.flex_value_set_id
and ffv.flex_value_id = ffvv.flex_value_id
and nvl(ffvv.end_date_active,SYSDATE) >= SYSDATE
Hope this helps.
Cheers
JD

Similar Messages

  • How can I display Account description text from country-specific CoA ?

    The below quote is from the description of Country Chart of Accounts in OBY6.
    "The essential programs in General Ledger can output either the unique worldwide number or the country-specific number and the corresponding text."
    I am not able to figure out how to configure reports so that the country-specific number and corresponding text is displayed in programs. When I run reports such as FBL3N, the program is picking up information from the global CoA. Please help!

    Hi
    To view the GL line item in Country Chart Account, Run Report S_ALR_87012332. In selection field choose alternate account in outout control.
    System will give the Detail as per Country Chart of Account.
    Thanks
    GG

  • How to display Account Description in Description column taking AcctCode

    Can anybody find out the error in this query. I am trying to get Account Name in AP Invoice - Service document on the input of Acctcode at Row level by the user.
    SELECT Acctname from OACT where AcctCode='$[PCH1.AcctCode]'

    Sanjay,
    The issue when working on a Service Invoice is the G/L Account column that you see on the screen is actually the FormatCode field in the OACT Table.   Also, the G/L Account column on the AP Invoice might contain '-' when you have segmented accounts.  Removing the dashes might be important before checking the value with the formatcode field on the OACT Table
    Please use the first query if your G/L Account does not contain '-' otherwise use the second one.
    IF $\[OPCH.DocType] = 'S'
         SELECT T0.AcctName FROM [dbo\].[OACT\] T0 WHERE T0.FormatCode = $\[$39.94.0]
    IF $\[OPCH.DocType] = 'S'
         SELECT T0.AcctName FROM [dbo\].[OACT\] T0 WHERE T0.FormatCode = REPLACE($\[$39.94.0],'-','')
    Suda

  • G/L Account Description not displaying in the report

    Hi Friends,
    G/L account description was not found in the report, after loading g/l text and attribuites. Please help me what might be the problem in this regard.
    Regards,
    Raju..

    Is G/L Account depends on Chart of Accounts. Is their any way that G/L acount and description is displayed in report. G/L Account is appearing but not descrition. Master data attr & text loaded fine.
    Raju

  • GL Account description not display..

    Hello Friends,
        In Account Assignment Frame .. GL account Description and Assigned to description not display.. any one facing this problem?
       Thanks,
       John.

    Hi John,
    Can u elaborate on your problem.
    There is a BADI which is used to change the document.
    BBP_DOC_CHANGE_BADI,This BADI can be used .
    To get the GL account details.
    You can use FM 's can be looked at.
    META_GLACCOUNT_GETDETAIL       Get Details from G/L Account
    META_GLACCOUNT_GETLIST         List of G/L Accounts
    Incase this does not solve your issue,please write your problem in details.
    Your statement does not make your problem clear whether it is appreaing in SC or PO and what scenario you are implementation and what is your support pack level.
    regards,nishant
    please reward if this helps

  • FBL3N : GL Account description

    Hi Gurus
    I have a problem whereby I need to have GL Account description in every Line Item Display through Tcode FBL3N.
    As per the requirements from user we need to have GL account description in every line item.
    Please help me .
    Suitable answer will be rewarded.
    Ramesh

    Hi
    I know that for running FBL3N i need to give GL account and company code .
    The problem is that on ethis Tcode is executed , I can see the Gl Line Item Dispaly .
    In that list I want the for every Line item I should get the GL Number and the GL description . I am getting the GLaccount number in each line item but not the GL account description.
    Please suggest me how I acn get this description in each line item.
    Thanks
    Ramesh

  • Customer exists for displaying monthly bugs per release

    I hav only little know ledge in ABAP. I hav to code for a variable, that has to display monthly incoming bugs per release.
    Dim Product
    Info Productrelease
    based on this i hav to display the data in report like this
    created week               2005.03 ...... 2006.03 2006.06 2006.09....
    06/17/2006                   32                   34              343         4324
    06/24/2006                   43                   45               56            454
    please specify a solution.
    Thanks in advance
    james

    I hav a cube with tech name zssen
    in that cube product is a Dimension with technical name zprdpid
    in that dimension i hav a infoobject called product description.
    product contains different like embedproducts like vg1, vg2 vg3 and so on
    productrelease contains descriptions of  releases 233.1 32.3 3443.34 and so on
    each new release i hav to create to restricted key(2006.09) figure based on the variable created on product release(for example 2006.09 ).
    instead of above procedure i have to create a new variable that has to automatically recognise the new version and it has to display on the report.
    please suggest me how to write the code for above scenerio.
    if u want a detailed description i will send a mail.
    please leave your mail id if possible.
    Thanks,
    James

  • Account Description Case stmt

    Hello All,
    Business wants to display account id and account description concatanated together with an '-' seperating them. Account id and Account desc are two different columns.
    So far it looks fairly simple as we need to just concatenate the two columns with an '-' in the middle. But some account id's does not have descriptions so to get there i used a simple case statement but it seems to be not working
    case when "GL Account Hierarchy"."Level 12 Account Description" is Null then "GL Account Hierarchy"."Level 12 Account Id" else "GL Account Hierarchy"."Level 12 Account ID || '-' || "GL Account Hierarchy"."Level 12 Account Description" end
    it does concatene the account id's and descriptions like this 124 - Account which is good but it displays just 124 - in the cases when account desc is null which is not what i want. I want to be displayed just as 124.
    My case stmt logic seems to be correct or i might be something obvious which i am not able to identify. Please advice
    Thanks
    Prash

    Hi.
    Try
    case when "GL Account Hierarchy"."Level 12 Account Description" =''
    instead of
    case when "GL Account Hierarchy"."Level 12 Account Description" is Null
    Regards
    Goran
    http://108obiee.blogspot.com

  • Can we take Balance sheet and profit & Loss account as per plant & Sales

    Hi Team,
    Can we take Balance sheet and profit & Loss account as per plant wise & sales office wise also.
    Regards
    JKM

    hi jkm
    Hi
    This can solve your issue could be helpful to you.
    Go to this menu path for report painter
    Accounting - Financial Accounting -Special Purpose Ledger - Tools - Report Painter - Report Writer - Report Group - Display
    T code GR53, GR55
    Enter the report group you want for b/s and p/l statement and choose execute and give the report group again and choose execute.
    After that give the year, period from to, company code, fiscal year, ledger and plan version 01 and choose execute
    Choose in front of the item Production Variances. The system displays the account to which the line items were posted. Material consumption is posted to account OEM Products Consumed.
    To call up detailed data, double-click on account
    In the dialog box, choose Actual Line Items for Table GLFUNCT, and then choose
    To display the original document, simply double-click on it to call up the detailed data. In this case, the original document is a Materials Management document.
    You document is listed under the FI-SL document number that you noted in the step Display Goods Issue Document. Select the Doc. info tab and simulate .
    Select one of the items relevant for material consumption by double-clicking it. This should be item 002, 004, or 006.
    Choose enter go back and cost of sales appear now switch to your first session.
    kind regards
    Arman
    sap fico

  • COA account description

    Please help required on the transac code to check for duplicate account description in chart of accounts

    Hi,
    If want to Chart of accounts Description then please Use Se16N - Give table name - T004 , T004T,
    give you chart of accounts and execute
    otherwise you want to check GL account Descriptions Use SE16N - Table name - SKAT -- G/L Account Master Record (Chart of Accounts: Description)
    please check both tables as per your requirement
    and reports
    S_ALR_87012326 - Chart of Accounts
    S_ALR_87012328 - G/L Account List
    S_ALR_87012333 - G/L Accounts List
    F.10 - Chart of Accounts
    Thanking you
    Regards
    Mahesh

  • Offsite account description

    Hi Guys,
    Can any one tell me how can get offsite account description in my layout.
    Regards
    Ashish

    OKie, putting the text of this OSS note as below. Your ABAPer can code this for you:-
    *Summary*
    *Symptom*
    You want to be able to display offsetting account information in the line item display.
    This is not possible in the standard system.
    *Other terms*
    FBL1, FBL3, FBL5, RFEPOS00, GET_GKONT, FBL1N, FBL3N, FBL5N
    *Reason and Prerequisites*
    No standard functionality
    *Solution*
    The solution requires the use of Business Transaction Events (previously: 'OPEN FI - Event) and, therefore, is not a modification.
    Procedure:
    1. Define fields RFPOS-GKONT and RFPOS-GKART.
    Prior to Release 4.6x
      If the fields do not yet exist in the structure RFPOS:
      Use Transaction SE11 to display structure RFPOS.
      Choose Go to -> 'Append structures'.
      Specify a new name (e.g. ZZAS) in the customer namespace,
      and create the following fields:
                FIELD            DATA ELEMENT
              ZZGKONT              GKONT
              ZZGKART              GKART
      After saving, enter a customer development class (for example Z001).
      Then activate the structure.
    As of Release 4.6x
      Implement Note 217189 in your system, if it has not already been
      applied by means of one of the following Support Packages:
                    RELEASE    PACKAGENAME
                    4.6B      SAPKH46B08
                    4.6C       SAPKH46C01
    2. You can use function module LINE_ITEMS_GET_GKONT.
    If this module is not available in the system, proceed as follows:
    Use SE37 to copy function module SAMPLE_INTERFACE_00001650 in the customer namespace under any name (e.g. ZZ_GET_GKONT).
    Sample coding for ZZ_GET_GKONT:
    (code}    FUNCTION zz_get_gkont.
          e_postab = i_postab.                <-- important
          CALL FUNCTION 'GET_GKONT'
               EXPORTING
                belnr           = i_postab-belnr
                bukrs           = i_postab-bukrs
                buzei           = i_postab-buzei
                gjahr           = i_postab-gjahr
                gknkz           = '3'
           IMPORTING
                gkont           = e_postab-zzgkont
                koart           = e_postab-zzgkart
           EXCEPTIONS
                belnr_not_found = 1
                buzei_not_found = 2
                gknkz_not_found = 3
                others          = 4.
    ENDFUNCTION.
    **Meaning of parameter: gknkz
      *1 Display offsetting account if clearly specified
      *2 Always display offsetting account with the highest amount
      *3 As case 2, but including line items generated automatically
    This source code is an EXAMPLE and can therefore also be implemented differently. For example, you can also program that other data on offsetting account (master record data) is read here.
    3. Call Transaction FIBF.
    Choose 'Settings -> Products -> ...of a customer'
    You can choose the product name and the description at will.
    Set the 'active' indicator and save.
    Go to Settings --> P/S modules -->
    ...of a customer, and add the following entry:
      Event:              00001650
      Product:            Product name from item 3
      Lnd/Appl:          blank
      Function module:    Module name from item 2
    Save the entry.
    4. In addition, you need to create a variant containing the offsetting
    account information:
    Prior to Release 4.6x
    You can define special fields in Customizing (FAKP: Menu: Account -->
    Display Items --> Special Fields) that show the offsetting account
    information. You do this by adding the fields from item 1 to the
    variant. All functions such as search, sort, summarize are available.
    After Release 4.6x
    Call the line item display and start ist.
    Via button 'Change Layout' or
    'Settings --> Display Variant --> Current', copy the offsetting
    account information to the display variant.
    Save this variant under any name.
    All functions such as search, sort, summarize are available.

  • Mail showing wrong account descriptions

    This isn't a major breaking feature, it's just me nit picking. In mail it's not updating the account description for my iCloud email but for all my other accounts it allows me to change them. What's weird is that it works just fine on my iPad 2 and it use to work on my iPhone 4. On my iPhone 4 my iCloud email is designated as "Me" which is what I use to have it back when MobileMe was around. I changed it to "iCloud" and it's still showing "Me". My iPad 2 show's this field as "iCloud" and I'm able to change it to whatever I want.
    I've tried some fixes like renaming several times, turning iCloud email on and off, but nothing major. Like I said this is just a nit picking issue since I'd like everything to be unified. It in no way affects my usage of Mail or any other functionality and my iPhone is updated to the latest iOS update.

    Hi all,
    I finally solved my problem and felt like I should share my experience. The idea of changing the sorting/listing settings of Mail.app was indeed a good option. Unfortunately, it doesn't solve the issue on my iPhone or any other device/application accessing my data. Besides that, I didn't feel comfortable with this solution, since it didn't really fix my problem.
    So here is what I did. I downloaded Mozilla's Thunderbird and set up my MobileMe account. After successfully retrieving all IMAP data I saved a copy of my complete IMAP folder structure locally. Afterwards I checked if I really had all messages and folders and deleted my data on MobileMe. Next step was uploading all my local messages/folders back to MobileMe again. I had about 3,5GB to transfer and it took me almost a night to finish this process.
    After successfully transferring the data, I opened Mail.app and my all other devices/applications accessing that particular MobileMe account and had everything re-synchronized and Voilà Thunderbird transferred the messages with the received date correctly and Mail.app and other devices/applications displayed and sorted it accordingly. I deleted Thunderbird's email client and its associated files and folders, but I guess that application should be a keeper anyway.
    So far I had the impression that this was all caused, because I transferred my local saved messages/folders to MobileMe through Microsoft Entourage. That application transmitted the date I transferred the message instead of using the message's header date settings.
    I hope this helped.
    Cheers!

  • How to generate a report based on account description

    Hi Experts,
    How to generate the report based on account description, that means
    i want to generate a report on G/L account and which account numbers are having 'CASH' description.
    for Ex: G/L a/c no: 25010026-Cash and Bank balance(des)
    G/L a/c no: 101000-Cash-freight
    like this.
    please help to do this,
    good answer will be appreciated with points,
    Thanks in advance
    Venkat

    Hi shana,
    my requirement is
    I have G/L account numbers, that account numbers having some descriptions, in these some descriptions are belongs to cash transactions, i want to generate the report on these cash transactions, and the report is " G/L account, debit cash, credit cash, balance".
    is it possible or not,
    thanks in advance,
    Venkat

  • Problem in displaying the description of item

    Hi,
    I am working on a report of production order and i want to display the description of the Item but the problem the matnr is stored in ITPO1 AND i am displaying the values of ITPO5 which contains the difference value of qty of Item . To display the quantities i am using the table AUFM and i want to display the description of the production order Item which is stored in the ITPO1 .
    I am declaring the value of item in the ITPO5 and writing this select single query but it is not displaying the data.
    LOOP AT ITPO5.
          SELECT SINGLE MAKTG FROM MAKT INTO ITPO5-ITEMDESC WHERE MATNR = ITPO1-MATNR.
          WRITE: / ITPO5-AUFNR,ITPO5-ITEMDESC,ITPO5-I_QTY.
          TOT_QTY = TOT_QTY + ITPO5-I_QTY.
        ENDLOOP.
    Plzz provide me guidelines how to solve this problem.

    HI,
    Check this way..
    LOOP AT ITPO5.
    LOOP AT ITPO1 WHERE AUFNR = ITPO5-AUFNR.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
      EXPORTING
        input              = ITPO1-MATNR
    IMPORTING
       OUTPUT             = ITPO1-MATNR
    EXCEPTIONS
       LENGTH_ERROR       = 1
       OTHERS             = 2 .
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    SELECT SINGLE MAKTG FROM MAKT INTO ITPO5-ITEMDESC WHERE MATNR = ITPO1-MATNR.
    IF SY_SUBRC EQ 0.
    WRITE: / ITPO5-AUFNR,ITPO5-ITEMDESC,ITPO5-I_QTY.
    TOT_QTY = TOT_QTY + ITPO5-I_QTY.
    ENDIF.
    ENDLOOP.

  • Custom field in Account Master Data Tcode BCA_CN_ACCT_03 - Display Account

    Hi all,
    I want to add a custom field in Basic Data tab of display account screen : Tcode BCA_CN_ACCT_03. 
    Please give step-by-step solution.
    Points assured!
    Jogdand M B
    Edited by: Jogdand M B on May 19, 2008 5:36 PM

    Solved by myself
    I write here the response because I didn't found it anywhere:
    When you are adding a custom field to MAKT table you have to add it to appending structres SKTEXT and DMAKT too because the standard uses them to read/write the data to MAKT. It's easy to do but hard to find out

Maybe you are looking for

  • BEx Query Designer and Exceptions

    I have a simple enough task.  I was tasked, with marking items on a query with an exception, however the value is not static.  I have a column marked hours, and five columns for each day of the week.  The current day with data should yield an excepti

  • Tracking in flash/Swf :: Help me please :)

    This is my first time working with Ad Tracking in Flash and I want to make sure I'm going about it correctly.. I can't test it on my side, so I want to know it's right when I pass it on to the client. I've gone through the tutorials on Adobe and here

  • Fetching quantities for a PO

    Hi All, We have a scenarios in PO as follows - Total quantity ordered is 5, it is shipped in 2 lines 1,2 and on different dates 1st Dec 2011 and 5th Dec 2011 respectively. With Line 1 qty ordered was 5 but only 2 was received (on 1st Dec 2011 ), now

  • Can the Pro 10 Print images longer than 19". Has anyone done so?

    It looks like customs setting allow this, but I don't want to waste the ink and canvas for a 12x24 if it is going to stop at 19".

  • Need a BAPI or FM to update the User filed ie., AFVGD-USR00 in Tcode CN22

    Hi, I am updating the User field of Network in Tcode CN22 through BDC . Now, Please give me FM or BAPI to update User field AFVGD-USR00 in Tcode CN22. Regards, Deepthi.