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 clarification

Former Member
0 Likes
491

Hi ,

I got one issue like this in sap script. In script pages the line items are exceeding. For all pages they exceeds. I have to make them proper format.

Can you please help me.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
462

Hi

define a new Paragraph format and define the TAB setting for that paragraph depending on the fields size(length) and also define the FONT settings such that all the items in one lines fits properly

then use this PARAGRAPH format for writing the fields in the script.

Reward points for useful Answers

Regards

Anji

3 REPLIES 3
Read only

Former Member
0 Likes
463

Hi

define a new Paragraph format and define the TAB setting for that paragraph depending on the fields size(length) and also define the FONT settings such that all the items in one lines fits properly

then use this PARAGRAPH format for writing the fields in the script.

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
462

did they use box position in main window ? if so box position is not suffiecient as main window size.

see the main window size and do compare with box position.

and also look at page mode - INC ( Use always)

Read only

Former Member
0 Likes
462

hi,

Fof avoiding that problem, we keep all the line items in PROTECT .......ENDPROTECT control command in script editor.

or,

We call this Function module CONTROL_FORM in PRINTPROGRAM.

call function 'CONTROL_FORM'

exporting

command = 'protect'.

call function <b>'write_form'</b>

exporting

textelement = ' ' " here u pass the element value it contains all

the line contents.

call function 'CONTROL_FORM'

exporting

command = 'endprotect'.

regards,

sudheer