Ansicht
Dokumentation

/SEHS/BAPI_BUS1091_CREATE - EHS: Create Phrases

/SEHS/BAPI_BUS1091_CREATE - EHS: Create Phrases

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method is used to create one or more new phrase objects or phrase set objects. By assigning values to import parameters, you can specify which sub-objects are to be created.

Notes

The import parameters correspond to the following table parameters:

- FLG_PHRASE_HEADER = 'X' PHRASE_HEADER
- FLG_PHRASE_TEXT = 'X' PHRASE_TEXT
- FLG_PHRASE_LONGTEXT = 'X' PHRASE_LONGTEXT
- FLG_PHRASE_REFERENCES = 'X' PHRASE_REFERENCES
- FLG_PHRASE_SELECTIONSET = 'X' PHRASE_SELECTIONSET
- FLG_SELECTIONSET = 'X' SELECTIONSET
- FLG_SELECTIONSET_TEXT = 'X' SELECTIONSET_TEXT

The table parameters are the sub-objects of the object Phrase and all have so-called auxiliary key fields in addition to administration data and key fields. Keys are assigned automatically by the system and are not yet known at the time new phrase data is created. The auxiliary key fields are therefore required so they can be assigned artificial keys. The following fields are relevant:

When the fields are filled, the following possibilities should be taken into account:

  1. New data record for existing parent record:
PRIMARYKEY = new primary key value
FLGPRIMKEY = 'X'
FOREIGNKEY = key value of parent record
FLGFRGNKEY = ' '
  1. New data record for new parent record:
PRIMARYKEY = new primary key value
FLGPRIMKEY = 'X'
FOREIGNKEY = new foreign key value
FLGRFGNKEY = 'X'
  1. Existing data record for existing parent record:
PRIMARYKEY = no value
FLGPRIMKEY = ' '
FOREIGNKEY = no value
FLGFRGNKEY = ' '

The sub-objects of the phrases are structured logically in a structure that is defined by the key relationship (foreign-primary key).

   PHRASE_HEADER_DATA
       |
        |-- PHRASE_ITEM (TEXTS)
        |   |
        |   |-- LONGTEXTS
        |
        |-- PHRASE_ORIGINALS
|
        |-- PHRASE_SET_ASSIGNMENT

   PHRASE_SETS
       |
        |-- TEXTS





Parameters

CHANGE_NUMBER
FLG_BUFFER
FLG_KEY_DATE_SWITCH_ONLY
FLG_LOCK_CATALOG
FLG_OWNID_SRSID_KEEP
FLG_PHRASE_HEADER
FLG_PHRASE_LONGTEXT
FLG_PHRASE_REFERENCES
FLG_PHRASE_SELECTIONSET
FLG_PHRASE_TEXT
FLG_SELECTIONSET
FLG_SELECTIONSET_TEXT
FLG_SPLIT_WITHOUT_CHANGENO
FLG_TESTRUN
KEY_DATE
MULTLANGU_PARAMS
PHRASE_HEADER
PHRASE_LONGTEXT
PHRASE_REFERENCES
PHRASE_SELECTIONSET
PHRASE_TEXT
RETURN
SELECTIONSET
SELECTIONSET_TEXT
VALFR
VALTO

Exceptions

Function Group

S/SAPL1091

ROGBILLS - Synchronize billing plans   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 7460 Date: 20240426 Time: 213302     sap01-206 ( 55 ms )