cancel
Showing results for 
Search instead for 
Did you mean: 

related to sap scripts

Former Member
0 Kudos

i have written a simple script with jus two pages, page 1 and page 2.

page 1 contains a logo, name, addr and main body.page 2 contains jus name and addr , but it is not displayed.

can any one help me?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey,

In the script, in the Pages section, did u assign the next page for the first page?

Pl check it once...

Are u not getting the data or are u not at all getting the page?

Pl check and let me know.

Regards,

Priya

Former Member
0 Kudos

s i have assigned next page for the first page still the sec page is not displayed....

Former Member
0 Kudos

You should have main window in the second page(ofcourse it gives error if you dont give that) . And internal table must have more number of lines so that it invokes the next page. If your internal table is not overflowing then secod does not trigger.

Reward points if useful.

Regards,

Nageswar

Former Member
0 Kudos

Hi,

If you are trying to print data u will have to call function module:

'Write_form' and call the respecitive Text Elements with the Window.

Also Do not forget to Call Main Wiindow even if does not hold content.SInce u need the Main Window or else your Layout Wont Appear.

Hope this helps you to solve your problem....!

Former Member
0 Kudos

I mentioned write_form also..... but still its not recognizin p2(sec page) .. but as per i know its not necessary to mention one more write _form for sec page as one form will define for all pages u write........

i'm not displaying any table entries in the script, just writing some text....

Former Member
0 Kudos

1.Hey can u tell me wether hav u kept the setting in the header MODE = INC.

2. aRE U CALLING A TEXT ELEMENT WITH neW paGE COMMAND DEFINED IN IT.....?

Edited by: NAVIN FERNANDES on Feb 19, 2008 6:40 AM

Answers (3)

Answers (3)

mahaboob_pathan
Contributor
0 Kudos

hi,

u need to mention

the write _form of next page also.

Former Member
0 Kudos

thank you frndz....the problm s solved....... it was problm with script....

i wrote another script and define layout in diff way, the page is displayed ....

but the first page main window content is dislpayed twice, y?

Edited by: gayathri hebbale on Feb 19, 2008 7:07 AM

Former Member
0 Kudos

Check if you have mentioned dta for two times in the script editor.

Regards,

Nageswar

Former Member
0 Kudos

no i have written it for only once...

Former Member
0 Kudos

can you plz paste the coding lines here . I mean in the script editor lines.

Regards,

Nageswar

Former Member
0 Kudos

this the content of the text in page 1 main window which is getting printed twice.

/:PROTECT

/WELCOME TO CGI

/HAVE A NICE DAY!

/:ENDPROTECT

Former Member
0 Kudos

hi

wat has not been displayed???

page 1 or 2 or both .???????

make sure ur script is active

and u mentioned page 2 name in the page2 field.

.... might be thr is some prob in ur coding .

write ur coding

Former Member
0 Kudos

Hi Gayathri,

U can try either of two things.

1. Make sure that u have done a PAGE DOWN and if that doesnt work

2. In the Paragraph set Page 2 as Next page.

REWARD POINTS IF USEFUL