<?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: 'Save' function inactive in user defined PF for CL_SALV* in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929442#M1599631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I've assigned a Function code to the SAVE button. In fact, it already had it as I copied it from a Standard. Also, I've attached it to the program through method SET_SCREEN_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything else that I can check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shalabh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Shalabh Jain on Jun 15, 2011 9:34 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2011 07:33:44 GMT</pubDate>
    <dc:creator>shalabh_jain</dc:creator>
    <dc:date>2011-06-15T07:33:44Z</dc:date>
    <item>
      <title>'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929437#M1599626</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've implemented OOPS ALV using CL_SALV* classes and defined a PF Status with 'Save' functionality copied from the Standard PF Status SALV_TABLE_STANDARD of the function group SALV_METADATA_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the said SAVE function button is not active on execution of the report. I've checked the activation/visibility of the function using methods get_function(), is_active() and is_visible () but everything seems fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shalabh Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 11:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929437#M1599626</guid>
      <dc:creator>shalabh_jain</dc:creator>
      <dc:date>2011-06-14T11:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929438#M1599627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shalabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you set the GUI status using the method SET_SCREEN_STATUS( ) of the CL_SALV* class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N.B.: You cannot use this method to set the UI status for displays using containers. You need to use the SET PF-STATUS command in the PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Posting relevant portions of the code will help you get better responses &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 12:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929438#M1599627</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-06-14T12:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929439#M1599628</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;As suhas sir suggested you have to create a Z Gui Status and set PF-status., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can copy the standard PF Status and assign Function Codes: check my reply in this thread  [Gui Status |&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1937125"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 14:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929439#M1599628</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-14T14:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929440#M1599629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas/ Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already done all of these things i.e. creating new PF status, using SET_SCREEN_STATUS method. Also, please note that I'm using FULLSCREEN mode of the ALV Object Model which does not require creation of a custom container. So I believe SET PF status statement is not applicable in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, still it doesn't show the SAVE option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing I noticed is that, when I add more options to the PF Status, they are visible. But the ones copied from the standard PF status(as mentioned in my first reply) are not visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shalabh Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 15:32:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929440#M1599629</guid>
      <dc:creator>shalabh_jain</dc:creator>
      <dc:date>2011-06-14T15:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929441#M1599630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with the way Suhas mentioned and it worked perfectly !!. It works well with SET_SCREEN_STATUS method of CL_SALV_TABLE (with SET_FUNCTIONS parameter set to C_FUNCTIONS_ALL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - Have you modified the custom GUI status by assigning the Function code to the SAVE button ?&lt;/P&gt;&lt;P&gt; - Have you attached the activated GUI status with the program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 06:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929441#M1599630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T06:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929442#M1599631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I've assigned a Function code to the SAVE button. In fact, it already had it as I copied it from a Standard. Also, I've attached it to the program through method SET_SCREEN_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything else that I can check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shalabh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Shalabh Jain on Jun 15, 2011 9:34 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 07:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929442#M1599631</guid>
      <dc:creator>shalabh_jain</dc:creator>
      <dc:date>2011-06-15T07:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929443#M1599632</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;PRE&gt;&lt;CODE&gt;&lt;P&gt;One thing I noticed is that, when I add more options to the PF Status, they are visible. But the ones copied from the standard PF status(as mentioned in my first reply) are not visible.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new functions are visible, &lt;EM&gt;where&lt;/EM&gt; ? By 'where' i mean which area of the screen viz., Menu area, Application area etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jun 15, 2011 1:52 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW when you say the function is &lt;EM&gt;inactive&lt;/EM&gt;, do you mean that it is &lt;EM&gt;greyed&lt;/EM&gt; out or you're not the + event handler+ method is not getting triggered?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 07:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929443#M1599632</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-06-15T07:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929444#M1599633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to change the function code associated with SAVE button in custom GUI status and activate it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 08:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929444#M1599633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T08:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929445#M1599634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas/ Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By 'Where' I mean the Standard Tool bar where we get Back, Up and Cancel options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Save button is greyed out there. I even tried changing the F code and activating it but it didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an alternative, I tried using the classical ALV approach using RESUSE_ALV_GRID* function modules with the same PF Status and it worked perfectly fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know why the ALV Object Model is not supporting it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shalabh Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 03:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929445#M1599634</guid>
      <dc:creator>shalabh_jain</dc:creator>
      <dc:date>2011-06-16T03:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: 'Save' function inactive in user defined PF for CL_SALV*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929446#M1599635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don' think anything wrong with SALV Class.  I tried the same by copying standard GUI Status "SALV_TABLE_STANDARD" to a Z GUI Status and it worked perfectly.  I followed below steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Copy standard GUI status "SALV_TABLE_STANDARD" to "ZSALV_TABLE_STANDARD"&lt;/P&gt;&lt;P&gt;- Changed the Function code of SAVE button to "SAVE"&lt;/P&gt;&lt;P&gt;- Activated GUI Status.&lt;/P&gt;&lt;P&gt;- Attached the GUI status to the Z program&lt;/P&gt;&lt;P&gt;- Call method SET_SCREEN_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : lv_sypfkey  TYPE sypfkey.
    lv_sypfkey = 'ZSALV_TABLE_STANDARD'.
    TRY.
        lr_table-&amp;gt;set_screen_status(
          EXPORTING
            report        = sy-repid
            pfstatus      = lv_sypfkey
            set_functions = lr_table-&amp;gt;c_functions_all ).
      ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards, Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 04:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-function-inactive-in-user-defined-pf-for-cl-salv/m-p/7929446#M1599635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-16T04:01:37Z</dc:date>
    </item>
  </channel>
</rss>

