Urgent ; SAP Query for generating report  from BLNR ,DOCNR and oth in NEWGL

We are posting document to 5 ledgers.There is a leading ledger and 4 non leadING ledgers. One Ledger contains the detailed information , and I need to add all the fields information when I create that report.
We want BLNR field to be the reference for creating report.
we have to create a report clubbing BLNR field from BKPF  , and DOCNR from FLEXA Table.
Thanks,
YGB

Sorry it is BELNR not BLNR

Similar Messages

  • How to modify select query for retrieve assets from assets tab and assets in merchandising in 10.1.2?

    Hi All,
          I need to modify the SQL for retrieving assets from assets tab and assets in merchandising in 10.1.2. I found the class for SQLQuery builder, but I want to change the SQL.
          Could you anyone please how to solve this.
    Thanks & Regards,
    Bala

    Hi All,
          I need to modify the SQL for retrieving assets from assets tab and assets in merchandising in 10.1.2. I found the class for SQLQuery builder, but I want to change the SQL.
          Could you anyone please how to solve this.
    Thanks & Regards,
    Bala

  • SAP Query for Appriasal Report

    Hello Experts,
    Can we use SAP Query (SQ03, SQ02, SQ01) based on Appriasal tables ( HRHAP*) to fetch records similar to tcode phap_search_pa?
    I tried building an infoset making a direct read of table HRHAP and then joining tables like - HRHAP_T, HRHAP_APPEE, HRHAP_APPER, HRHAP_OTHERS and HRHAP_ACT_LOG.
    Finally, created a query based on this infoset, however, it does not retreive any results. Seems, it requires more details as app templates...
    Can anyone give inputs on this?
    Regards,
    Sarvesh Hasija

    Hi Sarvesh
    SAP Query may not work here. Because more than often, the data available in PHAP tables need to be first brought into temporary tables using a match condition and then shown on screen. There are a lot of sub queries required between PHAP and HRPnnnn tables to see some meaningful results. Imagine how many Table joins the End User needs to do.
    SAP Query are ideal if we are pooling data from one or two tables using a match condition. I am not dening that InfoSet is not possible. Getting desired output from such InfoSet will be challenging.
    You mentioned you supplied Doc ID/Number to PHAP_Search_PA, which is incorrect. It is a report which works on Template not Document. I hope you know the difference between Template and Document in PMS/OSA. I cannot stress enough on how much important is PHAP_Search_PA. What this standard report can do, custom designed report will take huge time to get close to it.
    I am sorry, I am also going to recommend Z Reports in case desired output is not possible in PHAP_Search_PA. In one of my recent assignments we had "Trainer's Feedback Report for any training programme/programmes between any two dates" requirement, and we opted for a Z Report.
    Regards
    Yash

  • SCCM query for taking report from all clients for a SW installed and its version

    Hi ,  I need to pull a report from all servers in my landscape to identify the servers where 'HP system management homepage' is installed and its version. I have SCCM 2007 R2 and need to run a query/report. Please help me how to do this. 
    I am a beginner in SCCM.
    Thanks in advance.
    Vivek Nambiar

    Hi Vivek,
    Try this SQL query and let us know if it helps. Use your SCCM SQL database or the 'Reports' feature on SCCM to run the same.
    SELECT
    dbo.v_R_System.Name0 as 'Host Name',
    dbo.v_R_System.User_Name0 as 'User Name',
    dbo.v_GS_OPERATING_SYSTEM.Caption0 AS 'Operating System',
    arp.DisplayName0 as 'Product Name',
    arp.Version0 as 'Product Version'
    FROM dbo.v_Add_Remove_Programs AS arp
    INNER JOIN dbo.v_R_System ON arp.ResourceID = dbo.v_R_System.ResourceID
    INNER JOIN dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID
    WHERE arp.DisplayName0 LIKE 'HP system management homepage%' AND
    dbo.v_R_System.Operating_System_Name_and0 LIKE '%server%'
    ORDER BY arp.Version0, dbo.v_R_System.Name0
    ~ Rajeesh M | Blog: ScorpITs | Please remember to 'Mark as Answer' or 'Vote as Helpful' on the post that helps. It helps others reading the thread and
    recognizes useful contributions

  • SAP Query for the report

    Hi,
    Can you all help me?
    Is there any area or a table or query in SAP, which can create a list with the purchase order number (Field name EBELN),supplier(Field name SUPERFIELD) and header text(Field name EDITOR).
    Please tell the table name that fetches all values from the same table.
    Regards,
    Smitha

    Hi,
    Try to Combine EKKO, EKPO & T166P tables and take common fields like:
    EKKO:
    EKKO-BSTYP
    EKKO-BSART
    EKKO-EBELN
    EKKO-LIFNR
    EKPO:
    EKPO-EBELN
    T166K
    BSTYP
    ESART
    TDID = F01
    You can use this for your customization.
    regards,
    Maia
    Edited by: Maia on Jul 23, 2008 5:22 PM

  • SAP query for asset report with retirement and depreciation retirement

    Hi Expert,
    Can anyone tell me in table ADA which filed is holding the figure of retirement and retirement depreciation?
    Thank oyu

    Hi,
    Max.
    For your question you can check the tables ANEP for asset transactions line items and for asset value fields you can check out ANLC.
    I hope this may help you.
    If you have any doubts feel free to ask.
    Regards,
    Pankaj A Bhalerao.

  • SAP Query for AR Aging Report

    Hello Gurus-
    I am trying to build a query for Aging report, and would like to include something like this:
    Customer-Reference-Payment terms-Due date-Current-31-60days-61-90days-91-120days-over120days-toatal amount.
    I have an infoset which includes BSID, KNA1, KNB1. I have maintained local fields:
    Due Date  =     Baseline date + cash discount days
    Statement Date = My input date.
    Current    = Condition (DUEDTE >= STATDTE - 30) formula (Amount)
    31 - 60 Days = Condition (DUEDTE >= STATDTE - 60 AND DUEDTE < STATDTE - 30) formula (Amount)
    61 - 90 Days = similar to above
    91 - 120 Days = similar to above
    Amount  = - 1 * (If Debit credit indicator = "H" then "Amount in local currency") otherwise "Amt in Loc.Cur"
    Over 120 Days = similar to above
    When I enter a statement date of today it works hunky dory...it all looks good...my current column looks good and do the rest. When i want to run this query as of couple of months ago (if today is 12/19/08 and i wanted to run my aging report for 10/31/08) it should give me aging as of my statement date 10/31/08 but it does not. It calculates the total amount as of today. I know because of local field "Amount" where i gave amount in local currency, but how would I tell that it should pick up amount in local currency till the statement date?
    Any input in this regards is highly helpful.
    Thanks,
    RNarayan

    Hi Ram,
    On your aging report you want to see invoices which are still not paid (or still open) as of a certain date. This date is "key date". You need to define a variable for key date (which is normally system date if you run today) but it could be a past date.
    So key date is let us say Oct 31st (X) and the system date is Dec 19th. When you run the report as of Oct 31st all invoices that are posted prior to Oct 31st (posting date less than X) and are still in BSID will show on your report. There is no issue here.
    Let us say an invoice was created on Oct 25th (Y) and was paid on Nov 15th (Z). The clearing date is Z. That means if you run the aging report today this invoice will not show.
    But you want to run the report on Oct 31st. This means X is greater than Y but is less than Z.
    Clearing date and posting date are part of BSAD. Report run date is the user input and is a variable.
    With the above concept and with the help of an ABAP programmer you should be able to solve the problem.
    Regards
    Sharabh

  • Urgent help:- Generate report from AD

    Team, Can any one help me to generate report from AD  in below format.
    User ID, MSOID, active/inactive, First Name, Last Name, Last login date.
    thanks in advance
    Regards, Triyambak
    Regards, Triyambak

    we have created custom attribute in our AD. below is the example
     Labeled Field
    Active Directory Attribute
    SSN
    EmployeeNumber
    Employee ID
    employeeID
    MSO ID
    serialNumber
    PCHA ID
    internationalISDNNumber
    SHCEmployee ID
    x121Address
    Contractor
    employeeType
    so MSO id means serialNumber .
    Regards, Triyambak

  • SAP QUERY for Customer Master

    I need to create a SAP Query to generate a report for customers and i need to use KNA1,KNB1,KNVV,KNVP and KNB5 tables.I have no idea how to create Query's using SQ01,02 and 03.Can some help me reagarding this in terms of documentation or any usefull material.I am using ECC 6.0 any documentation based on this version is helpful.
    Regards,
    Sri.

    Review following link;
    http://www.thespot4sap.com/articles/sap_abap_queries_create_the_query.asp
    Thanks.

  • Need to find SAP query for corresponding ABAP program.

    Hello SAP Experts,
    I have an ABAP program "AQDESYSTQV000001ORDERDETAILS==" in ECC 4.7. We had a client copy recently from ECC 4.7 to ECC 6.0. Now in ECC 6.0 I am unable to find this program in SE38.
    Can you please tell me how to create this program in ECC 6.0 ? Also, by the name of this program it is clearly seen that this program is automatically created by using SAP query.
    I tried to generate the program using SQ01, but system asks me for the SAP query.
    Can you please tell me how to find the SAP Query for the corresponding abap program ? Also, the steps as in how to generate the program in ECC 6.0.
    Thanks.

    Hi Danish,
    In the program name, the query name is always attached.
    For example : The program name is , AQ10SD==========Z10SD_INVPRODL=
                           Here the query name is Z10SD_INVPRODL and if you go to transaction SQ01 and enter the query name
    then you can find the infoset.
    And also you can gernate the program with the help of query name.
    Please try the same and let me know if any details are required.
    Regards,
    Darshana

  • Generate report from database using .xsl style sheet

    I am trying to view test result histories for specific uut serial numbers.
    We are logging all test data to the default access database template that was provided with Teststand.
    Is there a method of generating reports from the database that match the format of those generated at runtime?
    I was surprised to find that the default access database did not contain any gui or pre-made reports matching the xsl style sheets chosen in the report options dialog.
    My database skills are weak, I am able to browse the raw data and I see the relationships between some of the tables, but the prospect of recreating one of the xml report formats in access seems daunting. Am I missing something? what is the best way to print a uut report from test data stored in access?

    Hello msears,
    Thank you for posting on the NI Discussion Forums.  Unfortunately there are no tools available in TestStand for directly converting an Access database to a formatted .xsl report.  It is possible to have a step in a sequence that reads the information from the database, and create the .xsl report as if it had been generated at sequence run-time, by writing those values directly to Locals.ResultList.  Admittedly, this would require some knowledge of Microsoft Access, and the ability to write a program that will extract information from the database, in order to include it as a step in the sequence.
    Is there anything stopping you from creating a formatted .xsl report when the sequence is run (instead of trying to create it from previous data stored in an Access database)?
    Chris_G
    Sr Test Engineer
    Medtronic, Inc.

  • Getting error while generating report from Siebel (Siebel/BI Publisher)

    Dear,
    I have completed the integration of siebel and BIP according to the oracle document, I successfully upload the sample template from siebel application to BIP server.
    But now I am facing two issues,
    I am getting error "Unauthorized access, Please contact the administrator."  when I open report on BIP which I have uploaded from siebel.
    When I try to generate report from siebel=>application=>Tables=>S_Contact I am getting the below error when click on table report from Report button.
    (httptransport.cpp (1635)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 500'
    (httptransport.cpp (983)) SBL-EAI-04117: HTTP Request error during 'Submitting Data Send HTTP request': 'Status code - 500'
    (soapbinding.cpp (675)) SBL-EAI-04304: Unknown Part ':oracle.xdo.webservice.exception.InvalidParametersException'  for operation 'runReport' exists in SOAP message.
    (outdisp.cpp (247)) SBL-EAI-04308: Operation 'runReport' of Web Service 'http://xmlns.oracle.com/oxp/service/PublicReportService.PublicReportServiceService' at port 'PublicReportService' failed with the following explanation: "oracle.xdo.webservice.
    Invalid User Name and Password for BIP Server
    (xmlpadaptersvc.cpp (2287)) SBL-RPT-50529: Verify BI Publisher Server Userid and Password.
    Error in generating Report Output file /siebel8/sea81/siebsrvr/siebel8/sea81/siebsrvr/xmlp/reports/Rept11-3U7M403.PDF in the XMLP Engine
    (xmlpadaptersvc.cpp (2983)) SBL-RPT-50524: BI Publisher engine failed to generate report.
    Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    ( (0) err=2818155 sys=9815388) SBL-OMS-00107: Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    (bsvcmgr.cpp (1392) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    (bsvcmgr.cpp (1236) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    (smireq.cpp (425) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    Please help to resolve this issue.
    Regards,
    Soahil

    This specifically means that the destinations have not been configured in the Crystal Job Server.  If you're running 4.x, this may be part of the "Adaptive Job Server" instead of or in addition to a Crystal Job Server.  If you're using 3.1 or earlier, you'll also have to set up the destination in the Destination Job Server.
    You'll have to log in to the CMC, go to Servers, right-click on the correct job server and go to "Destinations".  You'll then add something like "File" or "Unmanaged Disk" to the available destinations and save.  Stop the job server, start it again, and your error should go away.
    Please be aware that unless you're using specific credentials to schedule the report or you're saving to the server where BO is installed, you'll need to make sure that the BO services are running under a network "Services" account that has access to the folder you're scheduling the report to. By default during installation it's set to run under the "Local Services" account that doesn't have access to the network.
    -Dell

  • I wish to generate reports from the database an out put it but i need to enter a date from and to ina  html input box

    i wish to generate reports from the database an out put it
    but i need to enter a date from and to ina html input box
    in the input box a data of range will be input from a start
    to latest
    latest being the default as today's date.
    any help tips snipplets, concepts , turot=rails.
    thanks

    easycfm.com has tutorials for people who are brand new.
    If you don't know much about sql, I have heard good things
    about the book, Teach Yourself SQL in 10 Minutes by Ben
    Forta.

  • Generate report from flex

    If its possible to generate report from flex.Please help me

    Hi,
    thanks for your reply. I tried with alive pdf, but source
    code only AIR files. can we use this in web based flex?. How we can
    format the report like html code? I just see in alivepdf, its only
    linebyline display, not multiple columns? pls advise.
    thanks alot
    Subhash

  • Generate reports from lists in SharePoint 2013 (Office 365)

    Hello everyone,
    We are in the need to generate reports from lists in SharePoint 2013. The reports would do data mingling between lists (like a relational database) and generate the reports in HTML and maybe a link to pdf on the SharePoint site.
    We are currently generating reports in Access. This is an issue for two reasons:
    Reports cannot be generated on the fly. Whenever we want reports in pdf form, we have to go into Access and run our reports macro written in VBA. It essentially generates the reports as pdf into our synced SkyDrive, which syncs it to our SharePoint site
    Report generation cannot be done by the client. This is due to the same concept as (1). We need to generate reports in Access.
    Is there any way to do this in SharePoint 2013? Are there any apps that do this?
    Any guidance or help would be appreciated.
    FYI: Our SharePoint server is hosted on the Office 365 network. It is not a local system.
    Thanks

    One option is to run the info into a Word Template and then run Word Automation Services to convert to PDF, but I think you're still going to run into some similar issues.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

Maybe you are looking for

  • Installation problem on Win2K Advanced Server

    I am getting the following error while installing the Java COM bridge: "Error while registering J2EE Client Access services COM bridge registry keys." Any suggestions on how to work around this?

  • Spool request

    Hi experts, I have created an error log in the background using JOB_OPEN  JOB_SUBMIT and  JOB_CLOSE. A job is being processed successfully and a spool is also being created with the job and all the records that are being read in the report are being

  • How do i copy Ipod classic songs to new computer when it says "Ipod synced with another library" and cannot find that library

    Have a new PC and have a classic Ipod with about 6000 songs and had my itunes on an external HD a Maxtor One Touch II. Make a long story short the songs are not in the external HD no more songs. also looking in the C drive of the computer \My Music\i

  • Color management with HP officejet 6500 E709 serie

    Can you pls tell me what my color management settings should be set to on mty HP officejet 6500 E 709 series? It is connected to an HP Elitebook 6930p.  All cartridges are new but none of the "red/pink" colors print.  Thank you.

  • Ringtone Problem since GB Update

    I love the Gingerbread update, BUT... since the update, my assigned ringtones aren't working.  When someone calls, the assigned ringtone plays for whoever was the last caller before that.  I tried going in and reassigning all of my ringtones, but it