<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Change Workflow-Instance-Container values in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699648#M2111699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surjith and all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oh man. I am not the expert like you. I am not able to handle with the mentioned function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only have a lot of Workflow-Instances with their IDs (TOP_WI_ID). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that I use the ID and take all information from the table sww_cont for a workflow. But there are not all information. As I said the information of father-object and child-object are not contained in table sww_cont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also searched for functionl module which do the same job. And found for e.g. &lt;/P&gt;&lt;P&gt;SWW_WI_CONTAINER_READ        &lt;/P&gt;&lt;P&gt;SWW_WI_CONTAINER_READ_OBJECTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as I said not all information are in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I am not able to handle all that thing &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am working and doing really hard to develop a report for my task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jun 2009 06:55:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-06T06:55:27Z</dc:date>
    <item>
      <title>Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaq-p/5699643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ask you how to change a value in a container of a Workflow-"Instance".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g.: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a workflow-instance which contains a (bor-) Object "Switchdocument". This switchdocument contains also a (Bor-) Object "serviceprovider". And I would like to change the value of the parameter of "serviceprovider".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is the relationship between the "father"-object and the "child"-object and where are the relationship saved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the table "sww_cont" and "sww_contob". But these tables are not enough, aren't?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because in the mentioned tables (sww_cont) I see the elements with their values of the container of the workflow-instance. I don't the elements with their values of the object (father-object) contained in the workflow-instance-container and also not the elements with their values of the object (child-object) in the father-object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or (explanation as a list)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workflow-Instance-Container:&lt;/P&gt;&lt;P&gt;1.element&lt;/P&gt;&lt;P&gt;2.element&lt;/P&gt;&lt;P&gt;3. Switchdocument (object)  (father-object)&lt;/P&gt;&lt;P&gt;3.1 element of switchdocument&lt;/P&gt;&lt;P&gt;3.2 .....&lt;/P&gt;&lt;P&gt;3.3 Serviceprovider (object) (child-object)&lt;/P&gt;&lt;P&gt;3.3.1 element of serviceprovider  &amp;lt;--- here I would like to change the value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I explained the situation in a detail way &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize if I don't use the right terms!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has a hint or a way to get to the "child-object" I would be very thankfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your answers in advance!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with lovely regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 23:23:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaq-p/5699643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T23:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699644#M2111695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds to me like you don't want to change the value of a workflow container element, but instead the value of an object instance's attribute. You'll have to find how that attribute gets its value (from a table, or a function module) and write a method to update it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rick Bakker&lt;/P&gt;&lt;P&gt;Hanabi Technology&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 03:32:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699644#M2111695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-06T03:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699645#M2111696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right. I want to change the value of an attribute of a, in my case, child-object in a wf-container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This value is setting in the workflow-definition. It is setting withhin a containeroperation-step. for e.g. (wf-containerelement) spinwonsystem = 'X'. Later, this element will be asked in a condition-step. depend on the condition the workflow goes a different way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my task is related to all workflow instances which are in work (not completed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand you  I don't have to change the container like (sww_cont). Instead I have to update the tables of the objects, which are contained in the workflow-container. is that right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the other question was: how is the relationship between father-object and child-object. look above please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for the hints!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 06:08:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699645#M2111696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-06T06:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699646#M2111697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to read and change the container values right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Check the below Function Modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CCM_BOR_WRAP_CONTAINER_GET     returns the container of a CCPROC BOR object&lt;/P&gt;&lt;P&gt;CCM_BOR_WRAP_CONTAINER_SET     sets the container of a CCPROC BOR object&lt;/P&gt;&lt;P&gt;CCM_BOR_WRAP_CONT_GET_ELEMENT  element get from a container of a CCPROC BOR object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SWC_ELEMENTS_GET               Read elements from container&lt;/P&gt;&lt;P&gt;SWC_ELEMENT_GET                  Read element from container&lt;/P&gt;&lt;P&gt;SWC_ELEMENT_SET                    Write ABAP field in container&lt;/P&gt;&lt;P&gt;SWC_ELEMENT_SET_NEXT           Read element from container&lt;/P&gt;&lt;P&gt;SWC_ELEMENT_TYPEINFO_GET       Read element from container&lt;/P&gt;&lt;P&gt;SWC_TABLE_GET                        Read internal table from container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 06:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699646#M2111697</guid>
      <dc:creator>surjith_kumar</dc:creator>
      <dc:date>2009-06-06T06:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699647#M2111698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for the fast answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try all given function modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 06:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699647#M2111698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-06T06:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699648#M2111699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surjith and all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oh man. I am not the expert like you. I am not able to handle with the mentioned function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only have a lot of Workflow-Instances with their IDs (TOP_WI_ID). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that I use the ID and take all information from the table sww_cont for a workflow. But there are not all information. As I said the information of father-object and child-object are not contained in table sww_cont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also searched for functionl module which do the same job. And found for e.g. &lt;/P&gt;&lt;P&gt;SWW_WI_CONTAINER_READ        &lt;/P&gt;&lt;P&gt;SWW_WI_CONTAINER_READ_OBJECTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as I said not all information are in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I am not able to handle all that thing &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am working and doing really hard to develop a report for my task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 06:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699648#M2111699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-06T06:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699649#M2111700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why you can't find object instance attribute values in those tables is because an object is completely defined by object type and key, so there is no need to store the attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say you want to change an attribute of a subobject. Is this a permanent change? If yes, then (as I said before) you will have to write a method to do so and call it (from the workflow or anywhere else).&lt;/P&gt;&lt;P&gt;If the change isn't permanent then you should copy the attribute to a workflow container and just update that with a container operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're still unsure then maybe you could explain some more about the situation with an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rick Bakker&lt;/P&gt;&lt;P&gt;Hanabi Technology&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 18:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699649#M2111700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-06T18:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699650#M2111701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is not possible to change the value of the attribute as it is key dependent or it is a constant that is evaluated using the code you have written for attribute. I will request you to may be store the value of attribute in a separate container element and then change its value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arghadip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 03:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699650#M2111701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T03:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699651#M2111702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at first I thank you all for your answers!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand the values are permanently saved in the subobjects. Like I said the subobject (Distributor) with the attribute, e.g. Serviceprovider in Own System = 'X' is contained in the Object Switchdocument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means for me that I have to retrieve the attribute of the subobject via a method for the special instance and change it, e.g. to set it blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have forgotten to say that I am developing a report (se38) to change all attributes of workflow-instances with object/subobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said above in a condition step it is asked whether a "serviceprovider is in own system". if yes (means = "X") then the process has another way. And I have to change the "X" to "blank", so the workflow goes always the, in my case, second way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the next time, I will explain my problem in a more detail way &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with kind regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 05:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699651#M2111702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T05:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699652#M2111703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to change the attribute-values of all "not-completed" workflows!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 05:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699652#M2111703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T05:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699653#M2111704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is there still a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update the attributes of (sub)objects you will need to create a method to do so in the underlying tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rick Bakker&lt;/P&gt;&lt;P&gt;Hanabi Technology&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 17:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699653#M2111704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T17:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change Workflow-Instance-Container values</title>
      <link>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699654#M2111705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thank you very much for the detail information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I will be able to help other user like you &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 07:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/change-workflow-instance-container-values/qaa-p/5699654#M2111705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T07:50:50Z</dc:date>
    </item>
  </channel>
</rss>

