Custom Report Time

Dear Gurus..
I need to develop a custom report such dat i need to check mnth vise opening and closing balance of quota of particular leave..
Eg for month of january:
I need to see opening balance as baalnce on 1 st jan:
and  closing balance  as balance on 31 st jan....
Please suggest on which table day by quota is maintained....
Regards
Ashima

Hi Sikindar,
I dont think she can make use of PT_QTA10 as she wants balances opening and closing for a given month.
Ashima,
Is quota accrual done in time evaluation? If yes do you use time types for it? If yes then do you store them in SALDO? If yes then quota in that period can be fetched from SALDO.
The absences in that period can be taken from IT 2001.  The difference from both these values will give opening and closing balances in that month.
cheers
AJ

Similar Messages

  • Custom Report times out

    Greetings,
    We are experiencing a very peculiar problem with a custom report where it times out after the stipulated 30 minutes (rdisp/max_wprun_time = 30 minutes). What is unusual is that, the same report, with the same selection criteria, finishes within 20 minutes at some times or even in a lesser duration. I have been unable to establish any correlation between when it runs and when it times out.
    Some facts.
    1. There are enough free dialog wp, memory and CPU utilization is approximately 50% (or even less) when it does/doesn't finish. By this, I mean that the system is by no means under any kind of stress.
    2. Executing the report in the background is an option, but for what the report is meant for, it is necessary to run it in the foreground.
    3. I created indices on the tables it reads, which I see being used in the Explain Plan. But using the same indices, the report doesn't finish at other times.
    4. The table does an inner join of 2 huge tables; EKPO and EKKO and also an inner join on EBELN and EKET
    5. I have checked for locks in the system, but with locks on EKPO and EKKO, the report is still able to finish at some times.
    I can probably increase the time limit further, but that is the last thing I would like to do. What is perplexing is that the report finishes within the stipulated time at times. Am I missing something here ? Any help would be greatly appreciated.
    Thanks,
    Kunal

    Just a followup before I close this thread.
    The real issue here is that the report reads table A073 which has grown up to around 1 Gb. With this table being defined as fully buffered, buffering is not possible (or results in an error rather) and large amounts of time is spent reading it. In addition to this, the the program does an inner join of this table on MARA (another huge table).
    All the above information was found out courtesy ST05.
    Thank you for the inputs as always.
    Kunal

  • Custom Report taking more time to complete Normat

    Hi All,
    Custom report(Aging Report) in oracle is taking more time to complete Normal.
    In one instance, the same report is taking 5 min and the other instance this is taking 40-50 min to complete.
    We have enabled the trace and checked the trace file, but all the queries are working fine.
    Could you please suggest me regarding this issue.
    Thanks in advance!!

    TKPROF: Release 10.1.0.5.0 - Production on Tue Jun 5 10:49:32 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Sort options: prsela exeela fchela
    count = number of times OCI procedure was executed
    cpu = cpu time in seconds executing
    elapsed = elapsed time in seconds executing
    disk = number of physical reads of buffers from disk
    query = number of buffers gotten for consistent read
    current = number of buffers gotten in current mode (usually for update)
    rows = number of rows processed by the fetch or execute call
    Error in CREATE TABLE of EXPLAIN PLAN table: APPS.prof$plan_table
    ORA-00922: missing or invalid option
    parse error offset: 1049
    EXPLAIN PLAN option disabled.
    SELECT DISTINCT OU.ORGANIZATION_ID , OU.BUSINESS_GROUP_ID
    FROM
    HR_OPERATING_UNITS OU WHERE OU.SET_OF_BOOKS_ID =:B1
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.00 0.05 11 22 0 3
    total 3 0.00 0.05 11 22 0 3
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    3 HASH UNIQUE (cr=22 pr=11 pw=0 time=52023 us cost=10 size=66 card=1)
    3 NESTED LOOPS (cr=22 pr=11 pw=0 time=61722 us)
    3 NESTED LOOPS (cr=20 pr=11 pw=0 time=61672 us cost=9 size=66 card=1)
    3 NESTED LOOPS (cr=18 pr=11 pw=0 time=61591 us cost=7 size=37 card=1)
    3 NESTED LOOPS (cr=16 pr=11 pw=0 time=61531 us cost=7 size=30 card=1)
    3 TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=11 pr=9 pw=0 time=37751 us cost=6 size=22 card=1)
    18 INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK1 (cr=1 pr=1 pw=0 time=17135 us cost=1 size=0 card=18)(object id 43610)
    3 TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS (cr=5 pr=2 pw=0 time=18820 us cost=1 size=8 card=1)
    3 INDEX UNIQUE SCAN HR_ORGANIZATION_UNITS_PK (cr=2 pr=0 pw=0 time=26 us cost=0 size=0 card=1)(object id 43657)
    3 INDEX UNIQUE SCAN HR_ALL_ORGANIZATION_UNTS_TL_PK (cr=2 pr=0 pw=0 time=32 us cost=0 size=7 card=1)(object id 44020)
    3 INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=2 pr=0 pw=0 time=52 us cost=1 size=0 card=1)(object id 330960)
    3 TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=2 pr=0 pw=0 time=26 us cost=2 size=29 card=1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 11 0.01 0.05
    asynch descriptor resize 2 0.00 0.00
    INSERT INTO FND_LOG_MESSAGES ( ECID_ID, ECID_SEQ, CALLSTACK, ERRORSTACK,
    MODULE, LOG_LEVEL, MESSAGE_TEXT, SESSION_ID, USER_ID, TIMESTAMP,
    LOG_SEQUENCE, ENCODED, NODE, NODE_IP_ADDRESS, PROCESS_ID, JVM_ID, THREAD_ID,
    AUDSID, DB_INSTANCE, TRANSACTION_CONTEXT_ID )
    VALUES
    ( SYS_CONTEXT('USERENV', 'ECID_ID'), SYS_CONTEXT('USERENV', 'ECID_SEQ'),
    :B16 , :B15 , SUBSTRB(:B14 ,1,255), :B13 , SUBSTRB(:B12 , 1, 4000), :B11 ,
    NVL(:B10 , -1), SYSDATE, FND_LOG_MESSAGES_S.NEXTVAL, :B9 , SUBSTRB(:B8 ,1,
    60), SUBSTRB(:B7 ,1,30), SUBSTRB(:B6 ,1,120), SUBSTRB(:B5 ,1,120),
    SUBSTRB(:B4 ,1,120), :B3 , :B2 , :B1 ) RETURNING LOG_SEQUENCE INTO :O0
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 20 0.00 0.03 4 1 304 20
    Fetch 0 0.00 0.00 0 0 0 0
    total 21 0.00 0.03 4 1 304 20
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    1 LOAD TABLE CONVENTIONAL (cr=1 pr=4 pw=0 time=36498 us)
    1 SEQUENCE FND_LOG_MESSAGES_S (cr=0 pr=0 pw=0 time=24 us)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 4 0.01 0.03
    SELECT MESSAGE_TEXT, MESSAGE_NUMBER, TYPE, FND_LOG_SEVERITY, CATEGORY,
    SEVERITY
    FROM
    FND_NEW_MESSAGES M, FND_APPLICATION A WHERE :B3 = M.MESSAGE_NAME AND :B2 =
    M.LANGUAGE_CODE AND :B1 = A.APPLICATION_SHORT_NAME AND M.APPLICATION_ID =
    A.APPLICATION_ID
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 2 0.00 0.00 0 0 0 0
    Fetch 2 0.00 0.03 4 12 0 2
    total 5 0.00 0.03 4 12 0 2
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    1 NESTED LOOPS (cr=6 pr=2 pw=0 time=15724 us cost=3 size=134 card=1)
    1 TABLE ACCESS BY INDEX ROWID FND_APPLICATION (cr=2 pr=0 pw=0 time=20 us cost=1 size=9 card=1)
    1 INDEX UNIQUE SCAN FND_APPLICATION_U3 (cr=1 pr=0 pw=0 time=9 us cost=0 size=0 card=1)(object id 33993)
    1 TABLE ACCESS BY INDEX ROWID FND_NEW_MESSAGES (cr=4 pr=2 pw=0 time=15693 us cost=2 size=125 card=1)
    1 INDEX UNIQUE SCAN FND_NEW_MESSAGES_PK (cr=3 pr=1 pw=0 time=6386 us cost=1 size=0 card=1)(object id 34367)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 4 0.00 0.03
    DELETE FROM MO_GLOB_ORG_ACCESS_TMP
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.02 3 4 4 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.02 3 4 4 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    0 DELETE MO_GLOB_ORG_ACCESS_TMP (cr=4 pr=3 pw=0 time=29161 us)
    1 TABLE ACCESS FULL MO_GLOB_ORG_ACCESS_TMP (cr=3 pr=2 pw=0 time=18165 us cost=2 size=13 card=1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 3 0.01 0.02
    SET TRANSACTION READ ONLY
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.01 0 0 0 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.01 0 0 0 0
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 1 0.00 0.00
    SQL*Net message from client 1 0.00 0.00
    begin Fnd_Concurrent.Init_Request; end;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 148 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.00 0 148 0 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    log file sync 1 0.01 0.01
    SQL*Net message to client 1 0.00 0.00
    SQL*Net message from client 1 0.00 0.00
    declare X0rv BOOLEAN; begin X0rv := FND_INSTALLATION.GET(:APPL_ID,
    :DEP_APPL_ID, :STATUS, :INDUSTRY); :X0 := sys.diutil.bool_to_int(X0rv);
    end;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 9 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.00 0 9 0 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 8 0.00 0.00
    SQL*Net message from client 8 0.00 0.00
    begin fnd_global.bless_next_init('FND_PERMIT_0000');
    fnd_global.initialize(:session_id, :user_id, :resp_id, :resp_appl_id,
    :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id,
    :conc_program_id, :conc_request_id, :conc_priority_request, :form_id,
    :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id,
    :server_id); fnd_profile.put('ORG_ID', :org_id);
    fnd_profile.put('MFG_ORGANIZATION_ID', :mfg_org_id);
    fnd_profile.put('MFG_CHART_OF_ACCOUNTS_ID', :coa);
    fnd_profile.put('APPS_MAINTENANCE_MODE', :amm); end;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 8 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.00 0 8 0 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 1 0.00 0.00
    SQL*Net message from client 1 0.00 0.00
    SELECT FPI.STATUS, FPI.INDUSTRY, FPI.PRODUCT_VERSION, FOU.ORACLE_USERNAME,
    FPI.TABLESPACE, FPI.INDEX_TABLESPACE, FPI.TEMPORARY_TABLESPACE,
    FPI.SIZING_FACTOR
    FROM
    FND_PRODUCT_INSTALLATIONS FPI, FND_ORACLE_USERID FOU, FND_APPLICATION FA
    WHERE FPI.APPLICATION_ID = FA.APPLICATION_ID AND FPI.ORACLE_ID =
    FOU.ORACLE_ID AND FA.APPLICATION_SHORT_NAME = :B1
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 2 0.00 0.00 0 7 0 1
    total 4 0.00 0.00 0 7 0 1
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    1 NESTED LOOPS (cr=7 pr=0 pw=0 time=89 us)
    1 NESTED LOOPS (cr=6 pr=0 pw=0 time=93 us cost=4 size=76 card=1)
    1 NESTED LOOPS (cr=5 pr=0 pw=0 time=77 us cost=3 size=67 card=1)
    1 TABLE ACCESS BY INDEX ROWID FND_APPLICATION (cr=2 pr=0 pw=0 time=19 us cost=1 size=9 card=1)
    1 INDEX UNIQUE SCAN FND_APPLICATION_U3 (cr=1 pr=0 pw=0 time=9 us cost=0 size=0 card=1)(object id 33993)
    1 TABLE ACCESS BY INDEX ROWID FND_PRODUCT_INSTALLATIONS (cr=3 pr=0 pw=0 time=51 us cost=2 size=58 card=1)
    1 INDEX RANGE SCAN FND_PRODUCT_INSTALLATIONS_PK (cr=2 pr=0 pw=0 time=27 us cost=1 size=0 card=1)(object id 22583)
    1 INDEX UNIQUE SCAN FND_ORACLE_USERID_U1 (cr=1 pr=0 pw=0 time=7 us cost=0 size=0 card=1)(object id 22597)
    1 TABLE ACCESS BY INDEX ROWID FND_ORACLE_USERID (cr=1 pr=0 pw=0 time=7 us cost=1 size=9 card=1)
    SELECT P.PID, P.SPID, AUDSID, PROCESS, SUBSTR(USERENV('LANGUAGE'), INSTR(
    USERENV('LANGUAGE'), '.') + 1)
    FROM
    V$SESSION S, V$PROCESS P WHERE P.ADDR = S.PADDR AND S.AUDSID =
    USERENV('SESSIONID')
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.00 0.00 0 0 0 1
    total 3 0.00 0.00 0 0 0 1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    1 NESTED LOOPS (cr=0 pr=0 pw=0 time=1883 us cost=1 size=108 card=2)
    1 HASH JOIN (cr=0 pr=0 pw=0 time=1869 us cost=1 size=100 card=2)
    1 NESTED LOOPS (cr=0 pr=0 pw=0 time=1059 us cost=0 size=58 card=2)
    182 FIXED TABLE FULL X$KSLWT (cr=0 pr=0 pw=0 time=285 us cost=0 size=1288 card=161)
    1 FIXED TABLE FIXED INDEX X$KSUSE (ind:1) (cr=0 pr=0 pw=0 time=617 us cost=0 size=21 card=1)
    181 FIXED TABLE FULL X$KSUPR (cr=0 pr=0 pw=0 time=187 us cost=0 size=10500 card=500)
    1 FIXED TABLE FIXED INDEX X$KSLED (ind:2) (cr=0 pr=0 pw=0 time=4 us cost=0 size=4 card=1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    asynch descriptor resize 2 0.00 0.00
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 6 0.00 0.00 0 0 0 0
    Execute 6 0.01 0.02 0 165 0 4
    Fetch 1 0.00 0.00 0 0 0 1
    total 13 0.01 0.02 0 165 0 5
    Misses in library cache during parse: 0
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 37 0.00 0.00
    SQL*Net message from client 37 1.21 2.19
    log file sync 1 0.01 0.01
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 49 0.00 0.00 0 0 0 0
    Execute 89 0.01 0.07 7 38 336 24
    Fetch 29 0.00 0.09 15 168 0 27
    total 167 0.02 0.16 22 206 336 51
    Misses in library cache during parse: 3
    Misses in library cache during execute: 1
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    asynch descriptor resize 6 0.00 0.00
    db file sequential read 22 0.01 0.14
    48 user SQL statements in session.
    1 internal SQL statements in session.
    49 SQL statements in session.
    0 statements EXPLAINed in this session.
    Trace file compatibility: 10.01.00
    Sort options: prsela exeela fchela
    1 session in tracefile.
    48 user SQL statements in trace file.
    1 internal SQL statements in trace file.
    49 SQL statements in trace file.
    48 unique SQL statements in trace file.
    928 lines in trace file.
    1338833753 elapsed seconds in trace file.

  • Custom report on payroll and time evaluation results

    Hello Experts,
    My client would like to have a custom report on payroll and time evaluation results , can you please provide me with 2 options of achieving them.
    Thanks,
    Regi

    Hi,
    The time clusters are found using reports RPCLST*(B2, B1, PC etc) via SE38. You can find the time clusters under the time menu in the menu tree.
    PCL1 - Database for HR work area
    PCL2 - Accounting Results (time, travel expense and payroll);
    The database table PCL2 contains the following data areas:
    B2 time accounting results
    CD cluster directory of the CD manager
    PS generated schemas
    PT texts for generated schemas
    RX payroll accounting results/international
    Rn payroll accounting results/country-specific ( n = HR country indicator )
    ZL personal work schedule
    Tto retrieve payroll results accesse SAP transaction PC_PAYRESULT for all countries.
    Finally u can get the results for time PT_CLSTB2 , for Payroll PC_PAYRESULT. With this t.codes u can get the require results for ur custom report.
    Regards,
    Devi.

  • Changing a custom report to be time sensitive

    Hi
    I posted this in FI too thought the MM people might have some inputs as to how to correct the Zvenclass if we use the standard SAP field on the accounting view table LFB1 MINDK minority indicator
    We need to change the custom report zvenclass, it is a report that tells us the amount spent for each vendor in a specific class. I have the date/time sensistive information for the amount spent but not the change in vendor class from the vendor master. I need this to be date driven too. As in if a vendor is a small business in 2005 and you change the vendor to be a large vendor in 2011. Then I want the report for dates and values in 2008 to show small business and the dates and values in 2011 to show large business.
    The assignment is not time dependent, it has to be manually changed.
    I did see through the CDHDR and CDPOS tables, but could not pinpoint to the changes in the valuation classes.
    Is there any other way if I can find whether I can find the changes?
    Now I did review the values from the custom tables, here I find that there is a difference in the sum totals of the postings when I add up the individual years compared to the consolidated report (for ex: 200720082009 is not equal to 2007 to 2009) so am I right in assuming that the system does account for the changes. Any other help in this regard would be appreciated.
    Any inputs on this will be appreciated.
    Thanks

    We are trying to solve this by altering the code for the report.
    Will update if it works though.

  • Custom report to track the documents

    Hai All,
    My Client requires a custom report to track the document flow any time i.e., once the material arrives the purchase dept makes an entry like PO date the date of arrival,and Gr date the GR approval date and document handed over for  Invoice verification date and payment made date.
    How is achieve this?
    Regards
    R.Senthilnambi

    No My client requirement is not like that,suppose one fine day if he wants to track the positon of GRN document or a bill at what stagei.e.,if in FI if they say they have not received any document to process or they hold the document for days and say just today GRN has been handed over to him ,The Materials guy has to generate a report and say this is the day the document is handed over to you.
    Is this can be done.or only out of SAP.
    Regards
    Senthil

  • Migrate custom reports UCCX 8.0 to 9.0 issue

    Dear all,
    We migrated UCCX 8.0 to the new UCCX 9.0. After the migration the customized reports (designed with old version of Crystal Reports) not work in the new CCX Historical Reports 9.0.
    Any idea or procedure to migrate easy the customized reports from UCCX 8.0 to 9.0 without re-design the report with Crystal Reports 11?
    Thanks so much!

    The advice I have seen in this forum, many times, is that you do NOT have Acrobat and Reader installed together, since some components are the same (same module name?) and installing Reader causes problems for Acrobat

  • Attach Custom Report to PO Approval Notification

    Hi All,
    I m currently working on a requirement to attach a custom report along with the PO Output for communication report in the PO Approval. I was tracing and found out that the PO Output for communication has been submitted in PO_COMMUNICAITON_PVT package. After that i am unable to trace further. Please let me know how i can i trace this and how to attach a custom report in PO Approval.
    Thanks in advance.

    Hi,
    We are unable to understand your requirement correctly.. Do you use any schedule conc. request to generate the Custom report??? At what time you want to attach custom report in the PO, during the PO creation process by the buyer (before submitting for approval)?
    Can the buyer, generate the custom report and save it locally (in his m/c) before attaching it to the PO..?
    Kind Regards,
    S.P DASH

  • Custom report to get MD04 but for n materials

    Dear All...
    Do you know if already exist a report that show same information than the MD04?
    Is needed to put several material numbers and get the MD04 information to can do sorts, filters, download to excel.
    Is like the MDLD transaction but instead to print it, have the ability to save it in a excel file.
    The Idea is to have a customized report that can be run by 1 or more materials and show like a "photo" on how is MD04 now.
    Have you a case like this?
    How I can create that report?
    Any idea?

    BAPI_MATERIAL_STOCK_REQ_LIST gives you all data of MD04.
    MD_STOCK_REQUIREMENTS_LIST_API is a FM that is called inside BAPI_MATERIAL_STOCK_REQ_LIST and returns only details of a element (when you click magnifying glass icon in MD04).
    You should test both FMs in SE37 transaction providing it a material and a plant(optional), and check what import data you need.
    CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'
            EXPORTING
              MATNR                          = p_matnr
              WERKS                          = p_werks
            IMPORTING
              E_MT61D                        = wa_mt61d
            E_MDKP                         =
            E_CM61M                        =
              E_MDSTA                        = wa_mdsta
            E_ERGBZ                        =
          TABLES
            MDPSX                          =
            MDEZX                          =
            MDSUX                          =
            EXCEPTIONS
              MATERIAL_PLANT_NOT_FOUND       = 1
              PLANT_NOT_FOUND                = 2
              OTHERS                         = 3.
    This is a little example of the FM call.
    Note that function modules only receive a single material, so in your report you must call the function as many times as materials you have and store return items in internal tables before you display them.

  • Custom Report issue

    Hi Gurs,
    I am in middle of a custom report developement which proivdes PO numbera and some of its relative dat, PR number and its relative data againust all the status of invoices(posted,parked,cancelled etc)
    the issue i m facing is client wants Purchasing group in input screen, i took the purchasing group from EBAN, but when i run the report its taking lot of time to execute,
    Could any one tell me how can i filtter the data so that i can get all the above mentioned data for a PG, or can i add any other field and make it mandatory to filter,
    please suggest any other approches /idea/ how can i reduce the time interval
    Thanks
    Ravi

    HI,
    At present we are using logic based on input example PR number first program will extract data for PR and then It checks EKKO and EKPO for PO numbers and for filter PO number program will check RBKP for invoice numbers,
    Its real Logic or you give example only?
    But if i provice Purchasing group it checks the whole EBAN and next process the same steps,
    its throwing run time errore,
    As you said your company code and invoice document date are mandatory field
    so your logic should flow from invoice table and end on PR number like below
    RBKP and RSEG you will get invoice document date and Po number
    Now pass Po number into table EKPO and get PR number ,if you want report for purchasing group wise then
    add table EKKO and pass Po number  there and ask ABAP consultant  that when Purchasing group on selection screen ,output show only that Purchase group related
    Regards
    Kailas Ugale

  • Short dump in custom report in production

    Hi Experts,
      I have a custom report which is run through SM37 as a background job. it takes long time to run and then get canceled with       short dump in production but it runs fine in development.
    description of short dump.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          03.05.2010 11:33:06
    Short text
    |    SQL error in the database when accessing a table.

    Hi,
    Please go through the below notes
    [Note 1379839 - RuntimeError DBIF_RSQL_SQL_ERROR Exception CX_SY_OPEN_SQL_DB|https://service.sap.com/sap/support/notes/1379839]
    [Note 1098183 - RunErr dbif_rsql_sql_error with exception CX_SY_OPEN_SQL_DB|https://service.sap.com/sap/support/notes/1098183]
    [Note 1410849 - Runtime error DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"|https://service.sap.com/sap/support/notes/1410849]
    This is mainly program error and need corrections...
    Compare the Patch level on both DEV and PRD server. Also make sure, whether program you are using on developement is modified (Corrected) or standard one.
    If you search for the SAP Notes with "DBIF_RSQL_SQL_ERROR Exception CX_SY_OPEN_SQL_DB" string, you will get several hits. See the notes which are applicable in your scenario...
    Regards.
    Sumit Nene

  • Printer- custom report not printing

    HI,
    Apps 11.5.10.2
    RDBMS 9i
    Am able to get print from appliaction for stanadard reports.
    If i give custom report.. its printing but content is not same as output..
    OUTPUT is coming in one line..
    %PDF-1.1
    1 0 OBJ
    << 0
    /Creator (Developer 2000)
    etc
    Thanks

    HI,
    Am getting output like follwing
    Please run the test in (Note: 264118.1 - 11i : Pasta Pasta Printing Setup Test) to verify that PASTA is configured properly.------------- Test Result Summary -------------
    Total Tests: 1
    Success Count: 0
    Error count: 1
    Test Names Status
    oracle.apps.izu.fnd.diag.FNDPastaDiag Succeeded with Warnings
    ----------- End Test Result Summary -----------
    ============= Test Result =============
    Test Class Name: oracle.apps.izu.fnd.diag.FNDPastaDiag
    Application Code: FND
    Group Name: Setup
    Status: Succeeded with Warnings
    Time: 2010-07-06 11:57:07.0
    Time Consumed: 8154
    Test Version: 115.8
    Tool Version: 115.131
    Install Version: Base: none Upgrade: none
    Mode: 1
    Index: 1
    Tested Class Name Tested Class Version
    oracle.apps.izu.fnd.diag.FNDRequestIDLov 115.4
    oracle.apps.jtf.regress.qatool.base.DBUtility 115.1
    oracle.apps.jtf.regress.qatool.base.DiagBase 115.2
    oracle.apps.jtf.regress.qatool.base.FileUtility 115.1
    oracle.apps.jtf.regress.qatool.base.HRInfo 115.0
    oracle.apps.jtf.regress.qatool.base.OSUtility 115.5
    oracle.apps.jtf.regress.qatool.base.SessionHelper 115.0
    oracle.apps.jtf.regress.qatool.fnd.FNDUtility 115.10
    Input Names Input Values
    Responsibility ID 50300
    Request Id 320444
    Diagnostic Test Executed By SYSADMIN
    Dependent Class Names
    Report:
    Oracle Diagnostics Information Product Installation Status and Patchset Level Parameters
    Generic Tests Language Information Pasta Driver Settings
    Concurrent Node Environment Variables Pasta Viewer Settings to View Bi-Directional Reports Bi-Directional Specific Settings
    Retrieving Log and Configuration Files for Support References
    Database Information [Top]
    Server = rofdbs5
    Version = Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    Name/SID = STAGE
    Language = AMERICAN
    Character Set = US7ASCII
    Application Information [Top]
    Release = 11.5.10.2
    Application = Projects (275) with status of INSTALLED
    Responsibility = RI_Projects Superuser (50300)
    MultiOrg Flag = Y
    Operating Unit = RI Operating Unit (104)
    Security Group = Standard
    Oracle Diagnostics Information [Top]
    Patch Oracle Diagnostics 2.5 RUP A (5914893) is installed
    Patch Oracle E-Business Suite 11i Diagnostic Tools, Nov 2008 - 8.11 (7530017) is installed
    Metalink Document Id = 264118.1
    Product Installation Status and Patchset Level [Top]
    Application Short Name Id Installation Status Patch Level
    Application Object Library FND 0 Installed 11i.FND.H
    Applications DBA AD 50 Shared 11i.AD.I.6
    System Administration SYSADMIN 1 Installed Not Available
    XML Publisher XDO 603 Not Installed 11i.XDO.H
    4 rows retrieved
    Parameters [Top]
    Username = SYSADMIN
    Responsibility = RI_Projects Superuser (50300)
    Request Id = 320444
    Generic Tests [Top]
    Node Information
    Tiers = Admin, Web, Forms, Concurrent
    Pasta Executable Version
    Version = 3.0.4.0(patch
    Oracle Reports Version
    Detected version 6.0.8.28.0 is >= expected version 6.0.8.18
    Language Information [Top]
    Installed Languages
    Language Code Installed Flag NLS Language
    US Base AMERICAN
    1 row retrieved
    Database Character Set
    Database character set = US7ASCII
    Pasta Driver Settings [Top]
    Printer Name = CD1230
    Printer Style = PORTRAIT
    WARNING - Driver PORTRAITHPLJ3-A4 is not defined for pasta printing
    ACTION - For pasta printing please modify printer driver PORTRAITHPLJ3-A4 to have FNDPSTAX as program.
    Reference: Oracle Applications System Administrator's Guide
    Pasta PrintForms
    The printforms feature is not used. To insert a company logo or background image in a concurrent report please refer to PASTA 3.0 Release Information
    Pasta Configuration File
    The pasta executable chooses the non default configuration file defined as a driver argument '-F' using the following rules (in the following order):
    1. Configuration file associated to the specific printer
    2. Configuration file for all the printers
    Current settings
    The PASTA variable is not set
    The file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta_CD1230.cfg' does not exist
    The file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg' exists
    Configuration file in use = /stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg
    Concurrent Node Environment Variables [Top]
    NLS_LANG Variables
    Database = AMERICAN_AMERICA.US7ASCII
    OS environment = AMERICAN_AMERICA.US7ASCII
    Concurrent Request = AMERICAN_AMERICA.US7ASCII
    Pasta Environment Variables
    LANG =
    PASTA =
    IX_PRINTING =
    IX_RENDERING =
    APPLLCSP Environment Variable for Bitmap Report Printing
    APPLLCSP =
    Pasta Viewer Settings to View Bi-Directional Reports [Top]
    Bi-Directional Mime Type
    WARNING - The mime type 'apps/bidi' is missing
    ACTION - Create a new mime type as mentioned in the PASTA Users Guide 3.0. See also PASTA 3.0 Release Information
    Profile Options
    Viewer: Application for Text (FS_MIME_TEXT) = null
    Viewer: Text (EDITOR_CHAR) = Browser
    Bi-Directional Specific Settings [Top]
    The current database character set does not require bi-directional settings
    Retrieving Log and Configuration Files for Support [Top]
    Adding file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    This test cannot get the IX Library configuration file (ixlib.cfg) because environment variable IX_PRINTING is not set. For more information see note Oracle Reports 6i Setup Guide for Oracle Applications 11i
    This test cannot collect the IX Display configuration file (ixlib.cfg) because environment variable IX_RENDERING is not set. See note Oracle Reports 6i Setup Guide for Oracle Applications 11i
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/uiprint.txt' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/Tk2Motif.rgb' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/uifont.ali' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageappl/fnd/11.5.0/reports/HPP.prt' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stagecomn/admin/log/STAGE_rofdbs5/l320444.req' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stagecomn/admin/out/STAGE_rofdbs5/o320444.out' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Please upload the generated output file (/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip) when creating the service request
    References [Top]
    Note 239196.1 PASTA 3.0 Release Information
    Note 240864.1 Activating and Configuring IX Library
    Note 189708.1 Oracle Reports 6i Setup Guide for Oracle Applications 11i
    If you are experiencing any issues regarding this diagnostic test, please use Metalink to log an iTAR (Service Request) for product "Support Diagnostics Project" (ID=1332).
    If you have any question related to support diagnostic tools (installation, execution, usage or availability), you can ask us using the Support Diagnostics Project forum on Metalink.
    We would also appreciate your feedback regarding the usefulness of this test, however, there will be no replies to feedback emails.
    Error Message: 0 errors and 2 warnings were found.
    Fix Info: Please review the test summary for more information.
    ============ End Test Result ============

  • Error in Custom Report.

    Hi All,
    When i am running a custom report, it gives me the below error. Anyone please advice on what can be done to resolve this error. thanks in advance.
    WGT Custom: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    BVTWIPDJPCK module: GB BVT - Barcoded Discrete Pick List
    Current system time is 27-SEP-2012 15:49:53
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_SORT_BY='6'
    P_TXN_ONLY='2'
    P_FROM_JOB='2265926'
    P_TO_JOB='2265926'
    P_ORGANIZATION_ID='3630'
    P_qty_precision='2'
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_AMERICA.UTF8
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    Enter Password:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x005bdc9d, pid=18089, tid=3453852560
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_14-b05 mixed mode)
    # Problematic frame:
    # C [libc.so.6+0x57c9d] fclose+0x1d
    # An error report file with more information is saved as hs_err_pid18089.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Report Builder: Release 10.1.2.3.0 - Production on Thu Sep 27 15:49:58 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program was terminated by signal 6
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 45097091.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Output file size:
    0
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 27-SEP-2012 15:50:05
    ---------------------------------------------------------------------------

    Please enable trace/debug and see if more details are recorded in the concurrent request log file then.
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
    Also, please see old threads.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Signal+AND+6&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Signal+AND+6+AND+Custom&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Customized report in SAP MM

    Dear All,
    I am facing problem in preparing functional specification for a customized report.The requirement details are given below
    MC46 gives me a list of all items that have not got consumed since the last period (defined in terms of 'no of days' on the screen before executing the report) This report  give  a list of items that have shown nil consumption in the defined period. This list helps us analyze and categorize these items as Slow-moving or Non-Moving items. The output is in terms of Part no and Part Description.
    Example; Suppose we are executing the transaction  on say 29.09.2011.The system ,say give list of materials X1,X2 and X3 with nil consumption in the defined. The transactions suppose is again executed
    on 29.10.2011.The report  say again give a list of materials X1 and X3 with nil consumption. The material
    X2 is excluded from the report  as it might have been consumed in certain business processes(either issued to cost center or issued to production).
    The client wants a report from where it is possible to determine a list of materials along with consumption
    and the date on which the  material have moved out of stock for consumption. In otherworldu2019s we can say the report should give :
                        stock on starting  date(say 29.09.2011)
                        Consumption/movement in terms of date and quantity 
    The problem is that when the transaction MC46 is run the next time(say on 29.10.2011 or any day after
    29.09.2011) there might be materials which might have got consumed in the interim period and therefore have got excluded from the latest list. We need to have a look at these interim materials to analyze their movement/consumption.MC 46  Report does not give details of openinf stock, closing stock and the purpose for which the stock have moved out of stock
    The client wants a Z-Report which will give details about the material which have moved out of stock when the report will be executed ,opening stock,closing stock.The detail requirement are given below
    The report will assist the client to get a list   of all such items with reference to a starting date and their movement in the period (period from the starting date to the run date)
    Selection Screen(Input)
    Opening Date
    Closing date
    Movement type
    Plant
    Output
    Material nos(Material which have moved out of stock when the program was last executed)
    Movement type
    Movement date
    opening stock qty
    opening stock value
    closing stock qty
    closing stock value
    I request if any one can assist in preparing functional specifications
    Regards
    Manash Das

    In MC46  we get a report on slow moving items.Suppose we  have  execute dthe report today(19.09.2011) and number of days we put on the selection screen say 400 days.The report will give list of materials say X1,X2 and X3 which have not moved for 400 days.
    We again execute the report today say 19.10.2011.Now the report gives say list of materials X1 and X3 which have not moved for 400 days.Therefore from the period 19.09.2011 to 19.10.2010 X2 material have moved out from the list .The reason may be that it is issued to cost center or issued to production.
    The user tried to use V look up to get the list of materials which have moved during period 19.09.2011 to 19.10.2010.The user informed that when he is saving the report in local file the texts are getting saved in text format in excel file and hence he is unable to apply VLOOK up.
    Is there any Tcode in SAP from where i can get the list of missing material Or else can someone help me in preparing the functional specification
    Regards
    Manash Das

  • Custom Report using pre-defined template

    In 2012, How to create custom report using pre-defined reports template in below format?
    Column1 :- Device Name
    Column2 :- When installed (Date & Time)
    Column3 :- Success (Date & Time)
    Column3 :- Failed (Date & Time - With which error code)
    Column4 :- Not Installed
    Regards,
    Onkar.

    Here is what you need to do.
    Start by writing the SQL query that you want.
    Clone one of the existing report
    Replace the SQL query with the new query.
    Update the columns with what you need.
    http://www.enhansoft.com/

Maybe you are looking for

  • Apple Maps FAQ

    UNOFFICAL APPLE MAPS FREQUENTLY ASKED QUESTIONS In the absence of any office Apple FAQ document for their new iOS6 Maps app, I have complied the following: Q: How do I add or edit my business listing in Apple Maps? A: No official answer currently exi

  • Set all TextField background color

    I searched the help and online for how to accomplish this and came up with the following code. It would seem to me that there is a more straight forward way but this is the best I could manage. Any suggestions on how improve this. Also I could not ge

  • ORA-03113 in ExecuteSQL

    I have a web service written in C++ running under IIS and connecting to Oracle 9iR1 using OO4O from client version 9.2.0.1.0. I've been having this nagging problem on both my workstation and our test server. The symptom is when I try my web service i

  • WHY DOES MY CREATIVE CLOUD ALWAYS SAY START TRIAL! ! ! ??? I cant update lightroom correctly. Please Help.

    HOw do i fix this issue once and for ALL! THis will be the third time now that i bring this up to adobe.

  • How get LR5 from desktop to laptop with no disc drive

    How can I get my LR5 loaded on my iMac copied to my MacBook Pro which has no disc drive?