AFPPRN received a return code of failure from the OSD routine FDUPRN

Hi all,
Operting system : Solaris 9
Oracle application: 11.5.10
i would like to ask query related to buffer area of pinter on solaris server.
we are trying to print cheques using oracle application on network printer.
some times it is printing the cheques with out any problem but sometimes it throws and error message in concurrent request log file.
****************** L O G F I L E C O N T E N T S ***************
Printing output file.
Request ID : 849798
Number of copies : 1
Printer : radch1
Pasta: Error: Error reading input file for type checking.
APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. An error occurred while AOL tried to spawn the print process
Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. An error occurred while AOL tried to spawn the print process.
Action: Review your concurrent request log file for more detailed information.
Finished executing request completion options.
Concurrent request completed
Current system time is 20-AUG-2009 11:49:18
****************** L O G F I L E C O N T E N T S ***************
my question is
1) Do we need to delete any temporary files from server related to printer.
Regards

Hi,
What is the status of those concurrent requests (Completed with Warning or with Error)?
1) Do we need to delete any temporary files from server related to printer.Usually, you do not need to delete any files manually, temp files will be created by the application, and there should no issues with the files permissions (unless you have some other instance running on the same node with different applmgr user). However, you can safely clean (.t and .tmp) files as per the following documents.
Note: 435437.1 - Most Common Solutions to FRM-41839 and .tmp Files Not Being Deleted
Note: 145487.1 - Files Types .t and .temp and .tmp, are Saving Under /var/tmp
Note: 162232.1 - Why Does Oracle Forms Create .TMP Files Which Fill Up The Filesystem e.g. /tmp ?
I would also suggest you search Metalink for APP-FND-00500 and you will get many hits, go through the documents and see if it helps.
Regards,
Hussein

Similar Messages

  • APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN

    Hi All,
    i have configured a printer in R12.1.3, when i am trying to print its giving below error...
    please help..
    lp: The printer or class was not found.
    Pasta: Error: Print failed. Command=lp -c -dHP_P4014N /apps/local/inst/apps/UAT_server/appltmp/pasta9331_0.tmp
    Pasta: Error: Check printCommand/ntPrintCommand in pasta.cfg
    Pasta: Error: Preprocess or Print command failed!!!
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.
    Action: Review your concurrent request log file for more detailed information.
    Thanks
    RB

    And found this Exception also... in the diagnostic output.
    EXCEPTION - One or more versions were missing. caught in 'FNDPastaDiag.retrieveSupportFiles'
    java.lang.IllegalArgumentException: One or more versions were missing.
    at oracle.apps.jtf.regress.qatool.base.TextUtility.compareVersions(TextUtility.java:650)
    at oracle.apps.fnd.diagnose.FNDPastaDiag.retrieveSupportFiles(FNDPastaDiag.java:1486)
    at oracle.apps.fnd.diagnose.FNDPastaDiag.runSupportTest(FNDPastaDiag.java:556)
    at oracle.apps.jtf.regress.qatool.base.DiagBase.runTest(DiagBase.java:373)
    at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.runTest(LegacyJavaTestExecution.java:147)
    at oracle.apps.fnd.oam.diagnostics.exec.LegacyJavaTestExecution.execute(LegacyJavaTestExecution.java:83)
    at oracle.apps.fnd.oam.diagnostics.exec.WorkerThread.run(WorkerThread.java:49)
    at java.lang.Thread.run(Thread.java:619)
    ACTION - Please log an iTAR (Service Request) for product "Support Diagnostics Project" (ID=1332) to notify support about this issue
    Thx
    RB

  • Printer not-accepting APP-FND-00500: AFPPRN received a return code of failu

    Hi Gurus,
    skgtag: not-accepting APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1.
    This is my error. My same request output is printing to other printers. But it is not printing in particular printer.
    My printer is shared is windows 2000 system and we have installed Unix files & printer sharing windows feature.
    while executing below command from soloris command line
    lp -d skctag -n 1 sona
    skgtag: timed out error is coming please give advice in this.

    Hi Hussein,
    Now concurrent is completed normally without any warnings.
    Server OS Level
    Now it is not showing any error but printout not coming in printer.
    lp -d skctag -n 1 /rman_backup/PROD_rmanfullbkp.sh
    request id is skctag-60 (1 file(s))
    But printout not coming ....
    Concurrent Log file for your reference.
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 50089046      
    Number of copies : 1      
    Printer : skctag
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 07-JAN-2013 11:14:08
    ---------------------------------------------------------------------------

  • Report "completed with warning "   APP-FND-00500: AFPPRN received a return

    hi ,
    i am getting this error while running a report.while searching on google i foundn it's printer issue but when i submit it with different printer name it running fine but it always completed with warning with that specific printer .so what should i do ?
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_ORG_ID='200'
    P_PO_NO_FROM='9068'
    P_PO_NO_TO='9068'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    Report Builder: Release 6.0.8.25.0 - Production on Fri Dec 2 16:56:40 2011
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 6098208      
    Number of copies : 1      
    Printer : wkwcomm
    wkwcomm: service-unavailable
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.
    Action: Review your concurrent request log file for more detailed information.
    Finished executing request completion options.

    Please post the details of the application release, database version and OS.
    i am getting this error while running a report.while searching on google i foundn it's printer issue but when i submit it with different printer name it running fine but it always completed with warning with that specific printer .so what should i do ?Is this a custom or seeded concurrent program?
    Is the issue with this report only?
    Is this output from the printer that the report complete successfully with warning?
    Do you get an output file?
    wkwcomm: service-unavailableIs wkwcomm the printer name (queue name)?
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1Apps Print Requests Fail with lp: unable to print file: client-error-not-found [ID 359890.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=APP-FND-00500&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001

  • Oncurrent program EAMCDCL. Routine &ROUTINE received a return code of failu

    Hi Tech gurus,
    i am getting below error while "Closing the eAM work orders" in R12. its getting completed but with error's. below one is the error details.
    "This request finished with an error and produced the following completion message: Concurrent Manager encountered an error while attempting to start your immediate concurrent program EAMCDCL. Routine &ROUTINE received a return code of failure.
    Contact your support representative. "
    Need your help its urgent.
    Thanks in advance

    hi
    "This request finished with an error and produced the following completion message: Concurrent Manager encountered an error while attempting to start your immediate concurrent program EAMCDCL. Routine &ROUTINE received a return code of failure.
    Contact your support representative. "Please post the contents of the concurrent request log file.
    ;) AppsMasti ;)
    Sharing is Caring

  • Return code (SY-SUBRC) for the EXCEPTION will not be processed

    Hi,
    when I was doing the EPC check i have approached this messgae.
    Return code (SY-SUBRC) for the EXCEPTION will not be processed after CALL FUNCTION
    'CU_READ_RGDIR'
    (You can turn off this check by setting all EXCEPTIONS to 0)
    (The message can be hidden with "#EC *)
    Any pointers on how to handle this.
    Regards
    Rohini.

    Hi Rohini,
    Try doing something like this.
    TYPE-POOLS: hrpay.
    DATA: w_pernr              TYPE          p0000-pernr ,
          w_buffer             TYPE          hrpay_buffer,
          w_no_authority_check TYPE          xfeld       ,
          w_molga              TYPE          t500l-molga ,
          t_in_rgdir           TYPE TABLE OF pc261.
    CALL FUNCTION 'CU_READ_RGDIR'
      EXPORTING
        persnr             = w_pernr
        buffer             = w_buffer
        no_authority_check = w_no_authority_check
      IMPORTING
        molga              = w_molga
      TABLES
        in_rgdir           = t_in_rgdir
      EXCEPTIONS
        OTHERS             = 0.

  • HT4480 I received an Apple app gift card from the store in the U.S. but I cannot redeem it with my Canadian account. What do I do?

    I received an Apple app gift card from the store in the U.S. but I cannot redeem it with my Canadian account. What do I do?

    You can give it to someone who uses a US store....

  • Receiving return code of zero from tperrordetail()

    Hello,
    We have tuxedo services calling webservices via SALT - which have run successfully for years. We are looking into our logs recently and we are seeing intermitant errors which we are trying to analyze. The error text we receive is:
    "TPESYSTEM - internal system error"
    Upon examining the returned buffer, it is empty.
    Trying to get more info, we have used tperrordetail() but this is giving a return code of zero.
    What would be the next step we should take to narrow this down?  Our OPS people are not seeing anything unusual on the network.
    Thank you.
    Faith Rolfsen

    Unintended posting made on the Japanese site. moving my question to the English Site.

  • Capture error code returned by VB script from the OIM Remote Manager

    Hi All,
    I am trying to provision to Exchange using powershell and OIM remote Manager.
    RM is installed in the Exchange server and a VB script is called by the RM to perform the necessary provisioning operations.
    Certain error codes are configured in VB script according to the script execution.
    How can I get the return codes back to the RM and then to OIM adpater, so that I can publish appropriate error messages by writing them in the Adapter responses.
    Below is my current code, but it does not capture return codes.
    Can the variable 'i' get the return codes fron the VB script?
    if (fScriptFile.exists())
    String sCmd = scriptPath + " " + sUPN;
    log.debug("Firing Powershell command:" + sCmd);
    Process localProcess = localRuntime.exec("cscript.exe " + sCmd);
    log.debug("Script Executed ");
    int i = localProcess.waitFor();
    localProcess.getOutputStream().close();
    log.debug("Process Exit Value " + i);
    sResult = i == 0 ? "EXCHANGE.REMOTE_SCRIPT_RUN_FAILURE" : "EXCHANGE.REMOTE_SCRIPT_RUN_SUCCESS";
    Please help..
    Thanks and Regards.

    Your VB script must be calling a powershell script.Check if powershell script returns any error message to your vbscript.I

  • Java - Axis2: How to get an error code / error message from the Javascript via SOAP

    Hi
    In our Java applicsation we call a Javascript in a Indesign CS Server using the following code:
    --- SNIP BEGIN ---
    // calls the remote service on the indesign server
    try {
    // create service
    ServiceStub oIndsgnSrvStub = new
    ServiceStub(sIndesignServer);
    // create service parameter
    ServiceStub.RunScriptParameters
    oIndsgnSrvRSParams = new ServiceStub.RunScriptParameters();
    // create arguments with source- and target-file for parameter
    ServiceStub.IDSPScriptArg[] oIndsgnSrvSArgs = new ServiceStub.IDSPScriptArg[2];
    oIndsgnSrvSArgs[0] = new
    ServiceStub.IDSPScriptArg();
    oIndsgnSrvSArgs[0].setName("xml-input");
    oIndsgnSrvSArgs[0].setValue(sSourceFile);
    oIndsgnSrvSArgs[1] = new
    ServiceStub.IDSPScriptArg();
    oIndsgnSrvSArgs[1].setName("output-file");
    oIndsgnSrvSArgs[1].setValue(sTargetFile);
    // define service parameter
    oIndsgnSrvRSParams.setScriptArgs(oIndsgnSrvSArgs);
    oIndsgnSrvRSParams.setScriptFile(sScriptFile);
    oIndsgnSrvRSParams.setScriptLanguage("javascript");
    oIndsgnSrvRSParams.setScriptText("");
    // create runscript
    ServiceStub.RunScript oIndsgnSrvRS = new ServiceStub.RunScript();
    // set parameter
    oIndsgnSrvRS.setRunScriptParameters(oIndsgnSrvRSParams);
    //$$$ there should be an answer returned by the InddSrvr
    // execute SOAP call
    ServiceStub.RunScriptResult oIndsgnSrvRes = oIndsgnSrvStub.RunScript(oIndsgnSrvRS);
    if(oIndsgnSrvRes.getErrorNumber() == 0) {
    oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_SUCCESS);
    bOK = true;
    } else {
    oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_FAILURE);
    bOK = false;
    //$$$ should be set, if there is something returned by inddsrvr
    //oServerProdJob.setErrorMsg(sErrorMsg);
    } catch(Exception e) {
    sError += e.getMessage() + "\n";
    bOK = false;
    --- SNIP END -----
    The problem is that we don't get the error code and/or the error message from the Javascript in oIndsgnSrvRes. The error code is always 0 if I set an Integer value as return in the Javascript. If I set a String, there is an Exception in the Java application.
    Here is the Java script we use:
    --- SNIP BEGIN ---
    main();
    main()
    var sError = "";
    var sXMLInput = "";
    var sLayoutPath = "";
    // get the SDKCodeSnippetRunner object
    var cbpAdapter = app.cbpCbpadapterObject
    if (cbpAdapter) {
    sXMLInput=app.scriptArgs.get("xml-input");
    sLayoutOutputFile=app.scriptArgs.get("output-file");
    sError = cbpAdapter.doProcess(sXMLInput, sLayoutOutputFile);
    return sError; // This give an Exception; if I return an Integer the ScriptResult is always 0
    --- SNIP END -----
    If I try this with the test application from Adobe I get the error code correctly. But in the Java application, using SOAP, I can't get the error code.
    What could be wrong?
    Any ideas?
    Thanks a lot for the support.
    Kind regards
    Hans

    user11340104 wrote:
    Hello -
    i am calling sqlplus from a bash shell script. If the sql statement generates an error, how can I return that error code (unsuccessful) back to the bash shell?
    Well, let google be your friend,
    http://www.google.co.in/search?rlz=1C1GGLS_enIN327IN327&sourceid=chrome&ie=UTF-8&q=sqlplus+error+codes
    There are many threads I guess talking about the same issue.
    HTH
    Aman....

  • Return code when I close the report

    I have a trigger after-report that updates the db.
    The problem is this trigger starts up always, or when I print a document or when I close simply the report's window preview.
    Is there a return code from Report then tells me how finishes the report ??
    e.g - If I print the document returns 0
    - If I only show the preview returns 1
    It's logical that if there is a return-code I'll never use the trigger after-report and I will manage all from forms.
    kind regards
    Eugenio

    Eugenio,
    No, there's no such return code from Reports. In fact, there's no way from within the report to tell if the report has been printed (to do this you'd need a trigger on the print button, and that's not provided functionality).
    Regards,
    Danny

  • Error Received When Trying To Create DSN From The Command Line

    All,
    Your help is greatly appreciated in advance. I am having trouble packaging Oracle 10G for a batch file deployment. Everything is done except for getting the DSN created which is causing me major problems. We am working with the Oracle 10G R2 10.2.0.1.0 Client on Windows XP Professional SP2. The Oracle database resides on a Windows 2000 Professional Server SP4 running Oracle 9i.
    Our Environment: I am creating two packages of the Oracle 10G client. The first is for a batch file distribution via LANDesk and the other package is for normal batch file install if someone from IT is installing this from a user's desk. Both scripts are really identical the only differences are how they are laid out. I only need help with the DSN creation as everything else is ready to go. I am going to focus on the Non-LANDesk batch file as once I fix this in one script the other one should also be fixed.
    The Problem: The batch script copies the neccesary files to the temporary directory. I then extract the setup files to the temp folder. I run a custom Oracle install using the RSP file from a recorded install. After the install is complete I copy the TNS Names file to the proper location. I then try to call a CMD file with the ODBC command seen below the main script.
    Script (May be easier to read if you download using link below):
    @ECHO ON
    ::This batch files installs Oracle 10G Release 2 Version 10.2.0.1.0 with a Custom Response File
    ::Installation is Interactive
    ::All files are extracted from the ZIP file via the 7-Zip command line tool
    ::The Net Configuration Assistant TNS Names File is copied to its proper location
    ::The CCR ODBC connection is created once the install is complete
    ::All folders used for installation are cleaned up-deleted
    @ECHO Setting Variables
    set NetworkPath=\\dc-landesk\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
    set DefaultPackagePath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
    set ExtractionPath=C:\Temp_Oracle10G
    set TempInstallFromPath=C:\Temp_Oracle10G\SetupFiles
    set FileFolderCleanupPath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent
    @ECHO Creating Directories
    mkdir "C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD"
    @ECHO Copying Files to DefaultPackagePath
    copy /Y "%NetworkPath%\7za.exe" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\CCR-ODBC.cmd" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\Oracle10GCustom.rsp" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\SetupFiles.zip" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\tnsnames.ora" "%DefaultPackagePath%"
    @ECHO Changing to Extraction Directory
    cd "%DefaultPackagePath%"
    @ECHO Extracting Files to path with no spaces
    "%DefaultPackagePath%\7za.exe" x SetupFiles.zip -o%ExtractionPath% -aoa
    @ECHO Please Open the "Task Manager" manager, Sort by "CPU" Descending
    @ECHO Watch Task Manager For Javaw.exe, press any key when the process Disappears
    @ECHO Install using Custom Response File
    "%TempInstallFromPath%\setup.exe" -responseFile "%DefaultPackagePath%\Oracle10GCustom.rsp" -force -silent -noconsole
    pause
    @ECHO Copying NETCA (Net Configuration Assistant) TNS Names File to proper Location in Oracle Product Directory
    copy /Y "%DefaultPackagePath%\tnsnames.ora" "C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora"
    @ECHO Creating ODBC Connections Using Oracle Driver installed by this Batch File
    call "%DefaultPackagePath%\CCR-ODBC.cmd"
    @ECHO Waiting 20 seconds before proceeding
    ping -n 21 127.0.0.1 >NUL
    @ECHO Remove Temp Files and Folders created during Install
    rmdir /S /Q %ExtractionPath%
    del /Q "%DefaultPackagePath%\*.exe"
    del /Q "%DefaultPackagePath%\*.ora"
    del /Q "%DefaultPackagePath%\*.rsp"
    del /Q "%DefaultPackagePath%\*.reg"
    del /Q "%DefaultPackagePath%\*.zip"
    rmdir /S /Q %FileFolderCleanupPath%
    @ECHO The Oracle 10G installation has been Completed
    pause
    ODBC Script
    odbcconf.exe /a {CONFIGSYSDSN "Oracle in OraClient10g_home1" "DSN=CCR|Description=CCR_data|SERVER=BWB|Database=CCR"}
    As soon as the command is called I see the following error message appear.
    "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259"
    The really strange thing though is that if I let the main part of the script run (Not the ODBC call) and then immediately manually start the ODBC call script it works just fine. So, I don't really understand why the script can't add it itself. Or, I can go the Administrator Tools>Data Sources (ODBC)>and then add it manually which also works. I have tried just pasting the command directly in the main script, therefore, bypassing the call feature but it doesn't make a difference.
    Link (Zip with all scripts mentioned above): http://www.cbridegum.com/Fourms/Oracle/Files.zip
    Has anyone ever seen this kind of issue before? Does anyone have any idea on how to fix this? Any thoughts or suggestions would be great.
    Thanks so much for your help in advance,
    Clif Bridegum

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

  • How do I return my mail going from the MAC mail back to my AOL

    How can I return my mail from the MAC mail to my AOL

    Are you viewing it in Artist view or Album view? In Album view, it should still list albums by artist name, then album name. If you're in Album view, you might be looking for Artist view.

  • Return PDF page number from the name of the link in InDesign CS4 JS

    Hi, I need to return pdf page number of the linked file in InDesign.Here what I have so far, but my FilePath comes back undefined, and I am not sure if pageNmuber line would work:
        var myArtBack = app.activeDocument.pages[1].rectangles[0].graphics[0];
        var myArtBackName = myArtBack.itemLink.name;
        var myBackFilePath = myArtBackName.filePath;
        var myPageNumber  = myBackFilePath.PDFAttribute.pageNumber;
    Your help is highly appreciated.
    Yulia

    Your first problem is:
    var myBackFilePath = myArtBackName.filePath;
    That should be:
    var myBackFilePath = myArtBack.itemLink.filePath;
    What you should have done is something like:
    var myLink = myArtBack.itemLink;
    var myPageNumber = myLink.parent.pdfAttributes.pageNumber;
    Maybe you need the file path for some other purpose, but that's not the route to information about the PDF graphic (the parent of the link) which has the pdfAttributes property -- property names always start with a lowercase letter.
    Dave

  • Tax code cant excluded from the cost

    Hi,
    How can i do when I have two tax and one of them cant be excluded from the cost ? Let me show what i want.
    I have one product that have two tax, like this: Product 001 - tax one IPI and Tax two ICMS. But the tax one cant be exclude from the cost. It will be that way:
    In AP Invoice.
    - Produto 001: 1000 (Total of product)
    - IPI 5%  :    50
    - ICMS 18:  180
    The cost should be 870 because the IPI can be excluded.
    Ps. ICMS is in and IPI is out.
    Thanks for your help.
    Wagner

    Jimmy,
    I´m from brazil and i think that the tax is complicated. Im going to try explaim for you.
    First of all, Tax in and tax out for me is not used in AP or AR. I´m using this concept only for AP. It means here that: - When i say IN I want to say that this tax is in the price, it makes part of the price. When i say OUT I want to say that this tax in out of the price, it doesnt make part of the price. So, let me show yout how is appears in one invoice.
    Invoice.
    Numeber 2
    Product 001
    unit price 100
    quantity 10
    total value 1000
    ICMS is IN 18% - 180
    IPI is OUT 5% - 50
    Until here is ok, what i want is that just only the IPI be cost and dont be subtract from that value (cost).
    Thanks.
    Wagner

Maybe you are looking for