2009 Jun 19 8:18 AM
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
2009 Jun 19 8:24 AM
In debugging check the Locals/Globals tab for any internal table/structure/variable having that value.
Regards
Karthik D
2009 Jun 19 9:06 AM
can you ellobrate you answer...........................Please
2009 Jun 19 9:19 AM
dear Kartik,
can you ellobrate you answer...........................Please
2009 Jun 19 10:31 AM
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
2009 Jun 19 8:33 AM
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
2009 Jun 19 9:34 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |