<?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: BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774983#M334362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I referred this note. I could see the correction already implemented. How to proceed next?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2006 23:00:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-15T23:00:43Z</dc:date>
    <item>
      <title>BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774979#M334358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A  custom program is developed to change WBS system and user status. In this prg, this BAPI BAPI_BUS2054_SET_STATUS is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, this BAPI returns following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Error in processing. Function was not executed.           &lt;/P&gt;&lt;P&gt;Processing not possible because there is no initialization".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenn i debug the BAPI there is a FM PS_FLAG_GET_GLOBAL_FLAGS which returns lv_initialized as blank and hence the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has any idea how to handle this? Pls suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 21:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774979#M334358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T21:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774980#M334359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the message number and class? Is there a long text for it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 21:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774980#M334359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T21:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774981#M334360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPE	C	1 	E&lt;/P&gt;&lt;P&gt;ID	C	20 	CNIF_STATUS&lt;/P&gt;&lt;P&gt;NUMBER	N	3 	005&lt;/P&gt;&lt;P&gt;MESSAGE	C	220 	Error in processing. Function was not executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you are expecting Rob?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 22:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774981#M334360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T22:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774982#M334361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check SAP note 680489.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 22:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774982#M334361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T22:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774983#M334362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I referred this note. I could see the correction already implemented. How to proceed next?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 23:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774983#M334362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T23:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774984#M334363</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;Check FM documentation....I believe you have to call the FM BAPI_PS_INITIALIZATION before using this BAPI..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;1. Definition "Processing Unit"&lt;/P&gt;&lt;P&gt;In the following, the term "Processing unit" refers to a series of related processing steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first step in a processing unit is initialization, which is done by calling the BAPI BAPI_PS_INITIALIZATION.&lt;/P&gt;&lt;P&gt;Afterwards, the individual BAPIs listed below can be used several times, if required.&lt;/P&gt;&lt;P&gt;The processing unit ends when the final precommit (call BAPI BAPI_PS_PRECOMMIT) is executed with a subsequent COMMIT WORK (for example, the statement COMMIT WORK, the BAPI "BAPI_TRANSACTION_COMMIT" or the BapiService.TransactionCommit method).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the final COMMIT WORK, the next initialization opens a new processing unit via the BAPI "BAPI_PS_INITIALIZATION".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In principal, the following applies to each individual processing unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Creation of a Processing Unit&lt;/P&gt;&lt;P&gt;Each processing unit must be initialized by calling the BAPI "BAPI_PS_INITIALIZATION" once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afterwards, the following individual BAPIs can be used within a processing unit - they can also be used more than once, taking into account the "One-Project Principle" explained below. This also means that an object created in the current processing unit by a CREATE-BAPI can be changed by a CHANGE-BAPI or STATUS-BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Except for the BAPIs explicitly named below, you can only call up BAPIs that execute GET methods or READ methods only. In particular, the BAPIs for confirming a network may not be used with the individual BAPIs named below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 23:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774984#M334363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T23:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774985#M334364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling BAPI_PS_INITIALIZATION before calling BAPI_BUS2054_SET_STATUS . Once this BAPI is executed successfully, i call  BAPI_PS_PRECOMMIT with a subsequent COMMIT WORK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This resolves my issue so far and the user status is changed accordingly as checked in CJ20N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2006 00:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774985#M334364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-16T00:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2054_SET_STATUS returns 'Error in processing. Function was not exec</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774986#M334365</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;      While using the BAPI_BUS2054_SET_STATUS  bapi , do we need to pass the object key data in to the E_RESULT table.Please suggest me . &lt;/P&gt;&lt;P&gt;Also ,Please confirm me where this badi will updated the System / User Status , I mean a part from CJ20N t-code ,Which table can we see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me Know as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank U.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sanjeev S J on May 22, 2008 5:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 11:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2054-set-status-returns-error-in-processing-function-was-not-exec/m-p/1774986#M334365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T11:49:30Z</dc:date>
    </item>
  </channel>
</rss>

