2009 Jul 28 12:03 PM
I have developed one alv and then after displaying i click on alv field then after i displayed a write statement report using submit till here is fine. i use user command with selfield value for alv and report display. now my requirement is now on this normal write statement report when i click on any field then after it should display another report using submit statement.
1.alv
2.click on alv field display another report .
till here fine no problem.
3.now prob arise after clk on this 2nd report i have to display another report using submit stmt.but at line-seletion is not triggering.
Thanks in Advance please help me.
2009 Jul 28 12:41 PM
Hi,
Catch the get cursor &
-
Passing value of perner to Memory ID u2018Memo1u2019
Export pernr to MEMORY id 'Memo1'.
Now submit to the program
Submit Prog_name AND RETURN .
-
Now we are importing u2018it_tableu2019 from Prog_name based on the value of pernr
Import it_table from MEMORY id 'ABC' .
Now we have to add Export parameter code in target program (Prog_name).
INITIALIZATION.
import pernr from memory id 'Memo1' .
-
After the internal table is appended we need to export it to again memory id (Memo1)
END-OF-SELECTION.
export it_table to memory id 'Memo1' .
Thanks,
Krishna
I have developed one alv and then after displaying i click on alv field then after i displayed a write statement report using submit till here is fine. i use user command with selfield value for alv and report display. now my requirement is now on this normal write statement report when i click on any field then after it should display another report using submit statement.
1.alv
2.click on alv field display another report .
till here fine no problem.
3.now prob arise after clk on this 2nd report i have to display another report using submit stmt.but at line-seletion is not triggering.
Thanks in Advance please help me.
2009 Jul 28 12:34 PM
Fort that you can following code with write statement
at line selection.
get cursor feild (your feild).
then submit your report
endat.
2009 Jul 28 12:37 PM
2009 Jul 28 12:41 PM
Hi,
Catch the get cursor &
-
Passing value of perner to Memory ID u2018Memo1u2019
Export pernr to MEMORY id 'Memo1'.
Now submit to the program
Submit Prog_name AND RETURN .
-
Now we are importing u2018it_tableu2019 from Prog_name based on the value of pernr
Import it_table from MEMORY id 'ABC' .
Now we have to add Export parameter code in target program (Prog_name).
INITIALIZATION.
import pernr from memory id 'Memo1' .
-
After the internal table is appended we need to export it to again memory id (Memo1)
END-OF-SELECTION.
export it_table to memory id 'Memo1' .
Thanks,
Krishna
2009 Jul 28 1:44 PM
Hi ,
You need to use HIDE statement in your program.
When you double click the line , you need to use this statement to save variables in memory for further use.
You can use this variables for your next select statement . Please search in Google or SDN for example and code accordingly.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |