Professional Documents
Culture Documents
You can use the SAP BI metadata creation solution to create InfoSources, InfoObjects, and InfoPackages and start InfoPackages. To create objects in SAP BI, open the sapsolutions/BW/metadata folder on the PowerCenter installation DVD. It contains the following subfolders: Mappings Workflows SrcAndParamFiles The mappings and workflows folders contain XML files that you can import as mappings and workflows into the PowerCenter repository.
Upgrade Note
If you are upgrading from PowerCenter Connect for SAP BW 7.x, you must import the mappings and workflows from the latest SAP BI metadata creation solution into the PowerCenter repository. You do not need to import the source and parameter files. Note: When you configure the Integration Service, Set OutputMetaDataForFF to No so that the Integration Service does not output metadata for flat file targets.
Description
Creates and activates an InfoObject. Creates and activates an InfoSource for master data. Creates and activates an InfoSource for transaction data. Creates an InfoPackage. Starts an InfoPackage.
Description
Creates and activates an InfoObject. This workflow uses the BAPI_IOBJ_CREATE_ACTIVATE mapping to create the InfoObject. Creates and activates an InfoSource for master data. This workflow uses the BAPI_ISOURCE_MD_CREATE_ACTIVATE mapping to create the InfoSource.
INFOSOURCE_MD_CREATE_ACTIVATE.XML
INFOSOURCE_TD_CREATE_ACTIVATE.XML
Creates and activates an InfoSource for transaction data. This workflow uses the BAPI_ISOURCE_TD_CREATE_ACTIVATE mapping to create the InfoSource. Creates an InfoPackage. This workflow uses the BAPI_IPAK_CREATE mapping to create the InfoPackage. Starts an InfoPackage. This workflow uses the BAPI_IPAK_START mapping to start the InfoPackage.
INFOPACKAGE_CREATE.XML
INFOPACKAGE_START.XML
Description
Set the values for mapping variables you use in the SAP BI metadata creation mappings before running a workflow. Use this file for every workflow run and set the corresponding session tasks variables in each workflow. Add a reference to the source XML file that defines the metadata for the InfoSource or InfoObject you want to create in SAP BI. Indirect_BW_TABLE_METADATA.txt specifies BW_TABLE_METADATA.XML by default. You can reference any source XML file that you create in the Designer. Use this file for the BAPI_IOBJ_CREATE_ACTIVATE, BAPI_ISOURCE_MD_CREATE_ACTIVATE, and BAPI_ISOURCE_TD_CREATE_ACTIVATE mappings. Sample source file. By default, the Indirect_BW_TABLE_METADATA.txt parameter file references this XML file. When you export a target table to an XML source file called BW_TABLE_METADATA.XML, you can leave the default reference to the file in Indirect_BW_TABLE_METADATA.txt. If you create an XML file with another name, specify the file name in Indirect_BW_TABLE_METADATA.txt. Use to specify the metadata for the InfoPackage you want to create in SAP BI. Configure this file before running the INFOPACKAGE_CREATE workflow. Use to specify the technical name of the InfoPackage you want to start. Configure this file before running the INFOPACKAGE_START workflow. The INFOSOURCE_MD_CREATE_ACTIVATE and INFOSOURCE_TD_CREATE_ACTIVATE workflows use this file to start the workflow. Do not modify this file.
Indirect_BW_TABLE_METADATA.txt
BW_TABLE_METADATA.XML
BAPI_IPAK_CREATE_SI.txt
INFOPACKAGE_NAME.txt
TriggerRow.txt
Table 4 lists the mapping variables you configure in INFA_SAPBW_OBJECT_MANAGEMENT.prm to create and activate an InfoObject: Table 4. Mapping Variables for the BAPI_IOBJ_CREATE_ACTIVATE Mapping
Mapping Variable
[s_BAPI_IOBJ_CREATE_ACTIVATE] $$SAPCONNECTION=
Required/ Optional
Required Required
Description
Session task name. Do not change this entry. BAPI/RFC connection name. Define an SAP BAPI/RFC connection object and enter the name here. Attribute flag that enables the Attribute Only option for the InfoObject. Enter X to enable or enter a null value to disable. Default is X. Text table flag that enables the With texts option for the InfoObject. Enter X to enable or enter a null value to disable. Default is X. Text short flag that enables the Short Text Exists option for the InfoObject. Enter X to enable or a enter value to disable. Default is X. Text medium flag that enables the Medium Text Exists option for the InfoObject. Enter X to enable or enter a null value to disable. Default is X. Text long flag that enables the Long Text Exists option for the InfoObject. Enter X to enable or enter a null value to disable. Default is X. Fixed Currency. You can change the value to any valid currency. This property is only used while creating a Key Figure InfoObject of type Amount. Default is U.S. Dollar. Fixed Unit of Measure. You can change the value to any valid unit of measure. This property is only used while creating a Key Figure InfoObject of type Quantity. Default is Pounds. InfoArea. The valid InfoArea name you enter here is copied to the InfoArea of the characteristic InfoObject. Application Component. The valid Application Component name you enter here is copied to the Application Component of the characteristic InfoObject.
$$ATTRIBUTEFLAG=X
Optional
$$TXTTABFL=X
Optional
$$TEXT_SHORT_FLAG=X
Optional
$$TEXT_MEDIUM_FLAG=X
Optional
$$TEXT_LONG_FLAG=X
Optional
$$FIXCUKY=USD
Optional
$$FIXUNIT=LB
Required
$$INFOAREA=
Optional
$$APPLICATIONNAME=
Optional
Description
Session task name. Do not change this entry. BAPI/RFC connection name. Define an SAP BAPI/RFC connection object and enter the name here. Name of the source system to which the Master InfoSource will be assigned. Name of primary InfoObject for the Master InfoSource. Enter the name of the InfoObject that is used as the primary InfoObject for the InfoSource. Load Method. Enter T for transactional RFC or I for IDoc. Default is T. Name of Application Component. When you specify this option, the Integration Service creates the Master InfoSource under the Application Component. Otherwise, the Integration Service creates it under Unassigned nodes. Delta Update. Enter X to enable or enter a null value to disable. Default is X. Reloading Data Request is Permitted. Enter X to enable or enter a null value to disable. Default is null value. Delta Update for Texts is Supported. Enter X to enable or enter a null value to disable. Default is X. Reloading Data Request for Texts is Permitted. Enter X to enable or enter a null value to disable. Default is null value.
[s_BAPI_ISOURCE_MD_CREATE_ACTIVATE]
$$SAPCONNECTION=
$$SOURCESYSTEM=
Required
$$INFOOBJECT=
Required
$$LOADMETHOD=T
Optional
$$APPLICATIONNAME=
Optional
$$DELTAUPDATE=X
Optional
$$RELOADABLE=
Optional
$$DELTAUPDATETEXT=X
Optional
$$RELOADABLETEXT=
Optional
Required/ Optional
Required Required
Description
Session task name. Do not change this entry. BAPI/RFC connection name. Define an SAP BAPI/RFC connection object and enter the name here. Name of the source system to which the Master InfoSource will be assigned. Name of the Transaction InfoSource to be created. Load Method. Enter T for transactional RFC or I for IDoc. Default is T.
$$SOURCESYSTEM=
Required
$$INFOSOURCE= $$LOADMETHOD=T
Required Optional
$$FULLUPDATE=X
Optional
Full update supported. Enter X to enable or enter a null value to disable. Default is X. Delta Update. Enter X to enable or enter a null value to disable. Default is a null value. Subsequent Claim of a Data Package Supported. Enter X to enable or enter a null value to disable. Default is a null value.
$$DELTAUPDATE=
Optional
$$RELOADABLE=
Optional
Required/ Optional
Required Required Name of the InfoSource.
Description
Type of InfoSource. Enter I for Transaction InfoSource. Enter O for Master InfoSource. Technical name for the SourceSystem. Technical name for the DataSource that is mapped on the InfoSource. Technical type for the DataSource. Enter D for transaction DataSource. Enter M for master data attributes. Enter T for master text DataSource. If master data exists for the data, this property indicates whether the system only loads data. Text description of InfoPackage. InfoPackage processing mode. Enter F for Full Update. Enter D for Delta Update. Enter R for Repeat Update. Enter C to initialize delta procedure. Enter I to construct initial count.
UpdateMasterData
Required
Text UpdateMode_Read
Required Required
Required/ Optional
Required Required
Description
Session task name. Do not change this entry. BAPI/RFC connection name. Define an SAP BAPI/RFC connection object and enter the name here.
Table 9 lists the properties you configure for the BAPI_IPAK_START mapping: Table 9. Mapping Variable for the BAPI_IPAK_START Mapping
Mapping Variable
[s_BAPI_IPAK_START] $$SAPCONNECTION=
Required/ Optional
Required Required
Description
Session task name. Do not change this entry. BAPI/RFC connection name. Define an SAP BAPI/RFC connection object and enter the name here.
Configuring the 3rd Party Selection Tab for the InfoPackage in SAP BI
Before you run the workflow to start an InfoPackage, you need to configure the 3rd Party Selection tab for the InfoPackage in SAP BI to input PowerCenter workflow and session task names. For more information about configuring the 3rd Party Selection tab in SAP BI, see Loading Data into SAP BI in the PowerExchange for SAP NetWeaver User Guide.