‎2007 Jan 26 5:43 AM
hi guys,
i have below code in my program. In call transaction statement i am using <b>P_code</b> variable using VK01 transaction.
How can i navigate this variable and find the Transaction code used inside the program.
I know double click the variable P_code will navigate to Transaction code. But how to traverse like this using ABAP program logic.
I used SCAN .command to take tokens and keyword but could not find the logic to do this.
Suggestion please.
Thanks
Chandra
FORM bdc_transaction TABLES p_bdcdata
USING p_code.
<b> CALL TRANSACTION<i> p_code</i></b> USING p_bdcdata
OPTIONS FROM str_bdcopt
MESSAGES INTO t_bdcmsg.
ENDFORM. " bdc_transaction
‎2007 Jan 26 7:37 AM
hi,
make a where used list of "p_code":
use :
-read report sy-repid into itab
and SEARCH itab FOR 'p_code'
or
-abap RPR_ABAP_SOURCE_SCAN
A.
Message was edited by:
Andreas Mann
‎2007 Jan 29 1:42 AM
hai andreas,
Thanks for your reply.
Now i want to search two things.
1-how to find where used list for P_code variable used in program and Values assigned to it.
2-How to find. what value is passed from (Perform...'VA01') statement
.to (Form P_Code) ...Statements..
Thanks
Chandra