Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9182

In ALV OOPS, Functionality of application toolbar doesn't work on second click

$
0
0

Hello All,

 

I had the requirement of changing the Standard ALV to OOPS ALV in Z program.

 

I have changed the ALV to OOPS ALV.

 

Here i have not used the standard toolbar of alv oops and added custom toolbar that is SET-PFSTATUS 'STANDARD'

 

But now i am facing one issue.

 

I have used method "set_function_code" so that the functionality on Application toolbar should work.

 

      IF OK_CODE(1) = '&' OR OK_CODE(1) = '%'.

        CALL METHOD wo_alv->set_function_code

          CHANGING

            c_ucomm = OK_CODE.

      ENDIF.

 

Now when i am executing that program.

I am sorting one column in ascending order. It is working for the first time.

But when i am again trying to do Summation of one column or sorting some other column, The pop up comes with "Select at least one column"..

 

Application tool bar buttons work for the first time.. but for the second click it doesn't work.

 

Please refer the attached screenshot.

 

Could you please help me solve this issue???


Viewing all articles
Browse latest Browse all 9182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>