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

SAPSCRIPT variable with ( )

AJeB
Participant
0 Likes
877

what is the purpose of this parenthesis with number inside in SAPSCRIPT text editor/element . is this a total length of a string or position?
please give me idea about this or give me links about this

like this
&VBAP-ARKTX(30)

&VBAP-FKIMG(6.0)


1 ACCEPTED SOLUTION
Read only

_4ndr3as_
Explorer
0 Likes
839

Ciao Aaron,

it's a kind of limitation. Field ARKTX has data element ARKTX (Domain TEXT40) with CHAR 40. When you write ARKTX(30) only the first 30 characters of this field will be considered (like only the first 30 characters will be shown by a write statement.

Regards Andreas

2 REPLIES 2
Read only

_4ndr3as_
Explorer
0 Likes
840

Ciao Aaron,

it's a kind of limitation. Field ARKTX has data element ARKTX (Domain TEXT40) with CHAR 40. When you write ARKTX(30) only the first 30 characters of this field will be considered (like only the first 30 characters will be shown by a write statement.

Regards Andreas

Read only

Sandra_Rossi
Active Contributor
0 Likes
839

Link to the official documentation: SAP Library > SAPScript > Formatting Options

Or via your Web browser:

"Formatting Options" sapscript site:help.sap.com