Ansicht
Dokumentation

/SEHS/C1F0_PHRASES_DELETE - ERP-EHS: Deletion of Phrases

/SEHS/C1F0_PHRASES_DELETE - ERP-EHS: Deletion of Phrases

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used to delete phrases. You can delete both phrase headers and detailed information about phrases (phrase items, phrase references, and phrase set assignments).

Program flow:

  • Checking parameters (Exception NO_OBJECT_SPECIFIED, PARAMETER_FAILURE)
  • Deleting all phrase headers
  • Checking lock mode

  • Where-used list for each phrase

  • Moving phrases to the backup phrase library if the phrase does not reference other phrases

  • Deleting phrases

  • Deleting phrase items
  • You cannot delete the source language.

  • Deleting phrase references
  • Deleting assignments to phrase sets

The incorrect data records are marked in the API table. The following error markings may be displayed:

  • espph_error-phrase_is_used
The phrase is used in specifications or reports.
  • espph_error-lock
An error occurred when locking. The system was unable to set the exclusive lock you required.
  • espph_error-join_no_delete
The system was unable to delete the assignment to a phrase set.
  • espph_error-no_save_catalog
The backup phrase library is not available.
  • espph_error-no_save_phrgrp
The phrase group of the backup phrase library is not available.
  • espph_error-phrase_not_found
The system was unable to find the phrase header for a detail.
  • espph_error-pos_in_srlangu
You cannot delete the phrase item in the source language.
  • espph_error-update_failed
An error occurred when the data record was being added in the database.
  • espph_error-insert_failed
An error occurred when the data record was being created in the database.
  • espph_error-delete_failed
An error occurred when the data record was being deleted in the database.

The following warnings may be displayed:

  • espph_warning-phrase_moved
The phrase has been moved to the backup phrase library.
  • espph_warning-header_deleted
The phrase header for the detail has already been deleted.




Parameters

E_FLG_ERROR
E_FLG_LOCKFAIL
E_FLG_WARNING
I_ADDINF
I_FLG_CHECK_ONLY
I_FLG_HEADER
I_FLG_JOIN
I_FLG_KEY_DATE_SWITCH_ONLY
I_FLG_REF
I_FLG_SPLIT_WITHOUT_CHANGENO
I_FLG_TEXT
I_FLG_WITH_USAGE
I_VALFR
I_VALTO
X_API_HEADER_TAB
X_API_JOIN_TAB
X_API_REF_TAB
X_API_TEXT_TAB
X_USAGE_DG_TAB
X_USAGE_HM_TAB

Exceptions

INTERNAL_ERROR
INTERVAL_ACCESS_ERROR
KEYDATE_OR_CHANGENUMBER_ERROR
NO_OBJECT_SPECIFIED
PARAMETER_ERROR

Function Group

S/SAPLC1F0

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4079 Date: 20240329 Time: 080849     sap01-206 ( 48 ms )