User-defined screen problem

Hi gurus,
Good day!
I just wanna ask regarding on how to terminate or to exit the user-defined screen that i call out? i use SELECTION-SCREEN BEGIN OF SCREEN 100 and call it up using CALL SELECTION-SCREEN 100 when i choose the option completed transaction that i declare in my screen but when i press the CANCEL button in my screen 100 that i call out, it retrieve the data still and display the output which is supposedly it will back on the first or main screen. And what is the format of the standard output when i print it? i mean is it .DOC or PDF file? Can anyone help me plz....
Thanks,
nips

Hi,
     Use AT USER COMMAND event and in the CASE ENDCASE of sy-ucomm WHEN 'CANCEL' then use LEAVE TO SCREEN 0.

Similar Messages

  • Error while processing a user defined screen

    Dear Experts,
    We have developed an add on for our client in which we have a user defined screen before adding the GRPO. While adding that we are getting the error to generate this document first define the numbering series in the administration module.
    this is happening only after we upgraded to the 2007 B PL 10 version. till that there was no problem. We are unable to remove and replace the UDO and UDT as we have data in it.
    due to this we are unable to proceed with the GRPO.
    Please help us.
    thanks and regards,
    Yeshwanth Prakash

    Hi,
    Please search the forum before posting a new message.
    There are endless posts about that error.
    Regards,
    Vítor Vieira

  • Save/create a variant in user defined screen in dialog program

    is there a way to save/create a variant in user defined screen in dialog program?
    thanks...

    Few important tables for Variants:
    VARI - ABAP/4: Variant storage (similar to INDX)
    VARID - Variant directory
    VARINUM - Internal number assignment for variants
    VARIT - Variant texts
    TVARV - Table of variables in selection criteria
    TVARC - Variant conditions
    TVARUVN - Individual Variant Variable: Assignment TVARV
    TVARCT - Text for Variants Conditions
    TVARH - Header entries for screen variants
    TVARIND - Save screen variants
    Regards,
    Vishal

  • Java User-defined packages problem!

    Hi everyone,
    I am new to java programming.I am trying to do a small program to see how the user-defined pckages work.I wrote 2 small programs one is Balance.java and TestBalance.java.
    The code for Balance.java is as follows..
    package MyPack;
    public class Balance{
            String name;
            double bal;
            public Balance(String n, double b){
                    name = n;
                    bal = b;
            public void show(){
                    if(bal < 0)
                         System.out.print("--->");
                      System.out.println(name + ": $" + bal);
          }The code for TestBalance.java is as follows..
    import MyPack.*;
    class TestBalance{
            public static void main(String args[]){
                    Balance test = new Balance("Leela",99.88);
                    test.show();
      }These r both in the same directory....I am able to compile Balance.java...but when I try to compile TestBalance.java I am getting the following errors
    TestBalance.java:1: package MyPack does not exist
    import MyPack.Balance;
                  ^
    TestBalance.java:5: cannot resolve symbol
    symbol  : class Balance
    location: class TestBalance
                    Balance test = new Balance("Leela",99.88);
                    ^
    TestBalance.java:5: cannot resolve symbol
    symbol  : class Balance
    location: class TestBalance
                    Balance test = new Balance("Leela",99.88);
                                       ^
    3 errorsI am using j2se1.4 version ....my path is set to bin folder..
    Could someone plz tell me what is the mistake...it would be very helpful for me if someone could plz tell me what the problem is...
    Thanx in advance.

    99% going to work
    i have noticed some of the few thing
    trying to help
    u told that ur both the classes r in same directory right
    ok
    now ur first class has this as first line
    package mypack;//till here its ok only "mypack" should be small case
    now put this same line also in the other class as firat line
    and remove that import statement since both r in same package so no
    need to import it ok
    here's the code
    package mypack;class TestBalance{        public static void main(String args[]){                Balance test = new Balance("Leela",99.88);                test.show();           } }
    now compile it this way
    create a folder call mypack and put this both the classes in that folder
    say its c:\mypack\ur classes
    now in dos prompt
    type this
    set classpath=%classpath%;C:\mypack \
    now u compile ur first class and then second
    Surely this going to work if not tell me the errors u r getting

  • LMS 3.2 Common Services User Defined Groups problem

    CiscoWorks LMS 3.2 is installed on Windows 2008 64-bit server.
    All devices are added into appropriate User defined group in Groups/Common Services.
    All groups are fine except that Members of group named Switch-HO-access have been copied also to group named Router-Branch by system for unknown reasons.
    At few files we have noticed errors :
    " FATAL  com.cisco.nm.xms.ogs.server.OGSServer main  Exception while OGS Server start up: CTMRegistry::startRegistryServer() : Can't find/start registry server "  and
    " com.cisco.nm.xms.ogs.util.OGSException: CTMRegistry::startRegistryServer() : Can't find/start registry server ".
    What is the reason for copying this devices and is there some other underlying problem?

    it seems that the errors you see correlate with regular stopping/starting of the LMS processes (dmgtd) so this would be a normal behaviour.
    Can you provide a screenshot of the problem you describe and also the rule for the group Switch-HO-access and Router-Branch

  • 2.1 EA1 User Defined Report problem

    Hi, I copiied Search Code item to User Defined Report and edited SQL (added union):
    select
    owner "Owner",
    name "PL/SQL Object Name",
    type "Type",
    line "Line",
    text "Text",
    owner sdev_link_owner,
    name sdev_link_name,
    type sdev_link_type,
    line sdev_link_line
    from (select owner,
    name,
    type,
    line,
    text
    from sys.all_source
    where
    (:OBJECT_NAME is null or
    instr(upper(name),upper(:OBJECT_NAME)) > 0)
    and (:TEXT_STRING is null or
    instr(upper(text),upper(:TEXT_STRING)) > 0)
    and name not like 'BIN$%'
    --order by owner, name, type, line
    union
    select owner,
    name,
    type,
    line,
    text
    from dba_source
    where
    (:OBJECT_NAME is null or
    instr(upper(name),upper(:OBJECT_NAME)) > 0)
    and (:TEXT_STRING is null or
    instr(upper(text),upper(:TEXT_STRING)) > 0)
    and name not like 'BIN$%')
    order by owner, name, type, line
    But I have problem - in result window, popup menu Go To <i.e.> MY_PACKAGE... doesn't work - no errors, simply nothing action. Original item works fine.
    Where is the problem?
    Petr

    Your union code seems fine but there is already a go to bug report logged.
    Already logged:
    Bug 9196402 - GO TO TYPE NAME NOT WORK IN PLSQL REPORT
    -Turloch

  • How to execute a transaction in specified user defined screen.

    Hi,
    I have created an alv tree in that I'm calling a transaction after double click on node of that tree. Please help me for to show the called transaction in user defined specified screen.
    Thanks in advance.

    i have  a program in production system if i type the request and execute its sends a mail to my admin saying to transport the request to production system.....thats y??????
    just tell me ur idea.............

  • User defined activity problem in process flow

    Hi ,
    any one can help me out
    I have added a user defined activity in process flow , and given command values as \\windows\system32\cmd.exe
    and parameter list : ${input.value}
    and in script : kpi.bat
    where i written
    cd \kpi_sap
    for /f "tokens=1-5 delims=/ " %%d in ("%date%") do copy "c:\kpi_sap\kpi_sap.csv" %%e-%%f-%%g.dat
    but its not working ...
    can any one give me direction to get success in this activity
    best regards,
    mahi

    Hi Mahi,
    I see that your post is a few days old and you might have resolved this issue, but if you haven't you might want to change the command value to c:\windows\system32\cmd.exe instead. Its been a while since I worked with commands, but I remember that I had a lot of problems when I defined paths with '\\'. What I found out was that OWB jobs was run under the windows system account and the system account don't have access to networkshares (even if its really not on the network).
    I can't say whether the script in the kpi.bat is wrong, but as long as you can run it manually using cmd.exe you should be ok.
    If this doesn't help it might be helpful with some more specific error messages.
    regards Ragnar

  • Tabbed navigation,Theme change and User define templates problem

    Hi,
    ·     I have created an application in which I have defined many page,page regions,buttons,forms templates myself.
    ·     The end user has now requested for a tabbed look and feel for the same and that too in a different theme (color red)
    ·     However, inclusion of tabs to the application plus a change in the theme color (to red) in this case causes all user defined templates to behave erratically.
    ·     I guess these templates will have to be redefined in this new theme. I tried to copy some of these today but got weird results.
    Without all these templates in place the look and feel of the application will not be as usual.
    ·     Also,I had posted a thread on the APEX forums concerning tabs and have received information that each page in the application has to be manually added to the tab set in a situation such as this.This will really increase the time taken to achieve the desired application navigation.
    I would appreciate some good advice as how to get this appliction navigation running smoothly in a tabbed format in the least possible time.
    Thanks and Regards,
    Priya Jetley

    Hello,
    I would have a look at the Lists in Shared Components which allow you to create Tabs as well.
    They are a bit more flexible.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Timesten user defined function problem

    create or replace
    FUNCTION FACTORIAL
      n IN NUMBER         
    RETURN NUMBER IS
    val NUMBER :=1;
    tem number :=n;
    BEGIN  
      while tem>1 LOOP
        val:=val*tem;
        tem:=tem-1;
      END LOOP;
      RETURN val;
    END FACTORIAL;
    I create a function like this.
    And I  test it in sql developer(ctrl-F10), and get the right result.
    When I use the function in SQL:   select factorial(10) from dual;     (I use log as function owner,  exactly same connection as I test the function with ctrl-F10)
    cames the error message:  
    [TimesTen][TimesTen 11.2.2.5.0 ODBC Driver][TimesTen]TT2818: Unknown function FACTORIAL. If this is a PLSQL function note that such functions are not yet supported in SQL statements. -- file "saCanon.c", lineno 24079, procedure "inferExprTNFunc()"  
    Does that means timesten doesn't support user defined function in SQL statements?

    Yes, unfortunately currently TimesTen does not support calling PL/SQL functions from within a SQL statement.
    Chris

  • User defined exception problem in session bean.

    Hi,
    I creaed one user defined exception and using this exception
    in the session bean when I am trying use this bean at the client
    side and cathing this exception it is not catching it properly
    while server side it is throwing this exception.
    I can elaborate it through client code -
    try {
    isModified = sessionBean1.modifyNe(Object product);
    catch (ValidationException nve) {
    throw nve;
    catch (RemoteException remoteException) {
    remoteException.printStackTrace();
    server is throwing ValidationException but it is cathing in
    the RemoteException.
    stack trace is given below
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: com.ss.sms.common.exception.ValidationException: name should be unique
    at com.sisl.snms.server.esc.common.SmsEscBean.checkDuplicateNeName(SnmsEscBean.java:56)
    at com.sisl.snms.server.esc.escatm.SessionBean1.modifyNe(EscAtmBean.java:219)
    at com.pramati.ejb.runtime.EscAtmBean_LocalObject_Impl_785398532._pramati_impl_modifyNe(EscAtmBean_LocalObject_Impl_785398532.java:285)
    at com.pramati.ejb.runtime.EscAtmBean_LocalObject_Impl_785398532$3.run(EscAtmBean_LocalObject_Impl_785398532.java:238)
    at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:158)
    at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:266)
    at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

    hi vikassahu
    try it : remove remoteException catching. and try it with normal Exception, and make sure that Exception should be in remote interface.
    and make sure that you are throwing your user Defined Excepion
    ok i think this will help u
    ok

  • User Defined Form problem...

    Hi,
    I have the Item Master Data form opened with the User Defined Form opened.
    Now the Form has the focus and I'm trying to get an User Defined Item control on the User Defined Form
    but it says Form not found and I did try to select it or to use the GetForm with the "-" + TypeEx of the current form but nothing seems to work.
    Any idea how I can switch from the form to the User Defined Form on which I need to get the control ?
    I havfe to mention that I'm trying it on a second opened Item Master Data form so the FormTypeCount = 2  Could it be a BUG ?
    Edited by: Marc Roussel on May 28, 2009 4:20 PM

    if (mo.ItemUID.IndexOf("U_") != -1)
        oCurrentForm.PaneLevel = 1; // I tought this could help since the UDF form has a pane level of 1 but it does nothing.
        oCurrentForm = _SBOApplication.Forms.GetForm("-" + FormType.ToString(), FormTypeCount);
        // I get a Form not found here............ HUH WHY ??????? It's there and visible.  I DON'T UNDERSTAND...
        // and FormType is really "150" which is the actual form opened......

  • User Defined Mapping Problem

    Dear SDNs,
    I write a user defined mapping program under a namespace, and I want to use it in other namespaces by drag and drop instead of importing, is that possible?

    Hi,
    <i>>>>Prakash, I'm a little confused, I think mapping program like java and XSLT can only imported in user defined function in Mapping, isn't it?</i>
    No, you will be importing it under Imported Archive. You will find User Defined Function inside the Graphical Mapping.
    Refer this link for UDF
    http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
    <i>>>>What do you mean by the "F4"? Can you explain it to me ?</i>
    F4 is Value request. In the Interface mapping when you are assigning the mapping program you will click on the "?" button which is nothing but F4. You can also press F4 which is equal to pressing "?"
    Thanks,
    Prakash

  • A VERY DISCONTENTED S1 user with screen problem

     my faith and hope on sony has been running thinner very passing day since not only my tablet is VERY OUTDATED in terms of OS but also im experiencing random clicks on my lower buttons specifically home, return and recent apps button. It renders my tablet VERY USELESS. I hoped that the recent update on sony home would have solved the problem but still it persisted even now. SONY please if you do really care for your customers as it provides you income take a step having sony to consumer interaction rather than giving us a silent back few days from now i might become a very disrespectful sony tablet s user since im VERY VERY DISAPPOINTED WITH YOU.

    Hello.
    have you tried to reset the computer: https://us.en.kb.sony.com/app/answers/detail/a_id/34380/p/61650,72515,72516,72518/c/65,66/kw/reset%2...
    https://us.en.kb.sony.com/app/answers/detail/a_id/37088/p/61650,72515,72516,72518/c/65,66/kw/reset%2...
    Regards,
    Charu

  • New user request screen problems

    HI all,
    I am trying to use the funcitonalty where a new portal user clicks on "Register now" screen, it sends a message to the portal admin (which comes in "User administration->Users->New user requests") and the portal admin approves it and then creates the user.
    But this is not working for me. I try to create the new user from the register screen, it gives a blank screen (as no roles are assigned to this user) and it does not send mail to the admin.
    Please let me know if I need to do any configuration for this to work. This would be of great help for me.
    Thanks.
    Regards,
    Narahari

    Hi Narahari,
    For the user self registration to work you need to have companies enabled. The reason this the user sees no role attached as since the administrator has not accepted the user request the user is still a guest user. You need to enable the same. This link will take you through each step on how to confiugre self registration.
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/37eaeccab21849847802ec3586676a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8e/53921c6d00064b8c58e528fd914dd4/content.htm
    Cheers,

Maybe you are looking for

  • Image is not displayed in SPREADSHEET excel output

    hi all, Could anyone help me to display an image in the Excel(Spreadsheet) option? Thanks in Advance, Ambika

  • Error in settlement

    Hi Experts, our user has wrongly posted to GL account which is not assigned in the allocation structure, now they have realized in the next period and reversed the document in that period. Ex : doc posted in Period 10 and reversed in period 11. But w

  • Problem with the URL

    Hi, I am working on personalization of the iSupplier module(RFQ). Where I found the URL like OA.jsp?akRegionCode=POS_LOCATIONS_PAGE&akRegionApplicationId=177& LPARAMSEMPLOYEE_ID={@177~BUYER_ID}&PoHeaderId={@177~ICX_HEADER_ID} &FromPage=RFQ&retainAM=Y

  • Default Search is Case-sensitive

    I go to contributor mode and try to choose an image. A window that contains alll the image content items show up. I type the name of the content item (an image) in the small search text box on the top right side of the window. It seems that when I en

  • Can't boot from install cd

    following an aborted OS upgrade on a macbook, i have tried booting from the cd to access disc utility. tried pressing C on boot, but i just get to a flashing folder icon with a question mark in it. i guess the file structure of the HDD is screwed, bu