Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg: Parameter ID

Former Member
0 Likes
640

Hi Friends,

Is it possible to check the value of a Parameter ID in debug mode? System: 4.6C

Regards,

Nathan.

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
607

Only if there is a GET PARAMETER ID statement, where it is actually getting the value into a variable. After the execution of this statement, you can then see the value in the varible.

Regards,

Rich Heilman

Read only

0 Likes
607

Hi,

I am trying to debug a standard transaction. Is there a way out to directly find out the value the parameter ID holds at runtime?

Regards,

Nathan.

Read only

0 Likes
607

No, you must have a GET PARAMETER ID statement.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
607

Hi nathan,

try this:

DATA: PARA TYPE TPARA-PARAMID VALUE 'WRK',

WRK(4).

GET PARAMETER ID PARA FIELD WRK.

IF SY-SUBRC <> 0.

MESSAGE 'Parameter not found' TYPE 'I'.

ELSE.

WRITE: / WRK.

ENDIF.

Its from the Docu of get parametar id.

Regards, Dieter

regards, Dieter

Read only

Former Member
0 Likes
607

Hi Nathan,

if you use the Classic Debugger you can try the following (the new Degugger does not yet provide this feature):

From the menue select Goto->System-Areas->SAP-Memory

In this Area (SMEM) you can see the list of SPA-GPA-IDs with corresponding Values.

Martin