<?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: Is it possible to trigger workflow without BOR instance and without created SO object in the system? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301193#M4610718</link>
    <description>&lt;P&gt;any ideas about that, dear experts?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 11:01:08 GMT</pubDate>
    <dc:creator>Astashonok</dc:creator>
    <dc:date>2020-11-18T11:01:08Z</dc:date>
    <item>
      <title>Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaq-p/12301190</link>
      <description>&lt;P&gt;As I got it from &lt;A href="https://help.sap.com/doc/PRODUCTION/saphelp_nw74/7.4.16/en-US/4f/3453f70a7b5542e10000000a421937/frameset.htm"&gt;documentation for BOR events&lt;/A&gt;, the events, both standard and custom ones, can be defined only when BOR objects change theirs status and/or state: CREATE, CHANGE, DELETE, APPROVE, RELEASE, etc.&lt;/P&gt;
  &lt;P&gt;But what about simulation of BORs? Do the workflow triggered in that case?&lt;/P&gt;
  &lt;P&gt;By simulation I mean running some business-functions without creating object: for example &lt;STRONG&gt;BAPI_SALESORDER_SIMULATE &lt;/STRONG&gt;or &lt;STRONG&gt;BAPI_SALESORDER_CREATEFROMDAT2 &lt;/STRONG&gt;with testrun = X?&lt;/P&gt;
  &lt;P&gt;Do BUS2032 events are triggered in that case? If not, can we somehow enable them?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 17:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaq-p/12301190</guid>
      <dc:creator>Astashonok</dc:creator>
      <dc:date>2020-10-23T17:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301191#M4610716</link>
      <description>&lt;P&gt;You may trigger the events manually (SWUE), but it will not be in test mode, it will be for real.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 12:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301191#M4610716</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-24T12:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301192#M4610717</link>
      <description>&lt;P&gt;so SWUE creates BOR objects and commits them to DB? without commit the workflow will not be triggered?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 14:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301192#M4610717</guid>
      <dc:creator>Astashonok</dc:creator>
      <dc:date>2020-10-24T14:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301193#M4610718</link>
      <description>&lt;P&gt;any ideas about that, dear experts?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 11:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301193#M4610718</guid>
      <dc:creator>Astashonok</dc:creator>
      <dc:date>2020-11-18T11:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301194#M4610719</link>
      <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;As  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; said, you can trigger events manually with transaction SWUE.  To do this, you need to fill in the business object key (so the Sales Order must already exist).  &lt;/P&gt;&lt;P&gt;Events are triggered all the time in SAP.  It only matters when you are trying to react to an event.  Since I'm not familiar with Sales Orders or those BAPIs, you could always run them with the 'X' and without the 'X' in the testrun parameter, and then look in the event log using transaction SWEL.&lt;/P&gt;&lt;P&gt;(The Event Log must first be turned on using transaction SWELS).&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Sue&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 20:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301194#M4610719</guid>
      <dc:creator>keohanster</dc:creator>
      <dc:date>2020-11-18T20:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301195#M4610720</link>
      <description>&lt;P&gt;Sorry. Didn't see your comment. You're correct.&lt;/P&gt;&lt;P&gt;NB: 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;</description>
      <pubDate>Thu, 19 Nov 2020 09:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301195#M4610720</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-11-19T09:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301196#M4610721</link>
      <description>&lt;P&gt;I ran the SWELS trace and I see that neither &lt;STRONG&gt;BAPI_SALESORDER_CREATEFROMDAT2 &lt;/STRONG&gt;(with or without TEST_RUN)&lt;STRONG&gt; &lt;/STRONG&gt;nor&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;BAPI_SALESORDER_SIMULATE &lt;/STRONG&gt;invokes Workflow start (BOR creation?). Is it the normal behavior or I have some inconsistency in my system. That is the question. Thx in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 11:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301196#M4610721</guid>
      <dc:creator>Astashonok</dc:creator>
      <dc:date>2020-11-19T11:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301197#M4610722</link>
      <description>&lt;P&gt;&amp;gt; To do this, you need to fill in the business object key (so the Sales Order &lt;STRONG&gt;must already exist&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;that is the problem, I want to start workflow for simulation, which means object does not exist and will not be created. So you saying this is impossible?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 11:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301197#M4610722</guid>
      <dc:creator>Astashonok</dc:creator>
      <dc:date>2020-11-19T11:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301198#M4610723</link>
      <description>&lt;P&gt;I apologize if what I've written below seems basic, but I wanted to be sure you and I are on the same page regarding the definitions of some terms.&lt;/P&gt;&lt;P&gt;A Workflow is different from a BOR object.  A BOR object is the technical representation of a business 'document' or transaction.  To view this functionality, I recommend that you go to transaction SWo1, and enter a business object type - perhaps BUS2032.  Then you will have to instantiate the business object - that is, give it a key for a document that already exists in your system.   You will see a list of Keys, Attributes, Methods, and Events on your BOR Object.   This is the information and activities that are defined for this BOR Object.  You can extend a BOR object (as delivered by SAP) by copying it into a Z-Version.&lt;/P&gt;&lt;P&gt;A Workflow is a set of tasks and decisions that determines what should be done with that object.     Workflows can be started from events - but only if they are linked to the designated event.   You can see which Workflows SAP has delivered by clicking on the where-used button from transaction SWo1.&lt;/P&gt;&lt;P&gt;As for your event trace, please ensure that you have turned it on first - events will only be written to your event log if you have turned the trace on.    Then you can test your BAPI, or run various SAP transactions.  You will only see workflows started if they are linked to an event (via transaction SWETYPV).&lt;/P&gt;&lt;P&gt;Example of SWELS - to turn event trace on or off - attachment 1&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(51, 51, 51);" /&gt;Example of Event Trace (or log) - attachment 2.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(51, 51, 51);" /&gt;&lt;/P&gt;&lt;P&gt;Note that many events are logged, but only BUS2038 CREATED started a workflow.&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Sue&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 13:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301198#M4610723</guid>
      <dc:creator>keohanster</dc:creator>
      <dc:date>2020-11-19T13:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301199#M4610724</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;susan.keohan&lt;/SPAN&gt; &amp;gt; I apologize if what I've written below seems basic&lt;/P&gt;&lt;P&gt;it's okay, but &lt;EM&gt;As for your event trace, please ensure that you have turned it on first &lt;/EM&gt;is indeed too basic, I am not so newbie to conduct the tracing without switching on the trace switch ��&lt;/P&gt;&lt;P&gt;&amp;gt; Then you will have to instantiate the business object - that is, give it a key for a document that already exists in your system&lt;/P&gt;&lt;P&gt;That is the key to my problem I am struggling to explain to you. I am afraid that running BAPI_SALESORDER_SIMULATE/BAPI_SALESORDER_CREATEFROMDAT2&lt;STRONG&gt; &lt;/STRONG&gt;does&lt;STRONG&gt; not &lt;/STRONG&gt;result in instantiation of BOR object. And I am seeking your confirmation is it true or not.&lt;/P&gt;&lt;P&gt;Compare these two trace screenshots I attached to this comment, the first one is from tracing after BAPI_SALESORDER_CREATEFROMDAT2 &lt;A href="https://answers.sap.com/storage/temp/1866497-01-bapi.jpg"&gt;01-bapi.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and the second one is from tracing VA01 transaction. &lt;A href="https://answers.sap.com/storage/temp/1866498-02-va01.jpg"&gt;02-va01.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The first variant didn't triggered Workflow, the second did. Why?&lt;/P&gt;&lt;P&gt;Is it more clear now what I am asking?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 14:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301199#M4610724</guid>
      <dc:creator>Astashonok</dc:creator>
      <dc:date>2020-11-19T14:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301200#M4610725</link>
      <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;Sorry, I just wanted to be clear about terminology.&lt;/P&gt;&lt;P&gt;When you run the BAPI, does it actually create a new Sales Order?  If so, I definitely expect that the BUS2032 CREATED would show up in the Event Trace after running.    Have you called BAPI_TRANSACTION_COMMIT?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 15:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301200#M4610725</guid>
      <dc:creator>keohanster</dc:creator>
      <dc:date>2020-11-19T15:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301201#M4610726</link>
      <description>&lt;P&gt;No, I didn't commit and this is reason, thank you. But my original question as per the title was: can we invoke Workflow &lt;STRONG&gt;without &lt;/STRONG&gt;object creation, particularly I am interested in simulation, but running the BAPI w/o commit and in test-run also fits that description. From your understanding I got that it is impossible, and Workfow is never triggered in that case, correct?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 16:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301201#M4610726</guid>
      <dc:creator>Astashonok</dc:creator>
      <dc:date>2020-11-19T16:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to trigger workflow without BOR instance and without created SO object in the system?</title>
      <link>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301202#M4610727</link>
      <description>&lt;P&gt;I suppose you always *could* get a workflow to run with no object, but I don't understand why you'd want to do that.  If there is no object, what is the purpose?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 19:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/is-it-possible-to-trigger-workflow-without-bor-instance-and-without-created/qaa-p/12301202#M4610727</guid>
      <dc:creator>keohanster</dc:creator>
      <dc:date>2020-11-19T19:52:03Z</dc:date>
    </item>
  </channel>
</rss>

