CL_CWB_MERGE_DISPLAY_ANY_TEXT - Merge Editor for Texts

Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Functionality

Manages the data that is required for the Merge Editor for ABAP source code. The Merge Editor is displayed on a subscreen that can be integrated into any other screen.

Use

  1. Before calling the main screen, use CREATE OBJECT to create an instance of CL_CWB_MERGE_DISPLAY_ANY_TEXT.An instance of CL_CWB_SUBOBJECT_ANY_TEXT must be transferred. Here, you can also define if it is to be ready for input.
  2. If required, use method SET_CHANGE_MODE to change whether you want it ready for input.
  3. Call method PREPARE_SUBSCREEN_CALL before calling the subscreen for the first time. If multiple instancesof CL_CWB_MERGE_DISPLAY_ANY_TEXT exist, the subscreen displays the ones for which PREPARE_SUBSCREEN_CALL was last executed.
  4. Call the main screen. In PBO of the main screen, use CALL SUBSCREEN to call the subscreen for the MergeEditor. The screen number and program are displayed under CL_CWB_MERGE_DISPLAY_ANY_TEXT=>AC_SUBSCREEN_NUMBERand CL_CWB_MERGE_DISPLAY_ANY_TEXT=>AC_SUBSCREEN_PROG. PAI of the main screen must contain a corresponding CALL SUBSCREEN.
  5. In the PAI of the main screen, at least attribute AV_EXIT_SCREEN must be prompted. If this attribute has the value 'X', then the user has closed the editor and the main screen is to be closed react in some other way.
  6. After closing the editor, the following properties may be prompted:
    1. Attribute AV_CONFIRMED: 'X' means that the user wants to copy the status of the include displayed in the editor, irrespective of whether the user has made further changes or not.
    2. Method CHECK_CHANGED: Return value 'X' means that the user has changed the text in the editor.
    3. Method GET_CHANGE_MODE: Return value 'X' shows that change mode has been activated.

Relationships

Example

Function module SCWB_DISPLAY_SOURCE_WITH_DELTA.

Notes

Further information



BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.


Length: 2019 Date: 20120526 Time: 132829     triton ( 97 ms )