cancel
Showing results for 
Search instead for 
Did you mean: 

Rearrange the data in internal tables

Former Member
0 Kudos

hai experts .

my internal table is

item condition qty

10 z001 10

z002 20

z003 30

20 z003 20

30 z001 10

z002 20

my requirement is

item z001 z002 z003

10 10 20 30

20 30

30 10 20

plese explain.

thanks in advace.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Moderator message - Why not give this a try yourself and get back to the forum if you have a specific problem? post locked Rob

MarcinPciak
Active Contributor
0 Kudos

plese explain.

Well, it is you who should receive this question, as we don't have to much details what you really need.

Anyhow I think you need to create a pivot table. Refer then

Regards

Marcin

Former Member
0 Kudos

Try this, this should work.

data: gv_string(100),
      gv_regex(100).

gv_string = 'i12.244A76m.1200t998OO_l1443209a4z4099Y122,t6656O0_C00O11dE~mY121sE3lf.'.
gv_regex  = '[[:digit:]]'.

replace all occurrences of regex gv_regex in gv_string with ' '.
write: / gv_string.