Error in Budget creation for API pa_budget_pub.create_draft_budget

when we are trying to create draft budget for new projects from the API (pa_budget_pub.create_draft_budget). The API is returning the error
“ORA-01422 in Package PA_BUDGET_UTILS Procedure SUMMERIZE_PROJECT_TOTALS”
We tried checking the error and it was
System throws the error 'ORA-01422: Exact Fetch Returns more than requested number of rows'

Please post the details of the application release, database version and OS.
when we are trying to create draft budget for new projects from the API (pa_budget_pub.create_draft_budget). The API is returning the error
“ORA-01422 in Package PA_BUDGET_UTILS Procedure SUMMERIZE_PROJECT_TOTALS”Can you post the code here?
We tried checking the error and it was
System throws the error 'ORA-01422: Exact Fetch Returns more than requested number of rows'OERR: ORA 1422 "exact fetch returns more than requested number of rows" [ID 18827.1]
Thanks,
Hussein

Similar Messages

  • PS accounting & Budget creation for project

    Hi PS Guru's
    I am new to PS, any body has any documentation of PS accounting & Step for budget creation fot PS
    Regards
    PD

    Hi,
    Please refer the below URL for Project accounting.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/86/98853478616434e10000009b38f83b/frameset.htm
    For creating Budget you please follow steps.
    1. Transaction CJ30: Allocate Budget to Projects
    2. Transaction CJ32: Release Budget for execution
    Hope this will help you.
    Regards,
    Rakesh Pradhan

  • Error while inbound creation for return sales order

    Hi all,
             We are in the process of creating return sales order for invoice cancelation.
             We have created return sales order.
             we have made settings for automatic inbound creation.
             While creating inbound delivery system giving following error,
    <b>Material cannot be used for inbound delivery because QM is active.</b>
    Please help in solving error.
    regards,
    Mona

    dear  kiran,
                        Tcode is for job planning,where can i make the required setting.
                        Can you explain in detail?
    regards,
    Mona

  • Error during Variant Creation for a report

    hi,
    i'm trying to schedule a background job for the report MEREP_DISTRIBUTOR. it requires me to create a variant. i go to SA38 Transaction and try creating a variant.
    <b>"Maintain Variant: Report MEREP_DISTRIBUTOR, Variant Distributor" </b>Screen.
    When i give simulate, i get this error.
    <b>Simulate --> No Mobile ID found.</b>
    Can you help me solve this issue?
    Thanks and Regards
    Arun
    PS: Answers will be Rewarded.
    Message was edited by: Arun Kumar Ravi

    > Login in to your webconsole, under the
    > 'Administration' tab, press 'Add entry' button; which
    > will allow you to assign the componen to a user.
    at this point, i get a message  "Selected component type cannot be assigned\n"
    but when i see what components have been assigned,
      On All Devices    MI_ADMIN   ZMI0_EX1   01   Deployment with Next Synchronization    With Role Assignment    2005-12-29   19:14:23  
    ZMI0_EX1 - MCD Name.
    01 Version
    MI_ADMIN - User name.
    the above statement was a result of role sync from the ABAP server side.
    So, what's next?
    Regards,
    arun.
    Message was edited by: Arun Kumar Ravi

  • Error Message : Budget exceeded for WBS(BP604)

    Hi
    Im getting a message when im trying to post a commitment to a WBS through PO.
    Originally for the WBS element USD-110107117  I pushed down $15K   and yesterday I was told to push down another $40k. Bringing the total to $55K.
    Today I'm trying to cut a PO (73910) for an amount over $15k and it says that the budget exceeds. But if I cut it below or equal to $15k it works.
    But if you check the Budget it's right there are $55k.
    Can you please help me why still im getting this message.
    Your advice is appreciated.
    Thanks and Regards
    Megha

    Hi
    Thanks for this.
    Another question is that this 55000$ is allocated at level 2 WBS USD-110107117. In this assigned amount is 15000$.
    Project is USD-110100000
    The WBS element which im assigning in the PO is at level 4 USD-110107117-B-5656-03 which of now has 0 value.
    So how do i bring down this value of 55K to this level USD-110107117-B-5656-03 .
    Also if i give any amount less that 15000$ it is taking.
    This sounds strange.
    Any help would be highly appreciated.
    Thannks and Regards
    Megha

  • Error in DTP creation for a flat file datasource

    Hi SDN friends,
    Please if somebody can give me a help with this, it will be very appreciate.
    I have a DTP to load attributes master data into an infoobject. The master data comes from a flat file (data source flat file) .
    The extraction mode is full, when I try to modify any selection in the "Update" tab, a message "Enter valid value" shows, but it doesn't give me any hint about which is the wrong value that must be checked.
    The message ID is 00 002 and the and the text is the following
    Enter a valid value
    Message no. 00002
    Procedure
    Display the allowed values with F4 and correct your entry.
    I think it may be something related to the flatfile datasource. Are there any special considerations to create a DTP to upload master data from a flat file?
    Thanks so much for your attention and best regards,
    Karim

    Hi Karim,
    I suspect that you might be entering values that are not in correct format as defined in BI DTP. Eg: date it could be DD.MM.YYYY in BI you might be giving MM.DD.YYYY similary you may be entering the wrong format for master data you are giving it in selections.
    Hope it helps...
    Best Regards,
    Madhu

  • Error while delivery creation

    hi,
      i am getting an error while delivery creation for qty 2.The error is "Only 0 EA of material xxxx available".
    The schedule line cat in this case is cp and avalibility check is carried out and confirmed qty is given on some date ahead.
    User then runs the MRP and PR is created .
    Then the user creates a PO but not with ref to the PR created from above,instead the user creates a SO assigned PO and then creates GR which is SO assigned.
    Now when the user is trying to create delivery the erroe is "Only 0 EA of material xxxx available".
    Pl tell me why am i getting this error inspite of having the qty against the SO?
    Is it because a PR is generated from the MRP run for tht order and we have no GR agaist tht PR?Where do u i check this setting

    Hi,
    In SAP there is no stock available for that material. That is the reason it is showing that message..
    Please check MMBE t.code  stock overview for that material. I  think sales order scheduleline date is showing some other date.becuase today there is no stock so u will be not able to create any delvery. So please create delivery only on confirmed schdulines date....
    Other wise do stock posting and then do availability check then try to create delivery...
    Regards
    sankar
    Edited by: sankar sankar on Jul 1, 2008 1:10 PM

  • Issue while running a custom package:ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o

    Hi Guys,
    We have created a custom package where in we are trying to call the standard API's of Oracle projects i.e PA_PROJECT_PUB.When we are trying to call these APIs we are facing the below issue.
    We have tried testing in two instances ,Initially it worked in both instances.
    Using the same API's multiple times we tested the same data set in these instances.
    For the first few runs it works fine.But when we go on using the same API's again and again for our testing we face now and then the below issue.
    Standard API's
    =========
    add_task
    update_project
    change_structure_status
    create_draft_plan
    Error:
    ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o2670336.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log. in Package PA_PROJECT_PUB Procedure update_project:ORA-0000: normal, successful completionError while publishing the task
    Please let us know if anyone of has come across the same situation.
    Regards,
    Vijay

    But have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.Was this working before? If yes, any changes have been done recently?
    Please see if these docs help.
    APXAPRVL: Invoice Validation Errors With MSG-00001 and REP-1419 [ID 333305.1]
    Invoice Validation Errors When Others:101505:Non-Oracle Exception Rep-1419 [ID 464125.1]
    Invoice Validation Fails with REP-1419 Error in Ap_approval_matched_pkg.Execute_matched_checks [ID 293425.1]
    Invoice Validation Failing On Fnd_file Could Not Write To File L0202306.Tmp [ID 461520.1]
    Invoice Validation (APPRVL) Errors ORA-20001 APP-SQLAP-10000 PSA_FUNDS_CONTROL_PKG.glxfck [ID 463184.1]
    Validate Invoice Error With ORA-20001: APP-SQLAP-10000: AP_FUNDS_CONTROL_PKG.Calc_QV [ID 432702.1]
    Invoice Validation Program Is Erroring Out [ID 382844.1]
    Error On Validation Of Invoices From Previous Periods [ID 412814.1]
    Thanks,
    Hussein

  • Budget exceeded error during delivery creation

    Dear All,
    We are facing a problem during delivery creation. Our business scenario is engineered to order and every customer order is created as a Project in PS module. the sales order is linked to the  WBS element. While creating an outbound delivery for the sales order the system gives error message that "Budget exceeded for the WBS." This is for first time such error has occurred during the delivery creation. Logically delivery creation and PGI indicates negative incurrence on the WBS elements so even if the budget is not there or exhausted still then system should allow to create the delivery.
    Please let me know if anybody has face this problem and solved it.
    regards'
    Preetam

    Preetam,
    What you are saying is correct. Delivery creation and PGI indicates negative incurrence on the WBS elements, the system should not check budget of the WBS.
    Just for checking manually, read the details of the error and note the amount. Check budget availability of wbse and compare this amount with available budget.
    Regards,
    Amol Sarode

  • There's an error while delivery note creation for STO order

    There's an error while delivery note creation for STO order  even stock available in unrestricted stock
    Edited by: sharma aman on Nov 8, 2011 9:00 AM

    Dear Sharma Aman,
    Check whether the following link helps you.
    Mesaage : while creation of delivery : An item with no delivery quantity .)
    Please search in google with the error message and definitely you will get some older posts in SDN which is solved.
    In that case , you need not wait for the solution as it is already available.
    If the solution provided do not suit you, then post it in SDN so that it will be a learning for others.
    Try to search in the forum or in google before posting further queries
    Thanks & Regards,
    Hegal K Charles

  • Stop the Billing Doc creation for error confirmation

    Hello Experts,
    This is regarding the Billing issue.
    Our Service Process: We create the Service Process and also create the followup confirmations.
    For ex: I have created one SP and also created one followup two confirmations.
    The second Confirmation contained an error and it has generated Billing Document
    Actually The bill should not be generated until all confirmation contain no error and only one billing document should be generated per Service Call.
    Could you help to stop ,the Billing Doc creation for Error Confirmations?
    Regards
    Madhu

    Check the following thread: KEPM valuation K/(834) No standard cost estimate could be found for mat.
    Shail

  • XML log: Error during temp file creation for LOB Objects

    Hi All,
    I got this exception in the concurrent log file:
    [122010_100220171][][EXCEPTION] !!Error during temp file creation for LOB Objects
    [122010_100220172][][EXCEPTION] java.io.FileNotFoundException: null/xdo-dt-lob-1292864540169.tmp (No such file or directory (errno:2))
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at oracle.apps.xdo.dataengine.LOBList.initLOB(LOBList.java:39)
         at oracle.apps.xdo.dataengine.LOBList.<init>(LOBList.java:30)
         at oracle.apps.xdo.dataengine.XMLPGEN.updateMetaData(XMLPGEN.java:1051)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:511)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1121)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1144)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:558)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    I have this query defined in my data template:
    <![CDATA[
    SELECT lt.long_text inv_comment
    FROM apps.fnd_attached_docs_form_vl ad,
    apps.fnd_documents_long_text lt
    WHERE ad.media_id = lt.media_id
    AND ad.category_description = 'Draft Invoice Comments'
    AND ad.pk1_value = :project_id
    AND ad.pk2_value = :draft_invoice_num
    ]]>
    Issue: The inv_comment is not printing on the PDF output.
    I had the temp directory defined under the Admin tab.
    I'm guessing if it's the LONG datatype of the long_text field that's causing the issue.
    Anybody knows how this can be fixed? any help or advice is appreciated.
    Thanks.
    SW
    Edited by: user12152845 on Dec 20, 2010 11:48 AM

    Hi All,
    I got this exception in the concurrent log file:
    [122010_100220171][][EXCEPTION] !!Error during temp file creation for LOB Objects
    [122010_100220172][][EXCEPTION] java.io.FileNotFoundException: null/xdo-dt-lob-1292864540169.tmp (No such file or directory (errno:2))
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at oracle.apps.xdo.dataengine.LOBList.initLOB(LOBList.java:39)
         at oracle.apps.xdo.dataengine.LOBList.<init>(LOBList.java:30)
         at oracle.apps.xdo.dataengine.XMLPGEN.updateMetaData(XMLPGEN.java:1051)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:511)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1121)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1144)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:558)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    I have this query defined in my data template:
    <![CDATA[
    SELECT lt.long_text inv_comment
    FROM apps.fnd_attached_docs_form_vl ad,
    apps.fnd_documents_long_text lt
    WHERE ad.media_id = lt.media_id
    AND ad.category_description = 'Draft Invoice Comments'
    AND ad.pk1_value = :project_id
    AND ad.pk2_value = :draft_invoice_num
    ]]>
    Issue: The inv_comment is not printing on the PDF output.
    I had the temp directory defined under the Admin tab.
    I'm guessing if it's the LONG datatype of the long_text field that's causing the issue.
    Anybody knows how this can be fixed? any help or advice is appreciated.
    Thanks.
    SW
    Edited by: user12152845 on Dec 20, 2010 11:48 AM

  • Even budget is there, still error is showing budget exceed for some commitm

    Hi Friends
    Even budget is there, still error is showing budget exceed for some commitment items.

    see u have not mentioned in which u r getting this error either in internal order or funds mangement if it is fund mangment u need to check the setting at wt time the budget is hitting either at the time of po or delievery , however if it is at the time of po then systems takes care for all the open po in your system and hit the budget.
    Pls check and need any help post
    thanks
    Sanjay

  • Error in transfer order creation for sto type-- bulk storage

    Hi ,
      Can someone help to solve the following issue, while doing the Transfer order -- " The error is --> Missing definitions for block storage control  ( B1 GB 04 ) "
    config settings done are
    1. in material master, view Wm-2, the LE qty--> 1, un --> to, SUT --> GB
    2. in material master, view Wm-1, stock removal strategies > 004 (bulk storage), stk plcmt strategies > 004 (bulk storage) and bulk storage-->04
       Thanks & Regards
    Amjad

    Hi
    Try with OMM4 for  block storage control, Also Check the  section check indicator in OMM4.

  • How To Load a Project Budget Line Through API in R12 ?

    Hello
    Could you please let me know how to load the project budget lines through API in R12 system, I am trying with below script but it is not working.
    Could you please let me know if you have any solution.
    =========================================================================================================================================================================
    Script
    DECLARE
    --––variables needed for API standard parameters
       l_api_version_number     NUMBER                                 := 1.0;
       l_commit                 VARCHAR2 (1)                           := 'T';
       l_return_status          VARCHAR2 (1);
       l_init_msg_list          VARCHAR2 (1);
       l_msg_count              NUMBER;
       l_msg_data               VARCHAR2 (2000);
       l_data                   VARCHAR2 (2000);
       l_msg_entity             VARCHAR2 (100);
       l_msg_entity_index       NUMBER;
       l_msg_index              NUMBER;
       l_msg_index_out          NUMBER;
       l_encoded                VARCHAR2 (1);
       i                        NUMBER;
       a                        NUMBER;
    --––variables needed for Oracle Project specific parameters
       l_pm_product_code        VARCHAR2 (100);
       l_pa_project_id          NUMBER;
       l_pm_project_reference   VARCHAR2 (100);
       l_budget_type_code       VARCHAR2 (30);
       l_change_reason_code     VARCHAR2 (30);
       l_description            VARCHAR2 (255);
       l_entry_method_code      VARCHAR2 (30);
       l_resource_list_name     VARCHAR2 (60);
       l_resource_list_id       NUMBER;
       l_budget_lines_in        pa_budget_pub.budget_line_in_tbl_type;
       l_budget_lines_in_rec    pa_budget_pub.budget_line_in_rec_type;
       l_budget_lines_out       pa_budget_pub.budget_line_out_tbl_type;
       l_line_index             NUMBER;
       l_line_return_status     VARCHAR2 (1);
       l_user_id                NUMBER;
       l_responsibility_id      NUMBER;
       API_ERROR                EXCEPTION;
    BEGIN
       -- SET GLOBAL INFO
       SELECT user_id,
              responsibility_id
         INTO l_user_id,
              l_responsibility_id
         FROM pa_user_resp_v
        WHERE user_name = 'RAJU';
       PA_INTERFACE_UTILS_PUB.SET_GLOBAL_INFO (p_api_version_number      => 1.0,
    p_responsibility_id       => l_responsibility_id,
    p_user_id                 => l_user_id,
                                               p_msg_count               => l_msg_count,
    p_msg_data                => l_msg_data,
    p_return_status           => l_return_status
       IF l_return_status != 'S'
       THEN
          RAISE API_ERROR;
       END IF;
    --––PRODUCT RELATED DATA
       l_pm_product_code        := 'GMS';
    --––BUDGET DATA
       l_pa_project_id          := 6271;
       l_pm_project_reference   := NULL;--'ABC';
       l_budget_type_code       := 'FC';
       -- l_change_reason_code := 'INITIAL';
       l_description            := 'New description –> 2';
       l_entry_method_code      := 'PA_TASKLVL_BASELINE';
       l_resource_list_id       := 1001;
    --––BUDGET LINES DATA
       a                := 1;
       FOR i IN 1 .. a
       LOOP
          l_budget_lines_in_rec.pa_task_id := 405156;
          l_budget_lines_in_rec.pm_task_reference       := NULL;
          l_budget_lines_in_rec.resource_alias          := 'Labor';
          l_budget_lines_in_rec.resource_list_member_id := '1034';
          -- l_budget_lines_in_rec.budget_start_date        := '01-Jan-13';
          -- l_budget_lines_in_rec.budget_end_date          := '31-Dec-14';
          -- l_budget_lines_in_rec.period_name          := 'JUL-10FY2011';
          l_budget_lines_in_rec.description             := 'Some Text';
          l_budget_lines_in_rec.quantity := 100.00;
          l_budget_lines_in_rec.raw_cost := 300.00;
          l_budget_lines_in (i)                         := l_budget_lines_in_rec;
       END LOOP;
    --––INIT_BUDGET
       pa_budget_pub.init_budget;
    --––LOAD_BUDGET_LINE
       FOR i IN 1 .. a
       LOOP
          pa_budget_pub.load_budget_line
                            (p_api_version_number           => l_api_version_number,
    p_return_status                => l_return_status,
                             p_pa_task_id                   => l_budget_lines_in (i).pa_task_id,
    p_pm_task_reference            => l_budget_lines_in (i).pm_task_reference,
    p_resource_alias               => l_budget_lines_in (i).resource_alias,
    p_resource_list_member_id      => l_budget_lines_in (i).resource_list_member_id,
    p_budget_start_date            => l_budget_lines_in (i).budget_start_date,
                             p_budget_end_date              => l_budget_lines_in (i).budget_end_date,
    p_period_name                  => l_budget_lines_in (i).period_name,
    p_description                  => l_budget_lines_in (i).description,
                             p_raw_cost                     => l_budget_lines_in (i).raw_cost,
    p_burdened_cost                => l_budget_lines_in (i).burdened_cost,
    p_revenue                      => l_budget_lines_in (i).revenue,
    p_quantity                     => l_budget_lines_in (i).quantity
       END LOOP;
       IF l_return_status != 'S'
       THEN
          RAISE api_error;
       END IF;
    --––EXECUTE_CREATE_DRAFT_BUDGET
        pa_budget_pub.execute_create_draft_budget (p_api_version_number        => l_api_version_number,
    p_msg_count                 => l_msg_count,
    p_msg_data                  => l_msg_data,
    p_return_status             => l_return_status,
    p_pm_product_code           => l_pm_product_code,
                                                  p_pa_project_id             => l_pa_project_id,
    p_pm_project_reference      => l_pm_project_reference,
    p_budget_type_code          => l_budget_type_code,
    p_change_reason_code        => l_change_reason_code,
    p_description               => l_description,
                                                  p_entry_method_code         => l_entry_method_code,
    p_resource_list_name        => l_resource_list_name,
    p_resource_list_id          => l_resource_list_id
       IF l_return_status != 'S'
       THEN
          NULL; --––RAISE API_ERROR;
       END IF;
    --––FETCH_LINE
       FOR l_line_index IN 1 .. pa_budget_pub.g_budget_lines_tbl_count
       LOOP
          pa_budget_pub.fetch_budget_line (p_api_version_number      => l_api_version_number,
    p_return_status           => l_return_status,
    p_line_index              => l_line_index,
    p_line_return_status      => l_line_return_status
          IF l_return_status != 'S' OR l_line_return_status != 'S'
          THEN
             RAISE api_error;
          END IF;
       END LOOP;
    --––CLEAR_BUDGET
       pa_budget_pub.clear_budget;
       IF l_return_status != 'S'
       THEN
          RAISE api_error;
       END IF;
    --––HANDLE EXCEPTIONS
    EXCEPTION
       WHEN api_error
       THEN
          FOR i IN 1 .. l_msg_count
          LOOP
             pa_interface_utils_pub.get_messages (p_msg_data           => l_msg_data,
    p_data               => l_data,
    p_msg_count          => l_msg_count,
    p_msg_index_out      => l_msg_index_out
             DBMS_OUTPUT.put_line ('Error Mesg ' || l_data);
             DBMS_OUTPUT.put_line ('Error Mesg ' || l_msg_data);
          END LOOP;
       WHEN OTHERS
       THEN
          FOR i IN 1 .. l_msg_count
          LOOP
             pa_interface_utils_pub.get_messages (p_msg_data           => l_msg_data,
    p_data               => l_data,
                                                  p_msg_count          => l_msg_count,
    p_msg_index_out      => l_msg_index_out
             DBMS_OUTPUT.put_line ('error mesg ' || l_data);
          END LOOP;
    END;
    =========================================================================================================================================================================

    Not knowing how its embedded...  you will need to get the report instance from the dll and cast it as a ReportDocument object.
    Given the info so far, that is all we can say.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Maybe you are looking for