Document control failed due to error in [DOCMGR-CANCEL] with a return code

i am getting this error while calceling the purchase order "Document control failed due to error in [DOCMGR-CANCEL] with a return code of [OTHER]. "
I am doing the calcel like this
Nav: buyer work centre --> order
searche the po and then
select order --> cancel then click GO button
i gave the Reason as Cancel
communication method: email
Cancel Requisition: Yes
Please help on this, its urgent.
Thanks,
Vijay.

Hi Vijay,
Check this MOS note.
Cancelling A Standard Purchase Order In Buyer Work Center Results In Error [Docmgr-Cancel] With A Return Code [ID 1338826.1]
Thanks
-Arif.

Similar Messages

  • Document control failed due to error in [DOCMGR-CANCEL], return code = [OTH

    Hi,
    When i tried using the cancel PO API, it resulted in the following error.
    Document control failed due to error in [DOCMGR-CANCEL], return code = [OTHER]
    I searched the metalink and found out that it was a bug as p_doc_num variable was a number and in PO_HEADERS_ALL segment1 is VARCHAR2. But now the bug is fixed.
    I tried both ways, with and without quotes but it is still giving this error. Please suggest.
    I used the API in the following way.
    DECLARE
    l_return_status VARCHAR2(1);
    BEGIN
    fnd_global.apps_initialize(4480,20707,201);
    --call the Cancel API
    PO_Document_Control_PUB.control_document (
    p_api_version=>1.0, -- p_api_version
    p_init_msg_list=>FND_API.G_TRUE, -- p_init_msg_list
    p_commit=>FND_API.G_TRUE, -- p_commit
    x_return_status=>l_return_status,-- x_return_status
    p_doc_type=>'PO', -- p_doc_type
    p_doc_subtype=>'STANDARD', -- p_doc_subtype
    p_doc_id=>34, -- p_doc_id
    p_doc_num=>null, -- p_doc_num
    p_release_id=>null, -- p_release_id
    p_release_num=>null, -- p_release_num
    p_doc_line_id=>null, -- p_doc_line_id
    p_doc_line_num=>null, -- p_doc_line_num
    p_doc_line_loc_id=>null, -- p_doc_line_loc_id
    p_doc_shipment_num=>null, -- p_doc_shipment_num
    p_action=>'CANCEL', -- p_action
    p_action_date=>SYSDATE, -- p_action_date
    p_cancel_reason=>null, -- p_cancel_reason
    p_cancel_reqs_flag=>'N', -- p_cancel_reqs_flag
    p_print_flag=>null, -- p_print_flag
    p_note_to_vendor=>null ); -- p_note_to_vendor
    commit;
    -- Get any messages returned by the Cancel API
    FOR i IN 1..FND_MSG_PUB.count_msg
    LOOP
    DBMS_OUTPUT.put_line(FND_MSG_PUB.Get(p_msg_index => i,
    p_encoded => 'F'));
    END LOOP;
    END;
    /

    first you have to assign org_id to the program,like fnd_client_info.set_org_context('167');
    you also have to initialize,like this
    fnd_global.initialize(session_id => l_session_id
    ,user_id => 2613
    ,resp_id => 50459
    ,resp_appl_id => 201
    ,security_group_id => 0
    ,site_id => -1
    ,login_id => 1102144
    , --can't be -1,or else will be wrong
    conc_login_id => 1102144
    ,prog_appl_id => -1
    ,conc_program_id => -1
    ,conc_request_id => -1
    ,conc_priority_request => NULL);

  • Entries appearing in Service Tax Control Account due to Error in System

    Hello Experts,
         I am facing a problem in one particular GL i.e.Service Tax Control a/c
    error-Entries appearing in Service Tax Control Account due to Error in System
    entries are- Service tax control   a/c   -
    Dr. 21,621.86
                            To Service Tax Control a/c     Cr.      21,621.86
    My question is when i am making entry as Service tax Dr-21,621.86,Service Tax Cr.21,621.86,so it will adjust,and in FBL3N amt will show 0 but it was showing 21,621.86
    Plz Guide me asap,very urgent issue
    Thanks in Advance

    Dear,
    What was the balance before you posted the below entry?
    Also run FBl3N with correct date parameters..
    br,Vivek

  • Adobe update process fails due to Error 130200. solutions please

    adobe update process fails due to Error 130200. solutions please.  Shyam

    Is there anything else beside the number 130200?
    Try downloading the update from http://www.adobe.com/downloads/updates/
    If you still need help, please tell us your operating system details.

  • My ipad3 is at iOs 7, i'm trying to download update 7.0.2 I keep getting failed due to error like 9 times now. My mini, my two iphone 4s, no problems. What can I do about my ipad3?

    ipad3 running iOs 7 trying to update to 7.0.2 keep tting failed due to error like 9 times. Updated iPad mini and 2 iPhone 4s, no problem.
    Whats up? And what can I do to update?

    Try and update with iTune (computer)

  • OWS-05566: DAD TRY submission failed due to error 12514

    Undocumended error:
    OWS-05566: DAD TRY submission failed due to error 12514
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    during DAD creation in OAS 4.0.7 with Oracle 8i on RH6
    anybody has idea ?
    Thanks in advance
    Vartan
    null

    Undocumended error:
    OWS-05566: DAD TRY submission failed due to error 12514
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    during DAD creation in OAS 4.0.7 with Oracle 8i on RH6
    anybody has idea ?
    Thanks in advance
    Vartan
    null

  • LOGGING IN FAILED DUE TO ERROR

    Computer will not let me log in because it gives a logging in failed due to error message.

    Hello Alison,
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • Security update 2014-001 failed due to errors

    I have attempted to load Security update 2014-001 on a 2009 MacPro running 10.8.5 (2x 2.8GHz Quad Xeons with 12GB of RAM and 1.2 GB of space on the OS disk) but it fails "due to errors". I have tried from the App update and directly from the Apple support site.  I even reloaded the OS and still get a fail.  Of course I suspect a compromise with this result but how do I fix it?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select
    /var/log ▹ install.log
    from the hierarchical list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, click the Clear Display button in the toolbar of the Console window and then try the installation again.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Java 2 runtime Environment setup failed with a return code of -1

    Hi!
    I have tried to install sdk 1_3_1_01 on Windows 2000 with ServicePack 2 and the error "Java 2 runtime Environment setup failed with a return code of -1" occured. As I saw, a lot of people has the problem but couldn't find a solution on this page!
    Please help !
    Me

    I've installed 1.3.1_01 on both W2K Workstation and Server, no problem. There's a bug report, but no workaround or solution.
    http://developer.java.sun.com/developer/bugParade/bugs/4412291.html
    and it's supposedly 'fixed' in 1.4.0 beta.
    http://java.sun.com/j2se/1.4/fixedbugs/fixedbugs-beta2.html
    You might try installing the beta version
    http://java.sun.com/j2se/

  • Console error with GUI , return code -17

    Hi All,
    I have just finished the Installation of SAP IDES 4.7. Installation was sucessful, after that I Installed GUI 640. But when we are starting the Console it is starting without any error which also shows WP table details in run mode. When we logon to gui, console becomes "Yellow" and dispatch process stop with a return code -17.
    Please help.
    Thanks
    Jagat.

    Hi Kaushal,
    Thanks for ur reply. Actually when we started the installation process, and GUI, we have not provide the loopback adapter in the Primary DNS, but Loopback Adapter was properly configured with IP.
    Later on we realised and added the 127.0.0.1 in the Primary DNS. But its still not working. 
    The Log which u have asked for is attached.
    trc file: "dev_w0", trc level: 1, release: "620"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Sat Mar 04 10:18:27 2000
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' ...
    B  Library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' is "620.02", patchlevel (0.112)
    B  New connection 0 created
    M  systemid   560 (PC with Windows NT)
    M  relno      6200
    M  patchlevel 0
    M  patchno    251
    M  intno      20020600
    M  pid        2792

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2792) [dpxxdisp.c   1016]
    I  MtxInit: -2 0 0

    X Sat Mar 04 10:18:29 2000
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.
    M  calling db_connect ...
    C  Got ORACLE_HOME=D:\oracle\ora81 from environment

    C Sat Mar 04 10:18:30 2000
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPTEK's password
    C  Connecting as /@TEK on connection 0 ...
    C  Attaching to DB Server TEK (con_hdl=0,svchp=06A497E8,svrhp=06A495F4)

    C Sat Mar 04 10:19:07 2000
    C  Starting user session (con_hdl=0,svchp=06A497E8,srvhp=06A495F4,usrhp=06A913AC)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    [dboci.c      3718]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dboci.c      9536]
    C  Try to connect with default password
    C  Connecting as SAPTEK/<pwd>@TEK on connection 0 ...
    C  Starting user session (con_hdl=0,svchp=06A497E8,srvhp=06A495F4,usrhp=06A913AC)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    [dboci.c      3718]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dboci.c      9536]
    B  ***LOG BY2=> sql error 1017   performing CON [dbsh#2 @ 962] [dbsh    0962 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#2 @ 962] [dbsh    0962 ]
    B  ***LOG BY2=> sql error 1017   performing CON [dblink#1 @ 419] [dblink  0419 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#1 @ 419] [dblink  0419 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1098]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = -1
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    rfc_req = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sapsrv_TEK_00 on host sapsrv (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Sat Mar 04 10:19:07 2000
    M  *  RELEASE     620
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        8408
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2792) [dpnttool.c   345]

  • Error for COM Routine application program (return code 40028)

    Hi,
    When we loading data in Planning Book ,we are getting below error
    Error for COM Routine application program (return code 40028)

    Hi,
             Did you try checking your COM build? The COM communicates between your database and Livecache and fetches the data requested. The last time we had this, SAP recommended COM upgrade.

  • Traport importing problem with repeating return code error 8

    Hi all,
    We are facing some transport import problem.When we sent transport initially AAA900244,they faced with return code error 8 and syntax error 109.As the information provided by the client,one of the include  program which is not availble at client system that was included in this transport.So that was the problem.Again we have taken  new  tranport AAA900247 without this include program then same type of error message they faced with return code error 8 and syntax error 109 in the include program when imported.
    I have one doubt, when importing new transport this should overwrite the earlier transport data.Why the same type error client is getting.What might be the reason.
    Is earlier transport  imported?? Why it throwing same type error.What actually the fuctionality of Return code 8 whether it is imported or discarded.
    Thanks in advance.
    Regards.....Balu

    Hi Ramesh,
    That include is not at all required at client system.So next time when we have taken transport we have not included this include program.They imported new transport without this include program.But they are facing same error as they faced first time. What could be reason??
    Regards...Balu

  • OCIEnvCreate fails with -1 return code on Solaris 9 x86 with Oracle 10g

    Hi
    OCIEnvCreate function is failing with -1 return code on solaris 9 x86. The database I use is, Oracle 10g release 1. I tired to connect with sqlplus and am able to connect to dataserver. Why does OCIEnvCreate fails? Can someone help me in this regard.
    Thanks

    Can place the sample code.

  • Windows 8.1 installation failed due to error code 0x80240031

    I tried to update my OS to windows 8.1 single language from windows 8 pc. But my installations was unsuccesful  due to error code 0x80240031 . What is the problem and what is it's solution

    Hi,
    How did you upgrade Windows 8 to Windows 8.1? Through Windows Store? To resolve this problem. Firstly, please check and install all Windows update, and upgrade hardware driver to be latest. After that, please try to create a new user account and upgrade
    system again.
    If problem persists, please access to the path below to check Windows installation log:
    setupact.log and setuperr.log in c:\windows.~BT\Sources\Panther. If this folder not exit, please check setupact log in C:\Windows\Panther. You may find the reason for this problem. You also can provide these log to us, we can help you analyze these log together.
    Roger Lu
    TechNet Community Support

  • BPM fails due to error "Permanenter Fehler in der BPE Eingangsverarbeitung"

    hi all,
    i searched the forum and haven't got a proper solution for this.
    My scenario is that i am getting a message via a file adapter and sending it to BPM. In my BPM i am receiving this  message via a asyc receive step and then
    calling a SAP RFC via a synchronous send step. But when i see the result in transaction SXMB_MONI i see that my BPM could not be processed due to an error message in the queue "Permanenter Fehler in der BPE Eingangsverarbeitung".
    Any help in this regard would be highly appreciated.
    thanks and regards,
    Abhishek

    Hi Abhishek,
    Not sure if this would help you ...but try this..
    Did you check the return code of the Integration Process in Cache. Is it 0.
    Secondly try to run a simple file2file scenario with using BPM and check if the scenario works.
    My guess is that you are getting the error because some configuration has not been done. Check if the BPE is not stopped.Use t-code SWF_XI_ADM_BPE
    Do post if you have additional queries...
    Regards,
    Sumit
    Regards,
    Sumit

Maybe you are looking for

  • Bootcamp Assistant: "'Create Windows 7 Install Disk Option' Missing" Fix Problem

    Firstly, sorry if this is in the incorrect fourm area, it's related with the Mountain Lion OSx software, so I posted here. I am Running OSX 10.8.3 I'm trying to install bootcamp with a .ISO and a USB Drive. You need to make a Windows 7 install disk,

  • Intel-Mac question...

    I have not yet used a new Intel based Mac yet. I have seen conflicting reports online about it's ability to run legacy OSX software, but no reports of OS9 Classic software. Does it run Classic, and if so, how well? iMac G5   Mac OS X (10.4.4)   I wan

  • How does java support the concept of destructor?

    How does java support the concept of destructor?

  • How to communicate between applications

    Is it possible to have one java application cause another java applicalion to go into/out of a sleep or wait state. Both application are on the same machine. What I am trying to do is have a program which will wait/sleep (using little on no processin

  • Hierarchies not activated

    Hi 1. Attributes of 0costelemnt are not updated. These are mapped from hierachy ZCRK_HIER. Looks like hierarchy loaded but not activated. Subsequent load to attributes looks like it happened but did not pull updated attributes since the hierarchy was