Ansicht
Dokumentation

C1F0_PHRASES_DELETE - NOTRANSL: EHS: Löschen von Phrasen

C1F0_PHRASES_DELETE - NOTRANSL: EHS: Löschen von Phrasen

TXBHW - Original Tax Base Amount in Local Currency   Vendor Master (General Section)  
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_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_DGSD_TAB
X_USAGE_DG_TAB
X_USAGE_GLM_TAB
X_USAGE_HM_TAB
X_USAGE_IHS_TAB
X_USAGE_LAY_TAB
X_USAGE_SUB_TAB
X_USAGE_WASTMGMT_TAB

Exceptions

INTERNAL_ERROR
INTERVAL_ACCESS_ERROR
KEYDATE_OR_CHANGENUMBER_ERROR
NO_OBJECT_SPECIFIED
PARAMETER_ERROR

Function Group

C1F0

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 4181 Date: 20240523 Time: 070200     sap01-206 ( 49 ms )