RETCODE = 2 does not complete the concurrent program with the error.

Hi all

I have a custom Package and a procedure with a parameter that accepts the item number.

Here is my Code:

CREATE OR REPLACE PACKAGE BODY CUSTOM_TEST_PKG
PROCEDURE MAIN (P_INVENTORY_NAME IN VARCHAR2, ERRBUFF OUT VARCHAR2, OUT VARCHAR2 RETCODE)
IS
V_ITEM_ID NUMBER;
BEGIN
FND_FILE. PUT_LINE (FND_FILE. EXIT 'before the subprogram");

/ * Start of subprogramme * /.
BEGIN
FND_FILE. PUT_LINE (FND_FILE. EXIT 'before the Select query");
SELECT INVENTORY_ITEM_ID IN THE V_ITEM_ID MTL_SYSTEM_ITEMS_B WHERE SEGMENT1 = P_INVENTORY_NAME
AND ORGANIZATION_ID = 204;
FND_FILE. PUT_LINE (FND_FILE. EXIT "after the Select query");
FND_FILE. PUT_LINE (FND_FILE. OUT,' the name of the element passed as parameter IN :'|| p_inventory_name);
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETCODE: = 2;
ERRBUFF: = 'no items exist. "
FND_FILE. PUT_LINE (FND_FILE. JOURNAL, ERRBUFF);
END;
/ * End of subprogramme * /.

FND_FILE. PUT_LINE (FND_FILE. EXIT "after the subprogram");

END MAIN;
END CUSTOM_TEST_PKG;
/


Could someone help me on this.

errbuf and retcode must be parameters of 1st and 2nd respectively. 3rd onward are the order of simultaneous program settings. Change your code.

Kind regards
Gareth

Tags: Oracle Applications

Similar Questions

  • My Vista system trying to download the updates, and it does not complete the download. It is up to "Windowsupdate_00000646" and "windowsupdate_dt000" How do I clear this code to receive these updates?

    My Vista system trying to download the updates, and it does not complete the download. It is up to "Windowsupdate_00000646" and "windowsupdate_dt000" How do I clear this code to receive these updates?

    They are only updated office or all updates?

    For Office updates, usually to pick up the item at the: http://www.microsoft.com/downloads/en/default.aspx

    then manually download and install the same.

    If all updates, perhaps consider the following general tips-

    Option: File of Windows Update agent wups2.dll is incorrectly registered and the registry associated with the Wups2.dll file files are missing.

    Method 1: Save the Windows Update files

    1. Click Start and type notepad in the box start the search.
    2. click on Notepad in the list programs.
    3. copy the following commands, and then paste them into the opened Notepad window:
    REGSVR32 WUPS2. DLL/S
    REGSVR32 STINKS. DLL/S
    REGSVR32 WUAUENG. DLL/S
    REGSVR32 WUAPI. DLL/S
    REGSVR32 WUCLTUX. DLL/S
    REGSVR32 WUWEBV. DLL/S
    REGSVR32 JSCRIPT. DLL/S
    REGSVR32 MSXML3. DLL/S
    4. in Notepad, on the file menu, click Save as.
    5. in the file type list, click all files.
    6. in the file name box, type register.bat.
    7. save the Register.bat file to your desktop.
    8 right-click the Register.bat file, and then click Run as administrator. If you are prompted for an administrator password or a confirmation, type the password or click on continue.
    9. try to reinstall updates.

    http://support.Microsoft.com/kb/958053
    See: method 1: save the Windows Update files

    http://support.Microsoft.com/kb/326253
    Method 5: Registry Windows Update engine files

    http://support.Microsoft.com/kb/971058
    How to reset the Windows Update components?

    Method 2: Download and install Windows Update agent

    Windows Update Agent

    How to get the latest version of the Windows Update Agent to help manage updates on a computer
    http://support.Microsoft.com/kb/949104

    Information for network administrators about how to obtain the latest Windows Update Agent
    http://support.Microsoft.com/kb/946928

    Click Start, click run, click Browse, navigate to the file you saved and click Open.

    Add the switch /wuforce at the end of the command run and then click OK. For example, the command run might look like this: "C:\WindowsUpdateAgent30-x86.exe" /wuforce

    Click run.

    Follow the steps to complete the wizard.

    Important

    To reinstall Windows Update Agent - download the relevant file from one of the links provided above and save it to a drive where Vista is not loaded because the file cannot be launched directly from the root directory of the system.

    Click Start, run, type: "D:\WindowsUpdateAgent30-x86.exe /wuforce" (without the quotes) and press ENTER to install the Windows Update engine.

    Note: There is a space between "D:\WindowsUpdateAgent30-x86.exe" and "/ wuforce.

    D: is the drive where Windows is not installed (IE a flash drive or a 2nd hard drive etc.)

    TaurArian [MVP] 2005-2010 - Update Services

  • I've updated my macbookpro (2010) snow leopard at elcapitan but when I restart it does not complete the installation then is no longer able to use it. Help?

    I've updated my macbookpro (2010) snow leopard at elcapitan but when I restart it does not complete the installation then is no longer able to use it.

    I tried the following:

    1 start with the R command and using disk utility that did say he had problems but then appear all ok after completing.

    2 tried the Verbose mode and did not work

    3. I tried command mode S did not.

    4. tried to zap the pram was not working.

    5 a couple other things that I had read, but nothing helped.

    It starts up and the line begins to show the computer made his 'thing', but gets stuck about 3/4 quarters of and goes no further. Would appreciate any suggestions.

    PS: also tried boot from the original disks as well, but no luck.

    You said "PS: also starting from the original disks tried both but no luck."

    Exactly what happened when you tried?

    Have you tried formatting the HD?

    Have you started the installation of SL?

  • Pavilion 500 series: printer does not complete the print job & error message

    Got a HP Deskjet 2542, but recently bought a new HP, Pavilion of the 500 series desktop computer.  When you try to print a document that is located at 3 pages, it will print the first page, and then part of the second page, then an error message appears.  Went to the HP troubleshooting & tried everything, but nothing seems to fix the situation.  Any ideas or suggestions?

    Hi @Themommy,

    I saw your post about the error message that appears when printing with your HP Deskjet 2542.

    I need a little more information to give you the best course of action.

    What is you receive the exact error message?

    Without this error message, I suggest trying a free tool called HP Print and Scan doctor to diagnose and troubleshoot printing problems. I recommend you to download and run the HP print and Scan Doctor, if she doesn't fix it automatically let me know what errors or messages that you receive.

    You can always try to uninstall the printer software and then by downloading new firmware for you printer. Click on this link to get the all-in-one HP Deskjet 2540 Printer series full feature software and drivers.

    Just note that you may not be able to download the software right now. If you click on the link above and you get this pop-up window, you may need to try the page later.

    Please let me know if these steps solved your problem, or you receive the exact error message.

    I look forward to hear from you!

    Thank you

  • Dell Wireless 370 Bluetooth wireless internal mini map does not, download the error code 43.

    Original title; - minimap wireless Bluetooth does not

    All of a sudden my internal Dell Wireless 370 bluetooth minimap has stop working and displays an error: Windows has stopped this device because it has reported problems. (Code 43). Could someone help me please

    Hello

    1. did you of recent changes to the system before the show?

    Method 1:

    Follow the link below and run the fix - it tool and check if it helps.

    http://support.Microsoft.com/mats/hardware_device_problems/

    Method 2:

    Follow the link below and download the drivers for the Bluetooth device and install and check if that helps.

    http://www.Dell.com/support/drivers/us/en/19/DriverDetails/DriverFileFormats?c=us&l=en&s=DHS&CS=19&DriverID=R226750

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Let us know if it helps.

  • Recovery Manager cannot restore Presario CQ56 & system does not start, the error BOOTMGR is missing

    1. number and product name

    Compaq Presario CQ56

     

    2 operating system installed (if applicable)

    Windows 7

     

    3. error message (if any)

    in the error log:

    Your hard disk (result-failure) id # UAMBXQ - 5H06AK - XD003F - 618U03 - DISK 1

    Start (result-failure) id # UAMBXQ - 5H60AK - XD003F - 40G 403 MEMORY MODULE 2

     

    4. all changes made to your system until the problem occurred

     

    There is no change made to the computer, before the restoration of what the computer should start, however, it would freeze once the system was running. Restarting the computer didn't help, and when I tried to restore to an earlier point, he stated that it was impossible to complete the restore. I tried the factory reset, however, it gave me an error message: "Recovery Manager is unable to restore your computer by using the original image. Please contact HP support. Error code: 0xe0ef0003. When I tried to restart the computer later, it gave an error message: "BOOTMGR is missing, press Ctrl + Alt + Delete to restart» How can I fix it?

    305 error refers to a failing hard drive. You will need to replace the hard drive.

    You can check the status of your warranty here.

    If you do not want to repair the laptop you need to contact HP support. If you are in the United States / Canada you can give them a call at 1-800-474-6836. For other countries you will need to visit this site.

    If you do not want to repair the laptop you I can provide useful information, but I'm going to need your product number. This document contains instructions to find the product number.

    I'll keep an eye out for your answer.

  • Computer does not start, the Error Recovery window is continuous

    Yesterday, I upgraded to a software called Turbo Lister for eBay.  The computer must restart for the changes to take effect.  It's the start of my problem.  After the reboot, I got Windows Error Recovery screen.  He recommends launch Startup Recovery or start Windows normally.  I tried both and keeps it just goes back to the screen even as a loop.  I tried to boot in safe mode does not work.  I have inserted the reinstallation cd and run Startup Repair and that has not worked.  Help, please!  Is that what I can do about it or he needs to see a professional?

    Hello

    You can try these since the Windows CD/DVD

    1. the system back restore to before that has happened

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    2 SFC and CheckDisk from the Windows disk command prompt

    SFC/scannow

    RE-RUN the disk

    Chkdsk /f /r

    RE-RUN the disk

    then try Startup Repair.

    (there is space after C and before / k and this before / f and before /)

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • a billing address does not match the error solution?

    After of countless attempts trying to fill the nagging billing address form to get the error message claiming the billing address does not match my debit MasterCard number. Finally, these steps worked for me and I hope they work for others. OK... here goes:

    First step: get a bank statement from the Bank for the billing address which is exact case-sensitive.

    Second step: make sure that Internet banking is activated using your bank teller, if need be.

    Step 3: Download browser CM off shop game Google you are Android phone. Go to www.adobe.com.

    Step 4: Connect to your Adobe ID and you will be greeted with the familiar Bee "Joe items combined in" or similar / can not remember and the shorter list of measures for may finally get a successful payment.

    Step 5: Enter the billing address of the instruction in step 1 and write everything as it appears but do not include the zip code or the State in the area of billing address page gastly. Fill in the rest - in fact we hope.

    BUT... There is a sine qua NON, I did not mention... Use the U.S. site (www.adobe.com) instead of your own region.

    Now, I'm thinking he animals with Exchange rates, but it's just a few extra dollars, for me, as I live in Australia.

    Good luck and I hope this works for you too! Thought I saw things after countless failures!

    Hi Simon,.

    Please contact support by calling/chat for billing queries.

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    Kind regards

    Sheena

  • Acrobat (CS5) does not start, the error code 213:19

    My HD crashed.  I installed a new SSD and do a fresh install of Win7 Ultimate and all other software.

    Now, all CS5 programs give me error code 213:19

    Solve the 213:xx question and error Acrobat X and XI Acrobat license

  • Downloads for visual boy advanced does not open and comes up with an error.

    Original title: I downloaded something to advanced Visual boy

    It does not open then I changed what it opens with the visual Boy but it comes up with an error so how can I change this back to normal because when I re-download the file arrives with the visual boy icon in front of a white page how do I change it back to normal

    Hi Jonas,.

    1. What did you download for visual boy advanced?

    2. where did you downloaded the file from? What type of IFF files you download?

    3. what web browser do you use?

    4. What is the exact error message that you receive?

    If you try to set any default program to open the file, then read the article and check if it helps.

    Change default programs using Set Program Access and computer defaults

    If you are facing the issue only with Visual boy advanced, you might contact the support of Visual boy for help.

    Hope the helps of information.

  • WMP 12 does not open. WMC comes with audio error.

    Clicking on WMP 12 - does not open. WMC opens but comes with audio error when trying to access the music library. Impossible to sync/play any music or dvd. Tried to turn the features off & restart between - no improvement. audio works with everything else on the machine & drivers are up-to-date. Tried everything to reinstall the whole machine from scratch & no improvement - get pretty sick of it! Any ideas?

    Hello

    Thanks for the reply.

    For Windows Media Player:
    You can run this Fixit.
     
     
    For Windows Media Center:
    You can run this Fixit. (It works for Windows 7).
     
    I hope that helps!
     
    Let us know the result.
  • Does not complete the Installation BIOS.

    Hi all

    IM using a HP DV6 - 7028TX, product number: B3K22PA #ABG and im having a problem with the installation of the most recent BIOS.

    Currently I have the f.2bs bios version and the more recent available is F.2D REV.

    So my question is when I run the update through HP support assistant function, it works very well and insydeflash said his copied succsessfully and requires a reboot.  To restart the shows "Press DELETE to enter setup", then a white screen and it remains on this white screen indefinitely. Then by pressing the power button, I restart the laptop and it starts fine.

    I tried to download only the bios package from the hp website and run as administrator, but as on the reboot I just get the blank screen again and no reply.

    Any advice on how to complete this update would be greatly helpful.

    See you soon

    Vanguard

    Hi Erico and all,

    I finally managed to install the latest update of the bios and it is what has been done.

    I tried to install all updates UEFI starting at one and for some reason any my UEFI will not be updated and so my Bios of installation could not be completed. So after an hour of fiddling around I deleted the Partition of 'HP_TOOLS' and started to update the bios, choose 'no' when asked to put a partition.

    The Bios has been flashed, computer restared and Voila! New Bios is installed.

    Thanks for your help!

    See you soon

    Vanguard

  • CC Adobe on my new Mac Pro does not complete the installation after running the Migration Wizard

    Hey guys, just bought a mac pro, and assistant of migration used to transfer my programs, now adobe cc stops half way through installation and said: cc adobe, requires to solve this problem, is damaged or missing, download and install adobe cc on "http..., tried to download it again, did not work, anyone who knows what to do?"

    Hello

    Creative cloud apps cannot be migrated as a return to the top, you will need to download and install apps as a new on the new machine, please follow the steps below to remove and reinstall the creative cloud application:

    1 force quit Adobe all processes in the activity monitor (for example, CC, Core sync, the broker CC library, Office, Adobe, Adobe CPI, demon Adobe Crash etc..)

    2-go to: Finder > Applications > utilities > Adobe installer > uninstall Adobe Creative cloud (if problems uninstall Trash)

    3-go to: Finder > Applications > utilities > (delete these two folders - creative cloud Adobe and Adobe Application Manager )

    4 - right click on the Finder icon, then select the "Go - To" folder. You will get a text box, type in the following command and then press the 'return '. ("Not to be missed ~ symbol")

    ~/Library (It will open the folder of the user's library.)

    5. browse to the Application Support > Adobe > trash folder OOBE and AAM Updater folder so

    6. new > right-click on the icon in the Finder and select "go to" folder option. > you will get a text box, type in the following command and then press the 'return '.

    / library (It will open the library system folder.)

    7. browse to the Application Support > Adobe > trash folder OOBE and Adobe Application Manager / after that, rename the SL-STORE like SL-STORE_OLD

    8 - go to the Apple icon > System Preferences > privacy and security > firewall > OFF (to do this, you will need to click on the padlock in the lower left of this machine and then enter your mac password)

    9 - go to the Apple icon > System Preferences > Security and privacy > General > allow applications downloaded on should be put on ANYWHERE

    10 - Make sure of course there is no other program security Internet enabled - if it is then go ahead and launch CC app and login and check (check your extensions as well id browser it disable any toolbar security or advertising, blocking of extensions you installed them)

    Adobe 11 - run cleanup tool. > If so, select "Adobe Application Manager for Mac OS X 10.6 ' and then click on"Clean up selected. "

    http://download.Macromedia.com/SupportTools/cleaner/Mac/AdobeCreativeCloudCleanerTool.dmg

    12 - Click on the link below and download Creative Cloud Installer file and use them to install the creative Cloud Desktop application.

    https://ccmdls.Adobe.com/AdobeProducts/KCCC/1/OSX10/CreativeCloudInstaller.dmg

  • Toshiba Thrive AT100 does not complete the update

    I did a hard reset and it'll download the software, but when it restarts it'll day only 25% and then I get a setting android with a red triangle, looming over him with an exclamation point

    Hello

    Red triangle with an exclamation point means that there is no custom recovery installed.
    Probably the system or recovery has been changed in the past, and this is the reason for your question.

    Not very well if you'll be able to fix it try to reset the Android to the factory settings.
    Try to pressing and holding the power button / stop and the volume up button would display the menu where you could chose the factory reset

  • Windows 7 Upgrade Advisor does not complete the scan.

    Windows 7 Upgrade Advisor never-ending analysis. Despite saying that the scan would take only a few minutes, he keeps just analysis ad infinitum (about 24 hours before I got tired of it and stopped). The clues as to why this is happening and how I can make it work properly?

    Hi Paul,.

    Can you please email * address email is removed from the privacy * and attach the file "% TEMP%\WuaDiagnostics.log"? It will help us solve what happened here, and if we can give you a solution for this.

    Thank you
    -Richard
    Windows 7 Upgrade Advisor program manager

Maybe you are looking for