Account Code Level 5

Dear All
A query  is generating the result and show acctcode     _SYS00000000371 but i need level 5 account code that is A105020010-00-00-00-01 pls. resolved this issue
SELECT t2.acctcode, t2.acctname, t3.DebPayAcct,T1.TransId, t1.Line_ID,
T1.Debit, T1.Credit, T0.TransType,
T0.BaseRef, T1.DueDate, T1.PaymentRef, T1.Ref1, T0.Ref2,
T0.Number, T0.DocSeries, T1.BatchNum, T1.PaymentRef
FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
LEFT JOIN OACT t2 ON t2.AcctCode = t1.account
LEFT join OCRD t3 ON t3.cardcode = t1.shortname
WHERE T0.RefDate >=[%0] AND T0.RefDate <= [%1]
ORDER BY t1.transid
Thanks

Hi,
It seems to be some copy paste issue :
SELECT t2.formatcode, t2.acctname, t3.DebPayAcct,T1.TransId, t1.Line_ID,
T1.Debit, T1.Credit, T0.TransType,
T0.BaseRef, T1.DueDate, T1.PaymentRef, T1.Ref1, T0.Ref2,
T0.Number, T0.DocSeries, T1.BatchNum, T1.PaymentRef
FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
LEFT JOIN OACT t2 ON t2.AcctCode = t1.account
LEFT join OCRD t3 ON t3.cardcode = t1.shortname
WHERE T0.RefDate >= [%0] AND T0.RefDate <= [%1]
ORDER BY t1.transid
If this also does not work, then in the query which is running you just need to add t2.formatcode after select and you will get the correct one which you require.
Kind Regards,
Jitin
SAP Business One Forum Team

Similar Messages

  • Manage vendor bank account in company code level - Best practice

    hi,
    we have on our client several company codes, and we are thinking how to manage the vendor bank accounts in company codes level or in centeral level.
    our problem with company codes level is that the vendor bank accounts define in a centeral level so technically with sap standard it is not possible. if anyone can tell me that this is possible i will be very happy to know.
    in centeral level our problem is with the business process because of we do not have a person (functionalism ) that can be responsible for all the company codes, basically every company shoule be responsible for her vendors
    please advice what is the best practice to manage vendor bank accounts in enviroment of several company code
    regards,
    meir

    hi Raghu,
    i know that but this is not my qusition.
    which company code will be responsible to enter the bank account in the vendor master data? as i say the vendor bank accounts manage in centeral level and not in company code level and this is our problem and i like to know how other companies with the same situation handle with this issue
    and also after we have the bank accounts in the vendor master data what happend if for one vendor has several bank accounts one for every company code? how the payment program F110 could know automaticaly which bank account to take (i know that there is an optoin to use Partner bank type in the vendor master data, and enter this PBT when posting the invoice of the vednor, but this is not good because of we do not want the the accountant will be responsible from which bank the vendor get his money).
    regards,
    meir

  • Report to know activities in customer accounts at company code level

    Hi All,
    Any idea about any report available in SAP to get the balance in customer accounts (total) with the break up in terms of activities at overall level. Activites means sales, payments, debit note, credit note etc...(any kind of posting in customer account).
    The break up is not required at customer level, it is required at company code level which means that it contains all the customers under that company code. We plan to do some trend analysis from this report. Report in GL accounting / AR will do.
    Thanks in Advance,
    Regards,
    Mayank

    Try this report S_ALR_87012169, This should show you the information
    Assign points if helfpul

  • Upload of chart of accounts at coa and company code level

    dear all
    can you tell me how it is best to upload a new chart of accounts both as a chart of accounts level and company code. i am planning to use lsmw but shoud i upload chart of accounts first then company code level?
    with many thanks
    Peter

    Hello Peter,
    If you have single company code then create one LSMW for transaction "FS00" it upload the COA both at company code and COA level. If you have morethan one company code and you want to upload same COA to both company codes then better first COA level with FSP0 then company code level with FSS0 because here you can extend the required GL's from COA to COmpany code.
    Regards
    Swapna

  • Account Determination at Company code level for an interface

    Hi All,
    We need an account determination table at company code level that will be used by an interface to find the GL accounts for a particular company code.
    This is required for interfacing certain GL documents onto SAP and the account determination need not be hardcoded in the program.
    Kindly revert with your ideas.....
    Regards,
    Gangs.

    Hi Gangesh,
    All the account determinations will be done only at the Chart of Accounts level only.  You cant show me even one account determination which will be done at the company code level.  (without giving chart of accounts before assigning a GL)
    So only table T030 will be the right table for you.  Hope you understood,
    Regards,
    Sreekanth....

  • Transport of Chart of Account at Company Code Level

    Hi,
    I see in IMG, we can only transport the whole Chart of Account(COA). Is there any way to transport the COA at the company code level?
    Thanks,
    CW

    Hi,
    OBY2 is copy form company code for chart of accounts. What I need is to transport chart of account at company code level from one client to another client.
    Rgds,
    CW

  • Client level , company code level , chart of account level

    Hi experts
    Pls expline me which are we define under client level , company code level and COA level
    like :
    1) field status variant:
    2) Dunning procedure:
    3) document types:
    4) doc.number range:
    4) posting periods variant
    5) controlling area
    6) account groups
    7) vendor/cust master data
    8) dep key
    9) chart of dep area
    10) like...............................
    get points
    Geeta

    hi geeta,
    ClientA Client is the highest unit within an SAP system and contains Master records and Tables. Data entered at this level are valid for all company code data and organizational structures allowing for data consistency. User access and authorizations are assigned to each client created. Users must specify which client they are working in at the point of logon to the SAP system.
    A CompanyA Company is the unit to which your financial statements are created and can have one to many company codes assigned to it. A company is equivalent to your legal business organization. Consolidated financial statements are based on the companyu2019s financial statements. Companies are defined in configuration and assigned to company codes. Each company code must use the same COA( Chart of Accounts) and Fiscal Year. Also note that local currency for the company can be different.
    Company CodesCompany Codes are the smallest unit within your organizational structure and is used for internal and external reporting purposes. Company Codes are not optional within SAP and are required to be defined. Financial transactions are viewed at the company code level. Company Codes can be created for any business organization whether national or international. It is recommended that once a Company Code has been defined in Configuration with all the required settings then other company codes later created should be copied from the existing company code. You can then make changes as needed. This reduces repetitive input of information that does not change from company code to company code as well as eliminate the possibility of missed data input.
    Business Area Business Area is optional and is equivalent to a specific area of responsibility within your company or business segment. BA (Business Area) also allows for internal and external reporting.
    Another configuration requirement for set-up in SAP are the Basic settings consisting of the following:
    Chart of Accounts(COA)
    Fiscal Year Variants.
    Currencies
    The COA(Chart of Accounts)
    The COA(Chart of Accounts) lists all General Ledger accounts that are used by the organization. It is assigned in configuration to each company code and allows for daily General Ledger postings.
    Fiscal Year configuration
    Fiscal Year configuration is a must and can be defined to meet your companyu2019s reporting periods whether Fiscal (any period combination that is not calendar) or Calendar( Jan-Dec).
    Posting Periods are defined and assigned to the Fiscal Year.
    Within the periods you specify start dates and finished dates.
    SAP allows for 12 posting periods along with specially defined periods that can be used for year-end financial closing.
    Rohit Agrawal

  • Client level, chart of accounts level, company code level

    Generally what are the areas under client level, chart of accounts level, company code level.
    For Ex. document types are client level, number range company code level
    like the above does we have any list which is falling in the above levels.

    1. Generally during customising when co code data is not asked , then settings are client level.
    Country, Currency, Document types, all variants of diff types, chart of accounts, etc
    2. Every master is having data - General data level (client level) for use by all co codes, Co code data level(basically for accounting purposes) and so on.
    These are applicable to GL, Vendor, Customer, Asset, Matlerials, etc
    For particular application we have more information at another object level also- Vendor- Purchasing, Customer-Sales, materials-Plant- controlling, etc
    3. Chart of accounts level assignments are done for all automatic posting definitions-which is applicable to all company codes which are using same chart of accounts.
    4. In material setting- valuation can be grouping level, co code level or plant level as these are related to costing and product costing.
    Hope the above will give some idea.
    In the above nothing is written about CO as you have not asked-

  • Addition of a field in vendor master table at company code level

    Hi Champs,
    My requirement is to add a field in LFB1 table.
    I have added the field in the table using append structure, that was fine.
    I need to add the same for input/output on the screen 215 of program SAPMF02K (for the screen of Payment transaction Accounting at company code level).
    As far as I know there are only screen enhancements for Vendor master(no screen exits). The screen enhacements are  "Prepare Modification-Free Enhancement in Vendor Master Record". But using that i need to create a subscreen, but in my requirement I need to add the field on the same screen.
    Is there any solution for that???
    Please let me know if my doubt is not clear.
    Regards,
    Nishant

    Hi Krish,
    I am not able to find the screen exit for my requirement.There is only screen enhancement for Vendor master.If you have any idea of the same pls let me know.
    I am ok with the solution that i need to change in the standard screen using access key,  but do i need to code anything in the PAI or PBO of the screen or it will be taken care automatically. Details of the program and screen is already given.
    Thanks
    Reagrds,
    Nishant

  • Practical need of G/L Account Code in SAP B1

    Hi All,
    Is there any way to avoid the G/L Account Code in SAP B1?
    Is there any practical need of the G/L Account Codes when the Account Name itself is sufficient and unique in an organization?
    Thanx and Regards

    >> Have u used any time the popular accounting application named "Tally".... one of its popular functionality is "CODE-LESS ACCOUNTING"...
    >> if a user gets a account just by typing a few characters of the beginning of the account name then where's the utility of the G/L account codes?
    >> and to maintain the uniqueness and indexing in database level - the the tables may have several keys hidden to the users.
    If you/ user do not want to create journal entry by using G/L account code:
    Option 1: open form settings of journal entry/ corresponding document and uncheck visible for the G/L acct.
    Option 2: instead of using numbers(digits) for G/L acct code, use descriptive text itself as G/L acct code. This is not recommended practice. But, it is upto your implementation practive/ customer requirement. To do this, you either have to edit existing chart of accounts / create new coa.
    Hope these options will help you to resolve your query.
    Regards
    Satish

  • SAP ISU- Can you help on Invoice Rounding steps at company code level,

    Dear Friends,
    Can you help on SAP ISU Invoice Rounding steps at company code level,
    Client requirement is: - for one company code they need round the Invoice and other company codes they does not required the round option.
    We have configured some steps, which are given below,
    Contract Accounts Receivable and Payable - Basic Functions - Postings and Documents
    1.     Define Rounding Rules for Currencies
    2.     Define Accounts for Rounding Differences
    3.     Accounts for Rounding Gross Amounts (IS-U)
    4.     IS-U: Define Acct Assignment Data Relevant to Transactions
    a.     (Main Transaction 0010 and Sub Transaction 0040)
    SAP Utilities u2013 Invoicing
    1.     Define Basic Settings for Invoicing
    2.     Define Invoice Rounding Rules
    Please provide the solution; I will be appreciating for earliest answer...
    Thanks and Regards,
    Prudhvi

    Hello Christiane,
    Thanks for your quick reply, and valuable information,
    But we have u201CNo roundingu201D option available at client level, path has given below, 
    SPRO u2013 SAP Utilities Invoicing u2013 Basic setting u2013 Define Basic setting for invoicing
    We are not authorized to change any configuration at client level,
    If you can able to guide me at company code level that could be great,
    Thanks for the support
    Thanks and Regards,
    Prudhvi

  • F.01 & FBL3N amounts mismatched at Company Code Level

    Hello Gurus,
            At Client side, we are facing problem of mismatch in FBL3N & F.01 Report for some GL accounts and this is at Company Code level not Profit Center or Segment Level.
            I have also verified the Master Data of GLs which are having problem but these accounts master data are same as that of GL accounts having tallied amount in both reports, I have already check on all the posts as this is frequently asked Question but all the replies for those are not given proper solutions.
    Please suggest me for this Error.
    Thanks & Regards,
    Rajdeep.

    Dear Randeep,
    If you are on profit center accounting ECC 6.0. Then Fbl3n cannot be matched with F.01( which runs on profit enter level).
    you need to match F.01 with FAGLL0(Zero)3. provide profit center in dynamic selection and give open item as on as per the period you have provided in F.01.
    This will certainly match.
    kindly provide points, This would solve your issue.
    Ashok kumar

  • 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

  • Classic profit centers reporting full b/s  below company code level

    Dear Experts,
    we are using classic profit center. How to get Profit center wise balance sheet below company code level.
    Facing issues for balance sheet GL accounts as at 3KEH one profit center i can choose...my requirement is to get 2 balance sheets for two profit centers.
    any suggestions ?
    Regards,
    Sekhar

    Hello Sekhar,
    With Classic profit center accounting correct balance sheet cannot be ensured at Profit center level.
    This is due to following reasons
    1. Vendor/ Customer line items -
    No assignment of Vendor/Customer recon accounts to Profit center in 3KEH.
    But in period end you have to execute F.5D and 1KEK to transfer this values to Profit center accounting based on the offsetting line items.
    This also might create problems if you don't clear the open items on period end as your Sales/Purchase will go to one Profit center and Payment will go to other (defaulted for Bank/Cash). Cleared items are not transferred
    Also, Transaction between Vendor and Customer will lead to some values posting in Dummy profit center.
    2. Asset line items
    Profit center will be determined by Asset master
    3. Tax accounts
    Mostly it has to go with Default Profit center. SAP has given option for re-determination of Tax line items profit center based on off-setting line items during period end (Tax account should be assigned to Dummy profit center in 3KEH). But this will work only for Sales/Purchase transaction, as payment will go to default profit center used for Cash/Bank. Again it might lead to confusion.
    4. Material accounts
    Profit center assigned in Material master is used.
    5. Other Balance sheet accounts
    These accounts like Bank, Cash, loan etc has to be assigned to default Profit centers using 3KEH. Else, user has to enter the correct Profit center during entry. If missed out, it will go to default profit center. Remember, balance sheet accounts not included in 3KEH (except for Vendor/Customer) will not be transferred to Profit center accounting itself.
    Hope it helps..
    Thanks & Regards,
    Muneer Ahamed N

  • Restrict FI postings from FB60 at vendor account group level

    Hi Experts,
    We have a requirement whereby the authorization for posting from T-Code FB60 should be controlled at vendor account group level (LFA1-KTOKK).
    We are also fine with restrictions at vendor master authorization group level (LFA1-BEGRU/BRGRU).
    So a particular user should be able to post to a vendor in acct grp A but not acct grp B from FB60.
    However, it seems that T-Code FB60 checks only objects BKPFBLA, F_BKPF_BUK, F_BKPF_GSB, F_BKPF_KOA.
    Neither of the above 2 fields are available in these 4 objects.
    In case you have a solution for restricting FB60 postings, please reply.

    Hi.
    In vendor maser data you can maintain LFB1-BEGRU='vendor group', and check it in F_BKPF_BEK-BRGRU

Maybe you are looking for

  • Images in a report

    How can I import an image in a report and see it in a RTF generated file? If I follow the help of the Report Builder 6i, and after resizing the image, there are always problems in MSWord - either the image has another size, or it is in some other pla

  • Error in setting datasource location from oracle to sql server

    Post Author: jonathanaramburo CA Forum: Data Integration Hello, I have an application that uses a table named "events" which conflicts the sys.events view in master database in sql server. The error i was encountering is that, whenever i tried to set

  • How to automatically move messages from an IMAP folder to a local folder?

    I have rules set up on my IMAP server to filter messages to various folders. While these folders do show up in Mail.app, they're listed under the accounts, which, for me, is off the screen. Is there some way I can have these messages automatically mo

  • InDesign to Dreamweaver for web

    What is the best format and method for exporting from InDesign to Dreamweaver? I create a number of e-flyers where I set up the html file in Dreamweaver, view it in the browser and then send by email, embedding the content in the email as an e-flyer.

  • Simply stated, firefox no longer works for my husband. Firefox will not open when my husband is user.

    As a user, firefox will open for me. As a user, firefox will not open for my husband. Yesterday McAfee had to remotely turn the McAfee firewall back on. I don't know if during this process it somehow affected firefox.