Start of Content Area

Event 22: Go to Long Text Maintenance for Other Languages  Locate the document in its SAP Library structure

 

Use

This event allows long text maintenance from the translation. In contrast to other events, this event affects the maintenance screen. When the event is assigned to the maintenance dialog, a pushbutton with the 'Display/change others' icon appears after each entry in the "Texts in other languages" maintenance screen.

The event occurs when the user presses the pushbutton to go to the long text of the current entry.

Note

The long text is processed (display, database accesses, etc.) by the user routine.

Realization

This event has no standard routine. In contrast to other events, the user routine must conform to the following interface convention:

FORM xxxxxxx USING M_MODE
CHANGING TEXT_WA MODIF.

The parameter M_MODE is of type CHAR length 1. It specifies whether the long text was called in display or change mode.

Possible values:

The maintenance dialog was called in display or transport mode, so the long text is only displayed.

The maintenance dialog was called in change mode, so the long text can be maintained.

The parameter is a structure and represents the text table work area. It contains the text table entry selected by the user. Only the fields which appear on the maintenance screen are filled in TEXT_WA. Fields which do not appear on the maintenance screen are not filled in TEXT_WA. This allows you to set a flag for the existence of a long text which is to be put in the text table.

The parameter is of type CHAR length 1. It copies changes to the parameter TEXT_WA into the internal table <VIM_TEXTTAB> when the user returns from the long text maintenance. You must set the parameter to 'X' in the routine to ensure that parameter TEXT_WA changes are copied.

Note

If the parameter TEXT_WA is changed without setting the parameter MODIF to 'X', the changes are not copied into the internal table <VIM_TEXTTAB>.
If the parameter TEXT_WA was modified although the long text maintenance was called in display mode ('R'), the change is not copied even if the parameter MODIF is set to 'X'.