<?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 Syntax problem with BDC perform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-with-bdc-perform/m-p/2510093#M567653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;small problem in BDC Perform syntax but I am not getting how to do this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have writen the code like this in my BDC byt its throughing the error...Here I want to do the validation on each and every field. I mean If that field values are empty i don't want to change the SAP field value.&lt;/P&gt;&lt;P&gt;my code is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM dynpro USING:&lt;/P&gt;&lt;P&gt;    'X' 'SAPLMGMM' '0080'.&lt;/P&gt;&lt;P&gt;    IF NOT p_int_matl-werks IS INITIAL.&lt;/P&gt;&lt;P&gt;    ' ' 'RMMG1-WERKS' p_int_matl-werks.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    IF NOT p_int_matl-werks IS INITIAL.&lt;/P&gt;&lt;P&gt;    ' ' 'RMMG1-LGORT' p_int_matl-lgort.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ' ' 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls give me exact code how to do this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 14:26:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-13T14:26:55Z</dc:date>
    <item>
      <title>Syntax problem with BDC perform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-with-bdc-perform/m-p/2510093#M567653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;small problem in BDC Perform syntax but I am not getting how to do this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have writen the code like this in my BDC byt its throughing the error...Here I want to do the validation on each and every field. I mean If that field values are empty i don't want to change the SAP field value.&lt;/P&gt;&lt;P&gt;my code is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM dynpro USING:&lt;/P&gt;&lt;P&gt;    'X' 'SAPLMGMM' '0080'.&lt;/P&gt;&lt;P&gt;    IF NOT p_int_matl-werks IS INITIAL.&lt;/P&gt;&lt;P&gt;    ' ' 'RMMG1-WERKS' p_int_matl-werks.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    IF NOT p_int_matl-werks IS INITIAL.&lt;/P&gt;&lt;P&gt;    ' ' 'RMMG1-LGORT' p_int_matl-lgort.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ' ' 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls give me exact code how to do this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 14:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-with-bdc-perform/m-p/2510093#M567653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T14:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax problem with BDC perform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-with-bdc-perform/m-p/2510094#M567654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to separate that out, you can't put IF statements with in the PERFORM statement like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 14:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-with-bdc-perform/m-p/2510094#M567654</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-13T14:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax problem with BDC perform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-with-bdc-perform/m-p/2510095#M567655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sridher,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. this kind of syntax ie. IF will give error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If ur requirement is : blank value should not be put in bdc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. then one way is to change / write the logic&lt;/P&gt;&lt;P&gt;    inside the form itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. ie. inside the routine/form DYNPRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. So, it will be then general for all performs.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 14:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-with-bdc-perform/m-p/2510095#M567655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T14:42:08Z</dc:date>
    </item>
  </channel>
</rss>

