<?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: syntactically incorrect? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359394#M178706</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;Ur Form  should be like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;For screen:::&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;FORM bdc_tab_fill1 USING progname dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  bdcdata-program = progname.&lt;/P&gt;&lt;P&gt;  bdcdata-dynpro = dynpro.&lt;/P&gt;&lt;P&gt;  bdcdata-dynbegin = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Fillind data Fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_tab_fill2 USING fnam fval.&lt;/P&gt;&lt;P&gt;  CLEAR bdcdata.&lt;/P&gt;&lt;P&gt;  bdcdata-fnam = fnam.&lt;/P&gt;&lt;P&gt;  bdcdata-fval = fval.&lt;/P&gt;&lt;P&gt;  APPEND bdcdata.&lt;/P&gt;&lt;P&gt;ENDFORM.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check it out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2006 04:08:38 GMT</pubDate>
    <dc:creator>Simha_</dc:creator>
    <dc:date>2006-05-11T04:08:38Z</dc:date>
    <item>
      <title>syntactically incorrect?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359388#M178700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually this isn't my program. I was tasked to debug it. im not so familiar using bdc. Can you help me out? Thank u!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION Z_BAPI_UNBLOCK_SO.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(LV_SESSION) TYPE  FLAG OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(LV_SO_NO) TYPE  VBELN OPTIONAL&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(LT_RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      LT_ERRORS STRUCTURE  BDCMSGCOLL OPTIONAL&lt;/P&gt;&lt;P&gt;*"      LT_ERROR_MESSAGES STRUCTURE  ZSD_SYSTEM_MESSAGE OPTIONAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CODES&lt;/P&gt;&lt;P&gt;  IF lv_session = 'X'.&lt;/P&gt;&lt;P&gt;    PERFORM open_group.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;First Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM bdc_dynpro USING 'RVKRED04'&lt;/P&gt;&lt;P&gt;                             '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING: 'VBELN-LOW'&lt;/P&gt;&lt;P&gt;                             lv_so_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                             '=ONLI'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Second Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM bdc_dynpro USING 'SAPMSSY0'&lt;/P&gt;&lt;P&gt;                             '0120'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                             '=FREI'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                             '=SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                             '=BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                             '=&amp;amp;F03'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Third Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM bdc_dynpro USING 'SAPLSPO1'&lt;/P&gt;&lt;P&gt;                             '0100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                             '=YES'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fourth Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM bdc_dynpro USING 'RVKRED04'&lt;/P&gt;&lt;P&gt;                             '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                             '/EE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_transaction TABLES lt_errors&lt;/P&gt;&lt;P&gt;                                   lt_error_messages&lt;/P&gt;&lt;P&gt;                             USING lv_session&lt;/P&gt;&lt;P&gt;                                   'VKM3'&lt;/P&gt;&lt;P&gt;                                   'N'&lt;/P&gt;&lt;P&gt;                                   lt_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF session = 'X'.&lt;/P&gt;&lt;P&gt;    PERFORM close_group.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 01:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359388#M178700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T01:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: syntactically incorrect?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359389#M178701</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;This looks alright.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a BDC to unblock a sales order written in the BDC session method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Opening the BDC group&lt;/P&gt;&lt;P&gt;2. Building the BDCDATA table&lt;/P&gt;&lt;P&gt;3. Call the BDC_INSERT function&lt;/P&gt;&lt;P&gt;4. finally closing the group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what the program is doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what exactly are you looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 02:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359389#M178701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T02:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: syntactically incorrect?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359390#M178702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you getting a syntax error? if so, what is it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 02:02:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359390#M178702</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-05-11T02:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: syntactically incorrect?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359391#M178703</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;GOOD&lt;/P&gt;&lt;P&gt;THIS IS NOT A COMPLETE BDC PROGRAM , SO YOU GET YOUR COMPLETE BDC PROGRAM AND TRY TO DEBUG IS BY PUTTING THE THE BREAKPOINT INTO IT AND SEE WHERE R U GETTING THE ERROR ,THAT WILL HELP YOU TO GET THE CLEAR IDEA ABOUT THE ERROR AND THEN I THINK I CAN GIVE YOU SOME MORE DETAILS TO SOLVE YOUR ERROR.&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;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 03:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359391#M178703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T03:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: syntactically incorrect?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359392#M178704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Different number of parameter in FORM and PERFORM (routine: BDC_FIELD, number of formal parameters: 3, number of actual parameters:2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF lv_session = 'X'.&lt;/P&gt;&lt;P&gt;    PERFORM open_group.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;First Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM bdc_dynpro USING 'RVKRED04'&lt;/P&gt;&lt;P&gt;                             '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;gt;&amp;gt;&amp;gt;  PERFORM bdc_field  USING 'VBELN-LOW'&lt;/P&gt;&lt;P&gt;                             lv_so_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field  USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                             '=ONLI'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;FORM bdc_field TABLES bd STRUCTURE bdcdata&lt;/P&gt;&lt;P&gt;                USING fnam fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  bd-fnam = fnam.&lt;/P&gt;&lt;P&gt;  bd-fval = fval.&lt;/P&gt;&lt;P&gt;  APPEND bd.&lt;/P&gt;&lt;P&gt;  CLEAR bd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 03:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359392#M178704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T03:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: syntactically incorrect?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359393#M178705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to pass something for the table 'bd':&lt;/P&gt;&lt;P&gt;change the performs to look like:&lt;/P&gt;&lt;P&gt;PERFORM bdc_field tables your_bd_table USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=ONLI'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This variable will include structure BDCDATA so look for that in the source code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 03:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359393#M178705</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-05-11T03:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: syntactically incorrect?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359394#M178706</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;Ur Form  should be like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;For screen:::&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;FORM bdc_tab_fill1 USING progname dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  bdcdata-program = progname.&lt;/P&gt;&lt;P&gt;  bdcdata-dynpro = dynpro.&lt;/P&gt;&lt;P&gt;  bdcdata-dynbegin = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Fillind data Fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_tab_fill2 USING fnam fval.&lt;/P&gt;&lt;P&gt;  CLEAR bdcdata.&lt;/P&gt;&lt;P&gt;  bdcdata-fnam = fnam.&lt;/P&gt;&lt;P&gt;  bdcdata-fval = fval.&lt;/P&gt;&lt;P&gt;  APPEND bdcdata.&lt;/P&gt;&lt;P&gt;ENDFORM.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check it out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 04:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntactically-incorrect/m-p/1359394#M178706</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2006-05-11T04:08:38Z</dc:date>
    </item>
  </channel>
</rss>

