<?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: help on value request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931587#M1150463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can  refer to Function Module documentation in SE37. The usage is explained there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2008 19:12:38 GMT</pubDate>
    <dc:creator>amit_khare</dc:creator>
    <dc:date>2008-12-23T19:12:38Z</dc:date>
    <item>
      <title>help on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931585#M1150461</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;  can anyone help me out with the following code in finding  F4 help  for the fiscal year .&lt;/P&gt;&lt;P&gt;while executing it is going to dump. The problem I fing is with the value_org = 'S'.&lt;/P&gt;&lt;P&gt;thanks....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_GJAHR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT DISTINCT GJAHR  FROM COSS&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF TABLE LT_GJAHR&lt;/P&gt;&lt;P&gt;         UP TO 10 ROWS.&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        = 'GJAHR'&lt;/P&gt;&lt;P&gt;      DYNPPROG        = SY-REPID&lt;/P&gt;&lt;P&gt;      DYNPNR          = SY-DYNNR&lt;/P&gt;&lt;P&gt;      DYNPROFIELD     = 'P_GJAHR'&lt;/P&gt;&lt;P&gt;      VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB       = LT_GJAHR&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;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 19:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931585#M1150461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T19:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: help on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931586#M1150462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the decleration of LT_GJAHR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update:  This works fine in my system... except its taking time to get the help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  zj_test LINE-SIZE 162.

PARAMETER: p_gjahr TYPE vbrk-gjahr.

DATA: BEGIN OF lt_gjahr OCCURS 0,
        gjahr TYPE vbrk-gjahr,
      END OF lt_gjahr.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_gjahr.

  SELECT DISTINCT gjahr FROM coss
  INTO TABLE lt_gjahr
  UP TO 10 ROWS.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield        = 'GJAHR'
      dynpprog        = sy-repid
      dynpnr          = sy-dynnr
      dynprofield     = 'P_GJAHR'
      value_org       = 'S'
    TABLES
      value_tab       = lt_gjahr
    EXCEPTIONS
      parameter_error = 1
      no_values_found = 2
      OTHERS          = 3.
  IF sy-subrc &amp;lt;&amp;gt; 0.

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 19:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931586#M1150462</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-12-23T19:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: help on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931587#M1150463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can  refer to Function Module documentation in SE37. The usage is explained there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 19:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931587#M1150463</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2008-12-23T19:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: help on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931588#M1150464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks jay&lt;/P&gt;&lt;P&gt;there is a problem with int table declaration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 19:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-value-request/m-p/4931588#M1150464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T19:28:38Z</dc:date>
    </item>
  </channel>
</rss>

