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

script wrap

Former Member
0 Likes
718

Hi Experts,

Please help me in this.In Script form layout text editor i have problem like this.

In the check SAPscript page, there is a window to SPELL out the check amount. It is using a function &'*** 'SPELL-WORD& &REGUD-WAERS&&' and 'SPELL-DECIMAL(2)'/100 '&***.

If the length of the output for that funciton is longer that the lenght of the check, does it wrap around? Does it push the first line up and then the next line down?

Please help me

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
688

yes it pushes to next line when the o/p of the function moduel is more

ext ... currency in t cores ..millionss..

so you define 2 lines for that window and always start the charater from the leftside in the window so that the next line overlow also will start in the leftside .

girish

6 REPLIES 6
Read only

Former Member
0 Likes
688

Hi

depending on the Window Height and width

it will go to next line.

If there is a space in the window for the next line

it will go, other wise not.

So always define a extra line for this in the window such that it goes to second line.

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
688

Yes it will be happen. So to reduce the length check whether the in script any program has been called or not if this script is called in any program then go to that program and change the length from there

Regards if helpfull

rewards

pavan

Read only

0 Likes
688

Please can you give me solution for this with an example, please urgent.

Thanks

Read only

0 Likes
688

Hi experts,

Can you please give me solution for this problem.

Thanks & Regards

Read only

0 Likes
688
/:   PERFORM CHEQUE_JNTVENT IN PROGRAM ZFISP0002
/:   USING &BKPF-BELNR&
/:   USING &BSEG-GJAHR&
/:   USING &BSEG-BUKRS&
/:   CHANGING &W_CHECT&
/:   CHANGING &W_HBKID&
/*   CHANGING &W_COMP_DESC&
/:   ENDPERFORM
/*   ENDIF

in this ZFISP0002 is my report program which was called in this script

i want to restrict the employee name for that i have changed modifications in report as below

IF sy-subrc = 0.
 READ TABLE out_tab60 INDEX 1.
 out_tab60-value = PA0001-ENAME(11).

rewards if helpfull

Regards

Pavan

Read only

Former Member
0 Likes
689

yes it pushes to next line when the o/p of the function moduel is more

ext ... currency in t cores ..millionss..

so you define 2 lines for that window and always start the charater from the leftside in the window so that the next line overlow also will start in the leftside .

girish