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 problem

Former Member
0 Likes
915

hi,

i am facing one problem in sap-script. i wants one replica of my main window output on same page means i wants same output twice on my first page. so is there any solution? SINCE WE CAN ONLY GET THE 99 INSTANCE OF MIAN WINDOW, WELL I THINK IT IS NOT POSSIBLE OF GETTING THE REPLICA OF OUR MAIN WINDOW ON THE SAME SCREEN.

if I AM WRONG HERE plz help me to sort out my problem.

thanks and regards

vijay dwivedi

Message was edited by:

vijay dwivedi

9 REPLIES 9
Read only

Former Member
0 Likes
852

Gi Vihay,

Define another main window with the same data that is there in the first main window, as we can have multiple main windows in scripts.

Regards,

Ravi

Read only

0 Likes
852

DEAR RAVI KANTH,

PLZ COULD U SEND ME THE PROCEDURE BECAZ I TRIED A LOT TO SOVE THIS PROBEM, I TOOK TWO MAIN WINDOW ON MY FIRST PAGE AND TRIED SO MANY POSSIBILITY BUT REPLICA IS NOT PRINTED YET.

THANKS AND REGARDS

VIJAY DWIVEDI

Read only

Former Member
0 Likes
852

Dear Dont try this

when you want to another copy set needed copy in Print screen

Read only

0 Likes
852

DEAR NELSON,

THIS IS MY COMPNAY'S REQUIREMENT, AND SINCE LAST ONE WEEK I AM TRYING TO SORT OUT THIS PROBLEM BUT COULD'NT DO THAT.

IF I WILL TAKE TWO COPY THEN EVERYTHING LIKE LOGO AND OTHER WINDOW WILL COME ON THAT PAGE, SINCE THIS REQUIREMENT IS FOR BANK SO THEY WANT ONLY MAIN WINDOW CONTENT SHOULD BE PRINTED ON THAT PAGE,

DEAR IS IT POSSIBLE OR NOT TO SOLVE THIS PROBLEM? I THINK THIS IS NOT THE FEATURE OF SAP-SCRIPT AND I AM WAISTING MY TIME.

THANKS AND REGARDS

VIJAY DWIVEDI

Read only

0 Likes
852

no dear its possible

inthe other windiws (No Needed in Next Window)

put condition

IF &TTXSY-PAGE& = 1 .

ENDIF.

Dont put to Main Window

Add rewads if Helpful.

Read only

0 Likes
852

Dear I thing this will help to solve your problem

try with this

in the print program

data : itab_options like ITCPO.

itab-options-TDCOPIES = 4.

CALL FUNCTION 'OPEN_FORM'

  • EXPORTING

  • APPLICATION = 'TX'

  • ARCHIVE_INDEX =

  • ARCHIVE_PARAMS =

  • DEVICE = 'PRINTER'

  • DIALOG = 'X'

  • FORM = ' '

  • LANGUAGE = SY-LANGU

OPTIONS = itab_options

  • IMPORTING

  • LANGUAGE =

  • NEW_ARCHIVE_PARAMS =

  • RESULT =

Add rewards for helpfuls

Read only

0 Likes
852

THANKS NELSON,

MY PROBLEM HAS BEEN SOLVED BY 80% BUT IF I WANT SAME OUTPUT ON SAME PAGE , MEANS SAME MAIN WINDOW CONTENT TWO TIMES ON SAME PAGE THEN IT IS POSSIBLE OR NOT IF POSSIBLE THEN PLZ GIVE ME THE SOLUTIONS.

THANKS AND REGARDS

VIJAY KUMAR DWIVEDI

Read only

0 Likes
852

DEAR NELSON,

SORRY DEAR I AM NOT ABLE TO WORKOUT YOUR TTSXY SOLUTION, PLZ WILL U CLEAR THE SOLUTIONS IN BROADER WAY. MEANS WHERE I WILL PUT THIS CODE, AS U TOLD ME THAT ' DONT PUT IN MAIN WINDOW' . SO IS IT WILL BE GIVEN IN ANOTHER MAIN WINDOW OR ANY VAR WINDOW.

PLZ CLEAR THE SEEN AND THANKS A LOT FOR SHOWING YOUR INTEREST IN MY PROBLEM IN ADVANCE.

THANKS AND REGARDS

VIJAY KUMAR DWIVEDI

Read only

0 Likes
852

Hi Vijay,

I don't know if you use own or SAP print program. If Own: Define 2nd MAIN window on same page. After output first Main window, issue NEW-WINDOW to switch to next MAIN, then repeat the output of all elements

SAPSCRIPT does not provide the needed replica function.

Regards,.

Clemens