Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Selection-Screen - Warning for similar screens with same info

Hi Gurus!

I have a small question regarding the screens. I have a program which splitting of the UWI's. This program has a selection screen for entry of the company code , plant and date and two radiobuttons to show incomplete ones and all lists. Now the problem is that when this report is used by 3 or 4 people in the department and if they are working on the same plant say 0311, everyone has this screen opened and can make changes without the other person knowing that the other person is also doing changes . I want to make something in the repot that will give a message that this screen is already opened for this particular plant (warning message) which will make the other ppl aware that someone is already working on that plant , not only that evben if a single person has two screens of it opened with similar plant , also it should give message as that its opened for that particular plant. Is it possible please.?

So like in here in my report I should be adding in something or what?

*&---------------------------------------------------------------------*
*&                  Module  CHECK_INPUT  INPUT                         *
*&---------------------------------------------------------------------*
*                      Field Input Check                               *
*----------------------------------------------------------------------*
MODULE check_input INPUT.

  DATA: lv_plant TYPE t001k-bukrs.

**** Checking For Plant Input.
  IF dyn_plant IS INITIAL.
    MESSAGE e000 WITH text-002.
  ELSE.
    SELECT SINGLE bwkey FROM t001k INTO t001k-bwkey
                  WHERE bwkey = dyn_plant.
    IF sy-subrc NE 0.
      MESSAGE e000 WITH text-019.
    ENDIF.
  ENDIF.

Thanks

Aarav

Tags:
replied

I have already mentioned in my earlier mail that u can use the FM ENQUEUE_E_TABLE for this purpose.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question