<?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: Absence Type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639344#M1283508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to solve it via using the following:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create structure zhr_absence_type_selection via SE11 (Select the Data Type Radio Button)&lt;/P&gt;&lt;P&gt;with the following fields:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Component Tab&lt;/P&gt;&lt;P&gt;=================&lt;/P&gt;&lt;P&gt;Start of Structure zhr_absence_type_selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Component	Component Type	Data Type   	Length	Decim	Short Decs.
========	=============	========  	=====	====	=========
&amp;nbsp;
MOABW		MOABW		NUMC	   	2	0	Personnel subarea grouping 
SUBTY		SUBTY		CHAR4	   	0	0	Subtype
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Of Structure zhr_absence_type_selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Entry help/check Tab&lt;/P&gt;&lt;P&gt;=====================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the SUBTY line and press the Search Help Button &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Search Help Name :- H_T554S
&amp;nbsp;
Search help parameter	Table Name			Field name	Constant
=================	========			========	=======
ATEXT
BEGDA
ENDDA
MOABW			ZHR_ABSENCE_TYPE_SELECTION      MOABW
SUBTY			ZHR_ABSENCE_TYPE_SELECTION      SUBTY
&amp;nbsp;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Green Tick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the above has been done the Entry help/check tab should look like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Component	Component Type	Data Type	Origin	Srch Help	Domain
========	============	=======  	====	=======		======
&amp;nbsp;
MOABW		MOABW		NUMC					MOABW
SUBTY		SUBTY		CHAR		Explict	H_T554S		SUBTY
&amp;nbsp;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within  the main program the code should be as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF BLOCK absence_schemes WITH FRAME TITLE text-008.
&amp;nbsp;
* This parameter is used by the selection screen option s_abstyp.
* The binding between the 2 parameters p_moabw and s_abstyp is done
* within the search help &amp;lt;b&amp;gt;for&amp;lt;/b&amp;gt; structure zhr_absence_type_selection.
PARAMETER p_moabw TYPE zhr_absence_type_selection-moabw NO-DISPLAY DEFAULT '08'.
&amp;nbsp;
SELECT-OPTIONS: s_abstyp FOR zhr_absence_type_selection-subty NO INTERVALS.
&amp;nbsp;
SELECTION-SCREEN END OF BLOCK absence_schemes.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 09:19:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-20T09:19:08Z</dc:date>
    <item>
      <title>Absence Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639341#M1283505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;lt;&amp;lt;text removed&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use a select-option command to display absence types from table T554S.&lt;/P&gt;&lt;P&gt;But I want the absence type to be limited to only those relevant to me i.e. where T554S-MOABW = 08&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this and link the 2 together - I want the screen p_mowab parameter to be hidden from view i.e. it will have a default value of 08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A small code example would be really useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on May 20, 2009 1:22 PM - salutation removed after complaints&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 12:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639341#M1283505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T12:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Absence Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639342#M1283506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_mowab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * from T554S   INTO TABLE gt_itab&lt;/P&gt;&lt;P&gt;             WHERE MOABW = '08'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      retfield    = 'MOABW'&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr      = '1000'&lt;/P&gt;&lt;P&gt;      dynprofield = 'P_MOWAB' &lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = gt_itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 12:38:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639342#M1283506</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2009-05-19T12:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Absence Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639343#M1283507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Create a custon search help and View ( with your condtion)&lt;/P&gt;&lt;P&gt;Call the View in your search help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 12:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639343#M1283507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T12:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Absence Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639344#M1283508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to solve it via using the following:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create structure zhr_absence_type_selection via SE11 (Select the Data Type Radio Button)&lt;/P&gt;&lt;P&gt;with the following fields:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Component Tab&lt;/P&gt;&lt;P&gt;=================&lt;/P&gt;&lt;P&gt;Start of Structure zhr_absence_type_selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Component	Component Type	Data Type   	Length	Decim	Short Decs.
========	=============	========  	=====	====	=========
&amp;nbsp;
MOABW		MOABW		NUMC	   	2	0	Personnel subarea grouping 
SUBTY		SUBTY		CHAR4	   	0	0	Subtype
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Of Structure zhr_absence_type_selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Entry help/check Tab&lt;/P&gt;&lt;P&gt;=====================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the SUBTY line and press the Search Help Button &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Search Help Name :- H_T554S
&amp;nbsp;
Search help parameter	Table Name			Field name	Constant
=================	========			========	=======
ATEXT
BEGDA
ENDDA
MOABW			ZHR_ABSENCE_TYPE_SELECTION      MOABW
SUBTY			ZHR_ABSENCE_TYPE_SELECTION      SUBTY
&amp;nbsp;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Green Tick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the above has been done the Entry help/check tab should look like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Component	Component Type	Data Type	Origin	Srch Help	Domain
========	============	=======  	====	=======		======
&amp;nbsp;
MOABW		MOABW		NUMC					MOABW
SUBTY		SUBTY		CHAR		Explict	H_T554S		SUBTY
&amp;nbsp;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within  the main program the code should be as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF BLOCK absence_schemes WITH FRAME TITLE text-008.
&amp;nbsp;
* This parameter is used by the selection screen option s_abstyp.
* The binding between the 2 parameters p_moabw and s_abstyp is done
* within the search help &amp;lt;b&amp;gt;for&amp;lt;/b&amp;gt; structure zhr_absence_type_selection.
PARAMETER p_moabw TYPE zhr_absence_type_selection-moabw NO-DISPLAY DEFAULT '08'.
&amp;nbsp;
SELECT-OPTIONS: s_abstyp FOR zhr_absence_type_selection-subty NO INTERVALS.
&amp;nbsp;
SELECTION-SCREEN END OF BLOCK absence_schemes.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 09:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639344#M1283508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T09:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Absence Type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639345#M1283509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered by originator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 09:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/absence-type/m-p/5639345#M1283509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T09:19:56Z</dc:date>
    </item>
  </channel>
</rss>

