SAP Function SCPR_EXT_BCSET_WRITE - BC Set: External Interface to Save a BC Set

Parameter Reference Type Length Default Optional Text
BCSET_ID SCPRATTR-ID C 32 Business Configuration Set
BCSET_TEXT SCPRTEXT-TEXT C 60 BC Set: Description
CATEGORY SCPR_CTGRY C 1 ' ' X BC Set: Category
COMPONENT SCPRATTR-COMPONENT C 30 X SW Component
MAXRELEASE SCPRATTR-MAXRELEASE C 10 X BC Set Validity: Highest Release
MINRELEASE SCPRATTR-MINRELEASE C 10 X BC Set Validity: Minimum Release

Parameter Reference Length Optional Text
FIELDDESCRS SCPR_RECORDS 0 X Field Descriptions
RECATTR SCPR_RECATTRS 0 Data Record Attributes
VALUES SCPRVALS 361 BC Set: Values

Exception Text
ERROR_IN_TRANSPORT_LAYER Transport Layer Error
OTHER_ERROR Other Write Errors
USER_ABORT Processing Cancelled

Functionality
Function module SCPR_EXT_BCSET_WRITE creates a BC Set in the database.It is the interface for individual transactions which create BC Setdata. You should use the transaction SCPR3 to create BC Sets to avoidmissing future developments (generic functions).
The function module SCPR_EXT_BCSET_ID_ASK gets the BC Set name from theuser. It checks the BC Set name prefix and uniqueness.
The FM has the following parameters:
BCSET_ID,,Name of the BC Set to be created.
BCSET_TEXT,,BC Set short text
COMPONENT,,Software component
MINRELEASE,,Every BC Set has a Release validity for the specifiedsoftware component. This parameter is optional. If it is not specified,the current software component Release is entered.
MAXRELEASE,,Every BC Set has a Release validity. This parameter isoptional. If it is not specified, the current software componentRelease is entered.
VALUES,,,,All BC Set data values are passed in this internal table. TheRECNUMBER must be the same as the corresponding field in the internaltable RECATTR.
RECATTR,,,,Contains data record attributes such as Customizing objectand Customizing activity.
FIELDDESCRS,,is optional. If you read the table field descriptions, youcan pass them. Otherwise the FM reads them itself from the Dictionary.