Creation of service for Automated Activity

Hi All
I am new to BPM.  I have done some process of human activity with help of some tutorials. It was working fine.
I am following this [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/501bd56f-a5a6-2b10-4fbf-a61a64055fe4] link.
I am struck in page No.16.
I created Web Dyn Pro Component and it is for Human activity.
Now I would like to create a service for automated activity from the scrach.
I don't know in which perspective it has to create. But It will be good if it is a CAF Application.
Can anyone suggest a link for step by step process to create a service for automated activity.
Regards,
Nithya
Edited by: Nithya on Jan 29, 2009 10:20 AM

Hi Nithya,
              Yes , u can use Caf Application for Automated Activity .
Refer this doc for Automate Activity .
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-process-management/business-process-modeling/creating%20bpm%20process%20with%20human%20and%20automated%20activities.pdf]
u can create composite application in composite Application perspective.
Thanks and regards
Edited by: Fazal Ahamed on Jan 29, 2009 12:15 PM

Similar Messages

  • Services for Object activation required for VA02 in SAP 4.0B version

    Hello,
    This is regarding Sales Order Change (VA02) and If I select the  MENU navigation :  SYSTEM -> Services for Object in ECC 6.0 then it is populating one Pop-up stating that "Sales Order XXXXXXX" Here we have the option for "Create Attachment".
    For this we need to do one prerequist in SAP ECC 6.0 Goto Tcode SU01 under the "Parameter" Tab we need to provide the following Parameter ID i.e
    SD_SWU_ACTIVE and Parameter value is : "X".
    The Same scenario I need in SAP 4.0b version.
    It would be grateful if you can helpout in this issue.
    Than you very much in Advance ...

    Hi,
    Absolutely it is not possible.
    The services for object is only visible, once the original object is created.
    Even if you check for normal F-02 entry also, it wont be visible during entry, but will be visible after posting if we go thru FB02 or FB03.
    Any attachment can be assigned through the services for object, is possible only after creation of the dependent / original data.
    So for AS02 and AS03, the dependent data has to be there in the DB, which has been created with AS01.
    Thanks,
    Srinu

  • Creating Boundary Events for Automated Activity consuming an RFC

    Hi All,
    Can somebody help me in creating the Boundary Events for an Automated activity which is consuming an RFC. I got the docs and few how to for WS Consuming Automated activity, but I couldnu2019t find anything which describes for RFC consuming Automated activity. Your help will be greatly appreciated.
    Regards,
    SrinivaS

    Hello,
    I am facing the same problem. Could you please explain the method you followed in order to solve this issue?
    Thanks in advance.

  • Creation of Services for MSS 1.41

    Good Night.
    Someone can help me with a suggestion of the cause of the isssue that i attach .
    [Link Documentation|http://www.box.net/files#/files/0/f/39331722]
    In the file i explain my issue.
    Any help is highly appreciated.
    Regards

    Good Night Siddharth Rajora 
    Please check newly the following link-
    Regards

  • Creation of  WSDL file & import it in the creation of automated activity

    Hi Friends,
    I want to create BPM process for automated activity.I have created task for human activity. I have created CAF Application,but I dont know how to ceate/import WSDL file(This WSDL file is used to assign the interface to the automated activity).Can anyone explain about WSDL file creation and it's significance.
    (I am following one document 'Creating BPM Process with Human and Automated Activities' from this link ' https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/501bd56f-a5a6-2b10-4fbf-a61a64055fe4')
    Regards,
    Pranjali

    Hi Pranjali,
    WSDL is a document written in XML. The document describes a Web service. It specifies the location of the service and the operations (or methods) the service exposes. WSDL types are used to describe the data. XML Schema is used (inline or referenced) for this purpose.
    Refer to the below link for more deatils on WSDL:
    http://en.wikipedia.org/wiki/Web_Services_Description_Language
    Also there are numerous documents avaiable on this topic, just do a google search.
    Hope this helps!!
    Cheers,
    Arafat

  • Error while invoking a automated activity

    Hello,
    I don't know whether this is the correct quesiton to this forum but since I am getting error in NW BPM process, I am writing it here.
    I have created a process which is getting triggered by WS call. The first step after start is automated activity where a call to SAP is made via a sync proxy.
    When I tried to execute the entire BPM process, I am getting the error in BPM Logs as
    "A technical error during invocation: Could not invoke service reference name
    eb7cf84e-f05c-41c4-940a-8f95113179f3, component name
    example.org~<DC Name>~BPMcomponent"
    Actually 2 things I did as a part of correction, the first is to set the communicaiton protocol is XI in the service reference of an outbound service interface that is used to call SAP system and change the interface pattern of its inbound interface to XI3.0 compatible. as suggested by Udo Martens in one of his blog. Also the inbound interface in the start step is of XI3.0 compatible.
    I re-deployed the project which I verified by going through NWA logs and also checked the configuration as given in blog. I have collaboration agreement done in PI where Sender is SOAP communication channel with XI protocol and it is as per the sender defined into the service reference.
    Sending a message from SAP NetWeaver BPM process to PI fails via automated activity - Technology Troubleshooting Guide -…
    Also I read one thread where it was resolved by clearing JCO caches but it seems the call was RFC call unlike in my case it is proxy call.
    "Could not invoke service reference" for automated activity (RFC call)
    Any clue what could have went wrong. I could see a cache issue here. But how to clear BPM cache.I couldn't find such option on NWA.
    Thanks in advance.
    Regards

    Hi Ameet,
    I'm facing same error,
    Could you  tell me how to apply the solution? Please.
    Thanks in advantage,
    Regards.

  • Automated activity not executing in BPM process

    Hi All,
    We have created a BPM process in NWCE72, and it was executing fine.
    When we added an automated activitiy and assigned a Web Service created from a rule and run the process, it is possible to run the process till the automated activity only. The automated activity is throwing error a snapshot of the same pasted belw
    If anyone has encountered simllar problem kindly let us know how to overcome.
    Lookforward for help in overcoming this problem
    Down below it is saying that "You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed. "
    =====================================================================================================
    An error occurred while executing transition AUTOMATED_ACTIVITY_Determine_Criticality(Token_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{64810061-7973-11df-872e-02004c4f4f50}(Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(?),1,null,operator,ff12474b71b3fa29a516e53e125eaa18), Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(null,null,null,false), Context_0_DO_IssueTrackingProcess_2baa0100a79b04782f33bbea2160cdf3{4be7da30-7973-11df-c7a0-02004c4f4f50}(Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3{4be7da15-7973-11df-b824-02004c4f4f50}(?),Scope_14_Equipment_Issue_Reporting_2baa0100a79b04782f33bbea2160cdf3{4be7da2f-7973-11df-cc05-02004c4f4f50}(?),1,true,false,null)): com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Equipment_Issue_Reporting:AUTOMATED_ACTIVITY_Determine_Criticality(
          com.sap.glx.adapter.BPMNAdapter:Token_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3 token,
          com.sap.glx.adapter.BPMNAdapter:Instance_0_Equipment_Issue_Reporting_Process_2baa0100a79b04782f33bbea2160cdf3 parent,
          com.sap.glx.adapter.internal.ContainerAdapter:Context_0_DO_IssueTrackingProcess_2baa0100a79b04782f33bbea2160cdf3 context_1){
      exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
      exit:onActivation("E01DFA6EF00BAFC0797011DFB05502004C4F4F50", parent, token);
      delete exit;
      controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
      controller:setContext(token);
      delete controller;
      callscope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_7_Equipment_Issue_Reporting_2baa0100a79b04782f33bbea2160cdf3(parent);
      call=new com.sap.glx.adapter.UnifiedConnectivityAdapter:Call_0_Determine_Criticality_2baa0100a79b04782f33bbea2160cdf3(callscope);
      ppUsername=token:ppUsername;
      ppHash=token:ppHash;
      call:setPrincipal(ppHash, ppUsername, token);
      request=callscope:instantiate("http://www.sap.com", "#RulesTypes-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
      mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
      data=context_1:getData();
      yves_in:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", data, "C000F957BEB5AA9E0E98E96A67EE2D06");
      yves_out:setData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", request, "8F3954721A11A18DF1A2321F9544700D");
      mapper:map("E01DFA6EF00DF9B0797011DFC8A002004C4F4F50_2baa0100a79b04782f33bbea2160cdf3", yves_in, yves_out);
      request=yves_out:getData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", "8F3954721A11A18DF1A2321F9544700D");
      delete yves_in;
      delete yves_out;
      delete mapper;
      call:setInputData("http://www.sap.com", "$http://www.sap.com:Request-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", request);
      response=callscope:instantiate("http://www.sap.com", "#RulesTypes-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
      call:setOutputData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", response);
      call:invoke();
      response=call:getOutputData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet");
      mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_in:setData("http://www.sap.com", "$http://www.sap.com:Response-demo.sap.com-equuipissueruledc-CriticalityRuleSet-CriticalityRuleSet", response, "8F3954721A11A18DF1A2321F9544700D");
      data=context_1:getData();
      yves_in:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", data, "C000F957BEB5AA9E0E98E96A67EE2D06");
      bind context_1;
      data=context_1:getData();
      scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "C000F957BEB5AA9E0E98E96A67EE2D06");
      copy=scope:copy(data);
      delete scope;
      yves_out:setData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", copy, "C000F957BEB5AA9E0E98E96A67EE2D06");
      mapper:map("E01DFA6EF0106AB0797011DFBC6D02004C4F4F50_2baa0100a79b04782f33bbea2160cdf3", yves_in, yves_out);
      data=yves_out:getData("demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting", "$demo.sap.com/reportissueprocessdc/Equipment_Issue_Reporting_Process/Equipment_Issue_Reporting:DO_IssueTrackingProcess", "C000F957BEB5AA9E0E98E96A67EE2D06");
      context_1:setData(data);
      delete yves_in;
      delete yves_out;
      delete mapper;
      delete call;
      delete callscope;
      token:state=0;
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:68)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:126)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:121)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:118)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:169)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:277)
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "call:invoke()"
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:796)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
    ... 11 more
    Caused by: java.lang.RuntimeException: com.sap.glx.adapter.api.AdapterException: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject$PropagatedCall.run(UnifiedWebServiceCallObject.java:127)
    at com.sap.glx.core.login.LoginPersisterProxy$1.run(LoginPersisterProxy.java:76)
    at com.sap.glx.core.resource.impl.j2ee.J2EELoginPersisterImpl$1.run(J2EELoginPersisterImpl.java:80)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at com.sap.glx.core.resource.impl.j2ee.J2EELoginPersisterImpl.invokeAsPropagated(J2EELoginPersisterImpl.java:74)
    at com.sap.glx.core.login.LoginPersisterProxy.invokeAsPropagated(LoginPersisterProxy.java:72)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:93)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:528)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
    ... 12 more
    Caused by: com.sap.glx.adapter.api.AdapterException: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:151)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject$PropagatedCall.run(UnifiedWebServiceCallObject.java:125)
    ... 23 more
    Caused by: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name b51513b6-379d-4c0b-be2a-a3b13d7fe23b, component name demo.sap.comreportissueprocessdcBPMcomponent, application name demo.sap.com/reportissueprocessdc.
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:362)
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:116)
    ... 24 more
    Caused by: com.sap.engine.interfaces.sca.config.exception.ESBConfigurationException: Configuration not found for application: demo.sap.com/reportissueprocessdc,composite:reportissueprocessdc,component:demo.sap.comreportissueprocessdcBPMcomponent,reference:b51513b6-379d-4c0b-be2a-a3b13d7fe23b,bindingType:WS
    at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:450)
    at com.sap.engine.services.sca.plugins.ws.WebServiceImplementationInstance.initWsdas(WebServiceImplementationInstance.java:193)
    at com.sap.engine.services.sca.plugins.ws.WebServiceImplementationInstance.accept(WebServiceImplementationInstance.java:76)
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
    ... 25 more
    Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/reportissueprocessdc,composite:reportissueprocessdc,component:demo.sap.comreportissueprocessdcBPMcomponent,reference:b51513b6-379d-4c0b-be2a-a3b13d7fe23b,bindingType:WS
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:276)
    at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:443)
    ... 28 more
    Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/reportissueprocessdc,serviceRefId:reportissueprocessdc_demo.sap.comreportissueprocessdcBPMcomponent_b51513b6-379d-4c0b-be2a-a3b13d7fe23b_WS. Please check the configuration details from the NWA. You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed.
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:334)
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:263)
    ... 29 more
    Date:  2010-06-16
    Time:  19:17:16:800
    Category:  com.sap.glx.core.kernel.execution.LeaderWorkerPool
    Location:  com.sap.glx.core.kernel.execution.LeaderWorkerPool
    Application:  sap.com/com.sap.glx.process.ear
    Thread:  Galaxy 340 / Follower Worker
    Data Source:  j2ee\cluster\server0\log\defaultTrace_00.trc
    Arguments:  
    DSR Transaction:  c6a0ff48796211dfca1602004c4f4f50
    Message ID:  com.sap.BPM.core_svc.000047
    Session:  0
    Transaction:  
    User:  SAP_BPM_Service
    Time Zone:  +0100
    Customer Message Component:  BC-BMT-BPM-SRV
    DC Name:  com.sap.glx.core.svc
    Correlation ID:  5164050000004002
    DSR Root Context ID:  C6A0FF48796211DFCA1602004C4F4F50
    DSR Connection:  c6a0ff48796211dfca1602004c4f4f50
    DSR Counter:  0
    Host:  dcwwwx11871
    System:  CE2
    Instance:  J00
    Node:  server0
    Log ID:  02004C4F4F50039E000000010000162C

    Hi,
    Your Error Says
    You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed. at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration
    Procedure to Create Provide System
    https://cw.sdn.sap.com/cw/docs/DOC-101203 (From the service where you are consuming)
    Procedure to Create and Assign ServiceGroup
    While importing the Enterprise Service into Automated Activity it will ask the name of Service Group.Please check what is the Service Group Name and Assign the Service Group to the Provider System by following the Below Procedure.
    https://cw.sdn.sap.com/cw/docs/DOC-109461
    Thanks
    Srikanth

  • Consuming a CAF Web Service in an automated activity

    Hi
    I'm trying to import a WSDL that points to a custom service so it can be used within an automated activity within my BPM.  I am importing the WSDL using the Remote Location option and am entering the WSDL.  It then appears to import with no issues but has a warning about not being able to validate the WSDL.  However, I can't then see the newly imported WSDL in the list of available interfaces for the automated activity.  I've imported other WSDL's and I can see those.  Can anyone provide any pointers?

    Hi,
    can you open the eclipse error log and post any errors you find there?
    Regards,
    Christian

  • Reduce number retries for an automated activity on a fault-message

    Hi everyone,
    is it possible to reduce the number of retries if an automated activity gets a fault response? With correcting my logical destinations it was possible for me to achieve communication to a webservice outside the netweaver.
    Now I tried the same with a selfmade deployed process and it "worked" - too good. When the automated activity tries to call the webservice, which is a synchromous bpm-process I created, it recieves a fault message. This fault.message is a "the process has been triggered" message that starts my next process. Now that the automated activity gets the "error" I wanted it retries 3 times to get a working connection with the service - so I get 3 new process instances. Is it possible to reduce the retry-counter and if yes, where can I do that? I already looked for this option in the service registry and in the logical destination settings. There isn't an option in the NWDS for the automated activity and i haven't found something in the help.sap.com,
    And yes I know that this isn't usefull for an operativ system.
    With kind regards,
    Markus

    Hi Markus,
    The number of retries is configured internally and cannot be modified on a per automated activity basis. To cover this use cases (BPM process A calling BPM Process B via WS), it is recommend to define the service interface of the process B as "one -way" (request without response) so that no SOAP fault it returned if case of successful start. In case an issue occurs during the start of process B, a SOAP fault will be returned.
    Hope this helps,
    David

  • Dynamically adding "Runbook Automation Activity" to Service Requests?

    Hi,
    Imagine the scenario where a user (through the self-service portal) asks for access to 3 different folders, and each of these 3 folders have different owners. I want the user to be given immediate access when one of them is approved. I have created a parallel
    sequential workflow for this.
    This is probably best if I start off with a picture:
    When this service-request is created, it only contains the initial runbook (RB416). This runbook then dynamically adds the parallel activity (PA417) and any sequential activities that are needed (SA418 and SA421) which contains one review activity and one
    runbook automation activity (which gives the user access once the above approval has been granted).
    The approval activities added by orchestrator work fine without any issues, but the added runbook activities added from orchestrator fail, and I have not been able to figure out why. I could not find any articles or guides detailing how to best add
    a runbook "on the fly" from orchestrator, are there any? Or can anyone here explain how to best do this?

    does the Runbook (RB416) assign the right "Sequence ID" (per Work item) when the parallel sequential activities (inc. RA & RB) are created.
    I guess it will be easier to create the SR template with 3 x  parallel sequential workflows, then let the first runbook(e.g. RB416) to
    skip the appropriate Sequential workflows based on the user inputs.
    Hi Ayman and thank you for your response,
    Yes, the sequence ID's are correct, I think that the problem is how I am adding the runbook automation activities.
    It would be easier to create the template with 3 parallel sequential activities, but then it would not be very dynamic and I want it to work even if we need 4 approvals, or even 20 :)
    As I said, I think the problem is how I have added these runbooks. I have tried to find any articles or posts explaining how to add runbooks to a service request from orchestrator, but I have not been able to find one so I basically had to attempt it without
    guidance (with a poor result ;) ).
    Do you know if there are any articles or posts explaining this process?

  • Exception on creation of service metadata for WSDL URL

    Hi expert,
    im consuming a wsdl file in my wdj dc , and on trying to execute im getting exception as follows .
    WsdlApp--com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'E:\***********\MIOS_*********_********.wsdl' and service factory configuration 'null'
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:422)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
    at com.*****.wsdlwdj.batch.****************Batch.<init>(******************Batch.java:51)
    at com.*****.wsdlwdj.comp.*************Component.test**********Auth(************Component.java:266)
    at com.*****.wsdlwdj.comp.wdp.Internal****Component.test****Auth(Internal********Component.java:331)
    at com.*****.wsdlwdj.comp.WsdlView.wdDoInit(WsdlView.java:97)
    at com.*****.wsdlwdj.comp.wdp.InternalWsdlView.wdDoInit(InternalWsdlView.java:129)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:182)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:177)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.setSpnegoParameter(RequestManager.java:963)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:157)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:158)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:56)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:92)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:114)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:420)
    ... 55 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:155)
    ... 59 more
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:/usr/sap/*****/JC**/j2ee/cluster/server1/E:/****/FolderName/WSDLNAME.wsdl (No such file or directory) -> java.io.FileNotFoundException: /usr/sap/***/JC**/j2ee/cluster/server1/E:/WSDL FILE/FolderName/wsdlname.wsdl (No such file or directory)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
    ... 60 more
    Caused by: java.io.FileNotFoundException: /usr/sap/***/JC**/j2ee/cluster/server1/E:/WSDL FILE/FolderName/wsdlname.wsdl (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
    at java.net.URL.openStream(URL.java:913)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
    at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
    at com.sap.engine.lib.xml.parser.Parser.parse_DTDValidation(Parser.java:260)
    at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:271)
    at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
    at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1023)
    ... 62 more
    Regards
    Govardan

    im using 7.01 and here we have options to use No Logical Destinations , but now i created destinations at visual admin at Server>Services>Web Service Security>WebService Clients>Sap.com-->Dynamic WS Proxies., as WS_METADATA_DEST and WS_MODELDATA_DEST     and have filled in other details too like url  , user name , password etc
    now im getting another error like as shown below please help
    com.****.wsdlwdj.applicaiton.WsdlApp
    [EXCEPTION]
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'WS_METADATA_DEST' and WS interface '{http://****.com/****}MIOS_Matrix***********'. One possible reason is that the metadata destination 'WS_METADATA_DEST' has not been properly configured; check configuration.
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:440)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
    at com.****.wsdlwdj.model.test.TestModel.<init>(TestModel.java:51)
    at com.****.wsdlwdj.comp.VcWsdlComponent.matrixAuthExecut(VcWsdlComponent.java:448)
    at com.****.wsdlwdj.comp.wdp.InternalVcWsdlComponent.matrixAuthExecut(InternalVcWsdlComponent.java:280)
    at com.****.wsdlwdj.comp.VcWsdlComponent.wdDoInit(VcWsdlComponent.java:132)
    at com.****.wsdlwdj.comp.wdp.InternalVcWsdlComponent.wdDoInit(InternalVcWsdlComponent.java:225)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.setSpnegoParameter(RequestManager.java:963)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:157)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 500 while accessing URL: http://devpid:8000/sap/xi/engine?type=entry&version=3.0&Sender.Service=BS_****_PORTAL&Interface=http%3A%2F%2F****.com%2Fbank_report%5EMIOS_Authorizers_List_Portal&sap-user=xi_portal&sap-password=****1234. Response Message: Empty HTTP request received. Content Type: text/xml. Body Content: <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Empty HTTP request received</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Empty HTTP query received; message processing not possible
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:246)
    at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:130)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
    at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:134)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:429)
    ... 49 more

  • Service entry sheet creation thru bapi for multiple line items

    HI All,
    WE are using BAPI_ENTRYSHEET_CREATE bapi for the creation of service entry sheet against service PO.
    We are able to create the service entry sheet successfully with single sevice line item using this bapi,but when we are going for multiple service line items in item services tab in aPO, we are able to create the service entry sheet with only one service line item although there are 4 service line items in the item service tab in the po.
    We know that this bapi cannot support more than one po line item as it has provision for only one line item at the header leavel in the bapi
    will be rewarded for the best solution.
    Regards,
    velu

    Hi,
    Do you know the note 420334?. There you have very useful information.
    Best Regards,
    Arminda Jack

  • Exception on creation of service metadata for WSDL

    trying to access webservice (generated on Oracle applic. Server)  as Adaptive WebServiceModel i get the following error:
    Exception on creation of service metadata for WSDL
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory
    Initialization problem. Could not load web service model. See nested exception for details.
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:88)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
         ... 53 more
    Caused by: java.lang.UnsupportedOperationException: Type {http://schemas.xmlsoap.org/soap/encoding/}Array is not supported!
         at com.sap.engine.services.webservices.espbase.client.dynamic.types.impl.MetadataLoader.loadMetadata(MetadataLoader.java:129)
    So, the code in WSDL is like:
    targetNamespace="http://com.rwe.lis.webservices/IWSFidLis.xsd"
             xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="ArrayOfcom_rwe_lis_model_Flurstueck" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
                <complexContent>
                   <restriction base="SOAP-ENC:Array">
                      <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="ns1:com_rwe_lis_model_Flurstueck[]"/>
                   </restriction>
                </complexContent>
             </complexType>
    generated by JDeveloper on Ora Server.
    So - how to get access to this WebService?!?
    Bernhard

    Hi,
       The use of SOAP-ENC:Array is not supported in NW because it is not WS-I compliant. For a possible solution check [this|Re: unknown namespace error when generating a client proxy; link.
    Regards,
    Satyajit

  • Exception on creation of service metadata for WS metadata destination

    Hi,
    I have imported a webservice from the backend to the model in webdynpro and i have also configured the destination for the metadata in the CE server but when i execute it its giving me  error as
    Exceptioncom.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination FLIGHT_GETLIST  and WS interface ZBapi_Flight_Getlist. One possible reason is that the metadata destination FLIGHT_GETLIST  has not been properly configured; check configuration.
    and during deployment i am getting the following warning
    local/SampleFlightList : References Test: There are no matching deploy time references (described in META-INF/SAP_MANIFEST.MF) for the following runtime references [sap.com/tcwdapi, sap.com/tcwdwslib~api] (described in the META-INF/application-j2ee-engine.xml)., file: SampleFlightList.ear, column 0, line 0, severity: warning
    can any one please help me to solve this issue.
    Thanks&Regards,
    Hamsa Shree

    Hi Hamsa,
    Did you also create and configure an "Execution Destination"?
    You can test the Metadata destination configuration on Web Service Navigator.
    On the web service navigator (http://hostname:portnumber/wsnavigator) search in the metatda destination you have created for the service you imported in web dynpro as a model. If you can find it there test it on the ws navigator.
    Best regards,
    Yasar

  • Services for Object in creation mode

    Hi colleagues,
    I am facing one problem and I would appreciate your help and ideas. I want to enable user to use a functionality of "Services for object" in creation mode (in my case transaction IW31). In change or display mode this functionality is enabled, so creating new BOR object and such things are not necessary.
    I understand that services for object are disabled by default in creation mode, because it is not meaningful to assign some documents to object which does not yet exist. But in theoretical way, it should be possible to implement some "tricky" solution. Probably some temporary object could be created at the start of IW31 and attachments could be assigned to this object. And in some user exit executed during processing of save statement (after all checks and such things), attachments could be re-assigned to a real (persistent) object. For unsaved orders it would be necessary to delete temporary object and also attached documents.
    Have someone implemented something similar? Or any helpful ideas?
    Thank you all in advance.
    Regards,
    Adrian

    Hi,
    We have implemented exactly the same in a Ztransaction. Not sure to what extent this will help you. Check below code
      CREATE OBJECT w_gosman
      EXPORTING
    *     io_container     = io_container
    *     is_bc_object     = is_bc_object
        is_object        =  wa_object            "BOR object
    *    it_service_selection =
    *     io_callback      = io_callback
    *     ip_start_direct  = space
        ip_no_instance   = l_inst             "Pass SPACE in your case
        ip_no_commit     = l_commit        "Pass SPACE in your case
        ip_mode          = c_e
      EXCEPTIONS
        object_invalid   = 1
        callback_invalid = 2
        OTHERS           = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    "Here just we are creating a reference by publishing the object.
    "During the transaction commit call below method.
      wa_object-objkey = "Pass your object ID.
    wa_object-objtyp = "Pass your business object
        CALL METHOD w_gosman->set_id_of_published_object
        EXPORTING
    *      is_bc_object   = is_object
          is_object      = wa_object
        EXCEPTIONS
          no_publication = 1
          OTHERS         = 2
        COMMIT WORK.
    Thanks,
    Vinod.

Maybe you are looking for

  • Unable to map a network drive in Windows 8.1 Professional

    I am using a Dell Venue 11 Pro tablet with Windows 8.1 professional. I was able to setup the domain on the tablet but I am unable to map any drives. The tablet is shown in Active Directory on our domain controller and I am using an established user n

  • Error in shopping cart

    Hi all, While creating the shopping cart i'm getting this problem "select storage location that is assigned to the plnat" for some othey product category ( extended ) "Plant for follow-on document missing" Any suggestion from your side ,please Thanks

  • How do i Resell my iphone

    wanna put it up on ebay/craigslist legitimately, but have no idea how to start the process. Can i transfer registration? should the new user get a different sim from att? what is apple's stance on a consumer resale of the phone used for personal use?

  • OAS 4.0.8.2 Installation

    I am trying to install OAS 4.0.8.2 on an NT 4.0 sp6 box. As the installation tries to register the ORB resource file it hangs. I can stop the process and the installation will complete, but the OAS doesn't run properly. Any suggestions?

  • Can only connect to smb share from Windows as "nobody"

    I'm trying to share some folders on my Mac using samba. When I connect from Windows, I do not get asked for a username and password, and I get connected as a guest user (nobody). What do I do to get connected as a real user? I've tried playing with /