2008 Dec 23 2:53 AM
Hi ABAP Guru.
I need to know how to get data type of variable or any structure field.. because I got short dump when use command REPLACE ALL OCCURANCE ... with variable/structure field that has data type I or P, I think it should be used with data type CHAR only, So I need to check the data type first.
Please give me your advice
Thank you all.
Nattapash C.
2008 Dec 23 3:46 AM
Hi,
To know the type of a variable you can take the help of key word DESCRIBE
Please take F1 on the above key word .
Best Regards
Ramchander Rao.K
Hi ABAP Guru.
I need to know how to get data type of variable or any structure field.. because I got short dump when use command REPLACE ALL OCCURANCE ... with variable/structure field that has data type I or P, I think it should be used with data type CHAR only, So I need to check the data type first.
Please give me your advice
Thank you all.
Nattapash C.
2008 Dec 23 3:08 AM
data : v_value type i,
v_char(10) type c.
v_value = 10.
move v_value to v_char.
REPLACE ALL OCCURRENCES of '#' from v_char....Best regards,
Prashant
2008 Dec 23 3:46 AM
Hi,
To know the type of a variable you can take the help of key word DESCRIBE
Please take F1 on the above key word .
Best Regards
Ramchander Rao.K
2008 Dec 29 2:22 AM
Thank you very much Prashant Patil and Ramchander Krishnamraju.
Edited by: Nattapash Changpant on Dec 29, 2008 3:23 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |