<?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: ALV grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355619#M805098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are taking about F4 Help in ALV for the field then you can try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you create the fieldcatalog you have to set equal 'X' the field ls_fcat-F4AVAILABL after that you can set handler and register event. &lt;/P&gt;&lt;P&gt;Usually the fieldcatlog set F4AVAILABL = 'X' only if the referred structure have linked (directly or not) a Search Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_field-f4availabl = 'X'.&lt;/P&gt;&lt;P&gt;ls_field-checktable = 'T702G'.&lt;/P&gt;&lt;P&gt;ls_field-ref_table = 'PTRV_HEAD'.&lt;/P&gt;&lt;P&gt;ls_field-ref_field = 'KZREA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that is usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not clear in the question what you wanted to ask&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jayant Sahu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2008 06:27:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-06T06:27:35Z</dc:date>
    <item>
      <title>ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355615#M805094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;These are my requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I have designed a ALV grid which has the fields BEGDA and    ENDDA. i require a calendar on f4. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*I require a dropdown box for a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I require a search help for a field.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;On saving any new entries, it has to get updated in the HRP1001. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me on these queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 05:43:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355615#M805094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T05:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355616#M805095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to get the calender declare the parameters like sy-datum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: pa_begdat type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop down box:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

Check the following code:
TYPE-POOLS: VRM.

DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.

PARAMETERS: PS_PARM(10) AS LISTBOX VISIBLE LENGTH 10.

AT SELECTION-SCREEN OUTPUT.

NAME = 'PS_PARM'.
VALUE-KEY = '1'.

VALUE-TEXT = 'LINE 1'.
APPEND VALUE TO LIST. VALUE-KEY = '2'.

VALUE-TEXT = 'LINE 2'.
APPEND VALUE TO LIST.

CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.

START-OF-SELECTION.
WRITE: / 'PARAMETER:', PS_PARM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search help:&lt;/P&gt;&lt;P&gt;create a search help thru se11 &amp;gt;search help&amp;gt; 'ABC'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter: pa_sh for table-field matchcode object 'ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..............&lt;/P&gt;&lt;P&gt;award points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355616#M805095</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-02-06T06:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355617#M805096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The code which u have posted will work for table control. But since am using ALV grids this code will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide a different solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355617#M805096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T06:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355618#M805097</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;For Calender define the selection screen type begda or endda ... you will get F4 help on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set values in drop box in selection screen use FM 'VRM_SET_VALUES'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To maintain values in HRP1001 use FM 'HR_MAINTAIN_MASTERDATA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jayant Sahu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355618#M805097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T06:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355619#M805098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are taking about F4 Help in ALV for the field then you can try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you create the fieldcatalog you have to set equal 'X' the field ls_fcat-F4AVAILABL after that you can set handler and register event. &lt;/P&gt;&lt;P&gt;Usually the fieldcatlog set F4AVAILABL = 'X' only if the referred structure have linked (directly or not) a Search Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_field-f4availabl = 'X'.&lt;/P&gt;&lt;P&gt;ls_field-checktable = 'T702G'.&lt;/P&gt;&lt;P&gt;ls_field-ref_table = 'PTRV_HEAD'.&lt;/P&gt;&lt;P&gt;ls_field-ref_field = 'KZREA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that is usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not clear in the question what you wanted to ask&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jayant Sahu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355619#M805098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T06:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355620#M805099</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 you are looking for a F4 Help then this will surely help you kindly check it out in SE38.&lt;/P&gt;&lt;P&gt;F4 help &amp;#150; using internal table example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF LI_FABGRP OCCURS 0,&lt;/P&gt;&lt;P&gt;FABGRP LIKE ZAPO_FABGRP-FABGRP,&lt;/P&gt;&lt;P&gt;BEGDA LIKE ZAPO_FABGRP-BEGDA,&lt;/P&gt;&lt;P&gt;END OF LI_FABGRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;L_RETFIELD TYPE DFIES-FIELDNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : S_FABGR like ZAPO_FABGRP-FABGRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT FABGRP BEGDA FROM ZAPO_FABGRP INTO table LI_FABGRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT LI_FABGRP BY FABGRP ASCENDING BEGDA DESCENDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Henter de mulige fabriksgrupper med nyeste BEGDA *indenfor hver &lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM LI_FABGRP COMPARING FABGRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_RETFIELD = 'FABGRP'.&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 = L_RETFIELD&lt;/P&gt;&lt;P&gt;DYNPPROG = SY-REPID&lt;/P&gt;&lt;P&gt;DYNPNR = '1000'&lt;/P&gt;&lt;P&gt;DYNPROFIELD = 'S_FABGR'&lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;MULTIPLE_CHOICE = ' '&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = LI_FABGRP&lt;/P&gt;&lt;P&gt;RETURN_TAB = T_RETURN&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;P&gt;NO_VALUES_FOUND = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4 help &amp;#150; using field example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;tabname = mara&lt;/P&gt;&lt;P&gt;fieldname = matnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCHHELP = ' ' &lt;/P&gt;&lt;P&gt;SHLPPARAM = ' ' &lt;/P&gt;&lt;P&gt;DYNPPROG = ' ' &lt;/P&gt;&lt;P&gt;DYNPNR = ' ' &lt;/P&gt;&lt;P&gt;DYNPROFIELD = ' ' &lt;/P&gt;&lt;P&gt;STEPL = 0 &lt;/P&gt;&lt;P&gt;VALUE = ' ' &lt;/P&gt;&lt;P&gt;MULTIPLE_CHOICE = ' ' &lt;/P&gt;&lt;P&gt;DISPLAY = ' ' &lt;/P&gt;&lt;P&gt;SUPPRESS_RECORDLIST = ' ' &lt;/P&gt;&lt;P&gt;CALLBACK_PROGRAM = ' ' &lt;/P&gt;&lt;P&gt;CALLBACK_FORM = ' ' &lt;/P&gt;&lt;P&gt;SELECTION_SCREEN = ' ' &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;USER_RESET = &lt;/P&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;RETURN_TAB = &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;FIELD_NOT_FOUND = 1 &lt;/P&gt;&lt;P&gt;NO_HELP_FOR_FIELD = 2 &lt;/P&gt;&lt;P&gt;INCONSISTENT_HELP = 3 &lt;/P&gt;&lt;P&gt;NO_VALUES_FOUND = 4 &lt;/P&gt;&lt;P&gt;OTHERS = 5 &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KINDLY REWARD IF USEFUL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chaitanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355620#M805099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T06:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355621#M805100</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;c the code....&lt;/P&gt;&lt;P&gt;declaring the dates.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: textbox1 type dats,&lt;/P&gt;&lt;P&gt;textbox2 type dats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if for this u want to put a search help follow the procedure below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the data eleement corresponding to the fields does't have an associated search help, then do the following:&lt;/P&gt;&lt;P&gt;1. create a view on the table with the required fields.&lt;/P&gt;&lt;P&gt;2. create a search help and assign the 'selection method' with the view name.&lt;/P&gt;&lt;P&gt;inside the search help you supress the unwanted fields by not giving the LPos &lt;/P&gt;&lt;P&gt;SPos, select the dialog type as 'display with restriction' and tick 'SDis'.&lt;/P&gt;&lt;P&gt;3. Now in the selection screen after the data declaration write &lt;/P&gt;&lt;P&gt;matchcode search_help_name&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;Parameter p_data type mara-matnr matchcode search_help_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 06:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355621#M805100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T06:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355622#M805101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please refer to std. prog.&lt;/P&gt;&lt;P&gt;BCALV_EDIT_06&lt;/P&gt;&lt;P&gt;BCALV_EDIT_07&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for dropdown in alv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 08:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/3355622#M805101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T08:46:01Z</dc:date>
    </item>
  </channel>
</rss>

