<?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 mapping problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580683#M262016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My condition is like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In selection screen there are 4 fields like A, B, C &amp;amp; D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now requirement is like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to ensure that field A, C or D having some value i.e. if none of these selections were entered then display the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose i have to do some conditions like X &amp;amp; Y.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In condition X(Consider as first subroutine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not allow A and C selection to both be selected.&lt;/P&gt;&lt;P&gt;display an error message if both are selected.&lt;/P&gt;&lt;P&gt;Do not allow C &amp;amp; D selection to both be selected.&lt;/P&gt;&lt;P&gt;display an error message if both are selected.&lt;/P&gt;&lt;P&gt;B &amp;amp; C selection is ok.&lt;/P&gt;&lt;P&gt;Then further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in condition Y(consider as second subroutine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not allow A &amp;amp; D selection to both be selected.&lt;/P&gt;&lt;P&gt;display an error message if both are selected.&lt;/P&gt;&lt;P&gt;Do not allow C &amp;amp; D selection to both be selected.&lt;/P&gt;&lt;P&gt;display an error message if both are selected.&lt;/P&gt;&lt;P&gt;B &amp;amp; D selection is ok.&lt;/P&gt;&lt;P&gt;Then further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did my coding but I m not getting my desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody will tell me the pseudo coding for this??????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2006 12:29:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-17T12:29:04Z</dc:date>
    <item>
      <title>mapping problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580683#M262016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My condition is like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In selection screen there are 4 fields like A, B, C &amp;amp; D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now requirement is like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to ensure that field A, C or D having some value i.e. if none of these selections were entered then display the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose i have to do some conditions like X &amp;amp; Y.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In condition X(Consider as first subroutine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not allow A and C selection to both be selected.&lt;/P&gt;&lt;P&gt;display an error message if both are selected.&lt;/P&gt;&lt;P&gt;Do not allow C &amp;amp; D selection to both be selected.&lt;/P&gt;&lt;P&gt;display an error message if both are selected.&lt;/P&gt;&lt;P&gt;B &amp;amp; C selection is ok.&lt;/P&gt;&lt;P&gt;Then further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in condition Y(consider as second subroutine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not allow A &amp;amp; D selection to both be selected.&lt;/P&gt;&lt;P&gt;display an error message if both are selected.&lt;/P&gt;&lt;P&gt;Do not allow C &amp;amp; D selection to both be selected.&lt;/P&gt;&lt;P&gt;display an error message if both are selected.&lt;/P&gt;&lt;P&gt;B &amp;amp; D selection is ok.&lt;/P&gt;&lt;P&gt;Then further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did my coding but I m not getting my desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody will tell me the pseudo coding for this??????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580683#M262016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T12:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: mapping problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580684#M262017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi salil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coding for validation in ON SELECTION SCREEN event :-&lt;/P&gt;&lt;P&gt;*****************************************************&lt;/P&gt;&lt;P&gt;if A = ' ' and C = ' ' and D = ' '.&lt;/P&gt;&lt;P&gt;    message 'A C D are blank' type 'E'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if A = 'X' and C = 'X'.&lt;/P&gt;&lt;P&gt;    message 'A &amp;amp; C both selection not allowed' type 'E'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if A = 'X' and D = 'X'.&lt;/P&gt;&lt;P&gt;    message 'A &amp;amp; D both selection not allowed' type 'E'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;if necessary ***&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; if B = ' '.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   message 'B must be selected' type 'E'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl.reward if satisfied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Prammenthiran (Prem)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:44:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580684#M262017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T12:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: mapping problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580685#M262018</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;try that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT zzzz111 .

PARAMETERS: a,b,c,d.


AT SELECTION-SCREEN.
*1
  IF a = space AND c = space AND d = space.
    MESSAGE e001(00) WITH 'E1'.
  ENDIF.

*A/C
if a &amp;lt;&amp;gt; space and c &amp;lt;&amp;gt; space.
    MESSAGE e001(00) WITH 'X1'.
  ENDIF.

*C/D
if d &amp;lt;&amp;gt; space and c &amp;lt;&amp;gt; space.
    MESSAGE e001(00) WITH 'X2'.
  ENDIF.

*A/D
if a &amp;lt;&amp;gt; space and d &amp;lt;&amp;gt; space.
    MESSAGE e001(00) WITH 'Y1'.
  ENDIF.

*C/D
if d &amp;lt;&amp;gt; space and c &amp;lt;&amp;gt; space.
    MESSAGE e001(00) WITH 'Y2'.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580685#M262018</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-10-17T12:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: mapping problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580686#M262019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi can u give us the coding which u have done instead of us simulating the whole scenario, we can just help where you have gone wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580686#M262019</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-10-17T12:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: mapping problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580687#M262020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can try and use the below logic.&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;  PERFORM CHECK_CONDITION using cond a b c d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM check_condition using icnd ia ib ic id.&lt;/P&gt;&lt;P&gt;   if ia = space and ic = space and id = space.&lt;/P&gt;&lt;P&gt;      Error.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;   if ia = Space.&lt;/P&gt;&lt;P&gt;      if ic &amp;lt;&amp;gt; space and id &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;         Error.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;   else.&lt;/P&gt;&lt;P&gt;   case icnd.&lt;/P&gt;&lt;P&gt;    when 'X'.&lt;/P&gt;&lt;P&gt;      if ic &amp;lt;&amp;gt; space. Error. Endif. &lt;/P&gt;&lt;P&gt;    when 'Y'.&lt;/P&gt;&lt;P&gt;      if id &amp;lt;&amp;gt; space. Error. Endif.&lt;/P&gt;&lt;P&gt;   endcase.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580687#M262020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T12:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: mapping problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580688#M262021</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;I am sending my coding..&lt;/P&gt;&lt;P&gt;Plz let me know where I am wrong...&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;If A NE ' ' OR C NE ' ' OR D NE ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;ERROR.&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;IN FORM DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM M.&lt;/P&gt;&lt;P&gt;PERFORM N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF A NE ' ' AND C NE ' '.&lt;/P&gt;&lt;P&gt;ERROR.&lt;/P&gt;&lt;P&gt;ELSEIF C NE ' ' AND D NE ' '.&lt;/P&gt;&lt;P&gt;ERROR.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;PROCESSING.&lt;/P&gt;&lt;P&gt;ENDIF.&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;FORM N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF A NE ' ' AND D NE ' '.&lt;/P&gt;&lt;P&gt;ERROR.&lt;/P&gt;&lt;P&gt;ELSEIF C NE ' ' AND D NE ' '.&lt;/P&gt;&lt;P&gt;ERROR.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;PROCESSING.&lt;/P&gt;&lt;P&gt;ENDIF.&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;I am getting problem in form N. Whenever i run my prog it will not work properly for for form N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will u suggest me what i have to do??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 13:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580688#M262021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T13:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: mapping problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580689#M262022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the problem you encounter and secondly please let us know which values you are populating in A/B/C and D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 14:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mapping-problem/m-p/1580689#M262022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T14:25:59Z</dc:date>
    </item>
  </channel>
</rss>

