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

SAP Script Issue

Former Member
0 Likes
1,048

Hey Folks,

I want to print 3 asterisks (***)after name2 in address block in script...

I tried defined a local var and stored *** value and printing it...but it is not working...also hard coded *** not working too...

Attaching a screenshot of scrpit code...

Plzz help...urgent..

1 ACCEPTED SOLUTION
Read only

VijayaKrishnaG
Active Contributor
0 Likes
1,023

Hi Ketan,

Actually it has to be displayed when Hardcoded, orelse try to convcatenate '***' to NAME2 in the workarea (in driver program) iteself and display as normal &REGUH-NAME2&.

If it is from any standard program, try to concatenate in any sub-routine.

Regards,

Vijay

6 REPLIES 6
Read only

VijayaKrishnaG
Active Contributor
0 Likes
1,024

Hi Ketan,

Actually it has to be displayed when Hardcoded, orelse try to convcatenate '***' to NAME2 in the workarea (in driver program) iteself and display as normal &REGUH-NAME2&.

If it is from any standard program, try to concatenate in any sub-routine.

Regards,

Vijay

Read only

0 Likes
1,023

hey gudala,

thnx 4 d reply.

is it possible to concatenate in that script code only ??

Read only

0 Likes
1,023

Hi Ketan, you concatenate it in a Sub-routine and bring that back to script with '***'.

-Vijay

Read only

0 Likes
1,023

so in dat script only i have to define like FORM....ENDFORM and call using PERFORm, rit ?

I mean, is internal subroutine possible ?

Read only

0 Likes
1,023

No, you need to use external Sub-routine, please follow below link.

External Subroutines in SAP Script - Community Profiles - SCN Wiki

Regards,

Vijay

Read only

Former Member
0 Likes
1,023

in debugging when dat line is started debugging...then m gettin ( symbol "," is expected ) message below...