Skip to main content

Work with Long Text in SAP GUI

Some SAP transactions maintains text in some script editors. This script editor does not record and playback well with traditional transaction methods. If you add or edit text during the recording, it will not be updated when you run the recording.

Note: This behavior is also true for ABAP and any other program. It is not specific to Process Runner. Process Runner provides following workarounds to this issue:

Switch to traditional text editor

    To switch to traditional text editor during recording

    1. Open SAP Logon. The logon page appears.
    2. Double-click the required SAP system and enter valid credentials to sign in. The SAP Easy Access window appears.
    3. Run a transaction.
    4. Select Goto > Change Editor. Alternatively select Details to switch to traditional editor.
    5. Add or edit the text and select Save to go to the main transaction.
    6. In the main transaction, save again to go to Process Runner.

    To switch to traditional editor automatically before recording

    1. Open SAP Logon. The logon page appears.
    2. Double-click the required SAP system and enter valid credentials to sign in. The SAP Easy Access window appears.
    3. Run a transaction.
    4. Select Goto > Configure Editor. The User-Specific Settings page appears.
    5. Clear the Graphical PC editor checkbox.

    Note: If you have set preferences during the recording, you must clean up the recording.

    Some transactions may have different GUI. To switch to traditional editor in such transactions before recording, select the SAP Script editor.

    To select text type during recording, use the navigation icons. Do not select anything in Txt ty, because this is not considered in the recording.

Use BAPI

Many of these objects have BAPI that allows maintaining text.

Use GUI Scripting

Use GUI Scripting recording or playback instead of Transaction. GUI Scripting does not offer as many features as regular Transaction method, but it records and plays back in some script editor controls correctly without any changes.

Was this article helpful?

We're sorry to hear that.