Application Development and Automation 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: 
Read only

specification's

Former Member
0 Likes
1,070

Hi,

WHt is the fn mod for getting supplier id, supplier name of specification?wht is the input for this?

wht does the fn mod bapi_bus1077_getdetail return?

pls help.

regards,

kb

3 REPLIES 3
Read only

piyush_mathur
Active Participant
0 Likes
762

Hi,

Please refer BAPI Help in SE37.

FU BAPI_BUS1077_GETDETAIL

____________________________________________________

Short Text

EHS: Read Specification

Functionality

Using this method, all data can be read that exists for one or more specifications. 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 specification data is to be read for changing or displaying.

Notes

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

The key of the specification object to be read must be specified in the specification header table (SUB_HEADER). The object keys can be selected using the method BAPI_BUS1077_GETLIST.

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

- FLG_HEADER = 'X' SUB_HEADER

- FLG_HEADER_USAGE = 'X' PROP_USAGE

- FLG_REFSUBS = 'X' REFSUBS

- FLG_IDENT = 'X' IDENT_HEADER, IDENT_SUBLIST

- FLG_IDENT_LONGTEXT = 'X' IDENT_LONGTEXT

- FLG_IDENT_USAGE = 'X' PROP_USAGE

- FLG_MATJOIN = 'X' MATJOIN

- FLG_TPLREL = 'X' TPLREL

- FLG_APPLSCP = 'X' APPLSCP

- FLG_PROPERTIES = 'X' PROP_HEADER, PROP_VAL

- FLG_PROP_DATA = 'X' PROP_DATA, PROP_COMPONENT

- FLG_PROP_DETAILS = 'X' PROP_USAGE, PROP_RELIABILITY

PROP_SOURCE

- FLG_PROP_FTEXT_LONGTEXT = 'X' PROP_FTEXT, PROP_FTEXT_LONGTEXT

- FLG_DANG_GOOD_DATA = 'X' PROP_TAB07, PROP_TAB0B, PROP_TAB0D

PROP_TAB0F

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.

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

SUB_HEADER:

SUBSTANCE (Specification key)

IDENT_HEADER:

RECORD_NO (Data record number of an identifier)

PROP_HEADER:

SUBCHACAT (Value assignment type - only value assignments with this value assignment type are read)

PROP_VAL:

RECORD_NO (Data record number of a value assignment instance)

PROP_USAGE:

Only value assignments with the following rating and validity area are read:

RATING (Rating)

VAL_AREA (Validity area)

EXCL_FLG (Exclusion indicator - the validity area can be specified using the exclusion indicator (all areas specified other than in VAL_AREA))

Only the value assignments that are assigned an active indicator (ACTV_FLG = X) are taken into account.

PROP_FTEXT_TAB:

RECORD_NO (Data record number of a user-defined text)

Messages are returned in the Return parameter.

Refer also to the information in SAP Note 732628.

Parameters

SCENARIO

KEY_DATE

CHANGE_NUMBER

VALFR

VALTO

FLG_KEY_DATE_SWITCH_ONLY

FLG_RETURN_WHOLE_INTERVAL

MULTLANGU_PARAMS

FLG_HEADER

FLG_HEADER_USAGE

FLG_REFSUBS

FLG_IDENT

FLG_IDENT_LONGTEXT

FLG_IDENT_USAGE

FLG_MATJOIN

FLG_TPLREL

FLG_APPLSCP

FLG_PROPERTIES

FLG_PROP_DATA

FLG_PROP_DETAILS

FLG_PROP_FTEXT_LONGTEXT

FLG_SORT_PROP_DATA

FLG_READ_ALL_CHARACT

FLG_READ_WITHOUT_REF

FLG_DANG_GOOD_DATA

FLG_SHOW_LOCAL_INH_REC

FLG_ABORT_ON_ERROR

RETURN

SUB_HEADER

REFSUBS

IDENT_HEADER

IDENT_LONGTEXT

IDENT_SUBLIST

MATJOIN

TPLREL

APPLSCP

PROP_HEADER

PROP_VAL

PROP_DATA

PROP_COMPONENT

PROP_USAGE

PROP_RELIABILITY

PROP_SOURCE

PROP_FTEXT

PROP_FTEXT_LONGTEXT

PROP_TAB07

PROP_TAB0B

PROP_TAB0D

PROP_TAB0F

PROP_PACK

PROP_SPROV

PROP_CARR

Exceptions

Function Group

1077

Read only

Former Member
0 Likes
762

Hi,

Take the BAPI BAPI_BUS1077_GETDETAIL in se37. and in tables tab click on the green button against each field. You will get the documentation.

Regards,

Renjith Michael.

Read only

Former Member
0 Likes
762

thanks