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

simple query

Former Member
0 Likes
784

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
745

Hi

Try like this

If itab = special character or numericals

new-line.

Regards

Pavan

6 REPLIES 6
Read only

Former Member
0 Likes
746

Hi

Try like this

If itab = special character or numericals

new-line.

Regards

Pavan

Read only

andreas_mann3
Active Contributor
0 Likes
745

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

Read only

andreas_mann3
Active Contributor
0 Likes
745

.

Read only

0 Likes
745

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

Read only

0 Likes
745

can you paste some records please....

Read only

Former Member
0 Likes
745

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