‎2014 Mar 27 3:31 PM
Hi ,
I have checkbox in my reuse alv list .when I press execute button ,it should take me to another classical report done using write statement .I am finding the ALV after the write statement .I have tried LEAVE TO LIST PROCESSING AND RETURN 0 before and after the write statement ,still the alv is coming .How to avoid the alv to appear after write statements .
‎2014 Mar 28 6:56 AM
Hi Pvnchndra,
I would suggest you to use SUBMIT statement for your classic report to avoid the alv coming out.
Thanks
Hock Lin
‎2014 Mar 28 7:10 AM
Classical report is a separate one..? or when user check the checkbox you just do a write..?
‎2014 Mar 28 7:26 AM
So u have 2 separate program. One with output ALV and another with classical.
So have AT USER COMMAND in ALV program and using SUBMIT call classsical program
‎2014 Mar 28 7:34 AM
I have only one program in which I am producing another output using write statements from user command of ALV .How to avoid the ALV from coming in the second output
‎2014 Mar 28 7:36 AM
Hi,
You can use Screens and containers. In once screen display ALV and AT USER COMMAND call second screen and in that you can WRITE the data.
Regards,
Vijay
‎2014 Mar 28 7:37 AM
You have to build second program for the classical report and in your first program trigger SUBMIT for your second program.
‎2014 Mar 28 8:21 AM
Do you want to print the classical report output on same screen or different screen.
‎2014 Mar 28 9:31 AM
Hello Pvnchndra,
Please paste your source code for better analysis. There might be some problem in your logic.
Where like you haven't done the correct coding in the USER command.
Regards,
TP
‎2014 Mar 28 6:30 PM
Hi ,below is the source code .In the perform process_checked_lines,I have the write statements ,how to avoid the alv coming after write statements without using submit.
FORM user_command USING ucomm TYPE sy-ucomm selfield TYPE slis_selfield.
CASE ucomm.
WHEN 'ONLI'.
* Process checked lines.
PERFORM process_checked_lines.
selfield-refresh = 'X'.
‎2014 Mar 28 7:43 PM
‎2014 Mar 29 5:08 PM
‎2014 Mar 30 7:38 AM
Hello,
As you said inside the PERFORM process_checked_lines you were not using the WRITE statements.
You are using REUSE ALV fucntion module to display it in ALV format.
Please elaborate on your issue.
Regards,
TP
‎2014 Mar 30 11:40 AM
Hi ,
I have 2 conditions inside the PERFORM process_checked_lines based on which it either calls 2nd alv or it performs write statement .