Locate an API error

Hello

I create the record in the categories of items by using the API, here is the code.

/ * Formatted on 17/01/2012 12:16:27 (PS5 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
IN l_category_rec.structure_id
OF 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: = '22 X 550';
l_category_rec.segment4: = '0';
l_category_rec.segment5: = 'GIS ';
l_category_rec.segment6: = 'GIS ';
l_category_rec.segment7: = 'GIS ';
l_category_rec.segment8: = 'GIS ';
l_category_rec.segment9: = 'GIS ';
l_category_rec. SEGMENT10: = 'GIS ';
l_category_rec.segment11: = 'GIS ';

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 (' category of the item Creation is successful: ' | l_out_category_id);
ON THE OTHER
Dbms_output.put_line (' creating 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 "creating item category failed with the error:" but variable l_error_code is not fetch the value... "

Please guide me how to solve.

Kind regards
Waqas Hassan

Salvation;

Please see below for the API trace
How do to activate Trace or Debug API to run as a SQL Script outside of Applications? [Video] [869386.1 ID]

Respect of
HELIOS

Tags: Oracle Applications

Similar Questions

  • Cannot Hibernate Qosmio G30 on Win MCE - API error

    Cannot Hibernate Qosmio G30 on Win MCE
    message: not enough system resources... The API error!
    HOW CAN I SOLVE THIS PROBLEM?
    Thanks in advance.

    Hello

    This message appears on the computer that is running Microsoft Windows XP SP2, Windows XP Tablet PC 2005 Edition or Windows XP Media Center Edition 2005 and when the computer uses 1 gigabyte (GB) of RAM or more.
    To resolve this issue, please contact Microsoft Technical Support.
    To obtain the fix, visit the following Microsoft Web site:
    http://support.Microsoft.com/?kbid=909095

    Check this announcement:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=13120

    Here, you have already posted the question!

    Another useful site:
    http://www.ntwizards.NET/2004/10/13/Hibernate

    This should help

  • Get codes error like "error 80070005" or "could not access network location" or "internal error" when you try to open Acrobat or itunes or access some Web sites.

    I am doing various codes "error 80070005" or "could not access network location" or "internal error" when trying to access acrobat or itunes or some Web sites or that he was trying to perform certain actions such as uninstalling programs.  Here are some of the problems.  A couple of weeks everything worked very well, now there's something blocking me and it's extremely frustrating.

    Hello

    Make sure that you are logged on as administrator.

    Don't forget to check the antivirus product issues and security as a 3rd party firewall (Comodo, on the one hand, a
    has been known to cause this problem.

    It is a very difficult to solve.

    Products of security/antivirus/antispyware are a known cause, so you can turn them off like
    as the test (and that sometimes not really totally removes their influence).

    How to restore the security settings the default settings?
    http://support.Microsoft.com/kb/313222

    The problem here is slightly different, although the solution may be the same.

    Error message when you use Microsoft Update or Windows Update Web sites to install updates on Windows 2000.
    Windows XP and Windows Server 2003: 0 x 80070005
    http://support.Microsoft.com/kb/968003/

    It is usually a permissions problem:

    Please check this link and those that he sites.

    Work your way through my 3 posts here.
    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/200f5140-c2dd-48a5-8CDB-0d8c82ade3cf

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • Download other store apps that require a GPS location leads to error messages.

    Original title: Maps
    My position has stopped working over the weekend. Download other store apps that require a GPS location leads to error messages. What have I done?

    Hello

    -What are the error messages that you receive when you download apps? (This will help us find the cause of the problem)

    We will check your zone settings, if they are configured incorrectly to correct us and check if this solves the problem.

    a. on the start screen, enter the Date, press or click settingsand then press or click on define the date and.

    b. the Date and time tab, tap or click on change of time zone.

    c. check if the zone settings are right depending on your region. If you find not bad, change it accordingly and click on apply, Ok.

    Also to synchronize the time on the computer with Internet server by using the step below:

    a. on the Internet time tab, tap or click on change settings.

    b. check the box synchronize with a time server Internet and then tap or click Update now.

    Restart the computer and check that it works very well. If you experience additional problems, you can reply to this post.

  • The 193 Win32 API error. Cannot call the C function: private_load_AgCoreTest

    Hi guys,.

    When I try to run Lightroom, I get the following error messages:

    • Win 32 API error 193 ("(erreur inconnue)" ") when you call: load the getCFunction library
    • Cannot call the C function: private_load_AgCoreTest

    So I can't access my library or to make a new library by importing files.

    I run it on a laptop with Windows 10 64-bit, Nvidia GeForce 850 m GTX and a processor Intel Core i7 with 12 GB of RAM and a 500 GB SSD (Samsung 840 EVO). All with the latest drivers.

    I tried already to unninstall and reinstall the program, all my packages of Visual C++ and the dll. I also already checked my permissions for the folder from catalog and granted full access. I also tried to run Lightroom as administrator.

    None of these solved the problem.

    What should I do?

    According to the notes, they followed the instructions here to fix the problem: error: "unable to start correctly (0Xc000007b)"

  • I get ERROR U44M1P7: location of the error log file: C:\Program Files (x 86) \Common Files\Adobe\Installers

    Updated Photoshop CS6 (CC) I get ERROR U44M1P7: location of the error log file: C:\Program Files (x 86) \Common Files\Adobe\Installers. First Installation and actual functioning rooms without problem, only on the update. I tried several times with the same error.

    Hi Alberto Pomares

    Please visit the Doc KB: http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

  • Get the GPS location API error - provider is not available

    Hello

    I am trying to access the information of location using Android location API (via LocationManager.GPS_PROVIDER), but without success. I get error "provider not available."

    AndroidManifest.xml has lines related to the relevant permissions:


    But I do not get prompt the same security to grant these permissions to my request.

    OS version 2.0.0.3894

    Build 73070

    Thank you.

    I solved this problem by restarting and place the device near a window.

    What I was wondering now is why Android player never asked security permission to access the location of the GPS. What is a function of development?

  • Shared Services API - error getting of datasource weblogic/pool/PooledConnectionDataSource

    Hello

    I have a program that connects to the SSP by using the Java API. The code is usually works fine on the other environment.

    This one is on EMP 11.1.2.1 version and I get an error after this procedure - system = CSSSystem.getInstance (context, "");

    27 January 2015 09:36:44 com.hyperion.hit.registry.RegistryUtils buildConnFromDriverManager

    CAUTION: Check if the Instance and Oracle Home environment variables are set properly. RootCause: weblogic.jdbc.sqlserver

    . SQLServerDriver

    Error getting of datasource weblogic/pool/PooledConnectionDataSource

    27 January 2015 09:36:44 com.hyperion.hit.registry.RegistryUtils createNewConnection

    GRAVE: Failed to create the data source connection. RootCause:weblogic/pool/PooledConnectionDataSource.

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - cannot create new database connection by using the data source. RootCause: [weblogic/pool/PooledConnecti

    onDataSource]

    27 January 2015 09:36:44 com.hyperion.hit.registry.Registry lookupComponentsWithException

    INFO: EPMREG-11045

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - cannot create new database connection by using the data source. RootCause: [weblogic/pool/PooledConnecti

    onDataSource]

    27 January 2015 09:36:44 com.hyperion.hit.registry.Registry lookupWithException

    INFO: EPMREG-11038

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - com.hyperion.hit.registry.exceptions.RegistryException: failed to create new database connection

    using data source. RootCause: [weblogic/pool/PooledConnectionDataSource]

    Com.hyperion.hit.registry.Registry 27 January 2015 search 09:36:44

    INFO: EPMREG-11038

    27 January 2015 09:36:44 com.hyperion.css.registry.RegistryManager RegistryManager

    GRAVE: Failed to initialize the instance security EMP of Shared Services. Component marchandises9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PR

    PRODUCT is null in the EMP system registry. Check the configuration of the EMP system registry.

    java.lang.NullPointerException

    at start.initialize(start.java:84)

    at the beginning. Sample(Start.Java:59)

    at cc.main(cc.java:10)


    I guess it's something with the SQL Server driver. You have any ideas?

    My ORACLE_HOME and ORACLE_INSTANCE are defined correctly.


    Thanks in advance,


    Kind regards


    Nicolas


    Hello

    I finally got it to work!

    I added libraries of weblogic located under EPM/Middleware/wlserver_10.3/server/lib, and now it works fine.

    It was a pain to find, because the error message did not specify that it was a missing library...

    Anyway, if it helps, here's the list of external libraries that I use:

    'wlssapi.jar '.

    "wlssapi - internal .jar '.

    "wlss - datatier.jar.

    "wlss-descriptor - binding.jar.

    'wlssdiameter.jar '.

    'wlssechosvr.jar '.

    "wlss - mbeaninfo.jar.

    'WLSSSecurityProviders.jar '.

    'wlthint3client.jar '.

    "wlw - langx.jar.

    "wlw-langx - ja.jar.

    "wlw-langx - ko.jar.

    "wlw-langx - zh_CN.jar.

    "wlw-langx - zh_TW.jar.

    "wlw-wsee - soapfault.jar.

    'xmlparserv2_sans_jaxp_services.jar '.

    "xmlrpc - 2.0.1.jar.

    "audit - client.jar.

    "Beaver - 1.0.5.jar.

    'com.bea.core.apache.commons.pool_1.3.0.jar '.

    "commons-lang - 2.1.jar.

    "css.jar".

    'dms.jar '.

    "interop-SDK.

    'ojdl.jar '.

    'quartz.jar '.

    "regexp.jar.

    'Register - api .jar '.

    'scheduler_ces.jar '.

    "sqljdbc.jar.

    'wf_ces_utils.jar '.

    'wf_eng_agent.jar '.

    'wf_eng_api.jar '.

    'wf_eng_server.jar '.

    'wlcipher.jar '.

    'wlclient.jar '.

    "wlcommons - logging.jar.

    'wlconnector.jar '.

    'wldb2.jar '.

    'wldeploy.jar '.

    'wlinformix.jar '.

    "wl-j2ee - client.jar.

    'wljarbuilder.jar '.

    'wljmsclient.jar '.

    'wljmxclient.jar '.

    'wllog4j.jar '.

    'wlnmclient.jar '.

    'wlpool.jar '.

    'wlsafclient.jar '.

    "wls - api .jar '.

    'wlss.jar '.

    'wlss_i18n.jar '.

    Thank you all for your help.

    Kind regards

    Nicolas

  • FPGA Interface C API, error-63105, OR-RIO: C/C++ identifier is already in use and cannot be created.

    Hello

    Installation program:

    1 x the NI PCIe-7841R

    When I am trying to automatically generate a C++ API for my top FPGA VI using the FPGA Interface C API 12.0 I get the following error.

    Error-63105

    NOR-RIO:

    The "NiFpga_FPGATop_IndicatorBool_DMAFIFOtimeoutoccured" C/C++ identifier is already in use and cannot be created.

    Anyone know what this means? Is there some kind of limitation on the appellation of front interface controls?

    /Mola

    Problem solved.

    I had placed two flags with the same name on the front panel - by mistake. It builds the FPGA without errors, but the C API generator was not in favour of that.

    / Mola

  • Could not locate the component error, not found MSVCRT10.dll,

    trying to bring to the top of Photoshop CS3 after reinstalling because of a factory reset on my computer, receive a "unable to locate component error" not found MSVCRT10.dll, but this file is located in the file C:\Program (x 86) \Adobe\Adobe Photoshop CS3\Plug-Ins.  What should I do now?

    Hello

    Photoshop CS or third-party plug-ins remove of Photoshop CS3/Plug-ins folder.

    1. remove all third-party plug-ins designed in the folder of Photoshop CS3/Plug-Ins for Photoshop CS and Photoshop CS.

    2. If you have set the plug-ins folder of Photoshop CS as an additional plug-ins folder in Photoshop CS3, choose the command Edition > Preferences > Plug-Ins and scratch disks and do one of the following:

    -Uncheck the option of additional Plug-Ins folder.

    -Click on select, then select a folder that contains no third party plug-ins designed for Photoshop CS or Photoshop CS plug-ins.

    If the problem persists after the question in the Adobe Photoshop forums.
    http://forums.Adobe.com/community/Photoshop/photoshop_windows?view=discussions

  • Cordova 3.5 file API error at first launch

    Hello

    I have an app WebWorks Cordova 3.5 running with the plugin file, and I compile and install the application for my Z10 using the BlackBerry WebWorks 10 SDK.

    When the application starts for the first time, the file API returns an error for reading and writing:

    {"type":"error","bubbles":false,"cancelBubble":false,"cancelable":false,"lengthComputable":false,"loaded":0,"total":0,"target":{"fileName":"","length":0,"localURL":"file:///accounts/1000/appdata//data/webviews/webfs/persistent/local__0/","position":0,"readyState":2,"result":null,"error":{"code":{"lengthComputable":true,"loaded":0,"total":26448,"returnValue":true,"timeStamp":1404689605867,"eventPhase":2,"target":{"readyState":2,"length":0,"onwrite":null,"onabort":null,"error":{"code":10},"onprogress":null,"position":0,"onwritestart":null},"defaultPrevented" :false,"srcElement":{"readyState":2,"length":0,"onwrite":null,"onabort":null,"error":{"code":10},"onprogress":null,"position":0,"onwritestart":null},"type":"error","cancelable":true,"currentTarget":{"readyState":2,"length":0,"onwrite":null,"onabort":null,"error":{"code":10},"onprogress":null,"position":0,"onwritestart":null},"bubbles":false,"cancelBubble":false}},"onwritestart":null,"onprogress":null,"onwrite":null,"onabort":null}}

    But if I restart the application and do the same thing, I was able to read/write the files successfully.

    I also tested the app in Cordoba on Android and the first mistakes of launch for the file read/write moved not.

    I wasn't sure if this is a bug specific to the API file 3.5 Cordova for BB10. Has anyone else have similar problems?

    This problem is fixed for the next version of the plugin file. Until then you can try to use the latest from git:

    cordova plugin rm org.apache.cordova.file
    cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git
    
  • Get an "Unable to locate required tables" error at startup

    Original title: unable to locate required tables

    I have windows 7 ultimate 32 bit. When I used my computer last night and stop it, everything was fine. But today morning when I start my PC, instead of the windows loading screen, I get the following message:

    "FATAL ERROR: unable to locate the tables needed to make adjustments." Press any key to continue initialization. "

    When I press a key, it gives a list of options to start windows in:

    (1) safe mode

    (2) safe mode with networking

    (3) safe mode with command prompt

    (4) last known good configuration

    (5) start windows normally

    When I choose the option 4 or 5, the windows of the loading screen (which says "STARTING WINDOWS") appears after which it hangs or restarts.

    When I choose option 1, it loads several files up to a named "CLASSPNP. SYS "(pas sûr dele de nom) after which it hangs or restarts." I tried to start my DVD win 7 to repair my installation but after loading the necessary files, it just reboots or freezes at the loading screen windows.

    My PC Config:

    Intel Dual Core 2.00GHZ

    3 GB RAM DDR2

    Seagate 160GB HDD

    DVD - RW drive LG

    Gigabyte motherboard with BIOS F5 v 945GCMXS2 (I've never risked updated my BIOS).

    I do not have any hardware changes since the last successful startup (which was yesterday). Kindly help me with this problem.

    Try this:
    1. put your BIOS so that it uses the DVD drive as its primary boot device.
    2 start the computer with the Windows 7 repair CD or with your Windows 7 installation DVD.
    3. press a button if you are prompted to start from the DVD.
    4. When prompted, select "Safe Mode Command Prompt".
    5 log in as administrator if you are prompted.
    6. Select repair when prompted.
    7. When you are prompted, select System Restore.
    8. set Windows to a point before this problem occurred.
    _________________________

    If this answer solves your problem, please click "Propose as answer" so that the thread can be closed. Thank you.

  • Fix API error in the Simulator

    Hello

    I get error Secure API in my Simulator OS 6.0 torch.

    How can I remove it from my Simulator?

    I have my keys secure but who are on another machine and I can't access it from this machine.

    My other app works fine on 9000 OS 5.0 without code signing Simulator.

    Thank you

    Afonso Tyagi

    Check that the safety of the appliance is turned off.

    Configurations of debugging-> General-> peripheral Security Enable in Eclipse.

  • Location of the error is not available Z:\refers to a location that is not available...

    I have a newly built windows 7 x 64 Professional machine, which has several networks of mapped drives. One of the players that is mapped to Z does not allow me to copy all the files to the local drive of C. I get error that made z:\ refers to a location that is not available...

    I tried to unplug and mapping to the diferent drive letters and using different credentials without success. The only way I can copy files to the disc is to copy the files to one of the other mapped network drives, and then copy the files from there on my local disk.

    The network connection is a straight TCP/IP network. There is no VPN or tunneling involved.

    Hello

    See this link:

    http://Windows.Microsoft.com/en-us/Windows7/create-a-shortcut-to-map-a-network-drive

    http://Windows.Microsoft.com/en-us/Windows7/find-files-and-folders-on-other-computers-on-a-network

    http://social.technet.Microsoft.com/forums/en/winservergen/thread/8291103e-0067-4e89-9211-e98f1ec61c09

    http://social.technet.Microsoft.com/forums/en/itproxpsp/thread/51053b8c-ef38-4CF4-B132-ff2f0230d3e1

    It will be useful.

  • Build Oracle NoSQL C API errors

    Hello

    I'm currently building the NoSQL Database C customer pilot available Oracle from: Oracle database NoSQL downloads

    kV - c - 2.1.57.tar

    I get the following error when I try to run cmake:

    -Identifying C compiler is GNU

    -Identification of CXX compiler is GNU

    -Check for the work of the C compiler: GCC

    -Check for the work of the C compiler: GCC - works

    -Detection of compiler ABI C information

    -Detection info ABI C compiler - done

    -Check compiler CXX work: / usr/bin/c ++

    -Check compiler CXX work: / usr/bin/c ++-work

    -Detection of information CXX compiler ABI

    -Detection info ABI CXX compiler - done

    At CMakeLists.txt:71 (message) CMake error:

    NYI is not found

    -Incomplete configuration, errors have occurred!

    My environment:

    I'm using Oracle Linux 6.5. Extracts /usr/local/jdk1.7.0_51 and JAVA_HOME set to /usr/local/jdk1.7.0_51 Java JDK

    I have already installed the prerequisite not listed in BUILDING.html:

    1 KVHOME=/var/kv/kv-2.1.57

    2 updated version 1.7 of Java 51

    3 Avro C library installed in the default location: / usr/local

    Any ideas?

    Thank you

    Jason

    OK, I was able to solve my problem by uninstalling yum cmake and manually build the latest version of CMake - Cross platform make. (to date, the current stable version is 2.8.12.2).

    Very simple installation

    wget http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz

    tar - xvvf cmake - 2.8.12.2.tar.gz

    CD cmake - 2.8.12.2

    . / bootstrap

    do

    make install

    update your PATH

    After that, I was able to run cmake again for c - kv - 2.1.57 successfully.

    But then I met another problem over do it with the following error message:

    LD WARNING not found libmawt.so (not exact error, do not remember)

    /usr/lib/JVM/JRE/lib/AMD64/libjawt.so: refers to 'awt_FreeDrawingSurface@SUNWprivate_1.1' the undefined

    ...

    To resolve this problem, I ran:

    Locate libmawt.so

    Choose the one with jre/lib/amd64/xawt and set that RPATH path in my environment.

    Export RPATH = / your/path/may/change/jre/lib/amd64/xawt

    Then ran once again. Then make install. Success!

    Hope this helps someone else.

    Thank you

    Jason

Maybe you are looking for