2009 Dec 28 11:24 AM
Hi,
when the user clicks on ALV record, he should be taken to Tcode VK13, and for that condition type and the access seq number, the selection criteria seen should be entered and the recoed should be displayed.
Can any one please suggest as FM to take to that particular record directly.I have all the required data in my final internal table
I do not want to write a BDC.
Regards,
Himanshu
2009 Dec 28 11:31 AM
2009 Dec 28 11:30 AM
Hi
If you the condition and sequence, u should know the name of the table A*** generated for that sequence, the name of report should be RV13A***, so u can submit the report directly:
DATA: V_PROGRAM(30).
CONCATENATE 'RV13' <table name> INTO V_PROGRAM.
SUBMIT (V_PROGRAM).....
U can use the fm RV_T681_SELECT_AND_GENERATE in order to get the program name
Max
2009 Dec 28 11:31 AM
2009 Dec 28 12:20 PM
Hi Max,
Thanks for that!
But now, how can I relate that say:
program RV13A719 has sales order and personal number on selection screen
RV13A745 has some others.
From my internal table how do i relate and transfer values say prg RV13A719 has sales order and personal number on selection screen so transfer these valuse from internal table which is linked to ALV grid? Can you please suggest?
Best Regards,
Himanshu
2009 Dec 28 1:21 PM
Hi
U can use the fm RS_SELSCREEN_INFO in order to get the selection-screen and use the option WITH SELECTION-TABLE in order to transfer the data for selection-screen dynamically.
Max