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

Capture data on run time

Former Member
0 Likes
1,334

Dear Experts,

i m writing code in user exit EXIT_SAPLV01Z_002 which is called by COR!/COR2 (Create / Change process order).

Now the problem is that i want to cature PLNNR (Receipe Group from MAster receipe tab).

How van i do this ??????????????

Plz help me

Dear Experts,

i m writing code in user exit EXIT_SAPLV01Z_002 which is called by COR!/COR2 (Create / Change process order).

Now the problem is that i want to cature PLNNR (Receipe Group from MAster receipe tab).

How van i do this ??????????????

Plz help me

6 REPLIES 6
Read only

Former Member
0 Likes
1,184

In debugging check the Locals/Globals tab for any internal table/structure/variable having that value.

Regards

Karthik D

Read only

0 Likes
1,184

can you ellobrate you answer...........................Please

Read only

0 Likes
1,184

dear Kartik,

can you ellobrate you answer...........................Please

Read only

0 Likes
1,184

Hi,

Hardcode a breakpoint in your userexit code and In new ABAP Debugger see the Globals tab to the Right side. Check for any fields/variable which might be having the required PLNNR value.

Regards

Karthik D

Read only

Former Member
0 Likes
1,184

HI,

You can get the value at runtime using the Field-symbols.

Data: Value(60) type c value '(Program name)Table nmae - Field name'.   " Here table means the value which you get when you press F1 and F9.

data: L_PLNNR type PLNNR.

Field-Symbols: <FS> type any.

assign value to <FS>.

Move: <FS> to L_PLNNR.


L_PLNNR will have the value.

Thanks

Sudheer

Read only

Former Member
0 Likes
1,184

HI,

Data: Value(60) type c value '(Program name)Table nmae - Field name'. " Here table means the value which you get when you press F1 and F9.

data: L_PLNNR type PLNNR.

Field-Symbols: <FS> type any.

assign value to <FS>.

Move: <FS> to L_PLNNR.

First you need to declare a variable which is having the Program name and the structure with field name as it shows when you press F1 and technnical information on that field.

Then declare a field symbol of type any, when you assign the above variable to a field symbol, Field symobl will get the run time value from that table of that program which you have assigend to that variable.