Require a detail report for  archiving on FI_FICA in SARA

Hello all,
When I run the Transaction SARA for the object FI_FICA for the Write step, the report dsiplays only the summary of the results.
I mean only the count of the number of the Objects that will be archived.
But I want to display a detailed log of which are the objects that are flagged for archiving. I tried to find out any Enhancements or BADI's but unable to find out.
Can somone please let me know if there is any scope to pull out the detailed report, by plugging in some custom code or if is there any other way to do that.
Thanks in advance.
Thanks & regards,
Y Gautham

Hi Gautham,
I don't know if you have already tried this but what you can do in the variant that you have created for the write program, at the bottom there are several select for the logs. For the first one "Detail Log" select "Complete", for the second one "Log Output" select "List and Application Log", save the variant and run the write program again (in test mode if you just want to see the output that you'd get). This should give you the detailed report that you're looking for.
Let me know if this works.
Cheers.

Similar Messages

  • Details report for the retropay by element process

    I have ran retropay by element and i would like to create a detail report that will show me all the entries for a specific retropay element.
    For example i have Basic salary and the retro element for this is Basic Salary Arrears
    When the retropay by element process runs from 01-jan-2010 to 01-jun-2010, I am getting 5 Basic Salary Arrears elements attached to the employee on the element entries window and when i click on the Entry values button i can see Pay Value for each Basic Salary Arrears element the difference is only on the Original Date Earned.
    It appears as follows:
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=31-JAN-2010
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=28-FEB-2010
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=31-MAR-2010
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=30-APR-2010
    Basic Salary Arrears
    Pay Value= 142.95
    Original Date Earned=31-MAY-2010
    Now i want to create a detail report for all these elements based on the Original Date Earned so that i am able to know for how many months of Basic Salary Arrears has been paid to all staff.
    Please help me!

    When i go and view the message in View >Payroll Process Results window. I can see the following error:
    The element RETRO_OVERTIME65 being retropaid must have a link effective at the date of the RetroPay (Assignment Number 8842)
    Please note RETRO_OVERTIME65 is a Non-reccuring element and i have included it while defining my Element Set.
    But this element is not attached in the pay period that i am trying to process my retropay by element run so does that mean that it will throw the following error due to this ?
    The element RETRO_OVERTIME65 being retropaid must have a link effective at the date of the RetroPay (Assignment Number 8842)
    Appreciate all your assistance/advice.
    Edited by: 594647 on Jan 18, 2010 7:35 PM

  • Master Detail Report for PDF Printing

    Dear All,
           While trying to create a master detail report using Oracle APEX 4.2 and BI Publisher. I tried creating report queries and report layout following the below mentioned steps.
    CREATE TYPE emp_row AS OBJECT (
      EMPNO NUMBER(4),
      ENAME VARCHAR2(10),
      JOB VARCHAR2(9),
      MGR NUMBER(4),
      HIREDATE DATE,
      SAL NUMBER(7,2),
      COMM NUMBER(7,2)
    CREATE TYPE emp_tab AS TABLE OF emp_row;
    CREATE TYPE dept_row AS OBJECT (
      DEPTNO NUMBER(2),
      DNAME VARCHAR2(14),
      LOC VARCHAR2(13),
      EMP_LIST emp_tab
    SELECT SYS_XMLAGG (
      SYS_XMLGEN(
      dept_row(
      d.deptno, d.dname, d.loc,
      CAST(MULTISET(SELECT e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm
      FROM emp e
      WHERE e.deptno = d.deptno) AS emp_tab)
      SYS.XMLGENFORMATtYPE.createFormat('DEPT')
      ) AS "XML_QUERY"
    FROM dept d
    WHERE d.deptno = 10;
    Though the above steps generates xml output while trying to generate in APEX it says unsupported datatype. Tried using DBMS_LOB as well no luck. Any inputs will be quite helpful. Should there be any other way to incorporate master detail report printing in APEX kindly advise.
    Thanks
    Ahmed

    Hi Ahmed_Jed,
    Ahmed_Jed wrote:
    Thanks Kiran for your prompt response. I tried following the steps already using this link (How To Create a Master-Detail PDF Report) somehow the detail record was not getting processed perhaps was trying to generate xml data using the above query. Any other reference will be highly appreciated.
    Regards
    Ahmed
        Well the problem lies here:
    SELECT SYS_XMLAGG (
      SYS_XMLGEN(
      dept_row(
      d.deptno, d.dname, d.loc,
      CAST(MULTISET(SELECT e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm
      FROM emp e
      WHERE e.deptno = d.deptno) AS emp_tab)
      SYS.XMLGENFORMATtYPE.createFormat('DEPT')
      ) AS "XML_QUERY"
    FROM dept d
    WHERE d.deptno = 10;
        The Report Query itself generates XML data (in the required BI Publisher format). So, no need to generate it like this.
        As you are using table functions your query should be of the type:
    SELECT EMPNO
                , ENAME
                , JOB
                , MGR
                , HIREDATE
                , SAL
                , COMM
        FROM TABLE ( EMP_PKG.GET_EMPLOYEES ( :PXX_DEPTNO ))
        where EMP_PKG.GET_EMPLOYEES is packaged table function which returns the Object Table of type EMP_TAB mentioned above.
        When you test the above Report Query with sample DEPTNO, it will generate the sample XML, which you can use to generate Report Layout in RTF format using BI Publisher Desktop.
        Hope this helps!
    Regards,
    Kiran

  • New report for Archiving data

    Hi to all,
    Can anybody kindly tell me how to solve the following:
    Due to the huge volume of records in the table ZMES_SEQ_DETAIL it required to archive the data based on the Date on which the record was created, which is 18 months older in the table ZMES_SEQ_DETAIL.
    Thanks in advance.
    Regards
    Simi

    Hi,
    SAP provides standard archive objects for standard tables. There is no archive object available to archive custom tables data (Z/Y tables). The option you have is to develop a custom archive object and related programs to archive data from the Z table.
    Checkout the following <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/2a/fa042d493111d182b70000e829fbfe/content.htm">link</a> for more details on developing archiving solutions.
    Hope this helps
    Cheers!
    Samanjay

  • Dynamically select detail report for a master report link item or button?

    I'm still new to APEX, so apologies if this sounds like a stupid question, but so far I can't find anything online about how to do the following.
    I have a simple report, and I want to be able to drill down from here to a detail report via a link item (or a button) in each row. The problem is that the specific detail report to use depends on a combination of values in the parent record.
    So if I have a parent record in the master report with values for columns 1/2/3 of A/B/C, I would drill down to a detail report against table X. If my parent record has values of D/E/F, I might drill down to a different detail report against table Y.
    I can build the individual reports easily enough, and I can set up a link item in the master report to drill down to a hard-coded detail report page. I can even generate the name (alias) of the relevant target report as an extra non-DB item in each row of the parent report. But I can't figure out how to allow each row in the parent report to actually link to a different detail report dynamically, depending on the contents of the parent row.
    Can anybody suggest an easy way to do this, or point me towards an online resource that would explain how to do this (preferably in basic terms that this APEX-newbie can understand)?
    Thanks for your help!

    Hi,
    When you say "Detail report" do you just mean a normal report of the child records for the selected master record or a tabular form style "Details report"?
    Using different reports on a page would, typically, depend on the value in a hidden page item - for example, P1_REPORT_TYPE. Your link could pass an appropriate value into this item and the second page would then use this as a Condition for each of the report regions - each region being conditionally displayed when the hidden item is a specific value.
    Andy

  • Need detailed report for Material wise cost components??

    HI
    I can only view one material at a time for the ck80_99 cost component report. Is there a way to view more materials from the same report. we have a option to give multiple material numbers but its not executing the report at that point, it first display all the materials with the costing variant when we further execute the reprt it is generating for only one material. Please help me on its urgent.
    If standard report is not available, can we go customized report for this?
    Thanks,

    HI Siva,
    Thanks for quick reply. Yeah, in S_ALR_87013047 i can compare only two materials. but i am looking for a report for group of materials for forecasting. Can we create acustomised report for this.
    Please let me know.
    Thanks
    vamshi

  • BI Publisher Report for Archived OIM tables

    Hi
    We perfomed Request archival operation in our OIM DB using http://docs.oracle.com/cd/E29505_01/doc.1111/e14308/archival_utilities.htm. Now ARCH* tables are created and it has relevant details.
    Now our requirment is to create a new report to read data from this archived tables using BI publisher. We are looking something similar to OOTB Attestation Request and Approval Reports -> Request Details in BI.
    We created a new report called "Request Details from Archive tables" similar to the OOTB one in BI front end. Also modifed data template by replacing "request*" tables to "arch_request*" as below. When we try to gernerate report now it is not working as expected.
    Do we need to change anything else ? Please advise
    Modified data template for reference
    <dataTemplate name="ArchRequestDetails" description="Each group that contains the logged in user as its direct user. All groups that are administered by the above set of groups are visible to the logged in user.">
         <parameters>
              <parameter name="xdo_user_name" dataType="character"/>
              <parameter name="p_varchar_ReqFN" dataType="character"/>
              <parameter name="p_varchar_ReqLN" dataType="character"/>
              <parameter name="p_varchar_ReqUID" dataType="character"/>
              <parameter name="p_varchar_ReqID" dataType="character"/>
              <parameter name="p_varchar_ReqPID" dataType="character"/>
              <parameter name="p_varchar_ReqStatu" dataType="character"/>
              <parameter name="p_varchar_ReqTyp" dataType="character"/>
              <parameter name="p_ReqDtFrom" dataType="date"/>
              <parameter name="p_ReqDtTo" dataType="date"/>
              <parameter name="p_varchar_BenFN" dataType="character"/>
              <parameter name="p_varchar_BenLN" dataType="character"/>
              <parameter name="p_varchar_BenUID" dataType="character"/>
         </parameters>
         <dataquery>
              <sqlstatement name="sql_L1_AllRequests">
                   <![CDATA[ SELECT ReqID as RequestID, 
            decode(ReqAction, 'Create Entity', 'Self Registration', 'Add', 'Provision Resource', 'Disable',   'Disable Resource',   'Enable',   'Enable Resource',   'Revoke',   'Revoke Resource',   'Modify Entity',   'Modify Profile') as RequestType,   
            ReqUID as RequesterUserID,
            ReqDate as RequestDate, 
            CurStatus as RequestStatus,
            null as ParentRequestID
       FROM (select distinct
              req.req_key as ReqID,
              req.req_obj_action as ReqAction, 
              usr.usr_login as ReqUID,
              req.req_create as ReqDate,
              ost.ost_status as CurStatus
         from req left outer join rqu on req.req_key = rqu.req_key,
              ost,
              usr,
              act,
              usr usr2
        where rqu.usr_key = usr2.usr_key
          and req.ost_key = ost.ost_key
          and req.req_createby = usr.usr_key
          and usr2.act_key = act.act_key
          and usr2.act_key in (select aad.act_key
                from aad,usg,usr
                where usg.usr_key = usr.usr_key
                  and aad.ugp_key = usg.ugp_key
                  and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
                  and (nvl(:p_varchar_ReqStatu,' ')=' ' or upper(ost.ost_status) like upper(:p_varchar_ReqStatu))
                  and (nvl(:p_varchar_ReqID,' ')=' ' or req.req_key like (:p_varchar_ReqID))
                  and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
            union
            select
              req.req_key as ReqID,
              req.req_obj_action as ReqAction, 
              usr.usr_login as ReqUID,
              req.req_create as ReqDate,
              ost.ost_status as CurStatus
            from
              req,
              ost,
              usr
            where
              req.ost_key = ost.ost_key
              and req.req_createby = usr.usr_key
              and req.req_obj_action = 'Create Entity'
              and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
              and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
              and ost.ost_status != 'Request Complete'
            union
            select req.req_key as ReqID,
              req.req_obj_action as ReqAction, 
              usr.usr_login as ReqUID,
              req.req_create as ReqDate,
              ost.ost_status as CurStatus
         from req,
              ost,
              usr,
              usr usr2,
              act
        where req.ost_key = ost.ost_key
              and req.req_createby = usr.usr_key
              and req.req_obj_action = 'Create Entity'
              and usr2.usr_login =(select upper(rqd.rqd_attr_value) from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID')
              and usr2.act_key = act.act_key
              and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
              and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
              and usr2.act_key in (select aad.act_key from aad,usg,usr
          where usg.usr_key = usr.usr_key
            and aad.ugp_key = usg.ugp_key and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
            and ost.ost_status = 'Request Complete')
          UNION ALL
          SELECT distinct request.request_key as RequestID, 
            request.request_model_name as RequestType,
            usr1.usr_login as RequesterUserID,
            request.request_creation_date as RequestDate,
            request.request_status as RequestStatus,
            request.request_parent_key as ParentRequestID
       FROM usr usr1 JOIN request req1 ON usr1.usr_key = req1.requester_key,
            request,
            (select distinct req3.request_key rk,
              usr2.usr_first_name bfn,
              usr2.usr_last_name bln,
              usr2.usr_login buid
            from arch_request req3,
              arch_request_beneficiary reqb1,
              usr usr2
            where req3.request_key = reqb1.request_key
              and reqb1.beneficiary_key = usr2.usr_key
            UNION
            select distinct req3.request_key rk,
              usr2.usr_first_name bfn,
              usr2.usr_last_name bln,
              usr2.usr_login buid
            from arch_request req3,
              arch_request_entities re1,
              usr usr2
            where req3.request_key = re1.request_key
              and re1.entity_key = usr2.usr_key)user1
          WHERE
            req1.request_key = request.request_key
            and (NVL(:p_varchar_ReqFN, ' ') = ' ' or UPPER(usr1.usr_first_name) LIKE UPPER(:p_varchar_ReqFN))
            and (NVL(:p_varchar_ReqLN, ' ') = ' ' or UPPER(usr1.usr_last_name) LIKE UPPER(:p_varchar_ReqLN))
            and (NVL(:p_varchar_ReqUID, ' ') = ' ' or UPPER(usr1.usr_login) LIKE UPPER(:p_varchar_ReqUID))
            and (NVL(:p_varchar_ReqID, ' ') = ' ' or UPPER(request.request_key) LIKE UPPER(:p_varchar_ReqID))
            and (NVL(:p_varchar_ReqPID, ' ') = ' ' or UPPER(request.request_parent_key) LIKE UPPER(:p_varchar_ReqPID))
            and (NVL(:p_varchar_ReqStatu, ' ') = ' ' or UPPER(request.request_status) LIKE UPPER(:p_varchar_ReqStatu))
            and (NVL(:p_varchar_ReqTyp, ' ') = ' ' or UPPER(request.request_model_name) LIKE UPPER(:p_varchar_ReqTyp))
            and request.request_creation_date between :p_ReqDtFrom and :p_ReqDtTo
            and (NVL(:p_varchar_BenFN, ' ') = ' ' or (UPPER(user1.bfn) LIKE UPPER(:p_varchar_BenFN) and request.request_key = user1.rk))
            and (NVL(:p_varchar_BenLN, ' ') = ' ' or (UPPER(user1.bln) LIKE UPPER(:p_varchar_BenLN) and request.request_key = user1.rk))
            and (NVL(:p_varchar_BenUID, ' ') = ' ' or (UPPER(user1.buid) LIKE UPPER(:p_varchar_BenUID) and request.request_key = user1.rk))
    ORDER BY RequestID ]]>
              </sqlstatement>
              <sqlstatement name="sql_L2_Approver_BPEL" dataSourceRef="BPEL JDBC">
    SELECT distinct wfproductivity_view.username as ApproverUserID
    FROM wfproductivity_view
    WHERE identificationkey = :RequestID
    </sqlstatement>
              <sqlstatement name="sql_L2_Approver">
    SELECT distinct usr.usr_login as ApproverUserID
    FROM rqh join usr on rqh.rqh_createby = usr.usr_key
    WHERE rqh.req_key = :RequestID
    And rqh.rqh_status = 'Approved'
    </sqlstatement>
              <sqlstatement name="sql_L1_Beneficiaries">
                   <![CDATA[  SELECT distinct
      FirstName as BenFName, 
      LastName as BenLName,
      userid as BenUserID,
      usr_emp_type as BenEmpType, 
      UsrStatus as BenUserStatus,
      OrgName as BenOrg
    FROM
      (select distinct
        usr2.usr_login AS userid,    
        usr2.usr_last_name AS LastName,
        usr2.usr_first_name AS FirstName,    
        usr2.usr_emp_type AS usr_emp_type,
        usr2.usr_status AS UsrStatus,    
        act.act_name AS OrgName
      from req left outer join rqu on req.req_key = rqu.req_key,
        ost,
        usr,
        act,
        usr usr2
      where req.req_key = :RequestID
        and rqu.usr_key = usr2.usr_key
        and req.ost_key = ost.ost_key
        and req.req_createby = usr.usr_key
        and usr2.act_key = act.act_key
        and usr2.act_key in
          (select aad.act_key
          from aad,usg,usr
          where
            usg.usr_key = usr.usr_key
            and aad.ugp_key = usg.ugp_key
            and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
        and (nvl(:p_varchar_ReqStatu,' ')=' ' or upper(ost.ost_status) like upper(:p_varchar_ReqStatu))
        and (nvl(:p_varchar_ReqID,' ')=' ' or req.req_key like (:p_varchar_ReqID))
        and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
        and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
        and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
        and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
      union
      select
        (select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID') AS userid,
        (select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.Last Name') AS LastName,
        (select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.First Name') AS FirstName,
        (select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.Xellerate Type') AS usr_emp_type,
        null AS UsrStatus,    
        null AS OrgName
      from req,
        ost,
        usr
      where req.req_key = :RequestID
        and req.ost_key = ost.ost_key
        and req.req_createby = usr.usr_key
        and req.req_obj_action = 'Create Entity'
        and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
        and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
        and ost.ost_status != 'Request Complete'
      union
      select usr2.usr_login AS userid,
        usr2.usr_last_name AS LastName,
        usr2.usr_first_name AS FirstName,
        usr2.usr_emp_type AS usr_emp_type,
        usr2.usr_status AS UsrStatus,
        act.act_name AS OrgName
      from req,
        ost,
        usr,
        usr usr2,
        act
      where req.req_key = :RequestID
        and req.ost_key = ost.ost_key
        and req.req_createby = usr.usr_key
        and req.req_obj_action = 'Create Entity'
        and usr2.usr_login =(select upper(rqd.rqd_attr_value) from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID')
        and usr2.act_key = act.act_key
        and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
        and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
        and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
        and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
        and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
        and usr2.act_key in
          (select aad.act_key
          from aad,usg,usr
          where
            usg.usr_key = usr.usr_key
            and aad.ugp_key = usg.ugp_key and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
        and ost.ost_status = 'Request Complete')
          UNION ALL
          SELECT distinct user1.bfn as BenFName, 
            user1.bln as BenLName,
            user1.buid as BenUserID,
            user1.bet as BenEmpType, 
            user1.bus as BenUserStatus,
            user1.bo as BenOrg
          FROM
            (select distinct req3.request_key rk,
              usr2.usr_first_name bfn,
              usr2.usr_last_name bln,
              usr2.usr_login buid,
              usr2.usr_emp_type bet,
              usr2.usr_status bus,
              act.act_name bo
            from arch_request req3,
              arch_request_beneficiary reqb1,
              usr usr2,
              act
            where req3.request_key = reqb1.request_key
              and reqb1.beneficiary_key = usr2.usr_key
              and usr2.act_key = act. act_key
              and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
              and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
              and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
            UNION
            select distinct req3.request_key rk,
              usr2.usr_first_name bfn,
              usr2.usr_last_name bln,
              usr2.usr_login buid,
              usr2.usr_emp_type bet,
              usr2.usr_status bus,
              act.act_name bo
            from arch_request req3,
              arch_request_entities re1,
              usr usr2,
              act
            where req3.request_key = re1.request_key
              and re1.entity_key = usr2.usr_key
              and usr2.act_key = act. act_key
              and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
              and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
              and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
            )user1
          WHERE
            user1.rk = :RequestID                 
    ]]>
              </sqlstatement>
              <sqlstatement name="sql_L1_RequestDetails">
    SELECT distinct
    null as ReqDetailsName,
    obj_name as ReqDetailsValue
    FROM
    req,
    rqo,
    obj
    WHERE
    req.req_key = :RequestID
    and req.req_key = rqo.req_key
    and obj.obj_key = rqo.obj_key
    UNION ALL
    SELECT distinct reqdet.detname as ReqDetailsName,
    reqdet.detval as ReqDetailsValue
    FROM
    (select req1.request_key rk,
    rbe1.rbe_entity_name detval,
    rbe1.rbe_entity_type detname
    from arch_request_beneficiary_entities rbe1,
    request req1
    where rbe1.rbe_request_key = req1.request_key
    union
    select req1.request_key rk,
    red1.entity_field_value detval,
    red1.entity_field_name detname
    from arch_request_entity_data red1,
    arch_request_entities re1,
    request req1
    where red1.request_entity_key = re1.request_entity_key
    and re1.request_key = req1.request_key
    and red1.entity_field_name != 'Organization'
    and red1.entity_field_name != 'User Manager'
    union
    select req1.request_key rk,
    act.act_name detval,
    red1.entity_field_name detname
    from arch_request_entity_data red1,
    arch_request_entities re1,
    request req1,
    act
    where red1.request_entity_key = re1.request_entity_key
    and re1.request_key = req1.request_key
    and red1.entity_field_value = act.act_key
    and red1.entity_field_name = 'Organization'
    union
    select req1.request_key rk,
    usr3.usr_login detval,
    red1.entity_field_name detname
    from arch_request_entity_data red1,
    arch_request_entities re1,
    request req1,
    usr usr3
    where red1.request_entity_key = re1.request_entity_key
    and re1.request_key = req1.request_key
    and red1.entity_field_value = usr3.usr_key
    and red1.entity_field_name = 'User Manager') reqdet
    WHERE
    reqdet.rk = :RequestID
    </sqlstatement>
         </dataquery>
         <dataStructure>
              <group name="AllRequests" source="sql_L1_AllRequests">
                   <element name="RequestID" value="RequestID"/>
                   <element name="RequestType" value="RequestType"/>
                   <element name="RequesterUserID" value="RequesterUserID"/>
                   <element name="RequestDate" value="RequestDate"/>
                   <group name="grp_AllApprovers" source="sql_L2_Approver_BPEL">
                        <element name="ApproverUserID" value="ApproverUserID"/>
                   </group>
                   <group name="grp_AllApprovers" source="sql_L2_Approver">
                        <element name="ApproverUserID" value="ApproverUserID"/>
                   </group>
                   <element name="RequestStatus" value="RequestStatus"/>
                   <element name="ParentRequestID" value="ParentRequestID"/>
                   <group name="Beneficiaries" source="sql_L1_Beneficiaries">
                        <element name="BenFName" value="BenFName"/>
                        <element name="BenLName" value="BenLName"/>
                        <element name="BenUserID" value="BenUserID"/>
                        <element name="BenEmpType" value="BenEmpType"/>
                        <element name="BenUserStatus" value="BenUserStatus"/>
                        <element name="BenOrg" value="BenOrg"/>
                   </group>
                   <group name="RequestDetails" source="sql_L1_RequestDetails">
                        <element name="ReqDetailsName" value="ReqDetailsName"/>
                        <element name="ReqDetailsValue" value="ReqDetailsValue"/>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>
    Thanks
    KK

    any help please ? if you need any more information to know more about the issue, please do not hesitate to ask.
    Thank you.

  • BI Publisher Report for Archived OIM

    Hi
    We perfomed Request archival operation in our OIM DB using http://docs.oracle.com/cd/E29505_01/doc.1111/e14308/archival_utilities.htm. Now ARCH* tables are created and it has relevant details.
    Now our requirment is to create a new report to read data from this archived tables using BI publisher. We are looking something similar to OOTB Attestation Request and Approval Reports -> Request Details in BI.
    We created a new report called "Request Details from Archive tables" similar to the OOTB one in BI front end. Also modifed data template by replacing "request*" tables to "arch_request*" as below. When we try to gernerate report now it is not working as expected.
    Do we need to change anything else ? Please advise
    Modified data template for reference
    <dataTemplate name="ArchRequestDetails" description="Each group that contains the logged in user as its direct user. All groups that are administered by the above set of groups are visible to the logged in user.">
    <parameters>
    <parameter name="xdo_user_name" dataType="character"/>
    <parameter name="p_varchar_ReqFN" dataType="character"/>
    <parameter name="p_varchar_ReqLN" dataType="character"/>
    <parameter name="p_varchar_ReqUID" dataType="character"/>
    <parameter name="p_varchar_ReqID" dataType="character"/>
    <parameter name="p_varchar_ReqPID" dataType="character"/>
    <parameter name="p_varchar_ReqStatu" dataType="character"/>
    <parameter name="p_varchar_ReqTyp" dataType="character"/>
    <parameter name="p_ReqDtFrom" dataType="date"/>
    <parameter name="p_ReqDtTo" dataType="date"/>
    <parameter name="p_varchar_BenFN" dataType="character"/>
    <parameter name="p_varchar_BenLN" dataType="character"/>
    <parameter name="p_varchar_BenUID" dataType="character"/>
    </parameters>
    <dataquery>
    <sqlstatement name="sql_L1_AllRequests">
    <![CDATA[ SELECT ReqID as RequestID,
    decode(ReqAction, 'Create Entity', 'Self Registration', 'Add', 'Provision Resource', 'Disable', 'Disable Resource', 'Enable', 'Enable Resource', 'Revoke', 'Revoke Resource', 'Modify Entity', 'Modify Profile') as RequestType,
    ReqUID as RequesterUserID,
    ReqDate as RequestDate,
    CurStatus as RequestStatus,
    null as ParentRequestID
    FROM (select distinct
    req.req_key as ReqID,
    req.req_obj_action as ReqAction,
    usr.usr_login as ReqUID,
    req.req_create as ReqDate,
    ost.ost_status as CurStatus
    from req left outer join rqu on req.req_key = rqu.req_key,
    ost,
    usr,
    act,
    usr usr2
    where rqu.usr_key = usr2.usr_key
    and req.ost_key = ost.ost_key
    and req.req_createby = usr.usr_key
    and usr2.act_key = act.act_key
    and usr2.act_key in (select aad.act_key
    from aad,usg,usr
    where usg.usr_key = usr.usr_key
    and aad.ugp_key = usg.ugp_key
    and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
    and (nvl(:p_varchar_ReqStatu,' ')=' ' or upper(ost.ost_status) like upper(:p_varchar_ReqStatu))
    and (nvl(:p_varchar_ReqID,' ')=' ' or req.req_key like (:p_varchar_ReqID))
    and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
    union
    select
    req.req_key as ReqID,
    req.req_obj_action as ReqAction,
    usr.usr_login as ReqUID,
    req.req_create as ReqDate,
    ost.ost_status as CurStatus
    from
    req,
    ost,
    usr
    where
    req.ost_key = ost.ost_key
    and req.req_createby = usr.usr_key
    and req.req_obj_action = 'Create Entity'
    and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
    and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
    and ost.ost_status != 'Request Complete'
    union
    select req.req_key as ReqID,
    req.req_obj_action as ReqAction,
    usr.usr_login as ReqUID,
    req.req_create as ReqDate,
    ost.ost_status as CurStatus
    from req,
    ost,
    usr,
    usr usr2,
    act
    where req.ost_key = ost.ost_key
    and req.req_createby = usr.usr_key
    and req.req_obj_action = 'Create Entity'
    and usr2.usr_login =(select upper(rqd.rqd_attr_value) from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID')
    and usr2.act_key = act.act_key
    and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
    and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
    and usr2.act_key in (select aad.act_key from aad,usg,usr
    where usg.usr_key = usr.usr_key
    and aad.ugp_key = usg.ugp_key and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
    and ost.ost_status = 'Request Complete')
    UNION ALL
    SELECT distinct request.request_key as RequestID,
    request.request_model_name as RequestType,
    usr1.usr_login as RequesterUserID,
    request.request_creation_date as RequestDate,
    request.request_status as RequestStatus,
    request.request_parent_key as ParentRequestID
    FROM usr usr1 JOIN request req1 ON usr1.usr_key = req1.requester_key,
    request,
    (select distinct req3.request_key rk,
    usr2.usr_first_name bfn,
    usr2.usr_last_name bln,
    usr2.usr_login buid
    from arch_request req3,
    arch_request_beneficiary reqb1,
    usr usr2
    where req3.request_key = reqb1.request_key
    and reqb1.beneficiary_key = usr2.usr_key
    UNION
    select distinct req3.request_key rk,
    usr2.usr_first_name bfn,
    usr2.usr_last_name bln,
    usr2.usr_login buid
    from arch_request req3,
    arch_request_entities re1,
    usr usr2
    where req3.request_key = re1.request_key
    and re1.entity_key = usr2.usr_key)user1
    WHERE
    req1.request_key = request.request_key
    and (NVL(:p_varchar_ReqFN, ' ') = ' ' or UPPER(usr1.usr_first_name) LIKE UPPER(:p_varchar_ReqFN))
    and (NVL(:p_varchar_ReqLN, ' ') = ' ' or UPPER(usr1.usr_last_name) LIKE UPPER(:p_varchar_ReqLN))
    and (NVL(:p_varchar_ReqUID, ' ') = ' ' or UPPER(usr1.usr_login) LIKE UPPER(:p_varchar_ReqUID))
    and (NVL(:p_varchar_ReqID, ' ') = ' ' or UPPER(request.request_key) LIKE UPPER(:p_varchar_ReqID))
    and (NVL(:p_varchar_ReqPID, ' ') = ' ' or UPPER(request.request_parent_key) LIKE UPPER(:p_varchar_ReqPID))
    and (NVL(:p_varchar_ReqStatu, ' ') = ' ' or UPPER(request.request_status) LIKE UPPER(:p_varchar_ReqStatu))
    and (NVL(:p_varchar_ReqTyp, ' ') = ' ' or UPPER(request.request_model_name) LIKE UPPER(:p_varchar_ReqTyp))
    and request.request_creation_date between :p_ReqDtFrom and :p_ReqDtTo
    and (NVL(:p_varchar_BenFN, ' ') = ' ' or (UPPER(user1.bfn) LIKE UPPER(:p_varchar_BenFN) and request.request_key = user1.rk))
    and (NVL(:p_varchar_BenLN, ' ') = ' ' or (UPPER(user1.bln) LIKE UPPER(:p_varchar_BenLN) and request.request_key = user1.rk))
    and (NVL(:p_varchar_BenUID, ' ') = ' ' or (UPPER(user1.buid) LIKE UPPER(:p_varchar_BenUID) and request.request_key = user1.rk))
    ORDER BY RequestID ]]>
    </sqlstatement>
    <sqlstatement name="sql_L2_Approver_BPEL" dataSourceRef="BPEL JDBC">
    SELECT distinct wfproductivity_view.username as ApproverUserID
    FROM wfproductivity_view
    WHERE identificationkey = :RequestID
    </sqlstatement>
    <sqlstatement name="sql_L2_Approver">
    SELECT distinct usr.usr_login as ApproverUserID
    FROM rqh join usr on rqh.rqh_createby = usr.usr_key
    WHERE rqh.req_key = :RequestID
    And rqh.rqh_status = 'Approved'
    </sqlstatement>
    <sqlstatement name="sql_L1_Beneficiaries">
    <![CDATA[ SELECT distinct
    FirstName as BenFName,
    LastName as BenLName,
    userid as BenUserID,
    usr_emp_type as BenEmpType,
    UsrStatus as BenUserStatus,
    OrgName as BenOrg
    FROM
    (select distinct
    usr2.usr_login AS userid,
    usr2.usr_last_name AS LastName,
    usr2.usr_first_name AS FirstName,
    usr2.usr_emp_type AS usr_emp_type,
    usr2.usr_status AS UsrStatus,
    act.act_name AS OrgName
    from req left outer join rqu on req.req_key = rqu.req_key,
    ost,
    usr,
    act,
    usr usr2
    where req.req_key = :RequestID
    and rqu.usr_key = usr2.usr_key
    and req.ost_key = ost.ost_key
    and req.req_createby = usr.usr_key
    and usr2.act_key = act.act_key
    and usr2.act_key in
    (select aad.act_key
    from aad,usg,usr
    where
    usg.usr_key = usr.usr_key
    and aad.ugp_key = usg.ugp_key
    and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
    and (nvl(:p_varchar_ReqStatu,' ')=' ' or upper(ost.ost_status) like upper(:p_varchar_ReqStatu))
    and (nvl(:p_varchar_ReqID,' ')=' ' or req.req_key like (:p_varchar_ReqID))
    and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
    and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
    and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
    and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
    union
    select
    (select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID') AS userid,
    (select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.Last Name') AS LastName,
    (select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.First Name') AS FirstName,
    (select rqd.rqd_attr_value from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.Xellerate Type') AS usr_emp_type,
    null AS UsrStatus,
    null AS OrgName
    from req,
    ost,
    usr
    where req.req_key = :RequestID
    and req.ost_key = ost.ost_key
    and req.req_createby = usr.usr_key
    and req.req_obj_action = 'Create Entity'
    and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
    and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
    and ost.ost_status != 'Request Complete'
    union
    select usr2.usr_login AS userid,
    usr2.usr_last_name AS LastName,
    usr2.usr_first_name AS FirstName,
    usr2.usr_emp_type AS usr_emp_type,
    usr2.usr_status AS UsrStatus,
    act.act_name AS OrgName
    from req,
    ost,
    usr,
    usr usr2,
    act
    where req.req_key = :RequestID
    and req.ost_key = ost.ost_key
    and req.req_createby = usr.usr_key
    and req.req_obj_action = 'Create Entity'
    and usr2.usr_login =(select upper(rqd.rqd_attr_value) from rqd where rqd.req_key = req.req_key and rqd.rqd_attr_name = 'Users.User ID')
    and usr2.act_key = act.act_key
    and upper(ost.ost_status) like upper(:p_varchar_ReqStatu)
    and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
    and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
    and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
    and req.req_create between :p_ReqDtFrom and :p_ReqDtTo
    and usr2.act_key in
    (select aad.act_key
    from aad,usg,usr
    where
    usg.usr_key = usr.usr_key
    and aad.ugp_key = usg.ugp_key and usr.usr_key = (select usr.usr_key from usr where upper(usr.usr_login) = upper(:xdo_user_name)))
    and ost.ost_status = 'Request Complete')
    UNION ALL
    SELECT distinct user1.bfn as BenFName,
    user1.bln as BenLName,
    user1.buid as BenUserID,
    user1.bet as BenEmpType,
    user1.bus as BenUserStatus,
    user1.bo as BenOrg
    FROM
    (select distinct req3.request_key rk,
    usr2.usr_first_name bfn,
    usr2.usr_last_name bln,
    usr2.usr_login buid,
    usr2.usr_emp_type bet,
    usr2.usr_status bus,
    act.act_name bo
    from arch_request req3,
    arch_request_beneficiary reqb1,
    usr usr2,
    act
    where req3.request_key = reqb1.request_key
    and reqb1.beneficiary_key = usr2.usr_key
    and usr2.act_key = act. act_key
    and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
    and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
    and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
    UNION
    select distinct req3.request_key rk,
    usr2.usr_first_name bfn,
    usr2.usr_last_name bln,
    usr2.usr_login buid,
    usr2.usr_emp_type bet,
    usr2.usr_status bus,
    act.act_name bo
    from arch_request req3,
    arch_request_entities re1,
    usr usr2,
    act
    where req3.request_key = re1.request_key
    and re1.entity_key = usr2.usr_key
    and usr2.act_key = act. act_key
    and (nvl(:p_varchar_BenUID,' ')=' ' or upper(usr2.usr_login) like upper(:p_varchar_BenUID))
    and (nvl(:p_varchar_BenFN,' ')=' ' or upper(usr2.usr_first_name)like upper(:p_varchar_BenFN))
    and (nvl(:p_varchar_BenLN,' ')=' ' or upper(usr2.usr_last_name)like upper(:p_varchar_BenLN))
    )user1
    WHERE
    user1.rk = :RequestID
    ]]>
    </sqlstatement>
    <sqlstatement name="sql_L1_RequestDetails">
    SELECT distinct
    null as ReqDetailsName,
    obj_name as ReqDetailsValue
    FROM
    req,
    rqo,
    obj
    WHERE
    req.req_key = :RequestID
    and req.req_key = rqo.req_key
    and obj.obj_key = rqo.obj_key
    UNION ALL
    SELECT distinct reqdet.detname as ReqDetailsName,
    reqdet.detval as ReqDetailsValue
    FROM
    (select req1.request_key rk,
    rbe1.rbe_entity_name detval,
    rbe1.rbe_entity_type detname
    from arch_request_beneficiary_entities rbe1,
    request req1
    where rbe1.rbe_request_key = req1.request_key
    union
    select req1.request_key rk,
    red1.entity_field_value detval,
    red1.entity_field_name detname
    from arch_request_entity_data red1,
    arch_request_entities re1,
    request req1
    where red1.request_entity_key = re1.request_entity_key
    and re1.request_key = req1.request_key
    and red1.entity_field_name != 'Organization'
    and red1.entity_field_name != 'User Manager'
    union
    select req1.request_key rk,
    act.act_name detval,
    red1.entity_field_name detname
    from arch_request_entity_data red1,
    arch_request_entities re1,
    request req1,
    act
    where red1.request_entity_key = re1.request_entity_key
    and re1.request_key = req1.request_key
    and red1.entity_field_value = act.act_key
    and red1.entity_field_name = 'Organization'
    union
    select req1.request_key rk,
    usr3.usr_login detval,
    red1.entity_field_name detname
    from arch_request_entity_data red1,
    arch_request_entities re1,
    request req1,
    usr usr3
    where red1.request_entity_key = re1.request_entity_key
    and re1.request_key = req1.request_key
    and red1.entity_field_value = usr3.usr_key
    and red1.entity_field_name = 'User Manager') reqdet
    WHERE
    reqdet.rk = :RequestID
    </sqlstatement>
    </dataquery>
    <dataStructure>
    <group name="AllRequests" source="sql_L1_AllRequests">
    <element name="RequestID" value="RequestID"/>
    <element name="RequestType" value="RequestType"/>
    <element name="RequesterUserID" value="RequesterUserID"/>
    <element name="RequestDate" value="RequestDate"/>
    <group name="grp_AllApprovers" source="sql_L2_Approver_BPEL">
    <element name="ApproverUserID" value="ApproverUserID"/>
    </group>
    <group name="grp_AllApprovers" source="sql_L2_Approver">
    <element name="ApproverUserID" value="ApproverUserID"/>
    </group>
    <element name="RequestStatus" value="RequestStatus"/>
    <element name="ParentRequestID" value="ParentRequestID"/>
    <group name="Beneficiaries" source="sql_L1_Beneficiaries">
    <element name="BenFName" value="BenFName"/>
    <element name="BenLName" value="BenLName"/>
    <element name="BenUserID" value="BenUserID"/>
    <element name="BenEmpType" value="BenEmpType"/>
    <element name="BenUserStatus" value="BenUserStatus"/>
    <element name="BenOrg" value="BenOrg"/>
    </group>
    <group name="RequestDetails" source="sql_L1_RequestDetails">
    <element name="ReqDetailsName" value="ReqDetailsName"/>
    <element name="ReqDetailsValue" value="ReqDetailsValue"/>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    Thanks
    KK

    any help please ? if you need any more information to know more about the issue, please do not hesitate to ask.
    Thank you.

  • Report for Archived data by using exicutable program.

    Hi,
    In already existed Zreport data is fetching from table like below.
    SELECT belnr bewtp budat lfbnr lfpos FROM ekbe INTO TABLE it_ekbe
                                                   WHERE bewtp IN ('R' , 'Q') "Only IRs
                                                      AND budat IN s_date.
    Like the above in the report fetchnig data from somany tables so mant times.
    Now my requirment is the archived consultants archived old data. some table are archived some are not archived.
    So i need to fetch the old data also from the archived files. Achived consultants given below details.
    zarixmm3------------>zerox table for MM related tables after archived the data.
    I searched in google got some code to fetch the data from archived fiels. The below code.
    1. I fetched the key  archive key number from the zerox table.
    SELECT archivekey  FROM zarixmm3 INTO TABLE it_get
                                       WHERE budat IN s_date
                                         AND werks IN s_werks.
    CLEAR : wa_ekbe.
    LOOP AT it_get INTO wa_get.
      v_arcdoc = wa_get-archivekey+0(6).
      wa_arcindx1a-archivekey = wa_get-archivekey.
      wa_arcindx1a-v_arcdoc = wa_get-archivekey+0(6).
      CLEAR : wa_get.
      APPEND  wa_arcindx1a TO  it_arcindx1a.
    ENDLOOP.
    SORT it_arcindx1a BY v_arcdoc.
    REFRESH it_get.
    CLEAR: v_arcdoc.
    DELETE ADJACENT DUPLICATES FROM it_arcindx1a COMPARING v_arcdoc.
    2. I passed the key in FMs.
    LOOP AT it_arcindx1a INTO wa_arcindx1a.
      v_key = wa_arcindx1a-archivekey+0(6).
      CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
        EXPORTING
          archive_document = v_key
    *     archive_name     = wa_arcindx1-archivekey
          object           = 'MM_EKKO'
        IMPORTING
          archive_handle   = lv_handle
        EXCEPTIONS
          OTHERS           = 1.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        EXIT.
      ENDIF.
      DO.
        CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
          EXPORTING
            archive_handle = lv_handle
          EXCEPTIONS
            end_of_file    = 1.          "nur die Ausnahmen, auf die man
        IF sy-subrc <> 0.                "wirklich reagieren will
          EXIT.
        ENDIF.
        CALL FUNCTION 'ARCHIVE_GET_TABLE'
          EXPORTING
            archive_handle        = lv_handle
            record_structure      = 'EKBE'
            all_records_of_object = 'X'
          TABLES
            table                 = git_ekbe_temp
          EXCEPTIONS
            end_of_object         = 0.
        LOOP AT git_ekbe_temp ASSIGNING <ls_ekbe>
                               WHERE bewtp = 'R' OR bewtp = 'Q'
                                AND budat IN s_date.
          MOVE-CORRESPONDING <ls_ekbe> TO wa_ekbe.
          APPEND wa_ekbe TO it_ekbe.
          MOVE-CORRESPONDING <ls_ekbe> TO wa_ekbee.
          APPEND wa_ekbee TO it_ekbee.
          CLEAR wa_ekbe.
          CLEAR wa_ekbee.
        ENDLOOP.
      ENDDO.
      CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
        EXPORTING
          archive_handle = lv_handle.
      CLEAR wa_arcindx1a.
    ENDLOOP.
    Like the above i diid for all tables wich are used in the Zreport.
    Please tell me i am going in right direction or not. The above logic taking time because it is reding entire data in the table.
    If new logic is there please provide me to improve performance of the zreport.
    Regards,
    Maruthi S

    Hi Friends,
    I am waiting for solution aobve.
    Regards,
    Maruthi. S

  • I am facing lots of problems with security while using Mozilla. How can I send you a detailed report for this?

    I am getting redirected to unknown sites whenever I open any site while using mozilla. Initially I thought that there is a problem with my device, but then I realized that this happens only when using mozilla, not with other browsers like chrome, IE, or opera.
    These sites are mainly having the message 'Ad by ShopDrop'..
    I am pasting below links to few sites to which I get redirected to
    http://offers.bycontext<i></i>.com/scjs/tb/ctxjs/index<i></i>.php?kw2=www.espncricinfo<i></i>.com&affid=1151&subaff_id=725_724&intformat=roll&nextpage=http%3A%2F%2Fwww.espncricinfo<i></i>.com%2F&ch=421&sbrand=ShopDrop&folder=v4.19&typrd=ctx&cu=32929&country=IN&original_country=IN
    http://add0n<i></i>.com/fastest-gmail.html?v=0.1.6&p=0.1.5&type=upgrade

    hello, you have various malicious addons present. please perform all these steps:
    # [[Reset Firefox – easily fix most problems|reset firefox]] (this will keep your bookmarks and passwords)
    # afterwards go to the firefox menu ≡ > addons > extensions and in case there are still extensions listed there, disable them.
    # finally run a full scan of your system with different security tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] and [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner] to make sure that adware isn't present in other places of your system as well.
    [[Troubleshoot Firefox issues caused by malware]]

  • Designing the consolidated and line item report for specific material

    Hi
    i have a R/3-report and it run only for 7-materials.That means we need to only those 7-materials in the selection screen of report.
    Then we will get each material corresponding line item details(material no, profit center, variable cost, quanity, price, financial loss(this is calculated based on quantity) , Utility Consumption(calculated based on price, variablecost)  ) in one report.
    Another report will give same for consolidated values of financial loss, utiliy consumption.
    <b>so how can i design the consolidated and lineitem details report for each material.</b> pls let me know
    kumar

    0VENDOR_ATTR - Vendor Master Data Attributes
    0FI_AP_51 - Check Register Line Items
    0FI_AP_4 - Accounts Payable Line Items
    It should be noted, however, that this won't get you everything that you need, so you may have to create enhance one or more of these DataSources and create User Exit ABAP code to get the required data. Also, the 0FI_AP_51 DataSource isn't available if your source system isn't ECC6 EHP3 or higher. If your source system is less than that, you're going to have to create a generic DataSource for the data from the PAYR table.

  • Report for Fixed & Variable cost

    Hi Experts,
    Is there any report where in we can get the value of Fixed costs, varaiable costs & Total costs as in CK13N.
    We were able to get this for each part in CK13N. Whereas the requirement is we want to see the costs for a list of part nos.
    Thanks in advance
    Regards
    ACR.Ruben

    Hi,
    You can go by the following path:
    SAP Easy Access>Accounting>Controlling>Product Cost controlling>Product cost planning>Information System>Detailed reports>For Material>CK86_99 - Costed Multilevel BOM & CK80_99 - Cost Components
    I hope this is of help to you.
    Thanks,
    Prithwi.

  • XL Reporter Report for comparison of last month and current month sales

    Hi,
    Our management requires an MIS report for comparison of sales in revenue and in terms of units for the last and the current month todate.
    Is there a way to view this data for both the months together, without any user input?
    Best Regards
    Jyoti

    Jyoti,
    I'll try and explain the XLR Report you'd need for this.  This is isn't the best way to explain something like this, but I'll give it a shot.
    -  Put an expansion on Row 8 and choose all Items (*), click Apply
    -  In A8, put ItemCode
    -  In B8, put Item Name
    -  In C8, put Sales - A/R Row Total
    -  In D8,put Sales - A/R Row Total again
    -  Setup a Parameter
        -  Call it Period
        -  Dimension
        -  Financial Period
    -  In Column D, put a column Summary and click into Financial Period
        -  click the button to open the selection window
        -  click to the parameter tab
        -  select your parameter and click OK and click Apply
    -  In Column C, put a column Summary and click into Financial Period
        -  click the button to open the selection window
        -  click to the parameter tab
        -  in the bottom right corner, add a "-1"   it should look like this @Period-1
        -  click OK and click Apply
    -  In C7 and D7 - choose Financial Period Code from formula builder
                 (so you can see the period code at the column header)
    This will show sales by item in the current Period (column D) and previous Period (column C)
    Hope that helps and at least gets you going.  I can't guarantee those are perfect instructions from memory.
    Brad Windecker
    [Omega Business Solutions|http://www.omegagroup.com]

  • Log. Block field in BPM detail report

    What does the M or A mean in the Log. Block field in the BPM detail report for monitoring object "Blocked Invoice for Payment"?

    In your SQL:
    SELECT ename, job, your_function(sal, comm) your_calculation
       FROM empDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Standard reports for cash and fundflow reports?

    Hi,
    i need a requirement to maintain reports for cash and funds flow statements?Actually relevant to these reports i use to maintain customize only but coming to fundflow and cash flow there is much complications to do that.
    so is there any standard reports to maintain fundflow and cash flow reports which is relevant to FI-CO
    Thanks in Advance
    vass

    Hi
    You have Cash flow statement based on 0FIGL_VC1
    http://help.sap.com/saphelp_nw70/helpdata/EN/7d/6cfa40ee14f26fe10000000a1550b0/frameset.htm
    You also have Cash flow statement based on 0BCS_C10, but not sure it does suits to your requirement.
    http://help.sap.com/saphelp_nw70/helpdata/EN/39/09503e50a9054be10000000a114084/frameset.htm
    Hope it helps

Maybe you are looking for

  • Why is my macbook pro running slowly?

    My macbook pro is running really slowly, even after I reinstalled the OS. I thought I would just live with it, but then I found etrecheck and thought I could get some help through this forum. Rebooting doesn't seem to help. Here's the output from Etr

  • Issues with MacBook Pro screen and mouse

    How to fix a screen the keeps changing on its own and when I move my mouse it keeps clicking on something different

  • HELP ! Conditional Print

    I need to produce a printed master/details report, which will contain boiler plate text in cases where the number of detailed records retrieved will be less than one page e.g. if a normal page should contain 5 detailed records and only 3 records were

  • Wireless help

    I've just found out that i need an origional airport card for my powerbook G4 titanium which are pretty lame compared to the airport extreme cards. Is there a way to make my powerbook compatible with the airport extreme?

  • Trouble with iTouch, Somebody help please ^^

    Ok, a friend of mine won a iTouch yestarday that his uncle bought in the U.S.A two weeks ago, but today when we tried to put music and other stuff on it, it just load until the half and stoped, after that the itunes stop working and the iTouch was ej