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 generate automatic two pages with same data

Former Member
0 Likes
979

When run the sap script then how to generate 2 pages automatic and then one page header text is "ORIGINAL" AND SECOND PAGE IS "DUPLICATE"

I

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
939

design two pages initially and then u make the second page as duplicate

7 REPLIES 7
Read only

Former Member
0 Likes
940

design two pages initially and then u make the second page as duplicate

Read only

0 Likes
939

HI Jansi Dorai

problem is in second page not show main window data only shown in first page and i want

all data include main window in both page

Read only

0 Likes
939

hi krupa,

As per our dicussion on mail this is the solution,

get ur otf data of script into an internal table copy the internal table to another one , now loop at this and chnge the text original to duplicate.

append this otf table to first one so u will get two copies, with one as original and one as duplicate.

now use print_otf fm to get spool back from otf.

кu03B1ятu03B9к

Read only

Former Member
0 Likes
939

If you use MAIN window in the page its not possible to have the same data in second page. If you call the same page as next page its possible, you can do like this up to 3 pages without MAIN window.

Read only

0 Likes
939

For which document you are developing this script...in MM and SD I know there are some documents where the no of pages can be controlled in the config and then you will have to check some conditions to add the 'ORGINAL' and DUPLICATE texts to each page.

Read only

0 Likes
939

hi Mathews

developing this script...in SD .

i want 2 copy of invoice like one is "ORIGINAL" and second "DUPLICATE"

Read only

0 Likes
939

HI Satya

ACTUALLY I WANT ALL IN DATA IN SECOND PAGE .

I MEAN MAIN WINDOW'S ALL DATE IN FIRST PAGE AND ALSO IN SECOND PAGE