Need to develop new Report

Please use a meaningful subject in future
Hi,
can any one please tell me from which table i have to fetch data (i think bseg and bkpf) is it correct.give me an  idea for fetching
data and developing report.if possible please give the field names along with table name of below info  i would be thankfull.
Report will contain the following information:
-General Ledger account number
-Name of Account
-Amount of Entry
-Date of the document
-Document number
-Debit & Credit side of entry with     general ledger and customer account numbers (if applicable).
The filter data will contain:
-User ID
-General Ledger Range fields: From & To
- Date fields: From & To.
The purpose of this report is to list all general ledger entries made by a User for a certain time frame.
Edited by: mohd  khan2 on Aug 25, 2009 11:34 AM
Edited by: Matt on Aug 25, 2009 1:08 PM

Hi,
BSEG is the master table(Has all GL/Vendor/Customer) and hence try to restrict the usage. Instead you can use the below tables(they form the child tables for BSEG). This will be performance issues.
Since your requirement is to fetch the GL account and Customer account items,
BSAD :(Accounting: Secondary index for customers (cleared items))
BSID :(Accounting: Secondary index for customers)-Open items
You can also fetch the header details from the table BKPF.
Below are the fields:
General Ledger account number(HKONT)
-Name of Account(You need to get the desciption from SKA1 or SKB1 for the above HKONT)
-Amount of Entry (BSEG/BSAD/BSID-WRBTR)
-Date of the document (BKPF-BUDAT)
-Document number(BKPF-BELNR/BSAD-BELNR/BSID-BELNR/BSEG-BELNR)
-Debit & Credit side of entry with general ledger and customer account numbers (if applicable).(BSEG/BSID/BSAD-SHKZG)
Additioally you need the field KOART which will differentaiat if the line items is for GL/Vendor(K)/Customer(D). This is available in BSEG. For BSAD/BSID you need not check because the table will store only customer line items
Hope this helps
Regards
Shiva

Similar Messages

  • ABAP: Developed new Report for Summarized JIT (Just In Time) calls

    Hi to all,
    Can anybody please tell me about the following:
    ·     Developed new Report for Summarized JIT (Just In Time) calls: This report is for Delco Singapore needs all Summarized JIT calls created between selected dates to be closed. If JIT call quantity is 0 and GR quantity is also 0, then GR flag for JIT call to be checked and JIT call will not be shown open. If the JIT call quantity is greater than zero and GR for JIT call quantity is zero then JIT call quantity made as zero and GR flag for JIT Call to be checked. Once it is checked the JIT call will not be shown in Open.
    Thanks in advance.
    Regards
    Monalisa

    Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
    1-Write JSP (should be written just how Oracle writes theirs)
    2-Creat function for the new JSP page as System Administrator responsibility
    3-Use Sys Admin to add the function to a menu somewhere
    4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
    5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
    6-Drill down into that regions attributes
    7-Add a your newly created attribute to this region
    You would do all these steps for your advanced search page as well, so that in your main jsp, you can call asfPage.setAdvancedSearchPage() with the attribute name of your advanced page.
    What I Still do not know is:
    (1) My main page keeps coming up saying that there is no default query defined for it. How do you create a default query for a report?
    (2) How to get the personalization to work.
    Can anyone help?
    Thanks!

  • Need to develop this report plezzzz help

    the requirement says
    When a user submits an ID they have to choose who sold the product from the sold by field.This has to be chosen correctly otherwise there will be issues in sales and commission process.I need to develop a report to detect immediately when an Id is created which seems to be suspect.A suspect ID is one in which a salesperson was chosen on a customer who is not assigned to that sales person territory
    for example: if danny is in Kathy territory is assigned to a customer in Texas which is Larry territory.
    any suggestions will be helpful for me...
    Edited by: user13001889 on Jun 6, 2011 4:43 PM
    Edited by: user13001889 on Jun 6, 2011 4:44 PM

    You ask for help, yet all you give is conceptual data. How do you expect help on writing the report?
    Q) What defines "territory"? Is it a flag? Zip code? City?
    Here is an answer based on a lot of assumptions:
    I would have to assume that territory is defined by something like city, state, or zip code. If so, you could start with this:
    When a customer submits an ID, along with who he/she selects as a salesperson -- I assume this is a drop down box to eliminate multiple entries of the same person due to variations in spelling -- thep person's address, city, state and zip are included as well. Let's assume that territory is defined by zip code. With the salesperson's name and the zip of the customer captured, you have the basis for comparison.
    Based on the table of all your salespeople and their territory (zip code in my assumption), you can create a report that contains a concatenated field of salesperson||zip code. This will produce a report with all possible combinations of salesperson and territory. This report will be your sub-query.
    Now you have your main query based on the customer activity table and you create a concatenated field of salesperson (chosen-by-customer)||zip code (of the customer). You will put a filter on this concatenated column and have it based on the results of another request (your sub-query) with the operand "not equal to/not in."
    If any record in the main query does not match an entry from the sub-query, that record will display. It will be a report that contains customers who chose a sales person who doesn't have that territory.
    That's how you build your report.

  • Develop new Report for Summarized JIT (Just In Time) calls

    Hi to all,
    Can anybody kindly tell me how to develop new report for   summarized JIT (Just In Time) calls.
    Thanks in advance,
    Regards
    Simi

    I think it is a good feature, but I'd like to make some suggestions.
    1) When the dialog pops up (like your attachment), it would be nice if I could tell it right then that I don't care about that advice. Right now you have to click on the link and then say you don't want the advice in the future. I think it is that extra step that is really annoying. I think, like most people, my instinct is to just close the dialog. Then next time I run LabVIEW I have to deal with it again. After the 5th time dismissing the damn thing I turn it off.
    2) It would be nice to have an easy way to turn JIT advice off for a particular session. For example, I'm called on to help get new employees up to speed in LabVIEW. When I sit down at their computer to help design/debug things, I would really like to turn off JIT advice but just for my session. I don't want to change the other persons settings.
    3) It would also be nice to be able to turn off JIT advice without going to the options.
    So, I guess what I would like is this. When the JIT advice dialog comes up, instead of only having the link to the advice I'd like to see some a button that will turn off this topic in the future, a button that will turn it off for this session of LabVIEW and a button that will turn JIT off for good (with a verification dialog).
    So, experience programmers with a new install will just turn it off for good the first time it pops up. Experience programmers on someone else's machine can turn it off without messing up the other persons ini file and I can leave it on when LV8 comes out and just dismiss the old advice quickly as it comes up.
    Pat

  • Requirement to develop New report to display material self life details

    Hi,
    I have a requiement to develop a report to find material Expiry date susing total self life:
    My selection screen:
    warehouse number
    storage location
    storage type
    material
    material type
    total shelf life
    My list should display the material number, description,material type, material group, storage unit, total stock, goods receipt date, expiry date.
    Please tell me what are the table to be used to fetch these details.
    Thanks,

    Hi,
    For your requirement use the below Table,
    material number : MARD-MATNR
    description       : MAKT-MAKTX
    material type  : MMARA-MATKL
    storage unit - MARD-LGORT
    Total stock - MARD-LABST
    goods receipt date MSEG -DATE
    expiry date MSEG - DATE
    Regards
    Thiru

  • Develope new Report for Summarized JIT (Just In Time) calls

    Hi to all,
    Can anybody kindly tell me how to solve the following:
    This report is for Delco Singapore needs all Summarized JIT calls created between selected dates to be closed. If JIT call quantity is 0 and GR quantity is also 0, then GR flag for JIT call to be checked and JIT call will not be shown open. If the JIT call quantity is greater than zero and GR for JIT call quantity is zero then JIT call quantity made as zero and GR flag for JIT Call to be checked. Once it is checked the JIT call will not be shown in Open.
    Thanks in advance
    Regards
    Simi

    I think it is a good feature, but I'd like to make some suggestions.
    1) When the dialog pops up (like your attachment), it would be nice if I could tell it right then that I don't care about that advice. Right now you have to click on the link and then say you don't want the advice in the future. I think it is that extra step that is really annoying. I think, like most people, my instinct is to just close the dialog. Then next time I run LabVIEW I have to deal with it again. After the 5th time dismissing the damn thing I turn it off.
    2) It would be nice to have an easy way to turn JIT advice off for a particular session. For example, I'm called on to help get new employees up to speed in LabVIEW. When I sit down at their computer to help design/debug things, I would really like to turn off JIT advice but just for my session. I don't want to change the other persons settings.
    3) It would also be nice to be able to turn off JIT advice without going to the options.
    So, I guess what I would like is this. When the JIT advice dialog comes up, instead of only having the link to the advice I'd like to see some a button that will turn off this topic in the future, a button that will turn it off for this session of LabVIEW and a button that will turn JIT off for good (with a verification dialog).
    So, experience programmers with a new install will just turn it off for good the first time it pops up. Experience programmers on someone else's machine can turn it off without messing up the other persons ini file and I can leave it on when LV8 comes out and just dismiss the old advice quickly as it comes up.
    Pat

  • Need advice on new report

    Hi Consultants,
    I have below query which generate items quantities by month i need to report this this as one line
    GAS-ACE23     12     APR
    GAS-ACE2 33     AUG
    GAS-ACE23     15     FEB
    GAS-ACE23 20     JAN
    GAS-ACE23     11     JUL
    GAS-ACE23     16     JUN
    GAS-ACE23     30     MAR
    GAS-ACE23 14     MAY
    require output:
    Item jAN feb Mar Apr May Jun Jul Aug Sep Oct Sep Nov Dec
    GAS-ACE2 12 15 30 12 14 16 11 33 0 0 0 0 0
    This i can report in sql or rdf report.
    Please advice me.
    Thanks,
    Ar

    So, what is the problem? The format you specified you will need to create SIMPLE MATRIX report. Use the report wizard and follow the steps instructions.
    -Ammad

  • Need to develop a calibration report

    Hi experts,
    i need to develop a report for calibration
    input screen parameters are
    equipment no.
    date
    output screen
    Equipment no.
    equipment description
    Functional location
    order no.
    inspection lot no.
    inspection reading before calibration
    inspection reading after calibration
    Usage Descion
    I am new to PaM module kindly help me so that i can give proper details of tables to abaper.put
    and kindly tell me from which table i can pass equipment no. and get inspect lot no. and other details as per output screen.

    Hi all,
    i am facing an issue while developing a report.
    i am using a table QAMV (LOGIC  stated below)
    pass inspection lot no. pick MIC , MIC Description
    issue is that against single inspection lot no. multiple MIC are assigned. How i can pick all MIC , MIC Description by entering inspection lot no.
    ABAPer is asking for another primary key to fetch all MIC. According to abper he is unable to fetch all MIC on the basis of single inspection lot no.
    format of report and table (qamr) screen shot attached below.

  • Need to develope report for Deleting user profiles

    Hi All,
    I need to develop a report to delete inactive user profiles from SAP system. We have  a found out a list of valid users but need to delete all the users which are not contained in this list.
    If anybody is having any inputs, they are welcome.
    Thanks & Regards
    Abhii

    REPORT  ztest5.
    PERFORM delete_user USING 'TEST' .
    *&      Form  DELETE_USER
    *       text
    *      -->USERNAME   text
    FORM delete_user USING username TYPE bapibname-bapibname .
      DATA : li_mess TYPE TABLE OF bapiret2 ,
             ls_mess TYPE          bapiret2 ,
             lv_mess TYPE          string   .
      CALL FUNCTION 'BAPI_USER_DELETE'
        EXPORTING
          username = username
        TABLES
          return   = li_mess.
      LOOP AT li_mess INTO ls_mess .
        CLEAR lv_mess .
        MESSAGE ID     ls_mess-id
                TYPE   ls_mess-type
                NUMBER ls_mess-number
                INTO   lv_mess
                WITH  ls_mess-message_v1
                      ls_mess-message_v2
                      ls_mess-message_v3
                      ls_mess-message_v4.
        WRITE : / ls_mess-type , lv_mess .
      ENDLOOP .
    ENDFORM .                    "DELETE_USER

  • Need to find employees reporting to a manager

    Hi All,
    I am new to HR module.
    Basically, i need to develop a report which would list out all the employees reporting to a given manager ID. I am trying to understanding how this org unit, positions and users are tied to each other and what set of tables or function modules are involved in knowing all the employees reporting to a manager.
    If my question is unclear, please let me know.
    Thanks,
    SKJ

    SKJ,
    Hope this helps.
    1. I had to pass 002 (Reports (line) to ) Instead of 008 to RELAT to get all those positions reporting to manager position fould in step1. Is this correct?
    Ans : 002 Relation is the Reporting Relation and 008 is Holder Relationship.
    002 will help you to identify the relation ie, which position reports to which position. but if you want to know who is holding the position, you will need 008 relation.
    In your case both relation may be required.
    2. Does your steps work in any system? I mean, no matter how the data is set up in HRP1001?
    Ans : This is the standard System behavior. Unless there is specific changes.
    3. Can you also let me know how to start deriving this at company code level? I also have company code termed as Line of Business on my selection. User may enter only company code and i will have to extract everything.
    Ans : If you have setup account assignmnet setting for the OU, then you should be able to do that.

  • Develop a report to track discount for various product

    hi
      i need to develop a report to track discount for various product depending upon the client

    Hello Noor,
    I'm not sure but if you are talking about the marketing attributes, you can definitely use FM - CRM_MKTBP_ASSIGN_ATTRIBUT_TAB
    You need to pass the profile id, partner id and marketing attributes data. Thats it.
    I think the FM you ar eusing for terrritory is fine. It should work.
    I hope this helps.
    Thanks
    Vishal

  • Developing the report

    Hi,
    I required a report with purchase order GR/ IR postings and vendor account how much paid to vendor and out standing balance
    What tables is required how can I develop report
    Please help me it is very urgent
    I will assign points
    Thanks
      Radha

    Hi,
    Ask the abaper to write an query from the table S032 there you can find the option of last good receipt date and the last goods issue issue date.
    consider the various good mvt in between these dates calcuate the diffence betwee the current date and the last good issue date, so that you can abel to get the stock list that is not moving for more than 60 days,120 days etc
    You can also use MC46, MC50,  MB5M - expiration date list . In case if that does not solve their requirement then you need take logic from client and you need to develop own report
    pherasath

  • Need to Automate a Report to Export to File in CR9 Developer

    Post Author: KJ7
    CA Forum: General
    Hi... I'm not even sure if this is possible. I've got a fairly basic report - a control table with a key field that links to another table "work orders" with a primary key... from there, I have a few other tables (client, project, rooms, etc.) with ancillary keys which link back to that secondary table & give supporting information/details.
    I need to run this report nightly - which basically gives me the daily schedule by work order - and export the file to a file location as a CSV (ideally with "|") as the character separator (but tabs are OK too). 
    I've got the developer version of CR9 - because that (CR9) is what the other software we're running our SQL server utilizes to run the software is compatable with. 
    Can anyone out there tell me if what I need to do is even possible? (I'm not sure I an upgrade is an option).
    Thanks so much!
    ~Kara

    <p>Check this post in forum</p><p><a href="/node/1952"><font color="#048ed9">Handling CSV files from Crystal 10</font></a></p><p>Rahul</p>

  • Developing new BI sales Report.

    Hi Gurus,
    Iam developing new BI sales ( SAP-SD ) Report. The Report output contains Billing Document Number ,Item Number,Price of the item and quatity ,Sales delivery number and Sales Order.
    Can you please suggest me what are the cubes I have to take and Quaries.
    Regards
    JYothy.
    Edited by: jyothys9 on Mar 13, 2010 8:01 AM

    Hi,
    Go through the following DataSources and Cubes.
    2LIS_11_*
    2LIS_12_*
    2LIS_13_*
    AND
    InfoCube 0SD_C03
    http://help.sap.com/saphelp_nw70/helpdata/en/71/1769372b2b7d20e10000009b38f842/content.htm
    in the above help you can find following datasources, don't use it use only LO DS's
    2LIS_01_S260: SD - Sales order
    2LIS_01_S261: SD u2013 Delivery
    2LIS_01_S262: SD - Billing document
    2LIS_01_S263: SD - Sales order / delivery
    In BW System cehck the reports on 0SD_C03 infocube from Business Contenet.
    Thanks
    Reddy

  • Gross Salary Report Need to develop in ABAP Query -sap-hr

    Dear Experts,
    i need to create salary report through ABAP-query.
    i have following below stops.
    1)Create user group thorugh SQ03.
    2) Having problem in creating Infosets,as i need to use PNPCE as ldb and p9001,p9002,p9008,p9000,p90402.but when i am created infoset it is showing in order p9000,p9001,p9002,p9008,p90402.and i am not finding any where join condition,how will i join these.
    Didnt find any tutorials..for HR abap-query
    please advice.
    Thanks & Regards
    Anwar

    Dear Experts,
    i need to create salary report through ABAP-query.
    i have following below stops.
    1)Create user group thorugh SQ03.
    2) Having problem in creating Infosets,as i need to use PNPCE as ldb and p9001,p9002,p9008,p9000,p90402.but when i am created infoset it is showing in order p9000,p9001,p9002,p9008,p90402.and i am not finding any where join condition,how will i join these.
    Didnt find any tutorials..for HR abap-query
    please advice.
    Thanks & Regards
    Anwar

Maybe you are looking for

  • How to have cascading lov for a single column in tabular form

    Hi, How to have a cascading lov for a single column in tabular form ie i have one employee name column in tabular form if v pressed add row then one row ll be added In my scenario based on first row value the second row value to be displayed To achie

  • Inserting App Simulations in a Course

    Can someone please give me some good advice? I am planning to create courses which will contain recordings for application simulations (Training Simulations and Assessment Simulations). My issue is that one course will probably contain between 5 to 1

  • The MP Role, how many do you need?

    On a previous post I was told that the MP role is random and your CM2012 clients can use any MP they find at random.    If that is the case is the following scenarios fine to use? We have 1 CM2012 server that is a MP (plus many other roles) We have 6

  • Earphones problem with my iPod shuffle.

    I have already sync an audio cd in my iPod shuffle, but I don´t listen anything with the earphones.

  • Set resultOut in java

    Hi, I'm trying to make an java function call from my workflow. When I don't set resultOut in my class everything works and the task state is complete. If I try to set resultOut, status remains deffered, even after I run the background process. What c