<?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>topic Re: Workflow for approving BOM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491698#M2002577</link>
    <description>&lt;P&gt;Also if i start transaction CS01 , event (CHANGE) is triggered. Not sure how to change that flow. &lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 09:19:17 GMT</pubDate>
    <dc:creator>rekha_manjunath2</dc:creator>
    <dc:date>2022-01-05T09:19:17Z</dc:date>
    <item>
      <title>Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491683#M2002562</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;
  &lt;P&gt;I have a scenario with single step approval for workflow. The scenario is &lt;/P&gt;
  &lt;P&gt;User tries to create or change BOM (CS01 / CS02). The status of BOM should be made inactive (2) while saving. &lt;/P&gt;
  &lt;P&gt;Once the BOM is saved, it has to be sent to approver to approve the BOM. &lt;/P&gt;
  &lt;P&gt;The approvers are maintained in one role (provided by functional). I am new to workflow and i am not sure what should be the steps to be performed. Have checked several forums and tried to replicate it. I have created a custom BOM in SWO1 using BUS1080 and created 2 events create and change. &lt;/P&gt;
  &lt;P&gt;But what ever i execute, its always the change event which will trigger. Could you please provide what steps to start with and what all should be noted till it completes the workflow.&lt;/P&gt;
  &lt;P&gt;Help will be really appreciated, as i am stuck at this position and not able to proceed.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Rekha&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 06:41:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491683#M2002562</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-04T06:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491684#M2002563</link>
      <description>&lt;P&gt;Could you explain what code you did to trigger the custom events? Via change documents?&lt;/P&gt;&lt;P&gt;NB: this other discussion contains information about doing the changes: &lt;A href="https://answers.sap.com/questions/11665490/business-object-bus1080-with-3-events.html"&gt;Business object BUS1080 with 3 events | SAP Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 07:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491684#M2002563</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-04T07:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491685#M2002564</link>
      <description>&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;Thanks so much for your response. Not sure how the events are triggered. As i have copied from standard BO, i have not written any exit or enhancement to trigger this. Not sure what i am doing is right or wrong. I have attached all the screen shots of what i have performed in the workflow.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rekha&lt;A href="https://answers.sap.com/storage/temp/2006944-2.png" data-attachment="2006944"&gt;2.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006945-3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006946-4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/2006947-5.png" data-attachment="2006947"&gt;5.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006948-6.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006949-7.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006950-8.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006951-9.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006952-10.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 08:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491685#M2002564</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-04T08:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491686#M2002565</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;Kindly review the screen shots and let me know please. It will be very helpful for me &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rekha&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 13:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491686#M2002565</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-04T13:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491687#M2002566</link>
      <description>&lt;P&gt; If you want to target someone, if this person has posted an Answer, use the button COMMENT, if this person is the Original Poster of the question he/she will be automatically informed, otherwise copy/paste their hyperlinked name so that the person receives a warning (NB: @ doesn't work/but typing this character will suggest hyperlinked names).&lt;/P&gt;&lt;P&gt;Example: &lt;SPAN class="mention-scrubbed"&gt;rekha.manjunath2&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491687#M2002566</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-04T14:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491688#M2002567</link>
      <description>&lt;P&gt;Please use the COMMENT button for comments, questions, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area. &lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491688#M2002567</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-04T14:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491689#M2002568</link>
      <description>&lt;P&gt;hi Sandra,&lt;/P&gt;&lt;P&gt;Apologies, will click on Comment. Sorry was not aware of this.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491689#M2002568</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-04T14:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491690#M2002569</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;Kindly review the screen shots and let me know please. It will be very helpful for me&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rekha&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491690#M2002569</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-04T14:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491691#M2002570</link>
      <description>&lt;P&gt;I have made my configurations in SWEC.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006953-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491691#M2002570</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-04T14:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491692#M2002571</link>
      <description>&lt;P&gt;I don't understand why CS01 always creates change documents in CDHDR with CHANGE_IND always set to "U" (which leads at looking at event in SWEC "on update" by default). &lt;/P&gt;&lt;P&gt;What you can do is defining a custom function module in SWEC to select the Event ID you want ("CREATED"), for instance by checking if [EDIT] the parameter CHANGEDOCUMENT_HEADER-TCODE is equal to CS01 (better use this parameter rather than my old proposal SY-TCODE / CL_ABAP_SYST=&amp;gt;GET_TRANSACTION_CODE( ) which maybe won't work as the function module is called in an update task (?)).&lt;/P&gt;&lt;P&gt;Maybe it's not a good idea, I don't know much of Materials Management.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 20:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491692#M2002571</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-04T20:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491693#M2002572</link>
      <description>&lt;P&gt;There is a standard FM "CS_H2M_MBOM_ADD_HEADER" which has info on header. Can the same be used in the event ID. &lt;/P&gt;&lt;P&gt;Is this the place for me to create container, how would i have to create the container. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2006978-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 04:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491693#M2002572</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-05T04:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491694#M2002573</link>
      <description>&lt;P&gt;how do i change the BOM status from 1(Active ) to 2(Inactive) inside the workflow. Not sure if that is getting triggered.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 04:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491694#M2002573</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-05T04:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491695#M2002574</link>
      <description>&lt;P&gt;CS_H2M_MBOM_ADD_HEADER hasn't got the right interface. Why did you select this function module?&lt;/P&gt;&lt;P&gt;Please display field help.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 08:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491695#M2002574</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-05T08:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491696#M2002575</link>
      <description>&lt;P&gt;Concerning the update of BOM status, it's a completely different question, maybe you'll reach more people by posting a new question. NB: I have found the same question with two answers.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 08:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491696#M2002575</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-05T08:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491697#M2002576</link>
      <description>&lt;P&gt;i did a search and found this CS_H2M_MBOM_ADD_HEADER which is related to BOM.&lt;/P&gt;&lt;P&gt;I am stuck at a place for workflow triggering part. The mail is triggering to approver , but the material number is not being displayed. Approver is not able to approve for that specific material number. If this taken care then the workflow is working fine. &lt;/P&gt;&lt;P&gt;Could anyone please help on this. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2007001-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 09:17:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491697#M2002576</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-05T09:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491698#M2002577</link>
      <description>&lt;P&gt;Also if i start transaction CS01 , event (CHANGE) is triggered. Not sure how to change that flow. &lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 09:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491698#M2002577</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-05T09:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491699#M2002578</link>
      <description>&lt;P&gt;In the email, &amp;amp;Material&amp;amp; refers to container element named "Material".&lt;/P&gt;&lt;P&gt;For having event CREATED instead of CHANGED, what you can do is defining a custom function module in SWEC to select the Event ID you want ("CREATED"), for instance by checking if the parameter CHANGEDOCUMENT_HEADER-TCODE is equal to CS01. See field help in SWEC.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 11:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491699#M2002578</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-05T11:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491700#M2002579</link>
      <description>&lt;P&gt;not sure whether it works (not clear to me if APPEND to events is needed), but you get the idea:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION Z_SWEC_MATERIAL_BOM_CREATED
  IMPORTING
    VALUE(CHANGEDOCUMENT_HEADER) TYPE CDHDR OPTIONAL
    VALUE(OBJECTTYPE) TYPE SIBFOTYPE OPTIONAL
    VALUE(EVENT) TYPE SWECDEXIT-EVENT OPTIONAL
  TABLES
    CHANGEDOCUMENT_POSITION LIKE CDPOS OPTIONAL
    EVENTS LIKE SWE_S_EVT OPTIONAL.



  IF changedocument_header-tcode = 'CS01'.
    events-event = 'CREATED'.
  ENDIF.

ENDFUNCTION.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jan 2022 14:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491700#M2002579</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-05T14:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491701#M2002580</link>
      <description>&lt;P&gt;hi Sandra,&lt;/P&gt;&lt;P&gt;I have created custom BO, parameters and in the program i have created my logic to change the status. But now my problem is the agents are not determining. I have assigned role and agents need to be picked from role. It was appearing earlier, not it has stopped suddenly. Dont know what caused this. Do you have any suggestion to this.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rekha&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 16:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491701#M2002580</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2022-01-06T16:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow for approving BOM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491702#M2002581</link>
      <description>&lt;P&gt;The question was about to trigger the event CREATED. I don't even know if you succeeded. If you want to discuss another point, please create a new question.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 16:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-for-approving-bom/m-p/12491702#M2002581</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-06T16:56:13Z</dc:date>
    </item>
  </channel>
</rss>

