Problem in function BAPI_IPAK_CHANGE : Changing info-package parameter.

Dear All,
Would you like please kindly help me regarding my problem ??
My problem is when i'm gonna run this function (written in subject). It's error, because One of parameter in info-package is mandatory.
But I have already input value for the mandatory field one, but it always mention that the corresponding field is not input yet.
Could you kindly help me please ??
This is my code:
p_selections-low = 'TSS-ACTIVE'.
p_selections-sign = 'I'.
p_selections-OPT = 'EQ'.
p_selections-fieldname = '9AVERSION'.
append p_selections.
IF sy-mandt = '100'. " Development.
  IT_INFOPACKAGE-tINFOPACKAGE = 'ZPAK_4EY7D32RZXLLOJSLAWDNGX6G1'.
  append IT_INFOPACKAGE.
ENDIF.
loop at IT_INFOPACKAGE.
  clear P_BAPIRETURN.
  CALL FUNCTION 'BAPI_IPAK_CHANGE'
    EXPORTING
      INFOPACKAGE = IT_INFOPACKAGE-tINFOPACKAGE
    TABLES
      SELECTIONS  = p_selections
      RETURN      = P_BAPIRETURN.
How can I solve it yah ??
Is there any idea regarding this ?
Thanks a lot all for ur time.
Best regards,
Daniel Nurindra

Hi
this seems to be an APO datasource hence any further testing wont b possible at my system
You can try this thing
write a abap routine in infopackage to provide the value 'TSS-ACTIVE'   to the Field 9AVERSION
p_selections-low = 'TSS-ACTIVE'.
p_selections-sign = 'I'.
p_selections-OPT = 'EQ'.
then try to execute the  infopackage to check no issue with the value of field
and
Also try including IOBJNM  in p_selections while FM BAPI_IPAK_CHANGE

Similar Messages

  • Calweek in Info package selection parameter

    Hi,
    I need to send the data from cube1 to another cube2 on weekly basis.
    Cube1 is getting the data on daily basis.
    on every week end i need to send the data to cube2 based on selection parameter OCALWEEK, and the load should be full update.
    i want automatic, so that every week end InfoPackage selection parameters should change to next calweek so that it will fetch correct lastweek data to cube 2 from cube.
    Can you please suggest me how to automate the Info package.
    Regards,
    Silpa

    Hi,
    at infopacks selection screen, for field 0calweek select type : abap routine.
    in routine use function mod DATE_GET_WEEK to retrive the week based on sy_datum (current date), reduce the result -1 and the result will be calweek minus  1, e.g.: 200725 for today.
    /manfred

  • Problem while scheduling info package using HR datasource.

    hi experts,
    while scheduling the info package i am getting the following error.
    Delete init. request
    REQU_D340A67OSEQ9A6Q2B20X9SIOM before running
    init. again with same selection
    I think by deleting the setup it will work...
    am i right or is there any other solution for this problem..
    please reply soon.
    its too urgent.
    thanks n regards.
    uday shankar.

    Hi,
    You are correct there is no setup table concept in HR extractors.
    But there is a cache. Usually HR extractions will be full load. But it also supports delta. There is no setup table concept in HR.Once you perform your init (with or without Data transfer your delta path is set and delta will follow else can go for Full loads alone. It will extract data from the relevant tables like generic extractors. The data will be filtered based on the selection parameters.
    Except for payroll and time management rest all sub-functional areas supports only full load.
    In case of full loads, old data needs to be deleted to avoid duplicated records in the target.
    Auditing Information Technical name: 0HR_PY_PP_1
    http://help.sap.com/saphelp_nw70/helpdata/EN/c7/532d7835db9a41b744aea58ed699ed/frameset.htm
    Delta Update
    This DataSource supports delta updates. The source system fills table HRMS_BIW_PPDELTA with the date and time of the first data transfer (initialization) and the date and time of all subsequent data transfers. This information enables the system to perform a delta transfer. It only selects posting runs with the above statuses whose last changed on date is after the date in table HRMS_BIW_PPDELTA.
    If you use DataSources 0HR_PY_PP_2 (Posting Documents) and 0HR_PY_PP_1 (Auditing Information), you must transfer data to BW from both DataSources using the same selection criteria.
    Also
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/77eb3cad744026e10000000a11405a/frameset.htm
    https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
    /people/swapna.gollakota/blog/2008/01/14/one-stage-stop-to-know-all-about-bw-extractors-part1
    step by step
    https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
    HR extraction:
    The HR module enables customers to effectively manage information about the people in their organization, and to integrate that information with other SAP modules and external systems
    HR broadly has the following modules:
    PA (Personnel Administration) and Organization Management
    Personnel Development
    Payroll Accounting
    Time Management
    Compensation
    Benefits
    Training and Events
    The Personnel Administration (PA) sub module helps employers to track employee master data, work schedules, salary and benefits information. Personnel Development (PD) functionality focuses on employees' skills, qualifications and career plans. Finally, the Time Evaluation and Payroll sub modules process attendance and absences, gross salary and tax calculations, and payments to employees and third-party vendors
    HR delivers a rich set of business content objects that covers all HR sub-functional areas.
    How the data extraction happens:
    Before getting into how the data gets populated into HR info cube
    Let's understand the term info type
    "An info type is a collection of logical and/or business-related characteristics of an object or person"
    Here the data will be extracted from an info type (PA, PD, time management etc) and for few other applications it is from the cluster tables (Payroll, compensation etc.)
    HR is basically master data centric because it is always related to people related Info Objects, such as Employee, Person. In most of the cases HR master data is defined as Time Dependent to enable historical evaluation. HR R/3 system records a specific period of validity for each Info type.
    Procedure to extract the HR data:
    Activate Data Sources in the Source system (R/3)
    Replicate Data Sources in BW system:
    Activate business contents in BW.
    Populate HR cubes with data by scheduling info packages.
    Note: Master Data should be loaded first
    Except for payroll and time management rest all sub-functional areas supports only full load.
    In case of full loads, old data needs to be deleted to avoid duplicated records in the target.
    Check the below links for more information
    Technical Considerations in Global SAP BW/HR Implementations
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/505351fe-ec8c-2910-c5b5-a43bbf53f6fc
    BW/HR Implementation
    https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
    Hope this helps.
    Thanks,
    JituK

  • Executing info package problem

    hi guys
    Am having the problem
    How can i know the my perticuer info package pulling data from which table. and which data source.
    Can any one help me with navigation

    Hi,
    Under your infopackage, you would find datasource associated with it. If its a standard datasource, the best option for you to find the source table would be to search in help.sap.com.
    If it is LO datasource, go to LBWE in your source system and search for your datasource. Click on Maintenance. The pop-up would give fields starting with MCVBAP VBELN. Here VBELN is field, VBAP is table and MC is just prefix.
    If your datasource is a generic datasource, go to RSO2 in source system. Check whether it is based on table/ view. This gives your straightforward answer. If its based on function module, get the function module and go to SE37, here you can see the logic and identify the tables used. If its based on infosets. Copy the infoset, go to SQ02 and search for the base table.
    hope this was helpful

  • Status of Info packages and process changes become yellow after Unicode con

    Dear Friends,
    We have been facing very critical issue in Production system after Unicode conversion.
    Sequences of Details are provided for your reference.
    1.  We suspended all BW loads for 48(2 days) hours before Unicode starts and Handover the BW system to Basis.
    2.  Basis started doing Unicode conversion on BW and they found some standard jobs ( BI_* , Ex: BI_PROCESS_LOADING) which are released status and they assumed that these jobs would run any time so that they suspended all of them but they didnu2019t inform to BW team that they had done. We didnu2019t know that when they did that like pre-Unicode installation, during the Unicode conversion and post Unicode.
    3. Basis handover the system to BW team for Unicode testing (we called five finger testing) and we didnu2019t find any issues in the testing. Again we handover the system to Basis for post installations settings for Unicode and back up things. That time we didnu2019t release any jobs to load data to BW because Basis didnu2019t inform us that we can start loads. 
    4. After post installation is done and basis told us that you can start loads from Monday. Entire Unicode activity had been done on weekend.
    5. Before releasing all BW loads to run regularly, I found the all completed process chains status become yellow and I did further detailed analysis to find why; then found some more strange things those are as follows.
              1. Only info packages in process chains are become yellow and other process variants are fine like activation,
                   DTPu2019s, index and DB stats.
              2. Requests in PSA which were completed successfully are become yellow.
              3. Info packages in the process chains are successfully completed are not updating correct status instead of green it
                  showing yellow because of that other dependent objects are not triggering.
    We all thought that suspension of standard jobs must have been caused the problem.
    How can we change the status of IPs, PSA and process chains automatically?
    We reactivate all PCu2019s and released to run tomorrow.
    Could you please share your thoughts about the issue and help us resolve?
    Thanks in Advance,
    Nageswar.

    Nageswar,
    A couple of questions :
    1. If your previous  PC runs were in yellow status - it would not impact furute PC runs..
    2. If your IPAKs are in yellow - then you might have an issue with deltas happening since the last status would have been shown as incomplete.
    3. Suspension of the standard jobs will not affect the status since the jobs were suspended but not the actual loads i.e the loads were not stopped halfway but only the released jobs were stopped - you might have to schedule the process chains again to get back the old schedule.
    Usually in a Unicode conversion - the data is exported out of the DB and imported back - this might have caused some inconsistency in the database for the RS tables used for the monitors.
    Which version of BW are you in ..?
    were there any errors in the export / import procedure for unicode conversion ?
    As part of testing did you check if loads went through properly ..?
    Was stats run on the tables after unicode ?
    Also if possible regenerate all the indices on the files.
    Rerun stats and indices for all RS* tables

  • I just updated to iTunes 11. This version will not allow me to change info on any songs. Have always use "command i" with previous versions. Anyone else experiencing this problem? A solution?

    I just updated to iTunes 11. This version will not allow me to change info on any songs. Have always use "command i" with previous versions. Anyone else experiencing this problem? A solution?

    Hey! I had the same problem you did just today when I was trying to get my second iPhone to sync. What you need to do with music or anything extra that you doing you have to creat a second playlist or picture or anything that you would like to use, so that you can add to the second device that you are going to be using. I am not sure if that will help but it helped me out a lot!! Good luck!

  • Problem with info package :Type variables in dataselection tab

    hi,
    i am facing a problem with the info package where, instead of date 'from and to' values if i am providing a Variable, info package is not loading data and the request status flag is in yellow for a long time though the no of records are less.
    the same is working fine if i am providing values for from to to values in the 'data selection' Tab.
    the field i am giving input is date field,i'm converting date into char format and  giving the input in the same format.info package will not work if i provide  '0' or '7' as the variable values.
    anybody having any ideas, that would be help ful.
    Thanx in advance

    Hi Loknath,
              Have a look at this help documents on the creation of Routine.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a64fae07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/b9/2d9778476b11d4b2b40050da4c74dc/frameset.htm
              Also go through this previous thread on the same issue.
    ABAP Routine
              Hope it helps.  Reward if the answer is helpful.
    Cheers,
    Aravindhan

  • Info-package change mode

    hi guys,
    we trasfered all the infopackes FROM DEV TO QA Environment
    when i try to creaate an info package in QA client it was in display mode.
    as i know the reason that client doesn't allow any changes in QA cleint.
    is there any other way where i can create the info packages in QA without chaging the Client setting.
    we dont want to transfer all the time from DEV to QA.
    just i need a solution to create info packages in QA without distubing client setting.
    regards
    ng

    hi naga,
    usually, we do not send the infopack from dev to quality systems. They are created in quality system itself as and when needed according to requirement.
    To make that setting, go to Q system,
    RSA1 --> "Goto" menu --> Transport Connection.
    in the transport connection screen, there is a button in upper right section, "Object Changeability".
    clicking this button will provide you list of type of objects that are allowed to change/no change. So you can set infopackges as changeable objects.
    Regards,
    Purvang

  • Info Package Problem

    BW Gurus,
    I am facing a weird problem in the info packages.
    I am trying to pull data from SAP 3.1i system and my info package is set to "Full update". I am interested in one sales document. When I enter that sales document in the data selection screen of the info package and hit the check button, it just vanishes displaying a zero!!!!!. the document does exist in SAP 3.1i. Has anybody seen this weirdness in info packages?
    Thanks
    Ashwin

    can you do the same selective extraction in RSA3 in the source system? you may need to check there first.

  • Function module that runs for every info package

    Hi,
    Please can you give me name of function module that runs for every info package irrespective of data source.
    Cheers,
    Reddy.

    use below function module
    RSSM_SDL_START_INFOPACKAGE

  • Problem in info package

    HAI ,
         after transformation in bi 7.0, while creating info package the data was requested .but while monitoring ,status of psa is yellow.and the following message was shown
    wait until 06.02.2008      17.15.23
             Request still running
    Diagnosis
    No errors found. The current process has probably not finished yet.
    System Response
    The ALE inbox of BI is identical to the ALE outbox of the source system
    or
    the maximum wait time for this request has not yet been exceeded
    or
    the background job has not yet finished in the source system.
    Current status
    No Idocs arrived from the source system.
    can you please help me.

    hai i got the satus of psa as red ..saying the error as follows....Error when updating Idocs in Source System
    Diagnosis
    Errors have been reported in Source System during IDoc update:
    System Response
    Some IDocs have error status.
    Procedure
    Check the IDocs in Source System . You do this using the extraction monitor.
    Error handling:
    How you resolve the errors depends on the error message you get.
      can you help me to solve this please
    Edited by: siva perumal on Feb 7, 2008 6:09 AM

  • Info Package ABAP Routine

    Hi
    For FIGL_4 there is both open items and closed items. i want to filter only Open Items Accounting doc no's records for Customers,Vendors,GL account at info package level.
    There are 3 ODS's in BW side for Open items Customers,Vendors,GL accounts. i want to filter open items based on these 3 ODS's Active data table.But i am getting error when i execute the request in Info Package.
    *Error Message "For sel. field 'BELNR ', no selection with SIGN = ' '; OPTION ' ' allowed     RSM1     607     *
    Below is the Info package Routine code
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    TABLES: /BIC/AZOCFFIGL00,/BIC/AZOCFBSID00,/BIC/AZOCFBSIS00
            ,/BIC/AZOCFBSIK00.
    DATA:   ...
    TYPES : BEGIN OF TY_ZOCFBSID,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSID00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSID.
    TYPES : BEGIN OF TY_ZOCFBSIS,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSIS00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSIS.
    TYPES : BEGIN OF TY_ZOCFBSIK,
            /BIC/ZMCFADCNO LIKE /BIC/AZOCFBSIK00-/BIC/ZMCFADCNO,
            END OF TY_ZOCFBSIK.
    DATA : TB_ZOCFBSIS TYPE TABLE OF TY_ZOCFBSIS WITH HEADER LINE,
           WA_ZOCFBSIS TYPE TY_ZOCFBSIS.
    DATA : TB_ZOCFBSID TYPE TABLE OF TY_ZOCFBSID WITH HEADER LINE,
           WA_ZOCFBSID TYPE TY_ZOCFBSID.
    DATA : TB_ZOCFBSIK TYPE TABLE OF TY_ZOCFBSIK WITH HEADER LINE,
           WA_ZOCFBSIK TYPE TY_ZOCFBSIK,
           FLAG TYPE I.
    $$ end of global - insert your declaration only before this line   -
        InfoObject      = ZMCFADCNO
        Fieldname       = BELNR
        data type       = CHAR
        length          = 000010
        convexit        = ALPHA
    form compute_BELNR
      tables   l_t_range      structure rssdlrange
      using    p_infopackage  type rslogdpid
               p_fieldname    type rsfnm
      changing p_subrc        like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'BELNR'.
              l_idx = sy-tabix.
           SELECT
           /BIC/ZMCFADCNO
           FROM /BIC/AZOCFBSID00
           INTO TABLE TB_ZOCFBSID.
            SELECT
            /BIC/ZMCFADCNO
            FROM /BIC/AZOCFBSIK00
            INTO TABLE TB_ZOCFBSIK.
            SELECT
            /BIC/ZMCFADCNO
            FROM /BIC/AZOCFBSIS00
            INTO TABLE TB_ZOCFBSIS.
           LOOP AT TB_ZOCFBSID INTO WA_ZOCFBSID.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSID-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
           LOOP AT TB_ZOCFBSIK INTO WA_ZOCFBSIK.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSIK-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
           LOOP AT TB_ZOCFBSIS INTO WA_ZOCFBSIK.
           l_t_range-sign = 'I'.
           l_t_range-option = 'EQ'.
           l_t_range-low = WA_ZOCFBSIS-/BIC/ZMCFADCNO.
           Append l_t_range.
           CLEAR l_t_range.
           ENDLOOP.
              modify l_t_range index l_idx.
              p_subrc = 0.
    $$ end of routine - insert your code only before this line         -
    Edited by: AtulMohan Mishra on Dec 27, 2010 1:11 PM

    Hi
    Now i am facing an error during data extraction from Source system
    error message in BW system "Error occurred in the data selection " Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
    when i checked in  SM37 (R3 system) i found the job has been cancelled and Log of this job says
    "Asynchronous sending of InfoIDOCs 2 in task 0001 (0 parallel tasks) DATASOURCE = 0FI_GL_4 
    ABAP/4 processor: SAPSQL_WHERE_CANT_SCAN                                   
    Job cancelled      "   
    it seems to me the Problem in Routine at Info Package level.
    My Requirement is to fetch only those Accounting Doc. No. RECORDS from 0FI_GL_4 data source which are present in Active data table of BSID,BSIK,BSIS ODS's.
    So i want to put logic at Info Package routine .
    1) fetch all Accounting Doc. No.  from Active data table of BSID,BSIK,BSIS Ods's and Match those Accounting Doc. No.'s with the 0FI_GL_4 data source Accounting Doc. No's.if a Accounting Doc. No. match with 0FI_GL_4 data source Accounting Doc no then that corresponding record from 0FI_GL_4 will go to the ODS
    Regards
    Atul

  • Error while transporting PCs and Info packages frm dev to qa

    Hello Guyz
    First of all, I am new to this forum. Heard a lot about it, and I hope I can learn a lot by the exchange of information in this forum. I ve already gone through so many threads, and have gained a lot of insight in BW.
    I have an issue, where I am transporting process chains and info packages from dev to qa. But the transports have thrown errors, saying that the 'Source System XXXCLNTXXX does not exist and info package has been deleted'.
    My question: How can I transport these objects in such a way that the loads which were going from ECCDEV to BWDEV, now go from ECCQA to BWQA? Are there any settings in SE09 or SE10 or somewhere in BW where I can do this?
    Thanks in advance.
    Atul.

    Hi Atul........
    There is no such settings........check this.......
    How to transport BW object
    Anyways.....I think there is some problem in the Client name.......Just check the Source system name in RSA1...........if it has been changed somehow........then run transaction BDLS and change the source system assignment........
    Regards,
    Debjani......

  • ABAP routing in info package

    Hi All,
    I have a requirement where about 1000 document numbers are to be used in the info package. I can wite an abap routine at the info package. Since there are many documents numbers, can I create an info object and load the numbers in it and use a simple select on the info object and compare it with the document no inside the abap routine. Though I have the idea I have not done anything like this before. Does anyone know how I can use l_t_range internal table with many individual document numbers?
    Example code will be appreciated.
    Thanks,
    Alex.

    Hi Alex,
    I used the following code to upload from a TXT file to the infopackage selection criteria.
    Note ": This does not work in Background as GUI UPLOAD does not work in background, so you will not be able to schedule it in a processchain.
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'MATERIAL'.
              l_idx = sy-tabix.
              modify l_t_range index l_idx.
              p_subrc = 0.
    DATA s_line(18) TYPE N.
      DATA t_line LIKE STANDARD TABLE OF s_line.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = 'C:\input2.txt'
          filetype                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
          read_by_line                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          data_tab                      = t_line
       EXCEPTIONS
         file_open_error               = 1
         file_read_error               = 2
         no_batch                      = 3
         gui_refuse_filetransfer       = 4
         invalid_type                  = 5
         no_authority                  = 6
         unknown_error                 = 7
         bad_data_format               = 8
         header_not_allowed            = 9
         separator_not_allowed         = 10
         header_too_long               = 11
         unknown_dp_error              = 12
         access_denied                 = 13
         dp_out_of_memory              = 14
         disk_full                     = 15
         dp_timeout                    = 16
         OTHERS                        = 17
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      l_t_range-sign = 'I'.
      l_t_range-option = 'EQ'.
      LOOP AT t_line INTO s_line.
        l_t_range-low = s_line.
        IF sy-tabix = 1.
          MODIFY l_t_range INDEX l_idx.
        ELSE.
          APPEND l_t_range.
        ENDIF.
      ENDLOOP.
    If you already have the document numbers, I guess it is easier to load it from a text file instead of creating an Infoobj.
    You might need to change the declaration to suit your requirement.
    The following piece to be changed as required
    DATA s_line(18) TYPE N.
      DATA t_line LIKE STANDARD TABLE OF s_line.
    Cheers,
    Praveen.

  • BIP 11G - Retrieving a cursor from a function defined in a package

    We had previously deployed reports in OBIP 10G....
    The reports deployed in OBIP 10G used an XDO file to interact with the database and return data in XML format.
    This action used to be defined in the ‘sqlStatement’ tag of the XDO file.
    <dataQuery>
    <sqlStatement name="Q1"> select PK_AP_GEN_REP.AP_GEN_REP('AP_CH_R101',1) FROM DUAL </sqlStatement>
    </dataQuery>
    For this it would invoke our package called ‘PK_AP_GEN_REP’ and pass the report specific function name ('AP_CH_R101') to it as an input parameter.
    This returned a cursor.
    Hereafter the resultant cursor from above would get each column mapped with those mentioned in ‘dataStructure’ tags of XDO file to form an XML file.
    Currently we are trying the same in OBIP 11G.
    We are creating the dataset with SQL query
    The problem is that the SQL statement “select PK_AP_GEN_REP.AP_GEN_REP('AP_CH_R101',1) FROM DUAL” is not effective.
    Also if the above query is fired it does not retrieve the column names to define the data structure.
    Solutions tried:-
    1.     Forcefully defining the data-structure in XDM file created for this report. This did not work.
    2.     Firing a Before “Event Trigger”. This only works if the function is returning a Boolean and not a cursor.
    We tried modifying the function to return a Boolean and to populate the report specific table which could be queried to fetch the records.
    We defined Oracle DB Default Package = PK_AP_GEN_REP
    We defined the trigger as PK_AP_GEN_REP.AP_GEN_REP('AP_CH_R101',1)
    Now creating the dataset with SQL query does not return any data.
    It is giving the following error:-
    "XML document must have a top level element. Error processing resource 'http://iflmud5im00094:9704/xmlpserver/servlet/xdo'."
    However the query fires if Oracle DB Default Package is reset to nothing...But in this case the event trigger did not fire.
    If there is a wayout involving any of the above 2 steps or any other way please share the solution
    Kindly let me know how I may handle this issue of Retrieving a cursor from a function defined in a package in BIP 11g.

    Further regarding this....
    Not sure regarding performance issues of using pipelined functions
    Just to share with you that instead of what you suggested I have tried out returning a 'table' type object from a PL/SQL function after CAST ing the required query to this Object.
    Stretching the discussion forward, is there a way to cast a ref cursor into a plsql table.
    This could absolutely fit my requirement...
    Thanks in advance

Maybe you are looking for