<?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: Tabstrip - mandatory fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929394#M1332810</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;At the time of saving check whether the fields in the other screens are initial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is initial dont perfom save&lt;/P&gt;&lt;P&gt;there give a message to enter values on the fields(you can do it with if.. else)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want based on the condition you can change the active tab and screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u need more clarification let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2009 09:02:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-28T09:02:33Z</dc:date>
    <item>
      <title>Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929393#M1332809</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;&lt;/P&gt;&lt;P&gt;I have a tabstrip control with diffent subscreens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user push the save button all mandatory subscreen fields should be validated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for the active tab (chain. fields: .... endchain.) but not for the other tabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to validate the subscreen fields from main screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 08:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929393#M1332809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T08:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929394#M1332810</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;At the time of saving check whether the fields in the other screens are initial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is initial dont perfom save&lt;/P&gt;&lt;P&gt;there give a message to enter values on the fields(you can do it with if.. else)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want based on the condition you can change the active tab and screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u need more clarification let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 09:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929394#M1332810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T09:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929395#M1332811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that the field checks are in the different subscreen PAIs. But only the current subscreen PAI (not all) will be triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 09:06:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929395#M1332811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T09:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929396#M1332812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To achieve that you have to do pagging localy (in SAP GUI). Go to tab attributes and select &lt;EM&gt;function type&lt;/EM&gt; &lt;STRONG&gt;P&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;Now, each time you change tabstrip all input checks are performed for all tabstrips. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer [tabstrips|http://help.sap.com/saphelp_nw04/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/content.htm] - section &lt;EM&gt;Paging in the SAPgui&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 09:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929396#M1332812</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-28T09:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929397#M1332813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have changed the function code to type P but now I get the following error:&lt;/P&gt;&lt;P&gt;No subscreen is assigned to tabstrip pushbutton VMD_TAB_CREATE_TAB2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 09:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929397#M1332813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T09:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929398#M1332814</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;consider you are having two sub screen 9000 and 9001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9000 is current screen&lt;/P&gt;&lt;P&gt;you are having fields X and Y in screen 9000 and A and B in 9001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while saving you check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if A is initial or B is initial or Xis initial or Y is initial &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give a status message saying that enter values in all fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the code for saving&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;If you are doing like this the data will not be saved&lt;/P&gt;&lt;P&gt;Since you are giving status message you can edit all fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 09:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929398#M1332814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T09:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929399#M1332815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no need of changing the type.&lt;/P&gt;&lt;P&gt;Try the method i have given&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used it and it was working fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 09:36:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929399#M1332815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T09:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929400#M1332816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I missed that you need to complete the following:&lt;/P&gt;&lt;P&gt;- you have to have one tabstrip&lt;/P&gt;&lt;P&gt;- each tab has to have one function code assinged to all of them i.e FCODE&lt;/P&gt;&lt;P&gt;- all tabs must be of type &lt;STRONG&gt;P&lt;/STRONG&gt; (as mentoined before)&lt;/P&gt;&lt;P&gt;- each tab has separate subscreen area SUB1, SUB2, SUB3 etc&lt;/P&gt;&lt;P&gt;- in flow logic you need &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
  CALL SUBSCREEN: SUB1 INCLUDING SY-REPID '0110',
                  SUB2 INCLUDING SY-REPID '0120',
                  SUB3 INCLUDING SY-REPID '0130'.

PROCESS AFTER INPUT.
  CALL SUBSCREEN: SUB1,
                  SUB2,
                  SUB3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For more info refer link I gave you. At bottom there is described program &lt;STRONG&gt;DEMO_DYNPRO_TABSTRIP_LOCAL&lt;/STRONG&gt; . You can check that in system too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 09:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929400#M1332816</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-28T09:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929401#M1332817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At the moment I do it this way. I have just one subscreen for all tabs and set the subscreens dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO.&lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN VMD_TAB_CREATE_SCA&lt;/P&gt;&lt;P&gt;    INCLUDING G_VMD_TAB_CREATE-PROG G_VMD_TAB_CREATE-SUBSCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN VMD_TAB_CREATE_SCA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 10:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929401#M1332817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T10:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929402#M1332818</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;In a situation like your, the easy solution is create a module to check all mandatary fields and insert it in the PAI of main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MAINS SCREEN should be the same for all tabstrip, so thta module should be always triggered: u need to insert a control to do the control only for a certain situation (perhasp if the user press SAVE):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PBO.
CALL SUBSCREEN VMD_TAB_CREATE_SCA
INCLUDING G_VMD_TAB_CREATE-PROG G_VMD_TAB_CREATE-SUBSCREEN.

PROCESS AFTER INPUT.
CALL SUBSCREEN VMD_TAB_CREATE_SCA.

MODULE CHECK_FIELDS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 10:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929402#M1332818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T10:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929403#M1332819</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 tried the logic i gave you??&lt;/P&gt;&lt;P&gt;It will work&lt;/P&gt;&lt;P&gt;Am sure about it.&lt;/P&gt;&lt;P&gt;The only thing you have tio care is give a STATUS message at the time of saving&lt;/P&gt;&lt;P&gt;NOT ERROR message.&lt;/P&gt;&lt;P&gt;If you are giving status message all fields will be editable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 10:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929403#M1332819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T10:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip - mandatory fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929404#M1332820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you are using one tabstrip area for all tabs and determine screen dynamically. This is ok, but only for paging and Application server. &lt;/P&gt;&lt;P&gt;For paging at SAP GUI you need separate subscreen areas and separate screen for each of them. Go to screen layout, place in each tab separate subscreen area &lt;EM&gt;VMD_TAB_CREATE_SCA1&lt;/EM&gt;, VMD_TAB_CREATE_SCA2+, &lt;EM&gt;VMD_TAB_CREATE_SCA3&lt;/EM&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you call main screen each tab receives its own unique subscreen on its own unique &lt;EM&gt;subscreen area&lt;/EM&gt; . That's why you need to change it to&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PBO.
CALL SUBSCREEN VMD_TAB_CREATE_SCA1 INCLUDING G_VMD_TAB_CREATE-PROG '0100'.  "here goes first subscreen in first area

"second tab - assign second subscreen to second area 
CALL SUBSCREEN VMD_TAB_CREATE_SCA2 INCLUDING G_VMD_TAB_CREATE-PROG '0200'.  

"third one
CALL SUBSCREEN VMD_TAB_CREATE_SCA3 INCLUDING G_VMD_TAB_CREATE-PROG '0300'.  

PROCESS AFTER INPUT.
"in PAI you need to call all these subsareas
CALL SUBSCREEN: VMD_TAB_CREATE_SCA1,
                                     VMD_TAB_CREATE_SCA2,
                                       VMD_TAB_CREATE_SCA3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you still face any problems juest read link I gave you. It will take you 15 minutes and you will certainly understand the concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 10:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-mandatory-fields/m-p/5929404#M1332820</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-28T10:13:23Z</dc:date>
    </item>
  </channel>
</rss>

