Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Ich arbeite gerade an einem Report, der über einen Selektionscreen gesteuert wird. Auf dem System, auf dem er zum Einsatz kommen soll laufen 2 Mandanten die nicht vollkommen gleich sind. Im Code selbst kann ich mit

IF sy-mandt = '002'
den Mandanten unterscheiden. Soweit kein Problem. Nun hätten wir aber gerne bei der Darstellung des Selection Screen auch eine Unterscheidung Mandanten.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

PARAMETERS: portf AS CHECKBOX,

            bucket AS CHECKBOX,

            review AS CHECKBOX,

            initiat AS CHECKBOX,

            item AS CHECKBOX.

SELECTION-SCREEN END OF BLOCK b2.

Hier sind je nach Mandant nur 4 Auswahlmöglichkeiten sinnvoll. Ich habe versucht das ganze in einer Unterscheidung mit IF zu klammern, habe damit aber keinen Erfolg. Was könnte ich noch tun?

Ereignis: selection-screen output

at selection-screen output.

  loop at screen.


  if sy-mandt eq '001'.


      if screen-name eq 'abcd'.

          screen-input = 0. "ausblenden

          modify screen.

      elseif screen-name eq 'bcde'.


      ...


     endif.


  elseif sy-mandt eq '001'.


  ...


  endif.

Auch wenn er bei mir den screen-name nur in CAPS akzeptiert hat.

Ja, das hatte ich nicht im Kopf, daß das unbedingt groß geschrieben werden muß. ABAP ist schon ein bißchen gewöhnungsbedürftig. :)

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.