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

display information and remain in same screen

Hi friends,

i have to make hard error message to informational and control should be on the same screen. this is related to standard sales order screen there is already one user exit is there i have to modify that accordingly.

regards

s.rao

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 03, 2005 at 12:59 PM

    Hi!

    So have a look at routines in include MV45AFZB. There you will find lot of structures, were you field should be available (otherwise field won't be able to edit after error message).

    Check for flags US_DIALOG... - otherwise it might be an update out of document flow and no-one can react on your message.

    Might be helpful to clear field before raising message - than you won't end in endless loop of 'user hits enter' - 'error message'.

    Regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi christian,

      thanx for ur response i forgot to tell u onething that the whole validations were written in PBO now in specific times it is validating and in sometimes system is raising error. actually what i did is i kept those all fields in chain endchain and i have taken whole thing to PAI. Now it is working for my concern but lots of other validations are getting spoiled. Is there any possibility that i can keep that in PBO itself and i can popup that information message and allow user to reenter values in same screen ??

      Regards

      SR

  • Posted on Feb 04, 2005 at 08:47 AM

    Hi 'SR',

    to bo honest: sounds like your making a big mess (don't worry, I don't tell anyone).

    Never raise messages in PBO - PAI is correct place.

    SAP designed a lot of routines (e.g. FORM USEREXIT_CHECK_VBAK USING US_DIALOG.), in which you can check and raise errors. There is no need to modify dynpro and add new chain ... module ... commands.

    My check looks like this (zzubz is append field, displayed in customer screen):

      
    IF vbak-zzubz NE space AND
       t180-trtyp EQ charh.
      CLEAR vbak-zzubz.
      MESSAGE e074(zpu2main).
    ENDIF.
    

    Pretty simple, but fully functional.

    If you need help to find right place, tell your fields you need to check!

    Regards,

    Christian

    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.