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

Page Selection in SapScript

Former Member
0 Likes
627

Dear All,

After executing print program a dialogue box will appear.

In that, for output selection, how to make PAGE SELECTION.

Ex., If there are 10 pages, if I make the page selection

3,4 then, only 3rd page and 4th page should display.

Please let me know how to do this.

Many Thanks,

RanjanKC

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
597

Hi kc,

1. The system will take care of this.

2. However, it will process everythihgn,

then dispay only the required pagees.

regards,

amit m.

5 REPLIES 5
Read only

Former Member
0 Likes
597

Hi Ranjan,

Try passing the page numbers in the format of ITCPO or ITCPP as input structures for the open_form function module where you pass the sapscript name. The inputs you provide should come in the pop up which comes up. Also if needed you can pass the value of the page numbers and suppress the pop up too.

Cheers

JK

PS: Award points if this helps you.

Read only

Former Member
0 Likes
597

I am not sure but try passing itcpo-TDPAGESLCT value to OPTIONS parameter in OPEN_FORM.

Read only

Former Member
0 Likes
598

Hi kc,

1. The system will take care of this.

2. However, it will process everythihgn,

then dispay only the required pagees.

regards,

amit m.

Read only

0 Likes
597

Thanks for your answer, But it didn't worked.

Will anyone have the answer for my questions, kindly let me know.

Thanks,

Ranjan

Read only

0 Likes
597

Hi Kc,

1. But it didn't worked

Well, how did u detect it ?

2. Whenever we give suppose page 4,5

it will print TWO pages.

It will even show PAGE1, PAGE2.

3. To actually know its working or not,

first print all pages.

and NOTE DOWN THE SEQUENCE OF the fields

page by paage.

4. Now when u print 4,5 pages,

U will note that,

only those data / fields

will come

which were there on 4th, and 5th page

in point no. 3.

(however, it will show page 1 of2, 2 of 2.)

*----


It will never show

Page 4 of 10

Page 5 of 10.

regards,

amit m.

Message was edited by: Amit Mittal