2013 Dec 29 8:14 AM
Hi All ,
I am doing enhancement and in debug mode i can see the values inside the table (SAPLFKB4)XXXXX[] .
I want to validate this (SAPLFKB4)XXXXX[] inside my program , when i write the code with the if condition , i am getting error as this is not declared .
So i came to know , i have to get this value by reading the stack ,
Please share your ideas how to read the stack and how to get the value inside my program ? and i have to declare the same table which has the values in DEBUG mode .
Thanks,
Pradeep.
2013 Dec 29 9:01 AM
Try the following.....
It relates to obtaining the table contents using field-symbols.....
data : name(100) type c.
field-symbols: <global> type any table.
name = '(SAPLFKB4)XXXXX[]'.
assign (name) to <global>.
if sy-subrc = 0.
" Pass values from <global> to your specific internal table Type
endif.
Hope It Helps.
You will have to declare field symbol type table of internal table. Then use assign statement assign (progaram name (itab)) to fs
2013 Dec 29 8:55 AM
You will have to declare field symbol type table of internal table. Then use assign statement assign (progaram name (itab)) to fs
2013 Dec 29 9:01 AM
Try the following.....
It relates to obtaining the table contents using field-symbols.....
data : name(100) type c.
field-symbols: <global> type any table.
name = '(SAPLFKB4)XXXXX[]'.
assign (name) to <global>.
if sy-subrc = 0.
" Pass values from <global> to your specific internal table Type
endif.
Hope It Helps.
2013 Dec 29 9:30 AM
Hi Nabheet and Byju ,
Its working fine now , Thanks for help and sharing .
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |