cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a field more than 255 char back in ITCSY stru

Former Member
0 Kudos

I am getting multiple invoice numbers from the calling pg. The calling pring pg is standard, so cannot touch that.

Now in my sapscript, i have to concatenate all invoice numbers and show them.

I had used a perform to do so.

It was fine till now. But recently we found that invoice numbers can be so many as to cross 255 char in total.

How to get it done now? ITCSY struc has limitation of only 255 char .

Please advise.

Thanks in adv

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

if it crosses 255 characters then you will have to break it into different row. say for example if it is of 300 characters...

the first row contains 255 character and the second row contains 45 character and later in the script try to concatenate them...

Regards,

Siddarth

Former Member
0 Kudos

is there some concatenate command in script? or via subroutine, u mean?

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

say for example the number was around 300 characters.... so when you are calling the subroutine pass on 2 variables with two different names say var1 and var2 these both can accommodate around 255 characters each....

now in the subroutine split the values into these two variables....

and in script

&var1[c]&&var2[c]&

this will compress the spaced between them.... hence its similar to concatenate...

Regards,

Siddarth