<?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: checkbox in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004288#M77299</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;If the subrc of USR05 select is 0 then you are passing 'X' to z_print and thats the reason that even you are unchecked the check box the value remain same in z_print i.e. 'X' because you are not clearing the value of z_print but as you mention that you declare PRINT as checkbox then you are clearing the value of PRINT and not Z_PRINT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2005 11:23:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-06T11:23:37Z</dc:date>
    <item>
      <title>checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004280#M77291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem in selection screen with a field that &lt;/P&gt;&lt;P&gt;defined as checkbox.&lt;/P&gt;&lt;P&gt;at the initialization if a user have special parameter&lt;/P&gt;&lt;P&gt;i move 'X' to the checkbox field.&lt;/P&gt;&lt;P&gt;if i delete the 'X' from the checkbox,later on in the program i see (with the debugger) that the field still&lt;/P&gt;&lt;P&gt;contain 'X'.&lt;/P&gt;&lt;P&gt;i defined the field in the sel screen:&lt;/P&gt;&lt;P&gt;parameter print as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can i do in order to get the real values in this field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;yifat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 09:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004280#M77291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T09:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004281#M77292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do you delete the 'X' from the checkbox?&lt;/P&gt;&lt;P&gt;normally you can remove the check status by clear the value in the checkbox paramter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have the trouble on this issue, paste your code here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 09:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004281#M77292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T09:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004282#M77293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not understand that how you are deleting the 'X' from the checkbox? whether in selection screen you are clearing the checkbox by clicking on it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible paste that part of code here where you are handling the checkbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 09:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004282#M77293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T09:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004283#M77294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;i click on the checkbox (in the selection screen) in order to delete the 'X' value&lt;/P&gt;&lt;P&gt;in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;yifat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 10:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004283#M77294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T10:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004284#M77295</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;Can you provide the code which your are using because if you assigning the value 'X' in INITIALIZATION and removing the value in the selection screen, it should not contain 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 10:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004284#M77295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T10:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004285#M77296</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;the code is:&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE PARID&lt;/P&gt;&lt;P&gt;FROM USR05&lt;/P&gt;&lt;P&gt;INTO ZPARID&lt;/P&gt;&lt;P&gt;WHERE BNAME = SY-UNAME AND&lt;/P&gt;&lt;P&gt;      PARID = 'NDR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;   MOVE 'X' TO Z_PRINT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is in field z_print.&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;yifat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 10:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004285#M77296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T10:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004286#M77297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yifat ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paste whole code . Between how do you check that Z_PRINT has no value. Have you tried debugging . AT which point do you say that Z_PRINT is having value "X" even if you have unchecked the Checkbox. &lt;/P&gt;&lt;P&gt;Unless we see the whole code not psossible to comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing is in the select you are checking if the user has that parameter in his user master but you are not checking the value he has maintained . You can directly use "Get Parameter NDR Field &amp;lt;Field&amp;gt;." This should give you the value . It is the value which matters . You can have a value "X" another user can have space in this parameter. But your select will always have sy-subrc = 0. But this has nothing to do with your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 11:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004286#M77297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T11:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004287#M77298</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;Your code is right, so where do you still see Z_PRINT = 'X'? In which side of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreother if you you SET/GET parameter you should check if that parameter is active, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'NDR' FIELD Z_PRINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user have parameter NDR sy-subrc is 0, if it haven't it sy-subrc is 4&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In stead of SELECT SINGLE PARID..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 11:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004287#M77298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T11:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004288#M77299</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;If the subrc of USR05 select is 0 then you are passing 'X' to z_print and thats the reason that even you are unchecked the check box the value remain same in z_print i.e. 'X' because you are not clearing the value of z_print but as you mention that you declare PRINT as checkbox then you are clearing the value of PRINT and not Z_PRINT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 11:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004288#M77299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T11:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004289#M77300</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;thank you very much for all your answers. i solved the problem, but now another problem has occurred.&lt;/P&gt;&lt;P&gt;The origin idea of this program is to create goodmovment.&lt;/P&gt;&lt;P&gt;if the user has parameter NDR (like checkbox print in transaction mb1b, that prints the goodmovment)so i move 'X' to field GOODSMVT_HEADER-VER_GR_GI_SLIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if in the selection screen the field was demarked, so no&lt;/P&gt;&lt;P&gt;'X' is moved to this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that it doesnt matter if the field in the bapi is marked or not , if i have the parameter NDR the goodmovment is automatically printed, and i want to avoid it.&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;yifat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 11:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004289#M77300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T11:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004290#M77301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SET PARAMETER ID NDR FIELD Z_PRINT.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before calling the FM to create Goods Movememt.&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;( DOnt forget to reward if answers were helpful )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 11:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004290#M77301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T11:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004291#M77302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;i have done the set parameter, but it still&lt;/P&gt;&lt;P&gt;prints the goodmovment.&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;&lt;/P&gt;&lt;P&gt;yifat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 12:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004291#M77302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T12:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004292#M77303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yifat ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See OSS 520813 Question 12 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You must make sure that a user name is transferred in the PR_UNAME       &lt;/P&gt;&lt;P&gt;field in the header structure. This user is used for determining the     &lt;/P&gt;&lt;P&gt;print parameters. You must set the value 'X' for the 'NDR' parameter     &lt;/P&gt;&lt;P&gt;ID for this user. Make sure that all customizing-related settings        &lt;/P&gt;&lt;P&gt;have been made for this user. &amp;lt;/b&amp;gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of "X" above you should set space in user master ( tcode SU01 ) of the user whose name is passed in PR_UNAME . Or you will have to find a way to update user master before call to BAPI to set the above parameter to SPACE &lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;                               &lt;/P&gt;&lt;P&gt;Also I think you should open a new thread  for this problem and close this threa . Reward points if answers&lt;/P&gt;&lt;P&gt;were helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 12:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-in-selection-screen/m-p/1004292#M77303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T12:19:38Z</dc:date>
    </item>
  </channel>
</rss>

