Skip to Content
author's profile photo Former Member
Former Member

Dump while F4 processing

Hi All

I have written module for F4 processing in selection-screen. I want to show the error message if the user does not enter the value of the earlier screen input field. Now whenever user does not enter the value in the earlier field it is giving dump saying

'During "F4" processing, the program tried to send a " " message. This is not allowed at this point in processing. The program had to terminated.'

Thanks in anticipation.

pM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 14, 2005 at 05:23 AM

    Hi,

    Restrict the user by making the field mandatory this will avoid dump, also check whether you are checking the field value not initial before calling the FM ,

    For ex. If not V_val is initial.

    call function 'F4.........'.

    else.

    message.

    endif.

    Get back for further clarifications,

    Rgds,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2005 at 08:54 AM

    Hi,

    as you are validating for the first field at value-request condition for the second field, which is invalid as the program cannot validate at this point.

    so just try this check simply in

    AT SELECTION-SCREEN and use the value-request to populate the values for the second field.

    Regards,

    Jagath

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 14, 2005 at 06:12 AM

    Hi PM,

    Are you trying to issue an error message during the PBO event (i.e., in AT SELECTION-SCREEN OUTPUT)?

    If yes, then you must change the code. The messages should be given only in the PAI.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Check this one

      AT SELECTION-SCREEN ON VALUE-REQUEST FOR <parm>|<selopt>.

      The possible entries button automatically appears next to the input field for <parm>|<selopt> when it is selected on the selection screen. Executes a processing block which allows user to choice a value from a list when user presses the button or F4. Can be used only in report programs, not in a logical database program.

      So if u want to just dispaly the message IF pspid1 EQ space. then u can give

      <b>AT SELECTION-SCREEN ON <parm>|<selopt>.</b>

      Executes a processing block after the system has finished processing the <parm>|<selopt>. If an error|warning message is sent from this processing block, the system displays the selection screen again and only this input field can be changed

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2005 at 09:35 AM

    hi this is with regards to your query

    AT SELECTION-SCREEN for POV if u issue a Error message it will terminate a with short dump

    if you give a information message instead it wont dump

    The program terminates with a runtime error DYNPRO_MSG_IN_HELP. While F1 and F4 are processed, the system cannot send error messages or warnings.

    please note the above can be seen in SAP Apllication help ...

    --> for more details type message in editor and press f1 the same document will be displayed

    Regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.