Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to call the next screen from HTML page

Hi guys,

I have craeted a module pool which has two screens (9000 and 9001 ). In 9000 PAI module I have written "leave to screen 9001" statement . I have included a button "FIND " in the screen so that when i click on this button the logic goes to 9001 screen,I have generated the HTML templates for two screens by going to utilities--> internet service template, of the each screen . I was able to execute this tcode from the web successfully.

Now what i did was i removed all the HTML code generated by the system and started writing my own HTML code for the screen 9000. I have used the input tag to create the input fields of the screen 9000. the code is as shown below

<form action=&#8221;`wgateUrl()`&#8221;>

year : <input type = "text" name = "`YMOVIE-YYEAR`"/>


category : <input type = "text" name = "`YMOVIE-CATEGORY`"/>


<INPUT TYPE="submit" name="~OkCode(FIND)" >



when i clcik on FIND button in the wen it gicing an error. when i analysed the dump in st22 it is saying that the template for the screen 9001 is not found. I think the function code "FIND" is not triggered in the screen 9000 when i clcik on the FIND button in the web. how do i trigger the next screen 9001 and pass the values to the screen 9001.

thanks in advance


Former Member
Not what you were looking for? View more on this topic or Ask a question