Trace API Error

Hi,
I am create record in Item Categories using API, following is the code;
/* Formatted on 1/17/2012 12:16:27 PM (QP5 v5.115.810.9015) */
DECLARE
l_category_rec inv_item_category_pub.category_rec_type;
l_return_status VARCHAR2 (80);
l_error_code NUMBER;
l_msg_count NUMBER;
l_msg_data VARCHAR2 (80);
l_out_category_id NUMBER;
BEGIN
l_category_rec := NULL;
SELECT f.id_flex_num
INTO l_category_rec.structure_id
FROM fnd_id_flex_structures f
WHERE f.id_flex_structure_code = 'ITEM_CATEGORIES';
l_category_rec.structure_code := 'ITEM_CATEGORIES';structure_id := 101;
l_category_rec.summary_flag := 'N';
l_category_rec.enabled_flag := 'Y';
l_category_rec.segment1 := '100';
l_category_rec.segment2 := 'Kemulex';
l_category_rec.segment3 := '22X550';
l_category_rec.segment4 := '0';
l_category_rec.segment5 := 'MIS';
l_category_rec.segment6 := 'MIS';
l_category_rec.segment7 := 'MIS';
l_category_rec.segment8 := 'MIS';
l_category_rec.segment9 := 'MIS';
l_category_rec.segment10 := 'MIS';
l_category_rec.segment11 := 'MIS';
inv_item_category_pub.create_category (p_api_version => 1.0,
p_init_msg_list => fnd_api.g_false,
p_commit => fnd_api.g_true,
x_return_status => l_return_status,
x_errorcode => l_error_code,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data,
p_category_rec => l_category_rec,
x_category_id => l_out_category_id);
IF l_return_status = fnd_api.g_ret_sts_success
THEN
COMMIT;
DBMS_OUTPUT.put_line ('Creation of Item Category is Successful : ' || l_out_category_id);
ELSE
DBMS_OUTPUT.put_line ('Creation of Item Category Failed with the error :' || l_error_code);
ROLLBACK;
END IF;
END;
but this code does not show the exact error; just this text appear in error "Creation of Item Category Failed with the error :" but l_error_code variable does not fetching the value...
Please guide me how to resolve.
Regards,
Waqas Hassan

Hi;
Please see below for trace API
How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ? [Video] [ID 869386.1]
Regard
Helios

Similar Messages

  • DI API error while adding AP Invoice (Using serial Nos.)

    Hi,
    Im getting the following DI API error when adding an AP Invoice which has serial numbers and i cant seem to find any logical fault in the code.
    " [PCH1.WhsCode][line: 4] , 'This entry already exists in the following tables (ODBC -2035) "
    If anybody has encountered this error and found a solution kindly let me know.

    Hi Vivek,
    Are you trying to add same document number, serial number or so on?
    "entry exist " means like "duplicate key problem", I guess.
    Basically, whscode column in PCH1 table allows duplicating.
    So, I think serial number is duplicated among same item code.
    Hope this useful for you.
    Regards,
    Hyunil Choi.

  • Oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a H

    I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a HP ENVY Phoenix, fully loaded, 1 1/2 years old.

    Nevermind I fixed it. Thank you.

  • Win32 API error 126

    What to do if message: [Win32 API error 126 ("Dasangegebene Modul wurde nicht gefunden") when calling ::LoadLibrary from getFunction] apears

    What to do if message: [Win32 API error 126 ("Dasangegebene Modul wurde nicht gefunden") when calling ::LoadLibrary from getFunction] apears

  • How to find trace file error in form

    hai all,
    i have big problem in my form in apps i open the form one error is ocuured,
    i got the trace file and check the error,
    PARSE ERROR #82:len=2903 dep=0 uid=173 oct=3 lid=173 tim=4265689973879 err=904 this is the trace file error meassage,
    how to find this error in form and also this is occured one select statement,how to find this select statement where can be used in form,
    i have one button ,when ever i press the button this error is ocuured,i check this button pl/sql procedure code but in this code not using that sql statement,
    if any one know to find the sql statement through trace file.
    plz give the replay as soon as possible.
    thank's

    The newest SQL Developer can converts the trace to readable format too, I'm not shure if you see the sql statement related to the error then.
    It seems you get ORA-00904 which says you use an invalid coumn in a dml statement.
    Normally such error should pop up in message - do you overwrite the message handling or use exception handling in you form which block this message?
    Easiest way to find this is to compile the form against the target database.
    If this does not give an error, you should check, if you use dynamic sql statements which are wrong.
    If you call database routines from your form, than this could be the errro cause too.

  • WEBI working in Rich Client but giving error opendocument' api. (error err_wis_30270) in launch pad

    Hi,
    I transported webi documents + universe from a development server (BI 4.1. SP2) to a test server (same release). I can open the documents with the WEBI rich client, but I am unable to open them with the launch pad (error ...opendocument' api. (error err_wis_30270)).
    Does anyone have a clue where there could be a difference in the settings that cause this behaviour?
    Thanks,
    Sandra.

    Can you check this KB?
    1684675
      - An internal error occurred while calling 'openDocument' API. (Error:
    ERR_WIS_302070) while opening WebIntelligence reports in SAP BO BI 4.0.

  • Essbase Hyperion 9 + BO XI 3.1 SP3. Essbase API Error (1030723) (WIS 1

    Hello, Need your help please !!!
    I have installed BO Enterprise XI 3.1 SP3 on window 2003 which IBM DataStage have been installed on it.
    There are no problem when :
    - Creating connection using essbase hypersion 9 and creating universe in Universe Designer (Ok)
    - Checking validity of the universe (Ok)
    - Create and run report in webbi rich clien (Ok)
    The problem is when I tried to create report and run query in Web Intelligence Java Panel Report, I got this Error "A database error occured. The database error text is: Essbase API Error (1030723): . (WIS 10901)".
    Can someone help me to solve this problem, please?
    Regards
    Sofian

    Hi Stratos,
    I have installed Essbase Client Version 11. I have installed the same in my laptop and I didn't got this problem, the different only i haven't installed DataStage in my laptop.
    Regards
    Sofian

  • Essbase Hyperion 9 + BO XI 3.1 SP3. Essbase API Error (1030723) (WIS 10901)

    Hello, Need your help please !!!
    I have installed BO Enterprise XI 3.1 SP3 on window 2003 which IBM DataStage have been installed on it.
    There are no problem when :
    - Creating connection using essbase hypersion 9 and creating universe in Universe Designer (Ok)
    - Checking validity of the universe (Ok)
    - Create and run report in webbi rich clien (Ok)
    The problem is when I tried to create report and run query in Web Intelligence Java Panel Report, I got this Error "A database error occured. The database error text is: Essbase API Error (1030723): . (WIS 10901)".
    Can someone help me to solve this problem, please?
    Regards
    Sofian

    Hi Stratos,
    I have installed Essbase Client Version 11. I have installed the same in my laptop and I didn't got this problem, the different only i haven't installed DataStage in my laptop.
    Regards
    Sofian

  • API Error: table does not exists

    Hello every one,
    I have a procedure to load the learning management data history through API. I get error that the table or view does not exists which I don't know why.
    Here is my procedure:
    CREATE OR REPLACE PROCEDURE OLM_CLASS_HISTORY
    AUTHID CURRENT_USER AS
    lv_BOOKING_ID NUMBER;
    lv_BOOKING_STATUS_TYPE_ID NUMBER;
    lv_EVENT_ID NUMBER;
    lv_PERSON_ID NUMBER;
    lv_DATE_BOOKING_PLACED DATE;
    lv_OBJECT_VERSION_NUMBER NUMBER;
    lv_FINANCE_LINE_ID NUMBER;
    CURSOR C1 IS
    SELECT OLM_NUMBER,
    OLM_DATE_OF_CLASS,
    OLM_CLASS
    FROM OLM_HISTORY_CLASS;
    BEGIN
    FOR C1_REC IN C1
    LOOP
    begin
    select PAF.PERSON_ID INTO lv_PERSON_ID
    from PER.PER_ALL_PEOPLE_F PAF
    where PAF.EMPLOYEE_NUMBER= C1_REC.OLM_NUMBER
    and to_date (C1_REC.OLM_DATE_OF_CLASS, 'DD-Mon-YY HH24:MI:SS ')
    between to_date(paf.effective_start_date, 'DD-Mon-YY HH24:MI:SS')
    and to_date (paf.effective_end_date, 'DD-Mon-YY HH24:MI:SS');
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('PID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    lv_DATE_BOOKING_PLACED:= C1_REC.OLM_DATE_OF_CLASS;
    BEGIN
    SELECT DISTINCT AOET.EVENT_ID INTO lv_EVENT_ID
    FROM APPS_APPLMGR.ota_events_tl AOET
    WHERE
    AOET.TITLE = C1_REC.OLM_CLASS;
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('EID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    dbms_output.put_line('Event id:'||lv_event_id);
    dbms_output.put_line('Person id:'||lv_person_id);
    dbms_output.put_line('Booking date:'||lv_date_booking_placed);
    dbms_output.put_line('Ovn:'||lv_object_version_number);
    dbms_output.put_line('Finance line id:'||lv_finance_line_id);
    BEGIN
    APPS_APPLMGR.OTA_DELEGATE_BOOKING_API.CREATE_DELEGATE_BOOKING (P_VALIDATE => FALSE,
    P_EFFECTIVE_DATE => trunc(sysdate),
    P_BOOKING_ID => lv_BOOKING_ID,
    P_BOOKING_STATUS_TYPE_ID => '1016',
    p_delegate_person_id => lv_PERSON_ID,
    p_contact_id => NULL,
    P_BUSINESS_GROUP_ID => '0',
    P_EVENT_ID => lv_EVENT_ID,
    P_DATE_BOOKING_PLACED => lv_DATE_BOOKING_PLACED,
    P_INTERNAL_BOOKING_FLAG => 'Y',
    p_number_of_places => '1',
    P_OBJECT_VERSION_NUMBER => lv_OBJECT_VERSION_NUMBER,
    P_SUCCESSFUL_ATTENDANCE_FLAG => 'Y',
    P_FINANCE_LINE_ID => lv_FINANCE_LINE_ID);
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('API Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    END LOOP;
    COMMIT;
    --rollback;
    END;
    and now when I run this procedure,I am getting this error:
    PID Error: 100 - ORA-01403: no data found
    Event id:5684
    Person id:12530
    Booking date:14-DEC-11 00:00:00
    Ovn:
    Finance line id:
    API Error: -942 - ORA-00942: table or view does not exist
    I don't know if it is API which is making problem or my code. Please advice.
    Thanks,

    You are creating the procedure in which schema.
    does this user has permission to access the objects specified in the code.
    the issue must be with your code not the ebs api

  • I am unable to open my Red Box account. I get the message "unknown API error."

    I switched to Fire Fox because of slowness and other issues with Internet Explorer. Fire Fox is much better, with one exception. I can't open my Red Box account. I get a message that states "unknown API error." Red Box says the problem is related to the fact that they have new software. However, I can still pull up Red Box in Explorer.

    What extensions do you have installed? To get a full list, do the following:
    In order to be able to find the correct solution to your problem, we require some more non-personal information from you. Please do the following:
    *Click the Firefox button at the top left, then click the ''Help'' menu and select ''Troubleshooting information'' from the submenu. If you don't have a Firefox button, click the Help menu at the top and select ''Troubleshooting information'' from the menu.
    Now, a new tab containing your troubleshooting information should open.
    *At the top of the page, you should see a button that says "Copy all to clipboard''. Click it.
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
    If you need further information about the Troubleshooting information page, please read the article [[Using the Troubleshooting Information page]].
    Thanks in advance for your help!

  • Trace File Errors

    Hi - I've been trying to figure out an issue I'm having where I have a report with an attached library I created and at random it seems that the PL/SQL in the library errors out with this error message-
    Terminated with error:
    REP-1401: 'cf_footnoteformula': Fatal PL/SQL error occurred.
    ORA-06508: PL/SQL: could not find program unit being called
    Here's my RWSERVLET Trace file error - not sure what's going on here but if anyone has a clue what this might mean and lead me in the right direction, please let me know
    [2008/5/8 5:53:17:934] Exception 1401 (): 'cf_footnoteformula': Fatal PL/SQL error occurred.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
         at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
         at oracle.reports.server._ConnectionStub.runJob(_ConnectionStub.java:504)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:290)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1671)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1525)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

    Hi - I've been trying to figure out an issue I'm having where I have a report with an attached library I created and at random it seems that the PL/SQL in the library errors out with this error message-
    Terminated with error:
    REP-1401: 'cf_footnoteformula': Fatal PL/SQL error occurred.
    ORA-06508: PL/SQL: could not find program unit being called
    Here's my RWSERVLET Trace file error - not sure what's going on here but if anyone has a clue what this might mean and lead me in the right direction, please let me know
    [2008/5/8 5:53:17:934] Exception 1401 (): 'cf_footnoteformula': Fatal PL/SQL error occurred.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
         at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
         at oracle.reports.server._ConnectionStub.runJob(_ConnectionStub.java:504)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:290)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1671)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1525)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

  • Where can I get a list of Adobe Connect API error messages?

    We have a test that will try to connect to an invalid Adobe Connect site and confirms that we get an appropriate error message back.  Last week, the error was "The remote name could not be resolved: test.com".   Now the error is "Unable to connect to the remote server".  Is there a list of Adobe Connect API errors and where would I check to see if they are changed/updated?
    Thanks,
    Kevin

    Assuming that you did a default installation, you can click Start-->Programs-->National Instruments-->FieldPoint 3.0-->FieldPoint Help. There is a category called Errors and Warning Codes. Under that category is two subcategories; FieldPoint Specific Error Codes and General Error codes. These two sub-categories should list most error codes that you will see.
    Regards,
    Aaron

  • An internal error occured while calling 'getBlob' API. (error: ERR_WIS_3027

    Hi Team,
    Please help me in resolving the below error message.
    One of my user is experiencing this when trying to run a report.
    "An internal error occured while calling u2018getBlobu2019 API. (error: ERR_WIS_30270)". I have checked the previous discussion on the same, But I could not get it. Could some one help me as what I can do to resolve this.
    Thanks in Advance
    Mmvihar

    Hi George Pertea,
    Appreciate your prompt response.
    I found a simple solution for this.
    This error message occurs when the TOMCAT server memory exceeds more than 1.3 gb. Hence, restart the TOMCAT server would resolve this issue.
    Here are the steps in detail.
    1. Log into each server through either citrix, remote desktop or mstsc from run command.
    2. Click on task Manager.
    3. Click on process, if you find TOMCAT memory is more than 1.3 gb, come back to CCM and stop tomcat server.
    4. Wait for 20 seconds and then start tomcat server. Check all the remaining servers and do the same
    This resolved the issue.
    Thanks & Regards
    Mmvihar

  • OIM GTC connector_OIM API Error

    I have created a GTC in OIM. I am able to provision and revoke the resource in my base machine.
    I have one task e.g. Change First Name and corresponding First Name Updated runs on completion of Change First Name.
    If I am a Officer 1, I can run the task successfully.
    If I am Officer 2, I am getting error as"OIM API error encontered".
    In WAS logs I am getting IT Resource with key 0 not found.
    If you guys have encountered the same situation then please respond.

    I think one problem I am having is that I was using the java that shipped with RedHat. I am now using the java that is shipped with the SOA Suite. I am still getting an error, but it's a little different.
    [oracle@oimserver scripts]$ which java
    /app/oracle/soa/jdk/bin/java
    [oracle@oimserver scripts]$ java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
    [oracle@oimserver scripts]$ ./SSH.sh
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:194)
    at com.thortech.xl.integration.telnetssh.tests.SSHProvisioningTest.setSshProperties(Unknown Source)
    at com.thortech.xl.integration.telnetssh.tests.SSHProvisioningTest.main(Unknown Source)

Maybe you are looking for

  • Mouse Down - color artifact

    when I mouse down there is a color in the background even though the fiil is set to none?

  • How to create login page for application with jheadstart

    Is there a how to section for jheadstart? After reviewing the jheadstart developer's guide. I am still left with lot of questions: 1. how to create a login page to allow access to an application using username/password from a database table 2. how to

  • Mail Stationery and HTML

    Hi there, Is there someone who knows if I can use a HTML-page (that I created in iWeb) as a new mail stationery? I need to make a newsletter for my company, but the standard stationery is not statisfying for me and i need a stationery that includes p

  • Length of the attribute changed????

    Hi All we have a infobject(0Material as a charastics) and we have 3 attributes for this infobject.Now we added 1 attribute( ZMat_Pl)and the length of that attribute is 15 and transported to production.No data is there Now our client requirement chang

  • Re: Tecra M2 - Vista cannot be installed - No drives found

    When I try to install Vista I get the message - "No drives found". What can I do? I am 68 and not very computer minded . The fitting of hard drive and memory were fairly easy HELP!!!!!!!!!