<?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: selection screen validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896507#M374645</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;&lt;/P&gt;&lt;P&gt;Try this..&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;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHeck if one the tracking number is given then the delivery number is mandatory.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IF NOT P_TRACN1 IS INITIAL OR&lt;/P&gt;&lt;P&gt;    NOT P_TRACN2 IS INITIAL OR&lt;/P&gt;&lt;P&gt;    NOT P_TRACN3 IS INITIAL OR &lt;/P&gt;&lt;P&gt;    NOT P_TRACN4 IS INITIAL OR &lt;/P&gt;&lt;P&gt;    NOT P_TRACN5 IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF P_VBELN IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     MESSAGE E208(00) WITH 'Delivery is mandatory if tracking number is entered'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2007 16:58:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-10T16:58:15Z</dc:date>
    <item>
      <title>selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896506#M374644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am developing a report where in i have 3 blocks for selection criteria..1st block has drop down menu for carrier service(UPS,FEDEX etc) second one has delivery number and third block has 5 tracking number input ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:P_XSITD LIKE ZTRK_PAK-XSITD,&lt;/P&gt;&lt;P&gt;           P_SHPACT LIKE ZTRK_PAK-SHIPACCT.&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;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:P_VBELN LIKE ZTRK_PAK-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK B2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:P_TRACN1 LIKE ZTRK_PAK-TRACKN,&lt;/P&gt;&lt;P&gt;           P_TRACN2 LIKE ZTRK_PAK-TRACKN,&lt;/P&gt;&lt;P&gt;           P_TRACN3 LIKE ZTRK_PAK-TRACKN,&lt;/P&gt;&lt;P&gt;           P_TRACN4 LIKE ZTRK_PAK-TRACKN,&lt;/P&gt;&lt;P&gt;           P_TRACN5 LIKE ZTRK_PAK-TRACKN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK B3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to validate firstly the delivery number..if delievery number is entered validate the tracking number 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if tracking number 1 or 2 or 3 or 4 or 5 is entered validate delivery number is not blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do it..i am new to ABAP..someone help me please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 16:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896506#M374644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T16:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896507#M374645</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;&lt;/P&gt;&lt;P&gt;Try this..&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;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHeck if one the tracking number is given then the delivery number is mandatory.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IF NOT P_TRACN1 IS INITIAL OR&lt;/P&gt;&lt;P&gt;    NOT P_TRACN2 IS INITIAL OR&lt;/P&gt;&lt;P&gt;    NOT P_TRACN3 IS INITIAL OR &lt;/P&gt;&lt;P&gt;    NOT P_TRACN4 IS INITIAL OR &lt;/P&gt;&lt;P&gt;    NOT P_TRACN5 IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF P_VBELN IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     MESSAGE E208(00) WITH 'Delivery is mandatory if tracking number is entered'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 16:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896507#M374645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T16:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896508#M374646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write code in screen-validations.&lt;/P&gt;&lt;P&gt;if delivery is not initial..check tracking number 1 is valid or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if tracking 1,2,3,4,5 are not space then check delivery is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not p_del is initial.&lt;/P&gt;&lt;P&gt;  validate tracking 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not p_tr1 is initial and&lt;/P&gt;&lt;P&gt;   not p_tr2 is initial and&lt;/P&gt;&lt;P&gt;   not p_tr3 is initial and&lt;/P&gt;&lt;P&gt;   not p_tr4 is initial and&lt;/P&gt;&lt;P&gt;   not p_tr5 is initial and&lt;/P&gt;&lt;P&gt;  check delivery is not initial&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 17:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896508#M374646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T17:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896509#M374647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make the delivery no P_VBELN a mandatory parameter . So whether tracking number 1 or 2 or 3 or 4 or 5 is entered then by default system will check that P_VBELN is not blank. So no need to write any specific code to check P_VBELN not blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the code for tracking no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;write the validation rules for TRACKING NUMBERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;barath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 17:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896509#M374647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T17:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896510#M374648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You Can validate your delivery number and Tracking number on the event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Delivery Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on field P_VBELN.&lt;/P&gt;&lt;P&gt;    Write the select query for validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Tracking Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on field P_TRACN1.&lt;/P&gt;&lt;P&gt;  If P_VBELN is not initial.&lt;/P&gt;&lt;P&gt;    Write the select query for validating Tracking Number.&lt;/P&gt;&lt;P&gt;  endif.&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;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 17:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896510#M374648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T17:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896511#M374649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the feedbacks..also validating i need to verify delivery number and each  of 5 tracking numbers against a custom table i wud be developing(for ex say ITAB)..if there is a matching betrween a delivery num and a tracking number i need to display image..how can i do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 22:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896511#M374649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T22:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896512#M374650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use a select query to read all the matching entries specified in Where clause into an internal table.&lt;/P&gt;&lt;P&gt;Then use a Read Table..statement to check if the entry is existing and then do the processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 23:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/1896512#M374650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T23:58:19Z</dc:date>
    </item>
  </channel>
</rss>

