‎2007 May 09 6:00 AM
Hi , all
I have a question for the query. Is it possible using a interface parameter for report-to-report interface? I mean when I double click on one the data record of query, I want to transfer the key information of this record to the query or report or transaction as parameters. Is it possible? If yes, could you tell me how?
Thanks and Regards
Saravana
‎2007 May 09 6:06 AM
Hi,
IT is possible using SET/GET parameters.
SET PARAMETER ID IS TO STORE THE PARTICULAR FIELD VALUE IN GLOBAL MEMORY CALLED AS SAP MEMORY FOR A PARTICAULAR TIME AND RESTORE IT THROUGH GET PARAMETER ID
e.g.
SET PARAMETER ID 'ABC' FIELD '0'.
If however its in a variable
SET PARAMETER ID 'ABC' FIELD variableName.
‎2007 May 09 6:11 AM
yes, we can do it two way one using call transaction and at line selection.best way use call transaction.
‎2007 May 09 6:18 AM
Hi Saravana,
It is possible.Use SET PARAMETER ID statement fo that.
refer this code :
form user_command using p_ucomm type sy-ucomm
p_selfield type slis_selfield.
case p_ucomm.
WHEN '&IC1'.
<b>SET PARAMETER ID 'MAT' FIELD P_SELFIELD-VALUE.</b>
CALL TRANSACTION 'MM01' AND SKIP FIRST SCREEN.
endcase.
P_SELFIELD-VALUE is the value on which u double click.
This value will diecty go to MM01.
endform. " ZF_USER_COMMAND
Reward points if helpful,
Regards,
Hemant