<?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: Reg : - Opening Projects in CJ20N  using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086298#M1357836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt; I have  done this program working fine.Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Sep 2009 05:58:48 GMT</pubDate>
    <dc:creator>dinamols</dc:creator>
    <dc:date>2009-09-12T05:58:48Z</dc:date>
    <item>
      <title>Reg : - Opening Projects in CJ20N  using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086294#M1357832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;     According to my requirement  Closed Projects have to be Opened  using Program .So i tried the BAPI  - BAPI_BUS2001_SET_STATUS . But i am getting Error as "'Processing not possible because there is no initialization".&lt;/P&gt;&lt;P&gt;Please Help me How to use this BAPI.&lt;/P&gt;&lt;P&gt;    Please check my codings below.&lt;/P&gt;&lt;P&gt;********************************************************************************************************&lt;/P&gt;&lt;P&gt; DATA : e_result LIKE TABLE OF bapi_status_result WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA : return LIKE TABLE OF bapireturn1 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;         l_wait LIKE bapita-wait.&lt;/P&gt;&lt;P&gt;  DATA : s_pspid  LIKE proj-pspid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_bdc.&lt;/P&gt;&lt;P&gt;    CLEAR : s_pspid.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CONVERSION_EXIT_PROJN_INPUT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        input  = it_bdc-pspid&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        output = s_pspid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    REFRESH: return,e_result.CLEAR : return,e_result.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_BUS2001_SET_STATUS'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        project_definition = s_pspid&lt;/P&gt;&lt;P&gt;        undo_system_status = 'MDLK' "  I am unlocking  locked project definition&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       undo_user_status   = ''&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       set_system_status  = ''&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       set_user_status    = ''&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        return             = return&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        e_result           = e_result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE return WITH KEY type = 'S'.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      CLEAR l_wait.&lt;/P&gt;&lt;P&gt;      l_wait = 2.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&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&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 07:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086294#M1357832</guid>
      <dc:creator>dinamols</dc:creator>
      <dc:date>2009-09-11T07:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : - Opening Projects in CJ20N  using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086295#M1357833</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;Hope this can help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1307992450DB02607604401944940616End?blog=/pub/wlg/9659" target="test_blank"&gt;http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1307992450DB02607604401944940616End?blog=/pub/wlg/9659&lt;/A&gt;&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;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 07:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086295#M1357833</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2009-09-11T07:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : - Opening Projects in CJ20N  using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086296#M1357834</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;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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Afterwards, the individual BAPIs listed below can be used several times, if required.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;STRONG&gt;Please check the FM/BAPI documentation for BAPI_PS_PRECOMMIT and BAPI_PS_INITIALIZATION for more details&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 07:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086296#M1357834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-11T07:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : - Opening Projects in CJ20N  using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086297#M1357835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Even  i read  this but  how will  i Initialize BAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 07:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086297#M1357835</guid>
      <dc:creator>dinamols</dc:creator>
      <dc:date>2009-09-11T07:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reg : - Opening Projects in CJ20N  using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086298#M1357836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt; I have  done this program working fine.Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 05:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-opening-projects-in-cj20n-using-bapi/m-p/6086298#M1357836</guid>
      <dc:creator>dinamols</dc:creator>
      <dc:date>2009-09-12T05:58:48Z</dc:date>
    </item>
  </channel>
</rss>

