Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Use of BAPI_BUS1091_GETDETAIL

Former Member
0 Kudos

Hi,

Does anyone knows the use of this Bapi(BAPI_BUS1091_GETDETAIL) & what is the output of it...

Thanks in advance

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos

Hi Sheetal,

Heres what the documentation says, in case you didn't see it.

FU BAPI_BUS1091_GETDETAIL

____________________________________________________

Short Text

EHS: Read Phrase

Functionality

This method returns detailed data for the business object Phrase. By assigning values to certain import parameters, the data to be read can be specified more exactly. The selection of the data can be restricted by entering details in specific import or export tables. Using the parameter SCENARIO the caller determines whether the data is to be read for changing or displaying.

The object Phrase is divided into the following subobjects:

PHRASE_HEADER_DATA

-- PHRASE_ITEM (TEXTS)

-- LONGTEXTS

-- PHRASE_ORIGINALS

-- PHRASE_SET_ASSIGNMENT

PHRASE_SETS

|-- TEXTS

REgards,

Ravi

Former Member
0 Kudos

Hi Sheetal,

<b>Functionality</b>

This method returns detailed data for the business object Phrase. By assigning values to certain import parameters, the data to be read can be specified more exactly. The selection of the data can be restricted by entering details in specific import or export tables. Using the parameter SCENARIO the caller determines whether the data is to be read for changing or displaying.

The object Phrase is divided into the following subobjects:

PHRASE_HEADER_DATA

-- PHRASE_ITEM (TEXTS)

-- LONGTEXTS

-- PHRASE_ORIGINALS

-- PHRASE_SET_ASSIGNMENT

PHRASE_SETS

|-- TEXTS

Notes

All authorization checks that are also run for display within an SAP transaction are run.

The key of the phrase object to be read must be specified in the phrase header table (PHRASE_HEADER). The object keys can be selected using the method BAPI_BUS1091_GETLIST.

Depending on the import parameters, the following output tables are expected at the interface and assigned values:

- 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

If an import parameter is assigned the value X, the system expects the contents of the corresponding table parameter to be specified. If the table is not passed to the interface or it is empty, the method aborts with an error message.

If data for phrase sets is to be read by assigning values to the import parameter FLG_SELECTIONSET, the assignments of phrases to their phrase sets are also read automatically. This means that the export table PHRASE_SELECTIONSET is filled.

The selection of phrase data is restricted by assigning fields in the following tables:

PHRASE_HEADER:

CATPIN (Library description)

PHRID (Phrase description)

SELECTIONSET

PHRSEL (Phrase set name)

Messages are returned in the Return parameter.

Parameters

PHRASE_LANGUAGE

SCENARIO

KEY_DATE

CHANGE_NUMBER

VALFR

VALTO

FLG_KEY_DATE_SWITCH_ONLY

FLG_RETURN_WHOLE_INTERVAL

MULTLANGU_PARAMS

FLG_PHRASE_HEADER

FLG_PHRASE_TEXT

FLG_PHRASE_LONGTEXT

FLG_PHRASE_REFERENCES

FLG_PHRASE_SELECTIONSET

FLG_SELECTIONSET

FLG_SELECTIONSET_TEXT

FLG_LOCK_CATALOG

RETURN

PHRASE_HEADER

PHRASE_TEXT

PHRASE_LONGTEXT

PHRASE_REFERENCES

PHRASE_SELECTIONSET

SELECTIONSET

SELECTIONSET_TEXT

Regards,

Raj