Ansicht
Dokumentation

RH_NOTE_COPY - HRMS: Note - Copy (Database Only, No Dialog)

RH_NOTE_COPY - HRMS: Note - Copy (Database Only, No Dialog)

CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module copies notes that already exist in the database. If the target note already exists, it is deleted.

Example

CALL FUNCTION "RH_NOTE_COPY"

EXPORTING

INFOTYPE_SOURCE = P1001_OLD INFOTYPE_DESTINATION = P1001_NEW DIRECT_DB_CHANGE = SPACE NO_AUTHORITY_CHECK = SPACE

EXCEPTIONS

INTERNAL_ERROR = 1

ILEGAL_INFOTYPE = 2

NOTE_NOT_FOUND = 3.

Notes

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 generated.

The exception INTERNAL_ERROR is always returned if an internal function call returns a technical error.

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

Further information

For more information, refer to the documentation of the function group.





Parameters

DIRECT_DB_CHANGE
INFOTYPE_DESTINATION
INFOTYPE_SOURCE
NO_AUTHORITY_CHECK

Exceptions

ILLEGAL_INFOTYPE
INTERNAL_ERROR
NOTE_LOCKED
NO_AUTHORITY

Function Group

RHNT

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1524 Date: 20240523 Time: 160104     sap01-206 ( 37 ms )