Ansicht
Dokumentation

RH_NOTE_CANCEL - HRMS: Note - Cancel (Buffer Will Be Discarded)

RH_NOTE_CANCEL - HRMS: Note - Cancel (Buffer Will Be Discarded)

ROGBILLS - Synchronize billing plans   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module rejects changes to a note that are made by means of a function call in Change mode with the parameter DIRECT_DB_CHANGE = SPACE.

If you specify nothing for the parameter INFOTYPE, all notes changed up to this point are rejected.

Example

CALL FUNCTION "RH_NOTE_CANCEL"

EXPORTING

INFOTYPE = P1001

EXCEPTIONS

INTERNAL_ERROR = 1

ILLEGAL_INFOTYPE = 2

NOTE_NOT_FOUND = 3

NO_AUTHORITY = 4.

Notes

You should always complete the parameter INFOTYPE so that notes from other programs are not inadvertently rejected.

If you want to transfer the changes made, you must call the function module RH_NOTE_COMMIT. Otherwise, your changes will be lost.

If no note is allowed for an infotype (table T77NT), the exception ILLEGAL_INFOTYPE is generated. If no note exists for the infotype specified, the exception NOTE_NOT_FOUND is returned.

The exception INTERNAL_ERROR is always returned when a technical error is returned by an internal function call.

The exception NO_AUTHORITY is generated if the user does not have the required authorization for the infotype. If you do not require this check, you must enter 'X' in the NO_AUTHORITY_CHECK parameter.

Further information

See also the Documentation of the function group.





Parameters

INFOTYPE

Exceptions

ILLEGAL_INFOTYPE
INTERNAL_ERROR
NOTE_NOT_FOUND

Function Group

RHNT

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1840 Date: 20240523 Time: 175611     sap01-206 ( 31 ms )