Initial screen

Hi Friends,
I wanted to know how to go to my initial tcode.
Suppose i have one condition & that condition is true. I wanted to display an error message & leave to first screen of tcode.
sample code is
if x_char <> 0.
message.
leave to transaction 'zxyz'.
endif.
but this is not working. Could u tell me other way plz.

hi
good
                               Executable Program    Transaction
Call without return             SUBMIT       LEAVE TO TRANSACTION
Call with return    SUBMIT AND RETURN  CALL TRANSACTION
EXAMPLE->
if not sy-subrc is initial.
    concatenate text-040 l_rfc_destination msg_text
                   into msg_text separated by space.
    message s001(vl) with msg_text.
  leave to transaction 'ZTESTWEIGH'.
  endif.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/content.htm
thanks
mrutyun^

Similar Messages

  • MR11- GR/IR clearing account initial screen

    On MR11 initial screen is there a way to add account assignment catagory e.g. K or A etc so we can get further details into expense items?
    Also, Is there a way to get goods receipt date on the executed report?
    Thanks
    Raj

    Hi Rajendra,
    you cannot set it on the initial (selection) screen. But on the resulting listt, if you go into the 'change layout' screen (Ctrl + F8) you can add the account assignament group to the list of orders. Then you can also sort or filer on the field contents.
    The goods receipt date is not contained. The general case is thet there might be multiple goods receipts for an item, so that it would be difficult to populate such a field in a sensible way.
    But on the selection screen you have
    <i>Last movement before key date
    This field defines a selection criterium.
    Only transactions are selected for which the date of the last goods movement is earlier than the date specified.</i>
    maybe that helps...
        best regards,
                            Udo

  • Error when calling a popup window in the initial screen of an application

    Hi,
        I am calling a popup window in the Initial screen to select the variant list.
    I am getting an error reference to Null Object reference.
    Here is the Error.
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          15.06.2007 10:00:16
    Short text
    Access via 'NULL' object reference not possible.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_WDR_MESSAGE_AREA===========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
    caught in
    procedure "SUPPLY_VIEW_DATA" "(METHOD)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component.
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
    "CL_WDR_MESSAGE_AREA===========CP" or "CL_WDR_MESSAGE_AREA===========CM00Q"
    "SUPPLY_VIEW_DATA"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "SUPPLY_VIEW_DATA" "(METHOD)", or its possible occurrence must be declared in
    the
    RAISING clause of the procedure.
    To prevent the exception, note the following:
    Looking for Ur valuable suggestions.
    Cheers,
    Sam

    Hi Sam,
    The correct code for creating a popup window will be:
      data lo_window_manager type ref to if_wd_window_manager.
      data lo_api_component  type ref to if_wd_component.
      data lo_window         type ref to if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window(
                         window_name            = 'WINDOW_NAME'
    *                    title                  =
    *                    close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
    *                    close_button           = abap_true
                         button_kind            = if_wd_window=>co_buttons_okcancel
                         message_type           = if_wd_window=>co_msg_type_none
                         default_button         = if_wd_window=>co_button_ok
      lo_window->open( ).
    Hope this helps.
    Regards,
    Ram

  • VL01N-Creation of Outbound Delivery, initial screen

    Hi, can anybody teach me how to gray-out or hide the "from item/to item" fields in the VL01N initial screen.

    Hi Ridgy,
    I have tried entire process given below for vl01n to hide from & to fields and giving you the following step wise approach.
    -Go to SHD0
    -Specify Transaction code VL01n and say Create
    System takes you to the Create Delivery screen
    -Give mandatory values and press enter.
    A pop-up with field names and options to mark inactive/required etc. will come.
    -In that check the boxes against From item & to Item under invisible.
    -Give a name to the screen variant and opt "EXIT AND SAVE".
    -Come back to SHD0, specify the screen variant name in the screen variant tab
    -Goto Standard variants tab, under Variant Groups, enter Group name(Zname) and create
    -Enter User name and assign.
    -Goto Transaction variant, change ...enter screen variant and save
    -Activate Standard variant.
    Now for all the users entered in that user group. Hope this is useful. 
    Or else you can ask abapper to check any implicit enhancment is available.

  • How to make all fields mandatory in sales order T- code VA01 initial screen

    Dear all,
    how to make all fields mandatory in sales order T- code VA01 initial screen itself
    The fields are
    Sales Organization
    Distribution Channel
    Division
    Sales Office
    Sales Group
    Regards,
    Amar Reddy

    Hi,
    You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
    [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
    Regards,
    Phani Prasad

  • How to make Sales Office field mandatory in VA01 initial screen?

    Hi,
    How to make Sales Office field mandatory in VA01 initial screen? I mean in the first screen where we enter the document type and the sales area?
    Regards,
    Ajit

    Dear Deepak,
    Thanks for the clarification.
    But, as far, I have understood the query - it is very simple and that is..
    Whenever one creates a Sales Order (T.Code: VA01), Parameter: Sales Office needs to be mandatory (for all Sales Order, irrespective of Customer Account).
    Until-unless, user won't enter the parameter: Sales Office, System will not lead to next page (now, here we need to enter Customer/ material etc...).
    I have answered the query, in this regards, only.
    Best Regards,
    Amit.
    Note: Pls. correct me, if I am wrong. Thanks for everyones guidance.

  • Text Determination at Sales Order Initial Screen

    Dear Gurus,
    I want to have the text from the material master at the Initial Screen of Sales Order rather than at Header/Item Level.
    Plz. let me know the procedure for the same.
    Thanks in advance.
    Hari

    Hi,
    Try as follows, in t-code VOTXN under Text ID's in Text procedure select the option "Y:Text will be displyed during copying"
    OR "Z:Text is obligatory and is displayed when transferring" for ur text procedure.
    Hope this helps..
    Reg,
    JJ

  • Initial screen of a report group?

    Hi gurus,
    There are 14 report painter in the report group. How to improve its performance?
    I am not really familir with this tool.The tutorial doc seems won't help. Could anyone explain to me how to modify the initial screen of a report group? I wanted to limit the parameters defined in the fiscal year that probably makes the program performance slow.
    Points will be given
    Badly needed your advice.
    Thanks!!!

    Thanks for replying.
    There are fiscal years defined. like 2007 to 2008. Can I have your email? I would like to show you the screen shots of the report group. This is quite difficult to understand. I haven't asked about the real flow of this report. So, I really need your advice

  • Initial screen in lower resolution after 10.4.8 update

    hi~
    is it only me?
    after having updated from 10.4.6 to 10.4.8 i noticed that the initial screen (in my Power Book G4) is displayed in a lower resolution, i can tell by the larger sized Apple Gray icon...... and the spinning thing.....
    is it only me????
    of course the screen is reset into normal resolution once the blue screen appears....

    wow it worked~! thanks a lot~!
    BTW, didnt set the clock back....
    ^^

  • I am loging in SAP. Initial screen come where it display User Menu and Sap

    Dear All,
    When i am loging in SAP. Initial screen come where it display User Menu and Sap Menu, but User menu is in active not showing but T code are executing then what object i have missed.
    can u help me?
    Thanks,
    Regards,
    Sachin

    Hi Sachin,
    It doesn't care if you're using SAP_ALL or any of those profile. That is not relevant. I had that case a few days ago, I'm not using any of those profiles and I made it work with help of one post.
    If you put the transactions in the tab "Menu" of the role in the PFCG, and if you activate parameters I mentioned in a prior post, then you should see the Menu.
    Tables SSM_CUST and USERS_SSM. The first is global and the other is user-especific.
    The link in one of the first post of this thread hace all the info.
    That should work, that worked in my case.
    What values the parameters have on those tables? The more the info the better.
    Updating the parameters on those tables should help. If still doesn't work then you should check another parameter using transaction RZ10 or report RSPARAM.
    If my info solves your problem, points are appreciated, if not, we will try...
    Jose

  • Cannot get ATV to go beyond initial screen

    I have an ATV 2nd generation.  I have been using ATV with no issues other than the typical poor internet connection that causes me to restart or reboot ATV.  I was having problems using ATV, so I performed the latest system update.  However, after performed the update, I am now no longer able to get ATV to go beyond the initial screen displaying the Home Sharing and General icons.  I have successfully connected to the wireless network, which is the same network I am currently using with my laptop and other wireless devices.  I have made several attempts to reboot the router, modem and ATV, but every time I am stuck at the same initial screen after connecting to the network.
    1. Is the ATV only showing this screen because because it is not recognizing the internet signal?
    2. Is there any solution or recommendation that will allow the ATV to connect to my wireless network?
    BTW.  My Roku box is connected to the same wireless network and is working just fine!!! 
    Someone please tell me what I need to do to see all options available with ATV after performing the last system update to 5.0.2!!
    Model: MC572LLA
    ATV Software: 5.0.2
    Signal Strength: 5 bars
    Thanks!

    Hi
    Welcome to Apple Discussions
    Try Safari from another user account. Here is guidance from Apple on how to set up the account. You can ignore step 7 in the article.
    Also, on the system preference>Accounts panel, click on "log-in" options. There, select "fast user switching". This allows you to go back and forth between user accounts via an icon in your Menu Bar at the top of the computer screen.
    Log-on to the new account and start Safari. If Safari operates without problem in the new account, then your problem is specific to your regular user account. Otherwise, similar response means a system-wide problem.
    Post back with results.

  • Setting Profile Value as default in Task List Initial Screen Profile Field

    I have created a profile for enabling Network Graphic view for operation relationship in PM task list. Whenever i want to create task list i have to enter profile in initial screen to activate Network Graphic view. Can this profile be set as default, i mean whenever i create task list, profile field be filled automatically with predefined value instead of entering profile every time ?

    Yes, you can default this Profile name by use of PIDs
    Not at a system right now - can anyone help with the PID name??
    PeteA

  • How to validate customer number in FD32 initial screen

    I need to validate customer number in FD32 initial screen. It should allow only Payers but not sold to

    I  think  you wont get MIC no instandard SAP

  • SAP initial screen changed

    Hello SAP Experts!!!
    In our company, i have created some roles and assigned them to the consultants. Till yesterday the initial screen for all the users assigned to that role was SAP Easy Access
    Menu (S000). But it changed to project builder now. I want to change that to previous one. How can i do that in that particular role?
    Thanks & Regards
    Vanitha
    Edited by: Vanitha badampudi on Feb 17, 2009 7:16 AM

    Check this out
    o   Change SAP menu
         -   The SAP menu entry point is specified in the transaction SSM2.
             If no setting is made, the standard entry point (area menu S000)
             is used.
    User-specific settings
    o   The administrator can activate or deactivate menus for individual
         users.
         -   If there is a user setting it is used, if the menu exists.
             Global settings are then ignored.
         -   To make user settings, enter or change records in the table
             USERS_SSM in the View maintenance transaction SM30). You can
             then specify whether the user menu or the SAP menu are to be
             displayed for a user.
    @Rosa  Project builder is just a transaction code CJ20N
    May be it helps
    Regards,
    Subhash

  • Sales office Mandatory at Initial Screen

    Dear experts,
    When we create a sales order in VA01 we need to maintain the sales office as Mandatory for certain sales area in the initial screen.
    Incompletion log doesnu2019t help because it will be controlled only at Overview or Header or Item Screen level.
    User exit is helpless at initial Screen.
    Transaction Variant is possible but it will become mandatory for all sales area. I want to make this as mandatory only for certain sales area.
    Pl suggest if some one come across the similar issue
    Bala

    Hi Raja,
    Sorry for delay.
    We have already maintained the OVAZ setting for all document types with respect to sales area. I have created a new Transaction Variant with input Parameters of ZXA1 document type, sales Area and sales office. I have also assigned the transaction Variant to ZXA1 document type in VOV8.
    When I try to create a sales order with ZXA1 Document type it is not asking the sales office as Mandatory. But, after entering to overview screen I Pressed Back Button without entering any data. Now the variant is triggered and asking the sales office as Mandatory. 
    I donu2019t know why the Transaction Variant is working only if I come back from the overview screen to initial Screen in VA01.
    If anyone come across Pl through some light
    Bala

  • How to put my own logo in initial screen in EP6.0

    Hi,
       how to put my own logo in initial screen(browser screen) and also welcome screen, pls give me clarification steps. it's very urgent.
    Regards,
    Jagadish Babu Kanikanti.

    hi jagadish,
    To change logon image we need to modify the com.sap.portal.runtime.logon.par.bak file
    import this par file into netweaver developer studio.under the folder portal-inf->private->jsp there are a few standard jsps available.
    edit the umlogonpage.jsp.
    Bring the image to the middle of the page by using html tags.
    Move the image to irj/root folder.
    export your par file
    Edit the authschemes.xml from usr/sap/<instance>/JC00/jeee/configtool
    and replace. com.sap.runtime.logon name to your new par file name and change the authshceme.xml with a new file name and upload it again.
    Also see this for more information
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/371e9d90-0201-0010-c39c-fd2956154ab3
    hope it helps....
    regards,
    Ganesh.N

Maybe you are looking for

  • Is it possible to install ODSI 10.3g as a web application via a WAR or EAR?

    I only know how to install it from the single .exe that installs WebLogic and ODSI in one shot. My customer has an automated process for rolling out WebLogic servers and would like to know if ODSI can be installed from an EAR or WAR. Does anyone here

  • Time Machine deleted all my folders now wont restore

    Big trouble here and I am lost as to how to fix it. I have a Mac Pro, and two users on it All the Users folders (home folders) are stored on a separate HDD, moved from there usual location on the system drive and the home folder locations changed in

  • Having issues with transferring wife's phone to daughter

    I just transferred my wife's iphone 4 to may daughter with a new phone number and apple id. I did not reset the phone, but I changed the apple id at all the places i knew - icould, itunes etc.. however, two weird things are happening. When I send a t

  • HT1725 Apple Support Won't Respond - What Do I Do?

    Several songs I ordered last week did not download. They are not available in the cloud to redownload. I've requested help and reported the problem 3 times now but Apple won't respond. What do I do? Am I just out of luck? Do I repurchase the songs fr

  • Bufmod equivalent for sending messages

    Hello all- Currently we have an app is user-space that is receiveing ethernet frames from a link layer device driver on one Gb Ethernet port and sending them out on another Ethernet port. We use DLPI primitives to interface with the link layer device