Urgent reply is needed for Quantity contract negotiation error

hello
i have triggered quantity contract negotiation from the webshop,but i CRM web ui,when i open the same contract after logging onto Web UI with business role
sales manager,on the header data assignment block i get the status as "sent to customer"without making any changes to the document,so i cannot change the document any further,
can anyone help me with this error please ,i have to solve this issue immediately
regards
chandu

hi,
Try setting up an incompleteness procedure for the document type which will restrict it from moving,if you have an action put the error free tag as the start condition .
hope this helps
Regards
Raj

Similar Messages

  • Release Procedure for Quantity Contract

    Dear All,
    We have a business requirement to ensure that Quantity Contracts are released by the Account Receivable Accountant before the Sales Support Staff can create Sales Orders against them.
    Process : Create Quantity Contract (VA41) -> Release Contract (VKM3)->Create Sales Order (VA01)
    Currently, users can create sales order against the quantity contract before the contract has been released.
    I need guidance on how to implement system control to prevent this creation of Sales Orders before Quantity Contracts are released..
    How can i configure release procedure for quantity contract?
    Any assistance will be appreciated.
    Many Thanks

    Hi
    There is a concept of User Status / Status Management in SAP. By using this you can set status as default that is Blocked, and then the authorised person can release the document, only after that a person can create an Order, with reference to that Contract.
    The Customisation setting is in :- IMG> sales and Distribution>Sales > Sales Document>Define and assign User Profile(T Code is BS02)
    To know more about this you can search the Forum, also check the below given Link:-
    [http://web.mit.edu/sapbiz/docs/Explanation%20of%20Status%20Management%20functionality%20v3.doc]
    [http://help.sap.com/saphelp_crm40/helpdata/en/73/29943a7acb9023e10000000a114084/content.htm]
    Hope this will help you.
    Regards
    Amitesh Anand

  • Using unicode in sms sending :)plz. urgent reply is needed.

    when i want to send a sms of string of unicode. is it necessary to encode it in UTF8 or UTF16 ???
    when i encode it then the length of the string comes larger.
    can i send sms as a string of unicode without changing its length????
    like this:
    String str="\u270F";
    // now str's length is 1
    str = new String(str.getBytes("UTF16"));
    //now str's length is 4!!!!!!!!
    plz. urgent reply is needed.
    best regards
    tanvir

    By default SMS has it's own text encoding and therefore you cannot use UTF8 nor UTF16. There is a special UCS2 encoding, alowing for 70 unicode characters to be send (per sms). See: http://www.dreamfabric.com/sms/

  • Release strategy for quantity contract

    Hi Gurus,
    In quantity contract ..  target value will not filled by the value(in header details) as it is quantityt contract.
    We may have different line items with different cost..
    my doubt is how the release strategy will be triggered for the quanityt contract and how the system will consider the whole value of the contract..
    please explain/clarify
    regards
    subbu

    Hi,
    The release strategy for the contract will work in the exact mechanism as for the PO i.e. it will be determined  based upon the total net value of the entire purchasing document.
    Cheers,
    HT

  • Add on needed for work, produces javascript error

    My girlfriend is using an app she needs for work. It should generate a javascript window, but before it opens it it says Javascript Application TypeError: netscape.security.PrivilegeManager is undefined
    Then the window that opens doesn't allow me to populate the fields in it.
    Is there any way to get around this?

    Support for enablePrivilege has been removed in Firefox (Bug 546848), so it is no longer possible to get special elevated privileges via the netscape.security.PrivilegeManager interface.
    Extensions do not need to use this (they already run code with proper privileges) and if web page use this then they will have to use other ways get what they want like providing a Firefox extension.
    (Bug 546848 - Remove support for enablePrivilege)

  • Urgent Help is Needed for Database Installation Problems

    How can we resolve the following database problems in Windows XP? Originally, we had Oracle 10.1.0.4.2, and we wanted to upgrade it to Oracle 10.2.0.1. We uninstalled Oracle Home ORAH1_DEV and then got the following problems while installing Oracle 10.2.0.1. How can we resolve all these errors so database configuration assistants can work successfully? Please help us with these ASAP. Thank you very much for your help and time in advance.
    -Oy
    These are the popup message we got.
    POPUP 1. This appears 3 times, then ignore
    Error in writing to file 'C:\OraHomes\ORAH1_DEV\jdk\jre\bin\awt.dll'.[C:\OraHomes\ORAH1_DEV\jdk\jre\bin\awt.dll(The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 2. Error in writing to file 'C:\OraHomes\ORAH_DEV\jdk\bin\java.exe'. [C:\OraHomes\ORAH1_DEV\jdk\jre\bin\java.exe (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 3. Erro in writing to file 'C:\OraHomes\ORAH1_DEV\bin\orancrypt10.dll'. [C:\OraHomes\ORAH1_DEV\bin\orancrypt10.dll (The process cannot access the file  because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 4. Error in writing to file 'C:\OraHomes\ORAH1_DEV\bin\oravsn10.dll'. [C:\OraHomes\ORAH1_DEV\bin\oravsn10.dll (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 5. Error in writing to 'c:\OraHomes\ORAH1_DEV\opmn\mesg\ensus.msb'. [C:\OraHomes\ORAH1_DEV\opmn\mesg\ensus.msb (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel

    Grace wrote:
    Yes, I have it installed in the same Oracle Home. Is it possible to create it there? Or I must create a new Oracle Home for the new installation? Please reply as soon as possible. Thank you very much for your help.
    -OyA specific ORACLE_HOME holds the binaries for a specific version of Oracle. You don't upgrade by simply installing a newer version of Oracle into the ORACLE_HOME of an older version. If you tried to do that you have probably irreversibly corrupted the original installation.
    And there is no URGENT or ASAP here. We are all volunteers with regular jobs. If you have "urgent" support issues you need to open a Service Request with Oracle Support.

  • Urgent help in needed for StorProc

    Hi All,
    How are you today?
    We have a package in which we have a SP called SERVICE_TO_PRNTMNGR.
    Database Version 11.2.0.2
    The issue now is-
    The store procedure checks if all print jobs which have the same Fulfillment id (which is kept in PrintJobQueueDI.sessionID) have finished or not;
    If not, it will throw exception. The error code is 20004.
    What we want as a fix is-
    The store procedure should check if all print jobs which have the same Fulfillment id (which is kept in PrintJobQueueDI.sessionID)
    and Service Request ID (it is ketp in PrintJobDataDI.docId) have finished or not;
    If not, it will throw exception. The error code is 20004.
    Here is the package which has sp(SERVICE_TO_PRNTMNGR):
    Create or Replace PACKAGE XSP_POPULATE_PRNTMNGR
    IS
      FUNCTION FULFILLMENT_TO_PRNTMNGR
                (P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2)
                RETURN SYS_REFCURSOR;
      FUNCTION SERVICE_TO_PRNTMNGR
                (P_SERVICE_ID     IN SERVICE_REQUEST.SERVICE_ID%TYPE)
                RETURN SYS_REFCURSOR;
    END;
    Create or Replace PACKAGE BODY XSP_POPULATE_PRNTMNGR
    IS
       l_package_name                       VARCHAR2(50) := 'XSP_POPULATE_PRNTMNGR';
       l_PrintJobQueueDI_REC            PrintJobQueueDI%ROWTYPE;
       l_PrintJobDataDI_REC             PrintJobDataDI%ROWTYPE;
       e_NOT_S_F_STATUS_IND_REQ         EXCEPTION;
       e_NO_SERVICES_FOR_THE_PRINTMGR   EXCEPTION;
       e_NOT_ALL_PREV_REQ_COMPLETED     EXCEPTION;
       e_ALREADY_INITIALLY_PRINTED      EXCEPTION;
       e_NOT_PRINTED_INITIALLY          EXCEPTION;
       l_NUM_REC_CREATED                NUMBER :=0;
       PROCEDURE *SERVICE_TO_PRNTMNGR*
                (P_SERVICE_ID     IN SERVICE_REQUEST.SERVICE_ID%TYPE,
                 P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2);
       PROCEDURE INSERT_PrintJobQueueDI
                (P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2);
           FUNCTION FULFILLMENT_TO_PRNTMNGR
           FUNCTION FULFILLMENT_TO_PRNTMNGR
                    (P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                     P_MODE           IN VARCHAR2)
                    RETURN SYS_REFCURSOR
              Name:  FULFILLMENT_TO_PRNTMNGR
            Params: P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                    P_MODE        IN  VARCHAR2
              Desc: The procedure loops through FULFILLMENT_SERVICE table
                    and calls xsp_service_to_printmanager for each serviceId.
            MGS -  legal aid  liens not printing or e-mail Do not insert RECEIPT
                   record into PrintJobDataDI if the RECEIPT is NULL
         IS
         l_errmsg                      VARCHAR2(1000):= '';
         l_module_name                 VARCHAR2(200) := l_package_name || '.' || 'FULFILLMENT_TO_PRNTMNGR';
         l_selcnt                      INTEGER;
         l_error                      INTEGER;
         l_rowcnt            INTEGER;
         l_sqlstatus                       INTEGER;
         l_wrong_parameter              VARCHAR2(50);
         l_TABLE_NAME                   VARCHAR2(30);
         l_EXISTS                       NUMBER(1);
         l_FULFILLMENT_ID               FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE;
         l_PrintJobQueueDI_populated    BOOLEAN:=FALSE;
         CURSOR_out                     SYS_REFCURSOR;
        BEGIN
          IF  P_FULFILLMENT_ID IS NULL OR
              P_MODE IS NULL
          THEN
              RAISE appl_error.e_missing_parameter;
          END IF;
          IF P_MODE NOT IN ('I','R')
          THEN
            l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
            RAISE appl_error.e_wrong_parameter;
          END IF;
          -- Check if the Fulfillment Request
          -- completed successfully or failed
          l_NUM_REC_CREATED :=0;
          BEGIN
            SELECT 1 INTO l_EXISTS
             FROM FULFILLMENT_REQUEST
              WHERE FULFILLMENT_ID = P_FULFILLMENT_ID
               AND STATUS_IND IN ('S', 'F'); -- Successfull
          EXCEPTION
          WHEN NO_DATA_FOUND THEN
           RAISE e_NOT_S_F_STATUS_IND_REQ;
          END;
          IF P_MODE = 'I'
          THEN
              FOR l_SERVICE_REQ IN (SELECT sr.SERVICE_ID
                                      FROM FULFILLMENT_SERVICE fs,
                                           SERVICE_REQUEST sr,
                                           REQUEST_DESTINATION rd
                                      WHERE rd.SERVICE_ID = fs.SERVICE_ID
                                       AND sr.SERVICE_ID = fs.SERVICE_ID
                                        AND fs.FULFILLMENT_ID = P_FULFILLMENT_ID
                                         AND DELIVERY_METHOD_ID = 'P' -- Print
                                       AND sr.STATUS_IND = 'S')
              LOOP
                IF NOT l_PrintJobQueueDI_populated
                THEN
                    INSERT_PrintJobQueueDI (P_FULFILLMENT_ID,P_MODE);
                   l_PrintJobQueueDI_populated := TRUE;
                    -- The data in the l_PrintJobDataDI_REC is populated by INSERT_PrintJobQueueDI
                    IF l_PrintJobDataDI_REC.CONTENT IS NOT NULL THEN -- The Condition added on 01-APR-2011
                        INSERT INTO PrintJobDataDI VALUES l_PrintJobDataDI_REC; -- Receipt
                    END IF;
                    l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
                END IF;
                *SERVICE_TO_PRNTMNGR*(l_SERVICE_REQ.SERVICE_ID,P_FULFILLMENT_ID,P_MODE);
              END LOOP;
              IF NOT l_PrintJobQueueDI_populated
              THEN
                RAISE e_NO_SERVICES_FOR_THE_PRINTMGR;
              END IF;
          ELSE -- P_MODE = 'R'
            INSERT_PrintJobQueueDI (P_FULFILLMENT_ID,'RF');
            l_PrintJobQueueDI_populated := TRUE;
          END IF;
          OPEN CURSOR_out FOR
           select l_NUM_REC_CREATED from dual;
           RETURN CURSOR_out;
          EXCEPTION
             WHEN appl_error.e_missing_parameter THEN
                  l_error := 20001;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN appl_error.e_wrong_parameter THEN
                  l_error := 20003;
                  l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN appl_error.e_no_records_retrieved THEN
                  l_error := 20122;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN e_NOT_S_F_STATUS_IND_REQ THEN
                  l_error := 20004;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                    'The Status_Ind of the Fulfillment_Id=' || P_FULFILLMENT_ID ||
                    ' is not S or F',null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN e_NO_SERVICES_FOR_THE_PRINTMGR THEN
                  l_error := 20004;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                    'No Successfully completed services w/Delivery Method=P for the Fulfillment_Id=' ||
                    P_FULFILLMENT_ID,null);
                  raise_application_error(l_error*(-1), l_errmsg);
           END FULFILLMENT_TO_PRNTMNGR;
           FUNCTION SERVICE_TO_PRNTMNGR
           FUNCTION SERVICE_TO_PRNTMNGR
                (P_SERVICE_ID     IN SERVICE_REQUEST.SERVICE_ID%TYPE)
                RETURN SYS_REFCURSOR
              Name:  SERVICE_TO_PRNTMNGR
            Params: P_SERVICE_ID  IN  SERVICE_REQUEST.SERVICE_ID%TYPE
              Desc: To be called from Application for the single Service_Id reprint.
        IS
           CURSOR_out                       SYS_REFCURSOR;
        BEGIN
           SERVICE_TO_PRNTMNGR(P_SERVICE_ID,NULL,'R');
           OPEN CURSOR_out FOR
           select l_NUM_REC_CREATED from dual;
           RETURN CURSOR_out;
        END SERVICE_TO_PRNTMNGR;
           *PROCEDURE SERVICE_TO_PRNTMNGR*
           PROCEDURE *SERVICE_TO_PRNTMNGR*           
                (P_SERVICE_ID     IN SERVICE_REQUEST.SERVICE_ID%TYPE,
                 P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2)
              Name:  SERVICE_TO_PRNTMNGR
              Params: P_SERVICE_ID  IN  SERVICE_REQUEST.SERVICE_ID%TYPE,
                      P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                      P_MODE        IN  VARCHAR2
              Desc: The procedure populates the PrintJobQueueDI and PrintJobDataDI
                    PrintManager tables.
                    It works in two modes (P_MODE parameter)
                    -I - Inital print request
                    -R - reprint
                    For the initial print request the P_FULFILLMENT_ID parameter
                    will be passed in.
                    For the Reprint mode the P_FULFILLMENT_ID will be NULL.
        IS
         l_errmsg                   VARCHAR2(1000):= '';
         l_module_name              VARCHAR2(200) := l_package_name || '.' || 'SERVICE_TO_PRNTMNGR';
         l_selcnt                   INTEGER;
         l_error                   INTEGER;
         l_rowcnt                   INTEGER;
         l_sqlstatus              INTEGER;
         l_wrong_parameter           VARCHAR2(50);
         l_TABLE_NAME                VARCHAR2(30);
         l_EXISTS                    NUMBER(1);
         l_FULFILLMENT_ID            FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE;
         e_NOT_PRINT_DELIVERY_METHOD EXCEPTION;
         e_NOT_SUCCESS_COMPL_SRV_REQ EXCEPTION;
        BEGIN
          IF  P_SERVICE_ID IS NULL OR
              P_MODE IS NULL OR
              (P_MODE = 'I' AND P_FULFILLMENT_ID IS NULL)
             THEN
              RAISE appl_error.e_missing_parameter;
          END IF;
          IF P_MODE NOT IN ('I','R')
          THEN
            l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
            RAISE appl_error.e_wrong_parameter;
          END IF;
          -- Check if the Service Request
          -- successfully completed
          BEGIN
            SELECT 1
              INTO l_EXISTS
              FROM SERVICE_REQUEST
             WHERE SERVICE_ID = P_SERVICE_ID
               AND STATUS_IND = 'S'; -- Successfull
          EXCEPTION
          WHEN NO_DATA_FOUND THEN
            RAISE e_NOT_SUCCESS_COMPL_SRV_REQ;
          END;
          -- Check if the Service Request of the
          -- REQUEST_DESTINATION.DELIVERY_METHOD_ID=P
          BEGIN
            SELECT 1
              INTO l_EXISTS
              FROM REQUEST_DESTINATION
             WHERE SERVICE_ID = P_SERVICE_ID
               AND DELIVERY_METHOD_ID = 'P'; -- Print
          EXCEPTION
          WHEN NO_DATA_FOUND THEN
            RAISE e_NOT_PRINT_DELIVERY_METHOD;
          END;
          IF P_FULFILLMENT_ID IS NULL
          THEN
              SELECT FULFILLMENT_ID
                INTO l_FULFILLMENT_ID
                FROM FULFILLMENT_SERVICE
               WHERE SERVICE_ID = P_SERVICE_ID;
          ELSE
            l_FULFILLMENT_ID := P_FULFILLMENT_ID;
          END IF;
          IF P_MODE = 'R' -- Request to Repring single service
          THEN
            INSERT_PrintJobQueueDI (l_FULFILLMENT_ID,P_MODE);
          END IF;
          --dbms_output.put_line(P_FULFILLMENT_ID);
          FOR l_PrintJobDataDI_REC1 IN (SELECT l_PrintJobQueueDI_REC.PRINTJOBDIID PRINTJOBDIID,
                                              ri.SERVICE_ID DOCID,
                                              rownum+1 DOCORDER,
                                              l_PrintJobQueueDI_REC.QUEUEDIID,
                                              3,
                                              ri.NAME,
                                              1,
                                              ri.NUMBER_OF_PAGES,
                                              ri.RESPONSE_BLOB
                                         FROM RESPONSE_IMAGE ri
                                        WHERE ri.SERVICE_ID=P_SERVICE_ID)
          LOOP
            --dbms_output.put_line(l_PrintJobDataDI_REC1.PRINTJOBDIID);
            --dbms_output.put_line(l_PrintJobDataDI_REC1.DOCID);
            --dbms_output.put_line(l_PrintJobDataDI_REC1.DOCORDER);
            INSERT INTO PrintJobDataDI VALUES l_PrintJobDataDI_REC1;
            l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
          END LOOP;
          EXCEPTION
             WHEN appl_error.e_missing_parameter THEN
                  l_error := 20001;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN appl_error.e_wrong_parameter THEN
                  l_error := 20003;
                  l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN appl_error.e_no_records_retrieved THEN
                  l_error := 20122;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN e_NOT_PRINT_DELIVERY_METHOD THEN
                  l_error := 20004;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                    'The Delivery Method for the Service_Id=' || P_SERVICE_ID ||
                    ' is not PRINT',null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN e_NOT_SUCCESS_COMPL_SRV_REQ THEN
                  l_error := 20004;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                    'The Status_Ind of the Service_Id=' || P_SERVICE_ID ||
                    ' is not S',null);
                  raise_application_error(l_error*(-1), l_errmsg);
        END SERVICE_TO_PRNTMNGR;
       PROCEDURE INSERT_PrintJobQueueDI
       PROCEDURE INSERT_PrintJobQueueDI
                (P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2)
        It works in two modes (P_MODE parameter)
                -I  - Inital print request
                -R  - reprint single SERVICE REQUEST
                -RF - reprint entire fulfillment
        IS
         l_errmsg                   VARCHAR2(1000):= '';
         l_module_name              VARCHAR2(200) := l_package_name || '.' || 'INSERT_PrintJobQueueDI';
         l_selcnt                   INTEGER;
         l_error                   INTEGER;
         l_rowcnt                   INTEGER;
         l_sqlstatus              INTEGER;
         l_wrong_parameter           VARCHAR2(50);
         l_TABLE_NAME                VARCHAR2(100);
         l_EXISTS                    NUMBER(1);
        BEGIN
          IF  P_FULFILLMENT_ID IS NULL OR
              P_MODE IS NULL
             THEN
              RAISE appl_error.e_missing_parameter;
          END IF;
          IF P_MODE NOT IN ('I','R','RF')
          THEN
            l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
            RAISE appl_error.e_wrong_parameter;
          END IF;
          -- For reprint request confirm that
          -- all previouse print requests
          -- completed successfully.
          IF P_MODE IN ('R','RF')
          THEN
            SELECT count(*)
              INTO l_EXISTS
              FROM PrintJobQueueDI
             WHERE SESSIONID = P_FULFILLMENT_ID
               AND PRINTTYPE = 'REGULAR';
            IF l_EXISTS = 0
            THEN
              RAISE e_NOT_PRINTED_INITIALLY;
            END IF;
            SELECT count(*)
              INTO l_EXISTS
              FROM PrintJobQueueDI
             WHERE SESSIONID = P_FULFILLMENT_ID
               AND STATUS != 'STATUS_COMPLETED';
            IF l_EXISTS > 0
            THEN
              RAISE e_NOT_ALL_PREV_REQ_COMPLETED;
            END IF;
          ELSIF P_MODE = 'I'
          THEN
            SELECT count(*)
              INTO l_EXISTS
              FROM PrintJobQueueDI
             WHERE SESSIONID = P_FULFILLMENT_ID;
            IF l_EXISTS > 0
            THEN
              RAISE e_ALREADY_INITIALLY_PRINTED;
            END IF;
          END IF;
          IF P_MODE IN ('I','R')
          THEN
              l_TABLE_NAME := 'FULFILLMENT_REQUEST and more';
              SELECT SEQ_PrintJobQueueDI.NEXTVAL,
                     SEQ_PrintJobDIID.NEXTVAL,
                     us.KIOSK_ID,p.PRINTER_NAME,
                     fr.FULFILLMENT_ID,SYSDATE,
                     TO_DATE('1900/01/01','YYYY/MM/DD'),
                     DECODE(P_MODE,'I','REGULAR','REPRINT'),
                     'STATUS_SPOOLED',
                     DECODE(P_MODE,'I','ALL','COVER_AND_SEARCH'),
                     NULL,
                     -- Only for the initial printing
                     -- for the PrintJobDataDI for the Receipt
                     fr.FULFILLMENT_ID,
                     1,3,'RECEIPT',0,0,
                     fr.RECEIPT_BLOB
                INTO l_PrintJobQueueDI_REC.QUEUEDIID,
                     l_PrintJobQueueDI_REC.PRINTJOBDIID,
                     l_PrintJobQueueDI_REC.KIOSKID,
                     l_PrintJobQueueDI_REC.PRINTERNAME,
                     l_PrintJobQueueDI_REC.SESSIONID,
                     l_PrintJobQueueDI_REC.SPOOLTIME,
                     l_PrintJobQueueDI_REC.PRINTTIME,
                     l_PrintJobQueueDI_REC.PRINTTYPE,
                     l_PrintJobQueueDI_REC.STATUS,
                     l_PrintJobQueueDI_REC.PRINTOPTION,
                     l_PrintJobQueueDI_REC.PROCESSSTATEID,
                     l_PrintJobDataDI_REC.DOCID,
                     l_PrintJobDataDI_REC.DOCORDER,
                     l_PrintJobDataDI_REC.DOCTYPEID,
                     l_PrintJobDataDI_REC.DOCNAME,
                     l_PrintJobDataDI_REC.STARTPAGE,
                     l_PrintJobDataDI_REC.ENDPAGE,
                     l_PrintJobDataDI_REC.CONTENT
                FROM LRO_PRINTER p,
                     KIOSK k,
                     USER_SESSION us,
                     BUSINESS_AUDIT ba,
                     FULFILLMENT_REQUEST fr
               WHERE p.PRINTER_ID = k.PRINTER_ID
                 AND p.LRO_ID = k.LRO_ID
                 AND k.KIOSK_ID = us.KIOSK_ID
                 AND us.USER_SESSION_ID = ba.USER_SESSION_ID
                 --AND ba.BUSINESS_AUDIT_ID = fr.BUSINESS_AUDIT_ID
                 AND ba.BUSINESS_AUDIT_ID = (select min(BUSINESS_AUDIT_ID)
                                               from fulfillment_service fs,service_request sr
                                              where fs.FULFILLMENT_ID = fr.FULFILLMENT_ID
                                                and sr.SERVICE_ID = fs.SERVICE_ID)
                 AND fr.FULFILLMENT_ID = P_FULFILLMENT_ID;
          ELSE -- 'RF'
              l_TABLE_NAME := 'PrintJobQueueDI, KIOSK, LRO_PRINTER';
              SELECT SEQ_PrintJobQueueDI.NEXTVAL,
                     q.printJobDIID,
                     q.KIOSKID,
                     p.PRINTER_NAME,
                     q.SESSIONID,
                     SYSDATE,
                     TO_DATE('1900/01/01','YYYY/MM/DD'),
                     'REPRINT',
                     'STATUS_SPOOLED',
                     'ALL',
                     NULL
                INTO l_PrintJobQueueDI_REC.QUEUEDIID,
                     l_PrintJobQueueDI_REC.PRINTJOBDIID,
                     l_PrintJobQueueDI_REC.KIOSKID,
                     l_PrintJobQueueDI_REC.PRINTERNAME,
                     l_PrintJobQueueDI_REC.SESSIONID,
                     l_PrintJobQueueDI_REC.SPOOLTIME,
                     l_PrintJobQueueDI_REC.PRINTTIME,
                     l_PrintJobQueueDI_REC.PRINTTYPE,
                     l_PrintJobQueueDI_REC.STATUS,
                     l_PrintJobQueueDI_REC.PRINTOPTION,
                     l_PrintJobQueueDI_REC.PROCESSSTATEID
                FROM PrintJobQueueDI q,
                     KIOSK k,
                     LRO_PRINTER p
               WHERE q.SESSIONID = P_FULFILLMENT_ID
                 AND printType = 'REGULAR'
                 AND k.KIOSK_ID = q.KIOSKID
                 AND p.PRINTER_ID = k.PRINTER_ID
                 AND p.LRO_ID = k.LRO_ID;
          END IF;
          INSERT INTO PrintJobQueueDI VALUES l_PrintJobQueueDI_REC;
          l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
          l_PrintJobDataDI_REC.PRINTJOBDIID := l_PrintJobQueueDI_REC.PRINTJOBDIID;
          l_PrintJobDataDI_REC.QUEUEDIID:= l_PrintJobQueueDI_REC.QUEUEDIID;
         EXCEPTION
         WHEN appl_error.e_missing_parameter THEN
              l_error := 20001;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN appl_error.e_wrong_parameter THEN
              l_error := 20003;
              l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN e_NOT_ALL_PREV_REQ_COMPLETED THEN
              l_error := 20004;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
              'Not all print requests for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
              ' were successfully completed',null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN e_ALREADY_INITIALLY_PRINTED THEN
              l_error := 20004;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,'Initial print request for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
              ' has been already created',null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN e_NOT_PRINTED_INITIALLY THEN
              l_error := 20004;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                'Can''t reprint the print request for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
                ' because it was not printed intially',null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN NO_DATA_FOUND THEN
              l_error := 20122;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
              raise_application_error(l_error*(-1), l_errmsg);
       END INSERT_PrintJobQueueDI;
    END XSP_POPULATE_PRNTMNGR;Please help in writing this piece of code.
    Would appreciate your help...
    Edited by: BluShadow on 04-Oct-2011 15:39
    added {noformat}{noformat} tags for readability.  See {message:id=9360002} to learn to do this yourself.
    Edited by: user548261 on Oct 4, 2011 7:46 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

    rudi wrote:
    Hi sb92075,
    I'm absolutely newbie in this discussion forum, because I expected that this forum will be helpfull for all. I have found really so much perfect answers and advices.
    You have high number of posts, but I can't found any your answer for new programmers which have some issues. If you can't answer, ignore the query posted, I think that this is spamming, I have found your 10 negative posts within 5 minutes.
    I know, that all forums have rules, but review number of "posts with not correct subjects like URGENT, ASAP...." and the other, correct with absolutely same queries and requests for advise.
    Thanks for understanding
    rudisb92075's response was helpful. It was pointing out that we need to have tables and data to work with and not just a piece of unfamiliar code that we are told doesn't work in some way. Without the tables and example data and expected output we could only guess what the problem may be. The OP has also said their issue is urgent, which it isn't as I pointed out to them, but then their response to sb92065's request for tables and data was just to say that they want us to do their work for them and they'll test it. That's not only rude, but also wastes our time as we have to make a guess as to what the problem may be then wait for the OP to test it, to no doubt tell us that it still doesn't work, so we can make another guess.
    This is not the way a professional forum works. If the OP wants help with the issue they need to provide relevant information as requested. The fact they seem to keep asking questions and non of them are being marked as answered should be a good indication that they are not asking the questions correctly.
    So, before you criticize members as being unhelpful, it is perhaps better if you read what they have requested and understand what they've said.
    Therefore, we still await the OP's response providing some useful information to be able to help...

  • Urgent HELP! need for my Zen touch (20

    Right here we go. I bought my zen touch online last year from a well known supplier. Absolutly brilliant mp3 plaey and happy with the value for money i got. The player did freee alot since i got it at inappropiate times eg. When i was on holiday and had nothing to reset it with. Recently i have been experiancing alot of problems. First one is that it froze so i reseted it, all seemed well until the Welcome screen came on and stayed like that for 0 mins and then it resumed back to normal. This has since continued. 2nd problem is every time i add a song from the computer (same process that i have been using since i got it) all seems well until.... i turn the player on select any song to play and the player results in PLAYBACK ERROR. So i reset , the player then freezes for another 0 mins and then is back to normal. This also has continued. And third and finally everytime i reset now i get the message rebulding libary and it is almost done and yet low and behold freezes again for another 0mins. Also i need urgent and quick help as my warrantty runs out in days. PLEASE HELP!!!! and to add to this i have tonight installed a new firmware and still experiance same problem. And almost forgot the player freezes for 0mins after every chargeMessage Edited by ruane89 on 09-30-2005 07:8 PM

    ruane89 wrote:how long does this disk clean up tkae and what does it actually do?
    As per the FAQ post:
    How long should a Disk Cleanup take?
    It should only take a few minutes, and no longer than 30 minutes. Anything longer than this and there is a problem with the player and you need to contact Creative Support.
    If this doesn't solve it then you really just need to follow the steps in the "My Zen is not starting properly, or goes into rescue mode, what should I do?" section of the FAQ post.
    As igedit says, the player does sound faulty unfortunately, so I would contact Creative Support.

  • Urgent: Table name needed for Real estate

    Hi Experts,
    i have a query relating to the real estate module.
    I want a table name that holds the (VIOROO-rsobjtype) Reservation object type field and (VIBPOBJREL-Partner) Partner field. These fields are contained in 2 different tables.
    Can you help me out here. This is an Very urgent requirement.
    Points will be awarded.
    Thanks in advance.

    Hi,
    Just do like this to know about your tables,
    go to se11,
    give table name as DD03L(which is a table for table fields),
    display,
    excute,
    under the field name input u can VIOROO and VIBPOBJREL
    then excute, u can get the table names for your fields.
    seshu.

  • Urgent ...Need for  function module name.

    I have a requirement to print label using smartforms,in transaction VL02N.In which i need to get the name1(ship to information) information at run time as the
    user can change the Address in Stock transport order (most likely) or at the Delivery at the run time. We need to find a function module that reads the run time structure data (VTTPVB\name1) and gives us the data.
    Any pointers on this regards would be helpful
    With Thanks and Regards
    Arun T
    [email protected]

    Hi Sap Surfer,  
    VTTK and VTTP are the delivery tables here all the details with respect to delivery is stored and retrieved.
    To get the name1 and address fields the partner function plays a vital role and thus you can achieve this from VBPA.
    By selecting the correct partner function the right information can be retrieved.
    The structure contains data only during the transaction or the transaction programs run thus it is not advisible to get data from that so data is usually fetched from Tables.
    Hope this solves your query.
    Reward Points if useful.
    Thanks,
    Tej..

  • URGENT - Part is needed for HP6110xi All-In-One

    I am unable to locate a new "latch cover door" that covers and holds the printer cartridge in place. The small 'tab' has broken off of the front of this "latch cover door" and am unable to close the door such that it stays closed. Can anyone help with this issue with a part number or help me locate a replacement part please?

    There is no cartridge expiration on the Officejet 6110 that would cause it to stop printing in color.  The end of warranty date (as shown here) is simply the end of warranty, the cartridge may continue to be used after that date.
    There are a few things to check:  what happens when you select a color copy?  Are there any error messages?  Does the printer go through the motions of printing but with a blank page?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Help needed for an unusual iphoto error.

    When I try to open my IPHOTO it now gives me this message... "The photo library was created with an unreleased version of IPHOTO please quite and upgrade this photo library by opening it in IPhoto 2 or Iphoto4", and forces me to quit right when the program opens.... for the record I've never had IPhoto 2 or 4 on my computer. I just added some more photos from my camera like I always do and this started to happen.
    Also I tried upgrading to the newest version of IPhoto (I bought ILIFE 06 because I thought it would fix it, and then did the upgrade to no avail)... It makes no sense... and I need help to fix it.
    (link to a screenshot of what happens) http://img206.imageshack.us/img206/3473/picture15hj.png

    Hi Kevin,
    So far I have not seen any solution for that error message in these discussions. If you have a recent backup of your iPhoto Library folder then take the old library out of the Pictures folder and put your backup library in there (I suggest you backup the backup before you do this) Launch iPhoto and hopefully everything will be back to normal. If you don't have a backup then...
    The only thing I can tell you to do right now is to create a new library and import/add to the library to reimport your images.
    these are the steps:
    Close iPhoto
    Drag the iPhoto Library folder to the desktop
    Launch iPhoto
    In the next window that opens choose to create a new library.
    -double click the iPhoto Library folder on the desktop to open it
    -the two main folders you will need to import are the Original folder and the Modified folder (only if you want to import the edited images).
    -the Originals folder has all your originals photos unedited. the Modified folder has all images that you have edited, rotated, cropped, etc.
    -Drag these two folders to the desktop
    -If you want to save the edited image, find it in the roll in the Modified folder and drag it into the roll of the same name in the Originals folder. It will replace the originals and now will be the original.
    -If you don't care to save any edited images, then don't import the Modified folder into iPhoto or don't bother replacing the edited image with the original image like I just described.
    -If you import the Originals folder into iPhoto you will have all your originals in their named rolls.
    -If you import the Originals and Modified folders into iPhoto, you will have all of them being in the originals folder in the finder. The roll with the same name as the other will have a _1 appended to it's name (in the finder)
    -the roll from the originals will be next to the same roll from the Modified folder within iPhoto. You can then delete any of the images from there if you want.
    I know this might sound confusing but it really isn't.
    Get back if any of this sounds like something you might want to do.

  • Quantity contracts/ Scheduling Agreements

    Hello All,
    I am working on a special business scenario.
    To do this I need to invoice the "quantity contract" or "scheduling agreement". I know itu2019s not possible in standard but is there anyway where I can invoice the quantity contract or scheduling agreement? With modifications and maintaining copying control I can do the invoice to the contracts but I know I canu2019t run MRP. Is there any possibility where I can run MRP for Quantity contracts? Both the steps (Invoice and MRP) should configure to run the functionality.
    My next query is how I can save outline agreement with out mentioning the dates and quantity.
    I know the questions I raised look strange but itu2019s very useful to my business process if I can configure above items.
    Regards,
    Vamsi

    Hi,
         My req also similar to yours.
    Customer place the req- with or without delivery dates.
    In this case,initially i started luking for quantity contract. but both with r without delivery dates, I cant maintain in contracts.moreover this contracts,we cant run MRP & cant create billing too (as its not rel for billing )
    then i look for the scheduling agreement,
    In std SAP,you cant create agreement without qtty,because agreement will have pricing procedure applicable. without qtty pricing will be "zero"- then system wont allow to save the agreement.
    for me, Scheduling agreement working fine,
    I can use this with or without delivery dates & with or without qtty. this req will be transferred for MRP run.
    Just analyze, why you need to create agreement without qtty- will solve ur issue.
    in my case,
                  Customer can receive the goods irrespective of ordered qtty. means its considered as open order all the time until the validity period completes. But the pricing will be mentioned in agreement.But without qtty we cant have pricing.So i entered the max-X qtty in agreement started creating delivery with ref to this agreement. In delivery item cat -checked"over delivery allowed"- So irrespective of the order qtty i can delivery as per customer req & the same delivered qtty n price will be copied at the time of invoice creation.
    hope it helps

  • Net Price Quantity Contract

    Hi Gurus,
    Now I'm working on Quantity Contract.Client requirement is to get the Net price for Quantity Contract after saving.
    In standard SAP it's not there.
    Can anybody has thought to get the net value of Quantity Contract after saving???
    Thanks & Regards
    PKB

    Hi Pranaya ,
    As it is a quantity contract , therefore the Target Value is not mandatory .
    If you wish to make it mandatory goto
    sproMaterials ManagementPurchasingContractDefine Screen Layout at Document Level for contracts.
    Select the field selection MKK and in Administrative data, header you can make it mandatory.
    Regards
    Ramesh Ch

  • Canon 3245 driver needed for Mac OS X Yosemite 10.10.1

    Dear
    All the drivers available on Canon website do not support version 10.10.1
    I am urgently in the need for a driver Canon 3245.
    Please help.
    Thanks and Regards
    Shubham
    Mackbook Pro, OS X Yosemite, Version 10.10.1

    This includes drivers for 10.10
    http://www.usa.canon.com/cusa/support/office/b_w_imagerunner_copiers/imagerunner _3225_3230_3235_3235i_3245_3245i/imagerunner_3235#DriversAndSoftware

Maybe you are looking for

  • How can I purge old data on EM Repository?

    I'd like to remove my old data of EM repository. For example, removing old data collected before Jan 1st 2007. Is there any auto-job for that facility? Or Any ideas?

  • Shipment Cost Relevance field grayed out. Possibility to make this editable

    When we create a TD shipment document, based on the shipment type control data, the value of the field Shipment cost relevance is updated. This field is always grayed out, where there is no option to edit. When we check the standard description, we c

  • How to unlock the table

    hello frnds i am using proc.in that proc i select data from a table(PRMASUP) and then insert into a another table(AFPBLRMPDTL) which in remote database.my problem is the prmasup table is locked every timer i run the proc.when i am trying to kill the

  • I can't edit length of clips!  Help!!!

    Hi. I'm using iMovie 6.0.3. I haven't used the program in a few months, and in that time, I believe this update was installed. I am currently trying to create a photo montage. I have a few photos placed in the timeline (in timeline view). However, th

  • Backing up appls issue.

    On my iTunes when i transfer purchases most of the Apps i purchased don't get backed up. In fact only 1 paid app gets backedup and about 5 free ones. In total i probably have around 30 apps give or take a few. How can i back these back up onto my iTu