Error message in subscreen

Hi,
I have used 4 tabstrips inside one main screen and created 4 subscreens for those 4 tabs. Now when i show an error message using  MESSAGE SXXX , it just shows the message in info format and continues with the further code. If i use the format MESSAGE EXXX then it freezes the subscreen right there.
My requirment is that to show an error message which wont execute the further code and will retain the values filled by user.
I cant use  MESSAGE SXXX TYPE 'E' and LEAVE TO SCREEN SY-DYNNR as they are subscreens and not screens.
Please help.

Hi,
Error messages always stops the execution and freezes the screen. Instead you display the message in this format.
MESSAGE ID 'ZDM_MESSAGE_GENERIC' TYPE 'S' NUMBER 001 DISPLAY LIKE 'E'.
or use type W
thanks and regards.
Aswath.

Similar Messages

  • After Showing ERROR message make the field editable in subscreen.

    Hello Experts,
    I have a requirment where i have added a subscreen to the standard screen of ME31K for creating the contract. In my Subcreen i have my custom screen fields that i'm updating in EKKO table through include structure.
    Now if user forget to fill the details in my custom fields in the subscreen then i'm giving the error message prompting the user to fill the value in fields.
    But the problem is the screen is locked there itself i want to make the field editable so that user can enter some value in the fields. I can not use the stuatus or information message here because doing this i will get the item overview screen which should not come as i want to restrict the user to header details only and fill all the custom fields.
    Please provide me with your helpful responses.
    Thnaks,
    Naveen

    Hi Naveen,
    Sorry for the delay.
    The code which I gave for popup, i hope its being shown in an IF . . . ENDIF.
    So in that condition u can add the following :
    IF < ur condition >
       < Call message FMs >
        SET SCREEN SY-DYNNR.   "this would set screen to current screen which is 0201
        EXIT.
    ENDIF.
    Other than this if you like you can set some parameters in the PAI of this screen which redirect to current screen based on some conditions.
    So u can manually set OK-CODE and CALFCODE as SPACE, but i dont know how much this can impact the process.
    So please follow the above code.
    This is available in
    Main Program     SAPMM06E
    Source code of   MM06EF0F_FCODE_CALL
    IF OK-CODE EQ SPACE AND
       CALFCODE EQ SPACE.
      SET SCREEN SY-DYNNR.
      EXIT.
    ENDIF.
    Hope this helps.
    Regards,
    Ateet

  • Error message and set cursor field in subscreen

    hey ,
    i have a program with main screen 500 and many subscreens 501,502 and so own .
    when i  want to validate wrong input in a field and set message type 'E' in the PAI of the subscreen the program
    raise the message and exit from the program .
    if i try to put the message in the PBO of the subscreen it dosn't exit but after the message the program dosn't flow to
    command SET CURSOR FIELD that i wrote after the message .
    how can i solve this ?
    is there somthing that i'm missing in the basic code flow of the program ?
    ( screen 500 PBO - PAI ->  SUBSCREEN 50x PBO - PAI )
    best regards
    ASA

    hello and thanks for the answer
    let me  clarify my problem :
    i want to issue a message ( type e or i ) only if some fields are null and the user pressed on SAVE .
    when i'm in the tab-strip and writing error message in :
    PAI :
    chain.
    field XXX
    field YYY
    module issue_warning_message on chain-request.
    endchain.
    in  module issue_warning_message :  if XXX is initial --> message type E --> set cursor field XXX.
    here i get the message and cursor is set.
    when i try to post the message in without chain or any events :
    module user_command_tab502 .
    the message is issued and it exit the program if the type is e and if type message is I the cursor is not set .
    please advice
    ASA

  • Error message is not getting displayed in customized subscreen

    Hi Experts,
    I have created customized sub screen for transaction BP. There are two fields namely CPS applicable and PPS applicable.
    I am validating both fields against value if user enters same value as Y and Y . Then Error message should display
    saying that 'It should not be same and please change the entry'. Its working fine when press enter on the sub screen.
    But its not working where  if users try to save the entries without entering enter button.
    Please help me anyone regarding this issue.
    Thanks
    Ramesh Manoharan

    Hi ,
    you can do validations at Save Using BADI or Events ( please ref DEZ_'s Posting), in my case im using BADI to do validation , reason is...user was able to save witout going to the custom tab , thats y im using BADI and Screen(Custom) Validations.
    regards
    Prabhu

  • Error message does not lead to the custom tab me51n

    Hi Experts,
    When I try to to create a PR in me51n and check, a popup with error messges appear when we pick one of the entry and select edit button that leads to the field of that concerned tab.I have a custom tab and cutom field the issue is error message is displayed to fill the custom field but when I check mark that error and select edit that does not take me to the custom tab where custom field exists please suggest I have tried lot of user exits but no use.
    appreciate your help......

    We added some error message checking using Function exit EXIT_SAPLMEREQ_005. How we can bring the screen to Customer Data Tab when there are any errors under the tab. And as long as the error is not fixed, the screen will stay on the tab?
    To eloborate my question - in ME51n/Me52n, the system gives a messages window/subscreen with errors or warnings upon clicking the check button or upon save. On the messages window/subscreen, we can select a particular message and edit will take action to the corresponding tab with the cursor on the field with the issue. I understand this is standard functionality.
    However I'm looking for a way to make this work for a mandatory field on the customer data tab i.e., when I select the error message pertaining to this mandatory field and choose edit, control should jump to the customer data tab with the cursor on the mandatory field.

  • Display error message as as status message on the screen

    Hi all,
    How to display error message as as status message on the screen
    The requirement is if I call the screen, it should get with the error message in the status bar. If I write with error message 'E' error mesage information displays and when I click on exit, it leave the current transaction.
    if i display success message and use display like 'E' it display the error message but if i save it save the transaction.
    i cannot use leave to screen also because of subscreen. if i use leave to screen system display set screen not allowed in subscreen.
    so i want to stop the processing or do not allow the transaction to complete on the message.

    Hi
    displaying error message like status message will help u?
    try the below code
    MESSAGE 'Error' TYPE 'E' DISPLAY LIKE 'S'.
    cheers
    shibu

  • Error message need to display on other screen

    Hi All,
    I have implemented the enhancement implimentation for one perticular transaction code and i am valdating the one field in the one sub screen and i am displaying the error message. but its displaying in that subcreen. 
    But my requirment is i need to display that message in another sub screen.
    can any body tell me how it is possible to do the validations on one screen and displaying the error message in another screen.
    Thanks.

    HI,
    Is that subscreen is under tabstrip.....then you can use the sy-ucomm ....
    Thanks,
    Shailaja Ainala.

  • Selection-Subcreens  &  Error messages

    Hi experts.
    I have a report where i use selection-subscreens. Depending on wich subcreen i am, i need some select-options to be obligatory but i can't use the obligatory condition because it will give an error when navigating to other screen if there's no input.
    So what i did is that at selection screen, i check the user command and when it's 'ONLI' (= report launched) if the required data is not field i send an error message like this :
      CASE mytab_dynnr.
        WHEN 100.
          IF p_cont IS INITIAL.
            MESSAGE text-e01 TYPE 'E'.
          ENDIF.
        WHEN 200.
    ENDCASE.
    The thing is that when sending this message then, the input filled can't be editable. I have to change screen and come back to edit again.
    How can i avoid that ?
    Thanks for your help and time.
    For more information here is my selection screen and initialization :
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    SELECT-OPTIONS p_cont FOR but000-partner NO INTERVALS.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
    SELECT-OPTIONS p_cont2 FOR but000-partner NO INTERVALS.
    PARAMETERS p_test_c TYPE c AS CHECKBOX.
    SELECTION-SCREEN : SKIP.
    PARAMETERS: rt1 RADIOBUTTON GROUP rad2 ,
                p_temp TYPE bu_partner.
    SELECTION-SCREEN  SKIP.
    PARAMETERS:  rt2 RADIOBUTTON GROUP rad2 DEFAULT 'X'.
    *PARAMETERS : p_temp TYPE bu_partner.
    *ULINE.
    SELECT-OPTIONS p_meta FOR but000-zzmeta_customer NO INTERVALS.
    SELECT-OPTIONS s_sold FOR but000-partner NO INTERVALS.
    SELECT-OPTIONS s_inst FOR but000-partner NO INTERVALS.
    SELECTION-SCREEN END OF SCREEN 200.
    SELECTION-SCREEN BEGIN OF SCREEN 300 AS SUBSCREEN.
    SELECT-OPTIONS p_cont3 FOR but000-partner NO INTERVALS.
    PARAMETERS p_test_d TYPE c AS CHECKBOX.
    SELECTION-SCREEN  SKIP.
    SELECT-OPTIONS p_meta2 FOR but000-zzmeta_customer NO INTERVALS.
    SELECT-OPTIONS s_sold2 FOR but000-partner NO INTERVALS.
    SELECT-OPTIONS s_inst2 FOR but000-partner NO INTERVALS.
    SELECTION-SCREEN END OF SCREEN 300.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES,
                      TAB (20) button1 USER-COMMAND push1,
                      TAB (20) button2 USER-COMMAND push2,
                      TAB (20) button3 USER-COMMAND push3,
                      END OF BLOCK mytab.
    AT SELECTION-SCREEN.
      CASE sy-dynnr.
        WHEN 1000.
          CASE sy-ucomm.
            WHEN 'PUSH1'.
              mytab-dynnr = 100.
            WHEN 'PUSH2'.
              mytab-dynnr = 200.
            WHEN 'PUSH3'.
              mytab-dynnr = 300.
            WHEN 'ONLI'.
              PERFORM screen_control USING mytab-dynnr.
            WHEN OTHERS.
          ENDCASE.
      ENDCASE.
    INITIALIZATION.
      button1 = text-i01.
      button2 = text-i02.
      button3 = text-i03.
      mytab-prog = sy-repid.
      mytab-dynnr = 100.
      mytab-activetab = 'PUSH1'.
      w_repid = sy-repid.

    Instead of only message,
    MESSAGE text-e01 TYPE 'E'.
    Use:
    message text-e01 type 'S' DISPLAY LIKE 'E'.
    leave list-processing.
    Regards,
    Naimesh Patel

  • Getting error message when selecting item form dropdown

    Hi Folks,
    I am creating a screen exit which we configure in QA11 transaction. I am inserting few fields in User Data subscreen including QMEL-PRIOK field. when selecting an option from drop down list, It is giving an error message' Error: entry not available in table'. But when I am checking the table entries, the value I have entered is there.
    Please help me in resolving this issue.
    Thanks in advance.
    Anees

    Field QMEL-PRIOK is checked with superior key QMEL-ARTPR, is this field available in your screen/program ?
    You may programmatically fill an internal table for the dropdown list, restricting values with the QMEL-ARTPR value in the PBO of your screen.
    Regards,
    Raymond

  • Error message for email sent

    Hi,
    I got an error message for an email sent to external user from workflow as "Message cannot currently be transferred to node SMTP due to connection Error" How to resolve it? i think i have done enough in tcode scot for email send please help me out .
    Thanks
    Parag

    do like this
    1. Execute SCOT Txn.
    2. Double click on the SMTP, an new subscreen will be displayed.
    3. Check whether the checkbox Internet is enabled or not, if it is enabled then click on the button SET beside to the internet check box.
    4. One more new subscreen will be displyed under the Address Area mention  the email id . and click OK
    and try to send the mail
    Note: befre doing all the above make sure you have done all the required settings to send  a mail

  • Conflicting Error Messages in Batch Input Screen SAPLCOIH 3000

    Hi,
    Appreciate it if someone could guide me on a small batch input issue I have with the creation of a new work order and attempting to place costs in a specific line of a value category. I am able to work out and try to place the cursor in the field I need (PMCOEA-SKOSTENKGR(8)) but when I run the bactgh input session it comes up with the error message "No batch input data for screen SAPLCOIH 3000". When I try and alter this to throw the screen required I then get the message "Field PMCOEA-SKOSTENKGR(8) does not exist in the screen SAPLCOIH 3000"?
    I am confused by this. can any one shed any light on this please?
    Thanks

    Hi,
    Thanks for your reply. Yes I have also tried both stepping thru the process online and in background with the same outcome. I'm tring to understand whether there is an issue with trying to supply estimated cost details via batch input. All my other screen processing up to this point (including adding all work order header, notifications and long text information) works perfectly and without problem. The batch input tells me to supply this screen but when I do I get a conflicting error that it is not the correct screen. I'm trying to find whether I should be supplying a subscreen instead.
    Any further help appreciated.
    Thanks

  • Windows Vista: Ipod Error Message, no longer read by PCs

    Hello,
    I have a 5th generation black ipod video with 30GB of memory.
    The other day I hooked it up to my laptop (Toshiba, 4 months old) that it's been functioning on with no problems whatsoever. This weird error message flashed twice about it not being able to sync because of some software problem.
    Eversince then, the only thing I can charge my ipod on is the family treadmill in the basement (~_~) as no other computer in the house recognizes it. I can't even charge it through the wall sockets, either.
    I have changed the ipod cord, still no luck. I've also reset the device about 3 or 4 times and uninstalled, restarted the laptop then reinstalled itunes. I would like to reset it back to factory settings but that's impossible as computers/laptops don't pick it up. I live very far from a Mac store...
    What's a girl to do? I can't live without my Busta Rhymes and Wu-Tang Clan!
    Any advice would be greatly appreciated! Thanks!

    you have to update Vista go to this site and up-date http://windowsupdate.microsoft.com

  • Error message into a Variable.

    Dear users,
    I have a rather usual (unusual from the weekend beers for me though!!) query which I can't figure out a proper way to implement.
    My requirement is like this:
    I have a message class in which I want to define a text 'Employee number & not found'.
    I want to use this in the program, but not to raise this error. Instead, I want to move this error message with the Employee number into a Character(200) variable.
    So instead of using MESSAGE e0xx(messageclass) USING employee number, I would like to move the error text into a variable which looks like:
    lv_text = e0xx(messageclass) USING '1234'   which stores the text 'Employee number 1234 not found' in lv_text.
    How would I acheive it??
    Thanks, V!

    Try tis way
    message e999(00) with i_emp-empno into lv_text.
    press f1 in message will provide you more details

  • IPod seen by windows, not by iTunes+ weird error message

    I have a first generation 2GB iPod nano and i use windows xp. I can't load any music because iTunes doesn't see my iPod and an error message pops up that reads like this: "iTunes: iTunes.exe corrupt file. The file or directory \iPod_Control\iTunes is corrupt and unredable. Please run the checkdisk utility." I've tried everything, reinstalling iTunes, different versions, reinstalling OS, resetting iPod, even on another computer, same problem. Other than that, the iPod works normally, it's just lacking music..
    and why is there no email adress from apple for service qustions? 10x

    I still don't get it, how can I put it in disk mode if I CANNOT see the iPod in iTunes..?
    Did you read the document i linked you to? here's another link to it:
    Putting iPod into Disk Mode
    whereabouts in that procedure in that document (that you get to by clicking that link) does it say that you have to connect it to iTunes to put it into disk mode?
    ... never mind ... i guess you've fixed it anyway ...

  • Error message iPod cannot update b/c all of the playlists no longer exist

    Hello. I have been getting this error message. "Songs on the iPod "MAR(the name of my iPod)" cannot update because all of the playlists selecting for updating no longer exist." And my playlists are still on the left side in my iTunes. They do exist. I have a feeling ths might have to do with the fact that on vacation the person I was visiting gave me a gift of putting all of his music that would fit into the external hard drive part of my iPod, and for the past week or so I have been putting that music onto my 40 GB portable hard drive at home. I suspect I took a vital folder out of my iPod by accident. Right now I have the folder iPod_control if I open my iPod up in My Computer. Am I missing something? Right now my iPod is empty because iTunes made a composite playlist last week and I deleted it thinking I could get my real playlists back. Can you help me, or reccomend a site/someone who can? Thank you.
    PC   Windows XP  

    hiya!
    And my playlists are still on the left side in my iTunes. They do exist.
    let's just doublecheck this. folks get this message if they have "automatically update selected playlists only" selected in their itunes "ipod" preferences tab. so bring up that tab ("edit > preferences", click "ipod" while the ipod is showing up in the source list), and do a playlist by playlist crosscheck of the playlists selected in that tab, and the playlists showing up in the itunes sourcelist.
    is there any playlist selected in the preferences tab that isn't showing up in the sourcelist?
    love, b

Maybe you are looking for

  • Portege M100 Bios damaged

    Hi, yesterday i turned off my M100 by holding the power switch while it starts. Since the the power LED blinks orange when I turn it on and nothing else happens. I read that this means, that the BIOS is damaged. Is there a way to fix that or is this

  • JSP call classes

    Dear all, I am a beginner of studying JSP, I have some questions on it, I am quite confused now, hope you would help me. Thanks a lot. I am writing a program which would collect data from web brower, and then the data collected would send to the java

  • Video preview blinking green when chatting.

    I am using iChat 3.1.8 with a Logitech Quickcam Pro for Notebooks on a flatpanel iMac 700. When video chatting the video from my camera blinks from clear to a blurry green mess. I have tried unplugging various peripherals thinking that I could be get

  • Invoke ODI scenario

    Hi Experts, I have problem, when I invoke ODI scenario from a BPEL Process, the error in ODI Designer is: java.lang.NullPointerException      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)      at com.sunopsis.dwg.dbobj.Snp

  • Why does CC neeed updating so often. Every time I open it I get prompted to update

    why