<?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: URGENT-PROBLEM WITH VARIABLE VALUE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719484#M895388</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;Before using IF condition do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_vbeln type vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'conversion_exit_alpha_input'.&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;v1 = p_vbeln&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;v1 = l_vbeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It converts your parameter value into internal format. i mean ex '0000001234'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 10:25:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T10:25:34Z</dc:date>
    <item>
      <title>URGENT-PROBLEM WITH VARIABLE VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719483#M895387</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;       am always getting into the if condition even though am giving vbeln values that are in vbrk table,plz help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PARAMETERS:  p_vbeln like vbrk-vbeln OBLIGATORY,&lt;/P&gt;&lt;P&gt;               P_time like SY-UZEIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF  p_vbeln NE VBRk-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE i012(zmsg).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 10:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719483#M895387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T10:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT-PROBLEM WITH VARIABLE VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719484#M895388</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;Before using IF condition do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_vbeln type vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'conversion_exit_alpha_input'.&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;v1 = p_vbeln&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;v1 = l_vbeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It converts your parameter value into internal format. i mean ex '0000001234'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 10:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719484#M895388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T10:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT-PROBLEM WITH VARIABLE VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719485#M895389</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;VBRK-VBELN ? I hope you have got select from VBRK just before this. Just check the contents of both, by putting the stetement break-point. in the code. Mostly it will question of leading zeros in VBRK-VBELN.&lt;/P&gt;&lt;P&gt;If that is the case just use FM CONVERSION_EXIT_ALPHA_INPUT for p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Raju Chitale on May 7, 2008 12:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 10:25:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719485#M895389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T10:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT-PROBLEM WITH VARIABLE VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719486#M895390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u all,&lt;/P&gt;&lt;P&gt; even though i called that function,still the if condition is satisfying...will u tell me some other ways..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 10:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719486#M895390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T10:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT-PROBLEM WITH VARIABLE VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719487#M895391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  u r checking with database value directly. u cant do that. first u have to select all vbeln from vberk table into an internal table and then loop that internal table and check the if condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it may help u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 10:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719487#M895391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T10:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT-PROBLEM WITH VARIABLE VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719488#M895392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to comment the if statement and than see the difference while debugging , than you try to change the code of if statement and see the difference.&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>Wed, 07 May 2008 10:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719488#M895392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T10:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT-PROBLEM WITH VARIABLE VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719489#M895393</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;Use the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_vbeln type vbrk-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_vbeln like vbrk-vbeln OBLIGATORY,&lt;/P&gt;&lt;P&gt;P_time like SY-UZEIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single vbeln from vbrk into wa_vbeln where vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;MESSAGE 'Not a valid one' type 'E'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Velangini Showry Maria Kumar Bandanadham on May 7, 2008 1:03 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 11:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719489#M895393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T11:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT-PROBLEM WITH VARIABLE VALUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719490#M895394</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;Are you using direct DB table VBRK... Am bit confused with your question.&lt;/P&gt;&lt;P&gt;However you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single *  from vbrk&lt;/P&gt;&lt;P&gt;                       where vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;(give ur msg error)&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 11:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-problem-with-variable-value/m-p/3719490#M895394</guid>
      <dc:creator>anub</dc:creator>
      <dc:date>2008-05-07T11:13:28Z</dc:date>
    </item>
  </channel>
</rss>

