Setting Up a Single Screen for Displaying and Maintaining Text Modules 

If you want to display or be able to maintain the first three lines on the single screen of your infotype, proceed as follows:

  1. Change the display of the infotype single screen in question.
  2. Include the fields RP50M-TEXT1 , RP50M-TEXT2 , RP50M-TEXT3 on the single screen.

    To ensure that entries can be made in these fields when the functions Add and Change are used, maintain the value 006 in Modification group 1 for these three fields.

  3. Enhance the flow logic for the action PROCESS BEFORE OUTPUT .
  4. Insert the module GET_TEXT behind the module HIDDEN_DATA . The module GET_TEXT is, therefore, accessed as the last module of this action.

  5. Enhance the flow logic for the action PROCESS AFTER INPUT .
  6. Insert the following lines after the module PRE_INPUT_CHECKS and before the infotype-specific entry checks:

    CHAIN.
    FIELD: RP50M-TEXT1, RP50M-TEXT2, RP50M-TEXT3.
    MODULE UPDATE_TEXT ON CHAIN-REQUEST.
    ENDCHAIN.

    You must also include the fields RP50M-TEXT1 , RP50M-TEXT2 , RP50M-TEXT3 in the chain for module POST_INPUT_CHECKS so that entries can be made in these fields when the message W200 Please save your entry is displayed.

  7. Check that the Text allowed indicator has been set in table T582A.

If this indicator is not set, the fields RP50M-TEXT1 , RP50M-TEXT2 , RP50M-TEXT3 are hidden.

Result: You can maintain texts for your infotype. The first three lines of text are displayed on the single screen or can be maintained.