<?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 PROBLEM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643935#M1443871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Mohanty,&lt;/P&gt;&lt;P&gt;&amp;gt;    Your code is working fine , only error is you hav not kept the periods .&lt;/P&gt;&lt;P&gt;&amp;gt;  correctly , which has been clearly indicated in the previous posts.&lt;/P&gt;&lt;P&gt;&amp;gt;  i have corrected your code and pasted it here you can try now&lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; .&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_SDOCNO TYPE VBAK-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_RETURN TYPE BAPIRETURN,&lt;/P&gt;&lt;P&gt;IT_STATUS TYPE TABLE OF BAPISDSTAT,&lt;/P&gt;&lt;P&gt;WA_STATUS TYPE BAPISDSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;SALESDOCUMENT = P_SDOCNO&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = WA_RETURN&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;STATUSINFO = IT_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF WA_RETURN IS INITIAL.&lt;/P&gt;&lt;P&gt;LOOP AT IT_STATUS INTO WA_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE :/5 WA_STATUS-DOC_NUMBER, WA_STATUS-DOC_DATE, WA_STATUS-PURCH_NO, WA_STATUS-PRC_STAT_H, WA_STATUS-DLV_STAT_H.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;WRITE :/5 WA_RETURN-TYPE, WA_RETURN-CODE, WA_RETURN-MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gurunath pandiyarajan on Feb 5, 2010 5:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2010 04:31:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-05T04:31:26Z</dc:date>
    <item>
      <title>BAPI PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643931#M1443867</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; I am using this standard BAPI but it won't work and show a error .&lt;/P&gt;&lt;P&gt;ERROR -: ''=.." expected after "if".&lt;/P&gt;&lt;P&gt;plz solve my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;skmohanty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZDEMO_BAPI_SALESGETSTATUS                                   *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZDEMO_BAPI_SALESGETSTATUS               .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_SDOCNO TYPE VBAK-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_RETURN TYPE BAPIRETURN,&lt;/P&gt;&lt;P&gt;       IT_STATUS TYPE TABLE OF BAPISDSTAT,&lt;/P&gt;&lt;P&gt;       WA_STATUS TYPE BAPISDSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'&lt;/P&gt;&lt;P&gt;  EXPORTING             &lt;/P&gt;&lt;P&gt;    SALESDOCUMENT       = P_SDOCNO&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   RETURN              = WA_RETURN&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;   STATUSINFO          = IT_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF WA_RETURN IS INITIAL.&lt;/P&gt;&lt;P&gt;LOOP AT IT_STATUS INTO WA_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE :/5 WA_STATUS-DOC_NUMBER, WA_STATUS-DOC_DATE, WA_STATUS-PURCH_NO, WA_STATUS-PRC_STAT_H, WA_STATUS-DLV_STAT_H.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;WRITE :/5 WA_RETURN-TYPE, WA_RETURN-CODE, WA_RETURN-MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.         .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 03:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643931#M1443867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T03:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643932#M1443868</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;please check your program carefully. Your program is missing two ".". Every ABAP statement has to end with ".". In your case check statement CALL FUNCTION and ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 03:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643932#M1443868</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2010-02-04T03:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643933#M1443869</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;In you code the DOT(.) is missing after the function call so insert the '.'after the call function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZDEMO_BAPI_SALESGETSTATUS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_SDOCNO TYPE VBAK-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_RETURN TYPE BAPIRETURN,&lt;/P&gt;&lt;P&gt;IT_STATUS TYPE TABLE OF BAPISDSTAT,&lt;/P&gt;&lt;P&gt;WA_STATUS TYPE BAPISDSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;SALESDOCUMENT = P_SDOCNO&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = WA_RETURN&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;STATUSINFO = IT_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Insert DOT here.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF WA_RETURN IS INITIAL.&lt;/P&gt;&lt;P&gt;LOOP AT IT_STATUS INTO WA_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE :/5 WA_STATUS-DOC_NUMBER, WA_STATUS-DOC_DATE, WA_STATUS-PURCH_NO, WA_STATUS-PRC_STAT_H, WA_STATUS-DLV_STAT_H.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;after ELSE also put the dot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;WRITE :/5 WA_RETURN-TYPE, WA_RETURN-CODE, WA_RETURN-MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF. .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 03:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643933#M1443869</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2010-02-04T03:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643934#M1443870</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;  still it won't work and show same error.&lt;/P&gt;&lt;P&gt;Plz solve it bcoz i am new in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;skmohanty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 03:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643934#M1443870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-05T03:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643935#M1443871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Mohanty,&lt;/P&gt;&lt;P&gt;&amp;gt;    Your code is working fine , only error is you hav not kept the periods .&lt;/P&gt;&lt;P&gt;&amp;gt;  correctly , which has been clearly indicated in the previous posts.&lt;/P&gt;&lt;P&gt;&amp;gt;  i have corrected your code and pasted it here you can try now&lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; .&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_SDOCNO TYPE VBAK-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_RETURN TYPE BAPIRETURN,&lt;/P&gt;&lt;P&gt;IT_STATUS TYPE TABLE OF BAPISDSTAT,&lt;/P&gt;&lt;P&gt;WA_STATUS TYPE BAPISDSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;SALESDOCUMENT = P_SDOCNO&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = WA_RETURN&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;STATUSINFO = IT_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF WA_RETURN IS INITIAL.&lt;/P&gt;&lt;P&gt;LOOP AT IT_STATUS INTO WA_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE :/5 WA_STATUS-DOC_NUMBER, WA_STATUS-DOC_DATE, WA_STATUS-PURCH_NO, WA_STATUS-PRC_STAT_H, WA_STATUS-DLV_STAT_H.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;WRITE :/5 WA_RETURN-TYPE, WA_RETURN-CODE, WA_RETURN-MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: gurunath pandiyarajan on Feb 5, 2010 5:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 04:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643935#M1443871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-05T04:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643936#M1443872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; I got my output.&lt;/P&gt;&lt;P&gt;THANKS,&lt;/P&gt;&lt;P&gt;skmohanty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 12:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643936#M1443872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-05T12:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643937#M1443873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 12:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-problem/m-p/6643937#M1443873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-05T12:54:23Z</dc:date>
    </item>
  </channel>
</rss>

