A sapscript problem!,pls give me help.

hi,everyone.
when I maintain a sapscript form, I changed a main window ,then when the program executed ,error:element MAIN window MAIN is not defined for form zsds022. 
and I don't know how to changed to the previous correct one .
if angone know this ,pls tell me about the details step to do it .
how can I solve this problem? I know little about sap script form .
pls help me ,I will appreciate .

Ok, I understood your problem, you are getting confused with MAIN window and MAiN element as both having the same name
Let me tell you stepwise..
1) goto SE71, give your form name, Change
2) Click on windows you will see a window by name MAIN.
3) now double click on MAIN window and press F9(before doing this goto menu Settings--> form Painter and see GRAPHICAL PC EDITOR  unchecked.)
4) now once you press F9 you will see two text boxes in right hand text box see any text MAIN exists or not, if exist on the left handside it  should be like this /E
i.e it should look like this... save activate it will work
/E  MAIN
If you don't find MAIN in Righthand side... add MAIN on FIRST LINE by creating new line like
/E MAIN
Regards,
Sairam

Similar Messages

  • I have an urgent question about my indesign. I had problems with the creative cloude app and then uninstalled it and then installed it again. Now it is not opening and I cannot download it again either. Pls give me help and advice if there is anything I c

    I have an urgent question about my indesign. I had problems with the creative cloude app and then uninstalled it and then installed it again. Now it is not opening and I cannot download it again either. Pls give me help and advice if there is anything I can do to repair it

    Please authorize ADE 3 with same credentials that you used with older version of ADE

  • Novice asking qn, pls give a helping hand

    i am trying to develop a distributed system that needs password checking in order to access.
    Hence i need to check user password in my database that resides in my server.
    so when ReMoTe user click "enter" after typing password.. how do i connect to my server database to verify?? is my solution given below the norm?
    suggested solution: pass the userID and password to the server using HttpServletRequest, from there, the server listen for request and process connecting to local DB if a request is detected..
    am i correct... pls give a helping hand...

    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class LoginServlet extends HttpServlet{
         private Connection con;
         private PreparedStatement pstmt;
         private Statement stmt;
         private ResultSet rs;
         private String pass = "";
         private String login="",password="",done="";
         private HttpSession session;
         public void doPost(HttpServletRequest request,HttpServletResponse response)
         throws ServletException, IOException{
              login = ""+request.getParameter("login");
              password = ""+request.getParameter("password");
              done = ""+request.getParameter("done");
              session = request.getSession(true);
              PrintWriter out = response.getWriter();
              out.println(login);
                        out.println(password);
              try{
                   Class.forName("org.gjt.mm.mysql.Driver");
              }catch(Exception e){
                   out.println(e.getMessage());
              try{
                   con = DriverManager.getConnection("jdbc:mysql:///senji");
                   if(!(password.equals("")&&login.equals(""))){
                        pstmt = con.prepareStatement("select password from logon where login = ?");
                        pstmt.setString(1,login);
                        rs = pstmt.executeQuery();
                        pass = "";
                        while(rs.next()){
                             pass = rs.getString(1);
                        if(pass.equals(password)){
                             session.setAttribute("login",login);
                             if(done.equals("null")){
                                  done = "";
                                  pass = "";
                                  response.sendRedirect("/ksenji/quiz2/shoponline.jsp");
                             }else{
                                  response.sendRedirect(done.substring(5));
                        else{
                             response.sendRedirect("/ksenji/quiz2/login.jsp?"+done);
                   else{
                        response.sendRedirect("/ksenji/quiz2/login.jsp?"+done);
              }catch(SQLException ex){
                   out.println(ex.getMessage());
    }

  • Pls give me help! it is urgent!

    hi,all.
    when I am printing the form report .It can display how many pages of the report ,
    and if I click the icon of the next page ,can see the different content of different page.
    but when execute the print action,the next page content just overlay the content of the front page.and come out to be one page print result ,with content is the overlayed content.
    there is one page totally,and three windows main,head and foot.
    I write new-page ,but it does not work.the code of the program just so complicated .
    pls help me,thank you in advance.

    the program code as following ,
    because the program is not written by me and I have little knowledge about sap script form .so I really have no way out.pls help me!
    the problem is that overlayed print result.
    in the form there is one page containing three page windows,the next page of the main page is itself, when print preview,can display different pages and content .but print result is the next page's content overlay the front page's content ,and all content print in one page.can anyone offer some help?
    Message was edited by:
            niuniu

  • An unknown error occurred (0x80092013) what the **** is going on  from last six month i am unable to access i tune store?pls give me solution which should help me to shortout this problem as soon as possible

    An unknown error occurred (0x80092013) what the **** is going on  from last six month i am unable to access i tune store?pls give me solution which should help me to shortout this problem as soon as possible. i have not expected this from apple

    I have been trying for months to put iTunes on my laptop and kept getting installation errors in Windows 7. I gave up and just installed iTunes on my PC running XP.
    Now I have to install Quicktime on the laptop and once again I get an installation error 0x800736FD.
    All windows updates are fine, none failed.
    I have removed all apple software from my laptop using CCleaner, common files and folders. Tried reinstalling and still the same error.
    Could you offer any advice on how to get both quicktime and then iTunes working??
    Thank you in advance

  • HT201263 my ipad give me the apple sign without running up it appears all the time in the screen , i tries to reset my ipad , but still in this problem , can you please help me?

    my ipad give me the apple sign without running up it appears all the time in the screen , i tries to reset my ipad , but still in this problem , can you please help me?

    You may want to look at this about using recovery mode to restore your iPad.
    http://support.apple.com/kb/ht4097

  • Urgent: Sessions problem pls help me

    Hi all,
    Its already late to post this problem.pls help me urgently.
    I have a servlet & two jsp's. first i request servlet, it processes something and forwards request to my first jsp. In that jsp on a button click, i'm displaying a new popup by calling showModalDialog. this dialog gets data from the same servlet but it forwards to my second jsp.(second jsp can be seen in dialog)
    Now if i submit form from my second(dialog) jsp, the servlet reports that session has expired. I tried a lot but invain. any one who helps me is appreciated well by all of our forum.
    waiting 4 u r reply,

    It could be that you have cookies turned off and you're not using URL Rewriting.
    In J2EE, the first time your browser makes a request to the server, the server responds and appends a SESSION_ID parameter to the request as well as storing a cookie with the SESSION_ID.
    The second time your browser makes a request, the server checks for the cookie. If it doesn't exist it checks for the parameter. If neither exist the server assumes its the first time your browser has made a request and behaves as describe in the previous paragraph.
    In your case when you submit the form if you have disabled cookies and the action attribute doesn't have the SESSION_ID paramter appended to the url, the browser will assume it's a first request. The user will not be logged in, hence your session has expired error.
    To fix this you need to encode the URL in your JSP. You can use the struts html:rewrite tag or the HttpServletReponse.encodeURL method, or if you're using JSP 2.0 the JSTL c:url tag.

  • FindClass() Problem Pls Help.. (URGENT!!)

    Hi,
    I trying to use the files from the book "JNI Programmer's Guide & Specifications" - Ch. 7., to create JVM & call a java method from c routine.
    I m working on Solaris machine. JVM is 1.1, so the correct part of the version independent code runs (refer to invoke.c below)
    LD_LIBRARY_PATH is set correctly. invoke.c is complied correctly with no errors. All the files namely Prog.java, Prog.class, invoke.c, a.out are in the same directoy "/home/top/atm".
    When executable file is run. JVM is created. But FindClass() returns with NULL value. !!!
    When I try to run Prog.java from the commandline using "java Prog Hello" it runs good.
    It just simply won't find the Prog.class in it's current directory. ???
    If instead, "java/util/Date" is passed to FindClass(), it finds it.
    The classpath in the program is also modified & there is no typo error or case-sensitivity related errors.
    I m also printing classpath passed to JVM in the program. It has my included path "/home/top/atm", along with other system classpath(s).
    I m banging my head over this problem, since 2 days. Hence I tried to use reference implementation files. It still will not work..
    Can anyone pls be patient & help me. I'll really appreciate this.
    Thanks a lot,
    Following is the code of 2 files..
    Prog.java
    public class Prog
    public static void main(String[] args)
    System.out.println("Hello World" + args[0]);
    & invoke.c
    #include <jni.h>
    #define PATH_SEPARATOR ':' /* define it to be ':' on Solaris */
    #define USER_CLASSPATH "/home/top/atm" /* where Prog.class is */
    main() {
    JNIEnv *env;
    JavaVM *jvm;
    jint res;
    jclass cls;
    jmethodID mid;
    jstring jstr;
    jclass stringClass;
    jobjectArray args;
    #ifdef JNI_VERSION_1_2
    JavaVMInitArgs vm_args;
    JavaVMOption options[1];
    options[0].optionString =
    "-Djava.class.path=" USER_CLASSPATH;
    vm_args.version = 0x00010002;
    vm_args.options = options;
    vm_args.nOptions = 1;
    vm_args.ignoreUnrecognized = JNI_TRUE;
    /* Create the Java VM */
    res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
    #else
    JDK1_1InitArgs vm_args;
    char classpath[102400];
    vm_args.version = 0x00010001;
    JNI_GetDefaultJavaVMInitArgs(&vm_args);
    /* Append USER_CLASSPATH to the default system class path */
    sprintf(classpath, "%s%c%s",
    vm_args.classpath, PATH_SEPARATOR, USER_CLASSPATH);
    vm_args.classpath = classpath;
    /* Create the Java VM */
    res = JNI_CreateJavaVM(&jvm, &env, &vm_args);
    fprintf(stderr, "JVM Created !!! with # %d\n", res);
    #endif /* JNI_VERSION_1_2 */
    if (res < 0) {
    fprintf(stderr, "Can't create Java VM\n");
    exit(1);
    fprintf(stderr, "ClassPath is : %s\n", classpath);
    cls = (*env)->FindClass(env, "Prog");
    if (cls == NULL) {
    goto destroy;
         fprintf(stderr, "Class Found !!\n");
    mid = (*env)->GetStaticMethodID(env, cls, "main",
    "([Ljava/lang/String;)V");
    if (mid == NULL) {
    goto destroy;
    jstr = (*env)->NewStringUTF(env, " from C!");
    if (jstr == NULL) {
    goto destroy;
    stringClass = (*env)->FindClass(env, "java/lang/String");
    args = (*env)->NewObjectArray(env, 1, stringClass, jstr);
    if (args == NULL) {
    goto destroy;
    (*env)->CallStaticVoidMethod(env, cls, mid, args);
    destroy:
    if ((*env)->ExceptionOccurred(env)) {
    (*env)->ExceptionDescribe(env);
    (*jvm)->DestroyJavaVM(jvm);
    ----------------------------------------

    Hi , I got the exact same problem as you did. Can you
    please let me know if you solve this issue already ?When FindClass returns null it means it threw an exception. The first step is to get that exception and print it out.
    The error is probably class not found. And just as with java only that means your class path is not correct.

  • Boot problem == pls HELP

    I have use the utility disk and format the machintos drive , and use  Extended (Journaled , Encrypted) , it ask me for a password (typed the password, confirmed the password - done) ,  after that i tried to install a fresh copy of Lion (i waited to be downloded from apple.com - done) after that it said that the fresh copy it will be installed and it will reboot by itself -> done ... from here the problem it's starting .... now my macbook air , it dosent start anymore it keep showming me, instaid of the apple sign from the start , a sign like the one from ghost busters (but without the ghost in it ) , i have tried to boot from cd , from usb , nothing dosent seams to be working.
    If anyone know a solution to this problem, pls HELP! Thank you in advance...
    p.s. before i had 2 hard drives that show up when i press the ALT button (machintos hd and utility drive, or something like that) now.. the only thing that it's showing me is : mac os base system , and if i try to use partition magic or something else, from a usb, it will tell me something about a bootguard , but i don't know how to insert the password.

    Glad your issue is fixed. Thanks for the update!
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • Iam using Iphone4,my problem is while imake a call or when ia attend a incoming call,the screen doesnt lock,while i kept in my ear  to attend a call it automatically gets inside keypad or it on hold tab this makes me uncomfortable pls give a solution

    Iam using Iphone4,my problem is while imake a call or when ia attend a incoming call,the screen doesnt lock,while i kept in my ear  to attend a call it automatically gets inside keypad or it on hold tab this makes me uncomfortable pls give a solution

    This sometimes happens if you have a case or screen protector on the phone.  IF you have one of these remove it and see if it makes any difference

  • Pls give Link.... flash player problem

    pls give me the link of the previous flash player that works..
    im not a computer expert but its clear as day that something is wrong with the latest (10.1)...
    pls...

    Hi, you can do that, but until the Uninstall is clean, you won't be able to Install the 10.0. It sounds as if you had an application in the system tray that was running when you ran the Uninstaller, since afterwards the 10.1 was still there.
    Also, your operating system and browser(s) you use would be helpful.
    Thanks
    eidnolb

  • How to solve this problem, pls help when I try to see remote camera system from home."Dual streaming is required for HTML viewing"

    How to solve this problem, pls help when, I try to see remote camera system(spec dvr) from home. The Error I get is "Dual streaming is required for HTML viewing"

    I had the same probelm and found that the problem lies with 64bit programs such as safari and microsoft internet explorer. I have resolved the issue on my PC based server by using a 32 bit ie and same on my mac by using the same running windows under parallels.
    So far the problem with the 64 bit side of it is still to be resolved.
    Hope this helps and gets you guys up and running until suchtime a 64 bit solution is found.
    Craig

  • I cant connect my i phone 4 to my sony vaio laptop via bluetooth  i am  having problem can any one help me how can i connect my i phone 4 to my laptop using bluetooth i tried to paired but it just doesnt work help me pls!!

    i cant connect my i phone 4 to my sony vaio laptop via bluetooth  i am  having problem can any one help me how can i connect my i phone 4 to my laptop using bluetooth i tried to paired but it just doesnt work help me pls!!

    Unless you're trying to tether your phone to your computer or create a personal hotspot, it won't pair with your computer by bluetooth. File transfer by bluetooth is not supported. So, you can quit trying unless you're trying to tether.

  • HT201184 who help me, for iphone problem, kindly give me the contact no.  I am totally confuse the your system

    who help me, for iphone problem, kindly give me the contact no.  I am totally confuse the your system.
    <Personal Information Edited by Host>

    Hey sherstha,
    Thanks for the question. The following article outlines the various contact information for Apple, based on your country:
    Contacting Apple for support and service
    http://support.apple.com/kb/HE57
    Thanks,
    Matt M.

  • HT1430 Hi I am having a problem to delete call log in iPhone 3GS from last 1 month, I have restore iPhone many times but it doesn't works, pls give me a solution , whenever I try to delete call log it's hang for some time.

    Hi I am having a problem to delete call log in iPhone 3GS from last 1 month, I have restore iPhone many times but it doesn't works, pls give me a solution , whenever I try to delete call log it's hang for some time, pls tell me how to restore call delete option

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for