Skip to Content

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

Dynpro development: pbo module naming - is there more to know?

Hi, I want to know more about field descriptions on dynpro development.

Now, this might be an odd question: the coding below is used in SAP to Display Information to Output only fields.

Can some one explain me the used naming scheme MODULE KNVV-KALKS_BEZ ? It reads like 'table'-'field_name'. Is it just for descriptional purpose or does choosing this naming offer some functionality? I cant read out of the coding where the selected value is going to be stored.

Is it stored in KNVV-KALKS_BEZ? If yes, how and where?

Thank you.

MODULE KNVV-KALKS_BEZ OUTPUT.
  CHECK SY-BINPT NE 'X'.
  IF KNVV-KALKS EQ SPACE.
    CLEAR TVKDT.
  ELSE.
    IF TVKDT-SPRAS NE SY-LANGU
    OR TVKDT-KALKS NE KNVV-KALKS.
      SELECT SINGLE * FROM TVKDT WHERE SPRAS = SY-LANGU
                                 AND   KALKS = KNVV-KALKS.
      IF SY-SUBRC NE 0.
        CLEAR TVKDT.
      ENDIF.
    ENDIF.
  ENDIF.
ENDMODULE.                    "KNVV-KALKS_BEZ OUTPUT
Former Member
Not what you were looking for? View more on this topic or Ask a question