MSS - PCR-Pdf error at workflow approve

Hello,
When I try to show a form pdf based in UWL for approve process, an error occurs :
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.
com.adobe.ProcessingError: File not found error writing stream: <Render><Template><Name> "http://ecc03.fer.sa.dir.bunge.com:8103/webdynpro/dispatcher/sap.com/pcui_gpisr/IsrFormApprove/wd_key15_1150728935669/unknown.pdf
java.io.FileNotFoundException: IO error detected while opening HTTP/HTTPS connection: http://ecc03.fer.sa.dir.bunge.com:8103/webdynpro/dispatcher/sap.com/pcui_gpisr/IsrFormApprove/wd_key15_1150728935669/unknown.pdf
java.io.FileNotFoundException: HTTP Status-code: 500 Internal Server Error - connecting to http://ecc03.fer.sa.dir.bunge.com:8103/webdynpro/dispatcher/sap.com/pcui_gpisr/IsrFormApprove/wd_key15_1150728935669/unknown.pdf
I am using SPPM mss/pcr scenario.
Thanks in advance for any help.
Renato.

Hi Renato,
When you are using PCRs/ISRs the form data is read from the XML data attached to the R/3 Notification object.
ISRFormApprove in particular expects that this XML dat already exists and is correctly attached to the R/3 Notification object.
So:
1) Check your UWL is connecting ok to your SAP system - which I presume it is otherwise you wouldn't be getting the work item.
2) Check the system alias from the system landscape used for your UWL system connection - make sure that its the right one and has the webdynpro host/port/path details defined.  Use the Connection Test options in the Portal Content Directory to check it.
3) Check you have passed in a valid R/3 notification number - i.e. you should be able to display the notification in transaction IQS3 in the backend SAP system.
4) Check the XML data is correctly linked to the form. The easiest way is probably to use transaction SE37 test option against function module ISR_SPECIAL_DATA_GET.
It should return a list of all your PCR characterstics and their values.
If all that's working and its still not happening for you, check you have the latest fixes as per SAP notes, and then raise an SAP message.
Regards,
Jocelyn

Similar Messages

  • MSS PCR screen error in UWL

    HI expersts.
    Does anybody have an idea how create service in WF_EXTSRV and WF_HANDCUST for MSS PCR screens .
    if anybody worked on MSS PCR screens in portal side (not developmet) .plz share with me .
    In my uwl when i try to open the PCR form request it is throwing error
    "message number can not read form workflow container"
    Thanks in Advance
    Surekha .

    Hi srinivasan
    Thanks for ur reply.
    The same task is there in users inbox in R3.
    I have refreshed UWL system .
    What i think service(ABAP) is required for this task . That is through WF_EXTSRV and WF_HANDCUST.
    How to create service in WF_EXTSRV .
    Surekha.

  • MSS PCR --- PDF forms probmlem

    Hi.
       We are in the process implmenting ESS and MSS on EP NW04 SP11. We have installed Xss 7.0,  ESS/MSS business package   and ADS on Portal J2EE engine.
       After PCR configuration we got following error message while accessing forms.
    com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (302) Found.
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:268)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:209)
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:417)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:161)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1088)
    Did anyone have come accross this kind of problem ?
    Thank
    BD

    I checked the message with our Q team. This is probably not only related to Adobe document services, but involves the Portal or one of the other components of MSS PCR. Please create a customer message on the MSS PCR component to speed up resolution.
    Kind regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Error with workflow approval BADI- BBP_WFL_APPROV_BADI

    Hi All,
    We are running SRM 5.5 Classic Scenario.
    We have activated "BBP_WFL_APPROV_BADI" for n-step approval process of shopping carts. From a certain period of time I am facing the following problem: when a user, with defined output limit in the extended attributes, creates shopping cart below this limit, the shopping cart instead to be ordered immediately stays in status u201CIn your inboxu201D and there is a message in the field "notes for approval" that the user WF-BATCH is not assigned in the organizational structure, and the item status is u201Cawaiting approvalu201D. Although, if you go to approval preview, the message is that no approval is required, the shopping cat is sent for approving to the manager.
    It is very strange, because workflow user has never been assigned to the organizational structure and the other strange thing is that this problem exists in all SRM systems (development, quality and training).
    We tried to debug the BADI, and we couldn't find any problem. The BADI first checks the spent limit of the user (which is the set output limit in the extended attributes of that user) and because the validation is ok (the value of the shopping cart is below the spent limit) the process stops. But at the same time the shopping cart is sent for approving to the first manager.
    Has anybody of you faced this problem?
    Thank you in advance!
    Desislava

    Hi Masa,
    Yes, this is my issue, that the shopping cart is sent to the manager for approving! And at the same time when the user is checking the status of the shopping cart -the status is"In your inbox" and the status of the item is "awaiting approval". When you go to item details-> to additional specification tab(field),  a system message is generated in the field "notes for approval" and the message is "Cannot find org unit for user WF-BATCH". In my opinion that means that the system is searching for WF-batch as approver. Let me briefly tell you how the BADi works, first validates the spent limit of the user if the value of the shopping cart is below then the shopping cart should be sent directly to r/3 system and a PO should be created. If the value is above, the system start checking to which organizational unit the users belongs, and after that determines the first approver!
    Hope it is more clear for you!
    Thanks
    Desislava

  • Error in PO approval

    Can anyone help us with this, our Purchase Orders are not getting approved, we are getting this error:
    An Error occurred in the following Workflow.
    Item Type = POAPPRV
    Item Key = 4069-3251
    User Key =64
    Error Name = WFENG_ITEM_ATTR
    Error Message = 3103: Attribute 'DOCUMENT_ID' does not exist for item 'POAPPRV/4069-3251'.
    Error Stack =
    PO_REQAPPROVAL_INIT1.InsertActionHistSubmit(006)
    PO_REQAPPROVAL_INIT1.Ins_actionhist_submit(PO_REQAPPROVAL_INIT1.Ins_actionhist_submit: 01)
    Wf_Engine.GetItemAttrNumber(POAPPRV, 4069-3251, DOCUMENT_ID)
    Wf_Engine_Util.Function_Call(PO_REQAPPROVAL_INIT1.INS_ACTIONHIST_SUBMIT, POAPPRV, 4069-3251, 133211, RUN)
    Activity Id = 133211
    Activity Label = VERIFY_PO:RECORD_IN_ACTION_HISTORY
    Result Code = #EXCEPTION
    Notification Id =
    Assigned User =
    Regards

    Please see these docs.
    R12.1 - Cannot Approve Purchase Orders Due to Failure at "Get PO Attributes" Activity - WFENG_ITEM_ATTR OLD_PO_REVISION_NUM 3103: Attribute 'DOCUMENT_ID' Does not Exist [ID 1150224.1]
    PO Approval Workflow Fails at "Get PO Attributes" Activity - WFENG_ITEM_ATTR OLD_PO_REVISION_NUM 3103: Attribute 'DOCUMENT_ID' Does not Exist for POAPPRV [ID 1072073.1]
    Approving Revised Blanket Purchase Agreement Fails Under GET_PO_ATTRIBUTES Activity [ID 460332.1]
    All Purchase Orders Complete With Error In Workflow Approval On "Email Po Yes No" Action [ID 1314221.1]
    PO Approval Errors When Display Name Of User Is Greater Than 100 Characters [ID 955163.1]
    12: Approving Federal Requisition Or Purchase Order Results In Error Psa_bc_xla_pub.Budgetary_control [ID 1339009.1]
    Thanks,
    Hussein

  • ISR template error in MSS PCR

    Hi all..
    i am implementing MSS PCR on EP 60... MSS 100
    when i user any of the scenarios in PCR, it gives me an error "Error in try-catch block - Template could not be retrieved"
    whereas ... the template in ISR scenario defination exists.
    this is the extract of the error
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error in try-catch block - Template could not be retrieved.
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.raiseFormException(FcISRProcessEvent.java:1251)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.setTemplateSource(FcISRProcessEvent.java:351)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrProcessEvent(FcISRProcessEvent.java:442)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callIsrProcessEvent(FcISRProcessEvent.java:254)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEvent.callIsrProcessEvent(InternalFcISRProcessEvent.java:1079)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEventInterface.callIsrProcessEvent(FcISRProcessEventInterface.java:125)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:380)
         at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface$External.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:500)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.VcISRShowForm.onBeforeOutput(VcISRShowForm.java:185)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowForm.onBeforeOutput(InternalVcISRShowForm.java:395)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.VcISRShowFormInterface.onBeforeOutput(VcISRShowFormInterface.java:137)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowFormInterface.onBeforeOutput(InternalVcISRShowFormInterface.java:136)
         at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowFormInterface$External.onBeforeOutput(InternalVcISRShowFormInterface.java:212)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:503)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:471)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$1300(FPMComponent.java:71)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseEvent(FPMComponent.java:790)
         at com.sap.xss.hr.pcr.selectform.VcPcrSelectForm.toShowForm(VcPcrSelectForm.java:193)
         at com.sap.xss.hr.pcr.selectform.wdp.InternalVcPcrSelectForm.toShowForm(InternalVcPcrSelectForm.java:178)
         at com.sap.xss.hr.pcr.selectform.SelectForm.onActionToShowForm(SelectForm.java:143)
         at com.sap.xss.hr.pcr.selectform.wdp.InternalSelectForm.wdInvokeEventHandler(InternalSelectForm.java:171)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
    I have installed adobe env from NW componets CD and imported creadentials successfully
    please help as this urgent!!
    Regards
    Ashutosh

    Hi Ashutosh,
    I am facing this error what you have faced long time back.
    java.lang.NoSuchMethodError: com.sap.tc.webdynpro.services.task.ITask.getWebContextAdapter()Lcom/sap/tc/webdynpro/services/sal/adapter/core/IWebContextAdapter;
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.setTemplateSource(FcISRProcessEvent.java:440)
         at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrProcessEvent(FcISRProcessEvent.java:571)
    its regarding ISR in Portal.
    could you please tell me how did you solve this error.
    Thanks
    Vijay

  • Payables Error for Invoice Approval in Oracle Workflow

    Hi
    Product Oracle Payables
    Product Version 11.5.10.2 (VISION Instance)
    We need to implement the AP workflow/approvals in Payables,have set-up Approvals Management(AME) for AP invoice approval in the vision instance.
    Create a invoice Payables and initiated approval process found the below error in wf_notifications
    Error in Workflow APINV/63401_1 ORA-01403: no data found ORA-01403: no data found
    checked the notifications in the sysadmin responsibility, do find the errors
    An Error occurred in the following Workflow.
    Item Type = APINV
    Item Key = 63401_1
    User Key =
    Error Name = 100
    Error Message = ORA-01403: no data found
    ORA-01403: no data found
    Error Stack =
    AME_ENGINE.doWeakHeaderRuleEvaluation(12732)
    AME_ENGINE.evaluateRules(12733)
    AME_ENGINE.updateTransactionState(12734)
    AME_API2.getNextApprovers4(12735)
    AME_API.getNextApprover(12736)
    APINV.Get_Approver(APINV, 63401_1, 536104)
    Wf_Engine_Util.Function_Call(AP_WFAPPROVAL_PKG.get_approver, APINV, 63401_1, 536104, RUN)
    Activity Id = 536104
    Activity Label = APINV_M:APINV_IA
    Result Code = #EXCEPTION
    Notification Id =
    Assigned User =
    Regards
    Yram

    Please see these docs.
    APINV Errors with Ora-01403 in AP_WFAPPROVAL_PKG.get_approver [ID 413840.1]
    Invoices Getting Stuck Intermittently In Invoice Approval Workflow With No Data Found Error [ID 1201053.1]
    Intermittent Error "3835: ORA-20002: 2018: Unable to Generate the Notification Xml" when Notification is Reassigned through a Vacation Rule [ID 1305504.1]
    Thanks,
    Hussein

  • MSS PCR Notification/Workflow

    Hi,
    We have been trying to use the MSS PCR for Separation.  We are able to successfully submit the PCR however, there are no workflows triggered. 
    Appreciate if you can advise on how to setup to trigger workflow.  Alternatively, appreciate advise on how to know where the notifications are sent.
    Thanks,

    PCR Workflow can be activated using the Tcode PCRWF. You can know the status of the workflow by checking the workflow overview for the Notification using Tcode IQS22.
    ~Suresh

  • MSS PCR(Personnel Change Request) Report

    Hi Experts,
    We have configured MSS successfully, Now the reqirement is that we require a report which keeps the track of all requests generated during MSS PCR, like which request, who requested, approver, status of the request....etc.....
    Is there any way out where I can track all these things.
    Please suggest.
    Thanks
    Rohit G

    @Rohit Gaharwar 
        Sorry, Rohit...yes, I understood you are on PCRs and not HCM P&F, but I wanted to mention that functionatlity is in fact there for HCM P&F since it was a big missing part for PCRs. And if you are actually on ECC6, you might want to look into it versus PCRs since PCRs are going the way of the dinosaur.
    @Suresh
       Is their some reporting off of workflow that could be done as well? I would think that could show who processes a request as well as where they are "held up". Reporting is a big missing part of PCRS, agreed.

  • MSS PCR ( Change In position)

    Hi all
      i am using a one-step approval workflow process in MSS PCR (Request for Position Change).1st time when i am trying to initiate the position change for a particular employee its taking fine.but after the completion of approval process for that employee,whenever i am trying to initiate again the position change process for that employee then its giving me a message as "An organizational reassignment is already planned for this employee" & i am not able to process again for that employee.
    but already for the 1st process the approver have run the action through iqs22 tcode.but still its not allowing me to process again for that same employee 2nd time.
    kindly give some Clue regarding this.
    Thanks
    Syam.

    hi
    As per your issue you are not able to overwrite the feature SCHKZ in IT0007. But i think that default feature of SCHKZ allow you to overwrite and change the workschedule in IT0007.
    Can you check for the user exit because of which you are not able to change it.
    Hope this should be helpful
    Thanks
    Arun

  • Adobe form MSS PCR senarios  not working with Portal SSL

    Hi All,
    we have implemented MSS PCR  senarios Nw04 with ERP2004 system.
    every thing is working fine when use http protocal for portal acess.
    Now we try to implement ssl for portal. so started implemnation and done in portal side, after that when try access any senario forms , The adobe form is not opening for editing, its throwing  error
    <b>The initial exception that caused the request to fail, was:
       java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:461)
        ... 47 more</b>
    its very urgent anybody can help out this, what settings ot be done on R/3 server and Portal and ADS server
    Thanks in advance
    Gopal

    Hello Gopal,
    You would only need an https connecion between the browser and the portal server if you are only concerned with the MSS applications. You need to have SSL configured from the portal to ADS server had you implemented some custom scenarios like certification, digital signature etc. But, considering your MSS issue, you do not need to worry about it untill and otherwise your landscape demands you to do so for any security reason.
    Well, you might have already gone through the following link, incase not, please go through the link to find out more on how to confugre SSL on the j2ee engine:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm<a href="http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm</a>

  • How to call workflow approve service in loop for multiple documents.

    i have created a serviceHandler for approving the document and i post the comma separated dIDs as a string from workflow approval template(custom template). And in serviceHandler program i pass the did for approving and only first document is approved and for other document its throwing error, Its showing error document revision is not a latest revision but document is having only one revision.
    my code is: can anyone help me.
    public void SendAllDocuments()
            throws DataException, ServiceException{
        try{
        String [] ContentDids;
        System.out.println("+++++++here we are the all SendAllDocuments++++++++++++++");
        String workflowIds = m_binder.getLocal("workflowIds");
        if(!workflowIds.isEmpty()){
             ContentDids = workflowIds.split("\\,");
        }else{
            throw new ServiceException("document are not selected from users, workflowIds"+workflowIds);
        int arrayLength = ContentDids.length;
        for(int iterator=0;iterator<=arrayLength-1;iterator++){
            SendDocumentToUserQueue(ContentDids[iterator]);
        }}catch(Exception e){ e.printStackTrace();}
        m_workspace.releaseConnection();
    //DocMeta table varible which are coming from Internal assignment page
    //xWF_SentFrom",xWorkflowStepAlias",xWF_SendTo",xPurposeForSubmission",xPurposeForRejection",xDocApproval",xWorkflowComments"
    //xInternalAssignment",togroup",xWF_SendToSend",xWF_SendToSend12",xPurposeForSubmissionSend",xWF_SendToApprove",wfSendApproveComments"
    //Revision table variable which can get from getRevisionsTableValueFromDid
    // dDocName", dDocType",dRevLabel",dSecurityGroup",dDocAccount"
    public void SendDocumentToUserQueue(String approvalId) throws DataException, ServiceException{
        try{
            DataResultSet resultset =getRevisionsTableValueFromDid(approvalId);
            String sendToName = m_binder.getLocal("sendToName");
            String sender="takuma";
        //String workflowComments = m_binder.getLocal("workflowComments");
        String workflowReason = m_binder.getLocal("workflowReason");
        m_binder.putLocal("IdcService", "WORKFLOW_Approve");
        m_binder.putLocal("idcToken", m_binder.getLocal("idcToken"));
        m_binder.putLocal("dID", approvalId);
        m_binder.putLocal("xWF_SendTo", sendToName);
        m_binder.putLocal("xPurposeForSubmission","108");
        m_binder.putLocal("xWF_SentFrom", sender);
        m_binder.putLocal("xWorkflowStepAlias", "");
        m_binder.putLocal("xPurposeForRejection", "");
        m_binder.putLocal("xDocApproval", "");
        m_binder.putLocal("xWorkflowComments", "");
        m_binder.putLocal("xInternalAssignment", "");
        m_binder.putLocal("xWF_SendToSend", "");
        m_binder.putLocal("dDocName", getData(resultset,"dDocName"));
        m_binder.putLocal("dDocType", getData(resultset,"dDocType"));
        m_binder.putLocal("dRevLabel", getData(resultset,"dRevLabel"));
        m_binder.putLocal("dSecurityGroup", getData(resultset,"dSecurityGroup"));
        m_binder.putLocal("dDocAccount", getData(resultset,"dDocAccount"));
        executeService(m_binder, sender);
    }catch(Exception e){ e.printStackTrace();}
    public DataResultSet getRevisionsTableValueFromDid(String documentId) throws DataException, ServiceException{
        DataResultSet drs = new DataResultSet();
        try{
            /*String sqlDocType="select dDocType from revisions where dId ='"+documentId+"'";
        ResultSet documentRset = getSystemWorkspace().createResultSetSQL(sqlDocType);
        //handle null pointer exception for DocumentValue
        String DocumentValue = ResultSetUtils.getValue(documentRset, "dDocType");*/
        String sql="select dDocName,dDocType,dRevLabel,dSecurityGroup,dDocAccount from Revisions where dId ='"+documentId+"'";
        ResultSet rset = getSystemWorkspace().createResultSetSQL(sql);
        if (rset == null || rset.isEmpty()) {
            SystemUtils
                    .info("Resultset is null please check database query and Did ="+documentId);
        drs.copy(rset);
        catch(Exception e){
            System.out.println("in catch of getRevisionId Method");
            e.printStackTrace();}
        //handle null pointer exception for DocumentValue       
        return drs;       
    public String getData(DataResultSet dataSet, String value) {
        String fieldValue = "";
        fieldValue = ResultSetUtils.getValue(dataSet, value);
        System.out.println(fieldValue+"value is null in getData Method=======");
        return fieldValue;
    public UserData getFullUserData(String userName, ExecutionContext cxt,
            Workspace ws) throws DataException, ServiceException {
        if (ws == null)
            ws = getSystemWorkspace();
        UserData userData = UserStorage.retrieveUserDatabaseProfileDataFull(
                userName, ws, null, cxt, true, true);
        //ws.releaseConnection();
        return userData;
    public Workspace getSystemWorkspace() {
        Workspace workspace = null;
        Provider wsProvider = Providers.getProvider("SystemDatabase");
        if (wsProvider != null)
            workspace = (Workspace) wsProvider.getProvider();
        return workspace;
    public void executeService(DataBinder binder, String userName)
            throws DataException, ServiceException {
        // obtain a connection to the database
        Workspace workspace = getSystemWorkspace();
        // check for an IdcService value
        String cmd = binder.getLocal("IdcService");
        if (cmd == null)
            throw new DataException("!csIdcServiceMissing");
        // obtain the service definition
        ServiceData serviceData = ServiceManager.getFullService(cmd);
        if (serviceData == null)
            throw new DataException(LocaleUtils.encodeMessage(
                    "!csNoServiceDefined", null, cmd));
        // create the service object for this service
        Service service = ServiceManager.createService(serviceData.m_classID,
                workspace, null, binder, serviceData);
        // obtain the full user data for this user
        UserData fullUserData = getFullUserData(userName, service, workspace);
        service.setUserData(fullUserData);
        // binder.m_environment.put("REMOTE_USER", userName);
        ServiceException error = null;
        try {
            // init the service to not send HTML back
            service.setSendFlags(true, true);
            // create all the ServiceHandlers and implementors
            service.initDelegatedObjects();
            // do a security check
            service.globalSecurityCheck();
            // prepare for the service
            service.preActions();
            // execute the service
            service.doActions();
            // doany cleanup
            service.postActions();
            // store any new personalization data
            service.updateSubjectInformation(true);
            service.updateTopicInformation(binder);
        } catch (ServiceException e) {
            varTrueFalse = false;
            error = e;
            SystemUtils.info("exception in second location=" + e);
            e.printStackTrace();
        } finally {
            // Remove all the temp files.       
            service.cleanUp(true);       
        // handle any error
        if (error != null) {
            error.printStackTrace();
            if (binder.getLocal("StatusCode") == null) {
                binder.putLocal("StatusCode", String.valueOf(error.m_errorCode));
                binder.putLocal("StatusMessage", error.getMessage());
            } else {
                throw new ServiceException(error.m_errorCode,
                        error.getMessage());

    I guess it is caused by the fact that some of variables in the binder refer to the first workflow item. My bet would be dDocName.
    Try to find out what's in the binder if you approve the second item from GUI and what's there when you do it from your program. That should give you enough info what you need to change.

  • Submitting a Signed PDF form in Workflow

    Hello,
    Is there anyone experienced submitting signed PDF form in workflow?
    We have tried to use a PDF form designed using AFD 5.0 along with AWS 6.2 to automate the approval process. But when the initiator signs the document, using the signature object, and then submit it, the next participant will get the form with empty signature filed.
    Additionally, when you sign the form, you get the green check mark, then when you submit the form, it seems that the submit will change the data in the form and the green check mark will convert into gray question mark.
    You help is highly appreciated.
    PS: anyone there used Biometric Signature tools (such as CyberSIGN, CIC, or SoftPro) to digitally authenticate signers/signatures in PDF forms/document and used it in a workflow or web applications?
    Regards,
    Yasser

    If you have access to Acrobat, it would be possible to set up the form so that an automatically generated unique identifier is include in a (hidden) field so you could identify multiple submissions from a particular instance of a form. You could remove all but the most recent record from the response table to keep the summary reports current. If you'd like more info, post again.

  • In MSS PCR Send button not working

    Hi,
    We are trying to implement ESS/MSS 1.0 SP 8 on EP 7.0 SP 11 and ECC 6.0. We are using the application on https. SSL has been configured and is working fine. We are using PCR under MSS, which also runs on https. SSL for ADS has been configured and we are able to see the PCR pdf forms. Now when we try to edit the form, and click Send button (Review Form and Save phase) its going on to the Completed page, rather remains in an un ending state. The Completed page is not showing up. We tried to use the application on http and everything is working fine.
    Please help.
    Regards,
    Piyush.

    Solution:
    When you configure HTTPS make sure you dont get a popup window of the certificate and even if you get all the three items (like trusted name, expiry etc) should be green and no warning.
    Regards,
    Piyush.

  • Some Users cannot Open Workflow Approval Task

    We have a SPD workflow published to our production site and it includes a 'Start Approval Process' task which involves a number of users (determined by a lookup to another list) this worked brilliantly until we republished the workflow with some minor changes,
    none of which were to this particular approval task. Now we are seeing some strange behaviours. When some users click the task to approve they are seeing 'This from cannot be opened in a browser, To open this form use Microsoft Infopath'. Now strangely it's
    only certain users, if you're a site collection admin you never have this error. So if a user previously had the error and i then add them to the site collection administrators list the error goes away and they can complete the task.
    Obviously not a solution! giving users full control permissions on the task list or task item doesnt fix the error either. The same workflow on our UAT works without any issues. The task forms in SPD have not been customised either. Its a SP2010 Standard
    farm with no infopath services obviously. Bizarrely there are some users with only Contribute rights to the task list who can open approve tasks, so it's looking like a permissions issue to me but I'm at a loss to find a fix. I've tried totally removing
    the worklows and republishing, regenerating the .xsn task forms in SPD by deleting them and republishing, removing and re-adding the task related content types to site, Changing the Approval Task settings 'only allow users to edit their tasks...' to false
    and then back to true, the works, but to no avail.
    Anybody any ideas?
    TIA
    Chris

    Hi,
    According to your post, my understanding is that Some Users cannot Open Workflow Approval Task.
    I recommend that you can create a new list and workflow to check whether it works.
    Then use the user who get the error to open task.
    If he can open the task in the brower, the issue is related to the older list.
    Then you can use the new created list and assgin the task.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/en-US/67dc8577-f248-4d6c-bb82-3aca0f084d24/this-form-cannot-be-opened-in-a-web-browser-error-not-an-infopath-form?forum=sharepointcustomizationprevious
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Activation of cost of Sales Accounting in 6.0 version

    Dear Expert, I would like to activate COSA in SAP 6.0 version with New GL activated with profit centre splitting. Can u please advise me any step by step documant guide to implement. Regards, Alok Moderator: Please, read and respect the rules of the

  • Close Document Viewer window through ABAP program

    Hi Experts, I have requirement is to close opened Document Viewer window (Txn : SDV) through ABAP report If anybody worked on this please help me  regarding this. Thanks and Regards, Shivanand Kalagii

  • I Need Urgent Help In Database migration

    I want to creat a Microsfe Access Project from an existing data on Oracle Server How Can I Do This? Is It Possible?

  • MSI 275 GTX Lightning, overcklocking procedure

    Hi, I will be very happy if you can help me with my problem. I bought MSI GTX 275 Lightning, especially for games and easy overclock, but i have problem with these. First I tried to use Utility from CD MSI Lightning Afterburn, but when is programm st

  • Oracle 10g sql tuning

    I am on Oracle 10.2.0.3 on Windows 2003. I have a third party package whose code cannot be modified. There are several queries written using NOT clauses, as a result Oracle does full table scan and hash joins. select * from svp_view_s where NOT a_web