Ansicht
Dokumentation

REP_EAPS_CZ_EVENT_1065_PAP - PS-CZ Reports PAP: Add Comment as Long Text

REP_EAPS_CZ_EVENT_1065_PAP - PS-CZ Reports PAP: Add Comment as Long Text

rdisp/max_wprun_time - Maximum work process run time   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This sample function module is defined for event 1065 (Add Comment as Long Text), and is used to define the list of fields to which you want to enter comments on the ALV grid.

The system stores the comments together with other data in event 0040 (Save Data in Database).

Note:

Before you define the list of fields for the commenting function, you must have implemented the function module in event 1011 (ALV Field Catalog: Add Comment Icon).When the system returns with value TRUE in the changing parameter CV_ADD_COMMENT_ICON, the system adds a new column (Comment) to the ALV grid and the Comment Linepushbutton to the icon row. You can use this pushbutton to enter comments to one or more fields in the selected row.

Example

You can use the sample function module (IDREPFW_EVENT_SAMPLE_1065) to add comment to the Plane Type field on the first tab page and to the Name of Passenger and Form of Address fields on the second tab page in the SFLIGHT demo output.

Notes

You can define one or more fields on each tab to add the comment.

When you use events 0035 (Data Selection: Data Protection & Privacy), 0045 (Change before Save: Data Protection and Privacy), 0055 (Read Data from Database: Data Protection and Privacy), and 0065 (Change before Output: Data Protection and Privacy), you must set the CV_DPP_AUDITOR changing parameter accordingly, in other cases, leave the field in value TRUE.

Further information





Parameters

CT_COMMENTS
CT_RETURN
CV_DPP_AUDITOR
CV_RETURN_CODE
IS_ALVDATA
IS_REP_KEY
IS_RUN_SECT
IT_SELPARAMS
IV_REP_SECT
IV_ROW_ID

Exceptions

Function Group

REP_EAPS_CZ_EVENTS

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2387 Date: 20240523 Time: 183621     sap01-206 ( 46 ms )