‎2008 Jan 11 1:18 PM
Hi
I'm having a simple query for that i want solution.
The problem is like this
I'm having a data in one of my internal table say itab in which i'm having all the data in the format of
1.emp.no
2.emp name
3.emp.data
now if the user gives the data combinedly like
1.emp.no 2.emp name 3.emp.data in horizontally or u can say without breaking then i have to break it at the place where we will get the numericals can i have a simple coding for this??
I think my query is clear
if in internal table it is found that the data contains any numericals then it should print in next line
Regards
Nanda
‎2008 Jan 11 1:39 PM
Hi
Try like this
If itab = special character or numericals
new-line.
Regards
Pavan
‎2008 Jan 11 1:39 PM
Hi
Try like this
If itab = special character or numericals
new-line.
Regards
Pavan
‎2008 Jan 11 1:42 PM
try:
data digit(10) value '0123456789'.
if itab ca digit.
new-line.
endif.
A.
Edited by: Andreas Mann on Jan 11, 2008 2:43 PM
‎2008 Jan 11 1:42 PM
‎2008 Jan 11 1:52 PM
Hi
If it is in case of smartforms how to declare this digit?? Bcz i want this in smartform only in smartform i'm having an internal table in which i'm having the user will enters the data in this format so now i want to break the statement where ever the user enters a numerical value
Regards
Nanda
‎2008 Jan 11 1:53 PM
‎2008 Jan 11 1:54 PM
Hi Nanda,
Try this code:
loop at itab.
if itab ca '0123456789'.
new-line.
endif.
endloop.
<REMOVED BY MODERATOR>
Regards,
Kashyap
Edited by: Alvaro Tejada Galindo on Jan 11, 2008 4:15 PM