Hi once again experts,
I am having problem with executing code
under the button in secondary list.
I have managed to create those buttons.
when i click the button on the first list secondary list
is displayed and there are different
buttons on the secondary list for example Sort By Name is
one of them I have created the button on the secondary list
successfully but when i click Sort By Name the code to sort
the list by name does not executes (or if it does, i cannot tell )
even after clicking the sort by name button the list does not
change and remains the same as it was generated with the
button from the first screen.
I can post the code here but i would prefer not to.
here is how my code runs...
report name etc
variables
Top-of-page.
start of selection.
my code for the first list
end-of-selection.
At-user-command.
case sy-usom
when 'A'
when 'B'
etc.....
when i press button A it displays the secondary report.....
here is the code for secondary repport buttons
top-of-the-page during-line-selection.
at-line-selection.
set pf-status 'CDE'.
case sy-ucomm.
WHEN 'SORTBYNAME'
WRITE: 'SORTED BY NAME'.
when 'SORTBYID'.
WRITE: 'SORTED BY id'.
endcase.
the above code does not prodice output 'SORTED BY NAME' if i press that button
Any thoughts on that please.
Thanks.
-hishiraz