‎2008 Jun 20 10:50 AM
Hi,
Can we use strlen functions like concatenate and strlen function in sapscript.
Thanks,
Sunitha
‎2008 Jun 20 10:51 AM
Sunitha,
i dont think script have such options.
you can use perform statements for same.
Amit.
‎2008 Jun 20 10:51 AM
Hi Sunitha,
I think we cant use STRLEN in SAPScriopts.
we have different commands in SAPScripts.
Please check this link
SAPscript Control Commands
http://help.sap.com/saphelp_40b/helpdata/en/d1/80318f454211d189710000e8322d00/content.htm
Best regards,
raam
‎2008 Jun 20 10:52 AM
Hi!
In the Sapscript itself you can't use it, but you can use it in the printer program.
Regards
Tamá
‎2008 Jun 23 10:46 AM
Hi sunitha,
if you can't prepare what you need in the print program, you can use external PERFORM in sapscript.
Regards,
Clemens
‎2008 Jun 24 6:15 AM
we can use strlen() function in sap scripts.
Use the strlen( ) function to restrict the DO loop to the relevant part of the field, e.g. when determinating a check-sum.
check this link for more commands
http://abaplovers.blogspot.com/2008/02/abap-tricks-and-tips.html
‎2008 Jun 24 7:01 AM
Hi sravya reddy,
Sorry I have to disagree.
Your hint and link are useful but not in context of SAPSCRIPT. Although SAPSCRIPT infrastructure is implemented using ABAP language; SAPSCRIPT itself is a symbolic page description language that has more in common with HTML than with ABAP.
You can not use the strlen( ) function in SAPSCRIPT
Regards,
Clemens
‎2008 Jun 24 12:42 PM
Hi,
No we cannot use STRING fucntions in SCRIPTS...
Regards
Narin Nandivada