Dynamic selection for InfoSpoke & Use InfoSpoke Badi to correct KYF format

Samuel Ratmadirdja, BearingPoint Inc.

Table of Content

Interface Process Flow Interface Application Development Setup InfoSpoke Setup Process Chain

Interface Process Flow
• Data will be extracted from Pharm ESS Cube (can be any cube). Two applications, ESS Interface and ESS Download, have been developed in SAP BW to make it easy for users to produce text file for ESS feed. • ESS Interface application is developed for users to input the selections for creating text ile. When this application is executed, a text flat file will be created in the BW application server. • To retrieve the file from the application server, users have to execute ESS Download application.

Open Hub Service Open Hub Service

Pharm ESS Cube

ESS Interface

ESS Download

ESS txt file ESS txt file

Table of Content

Interface Process Flow Interface Application Development Setup InfoSpoke Setup Process Chain

Interface Application Development - Setup InfoSpoke Target

ZLX_SET_SPOKE_TARGET.txt

•InfoSpoke path always setup at default path. To change the path, this program need to be executed. • The purpose of this application is to set up the InfoSpoke Source and Target path along with other attributes such as application server, file separator etc. SAP Table: RSBFILE

Interface Application Development - Interface
ZLX_ESS_INTERFACE.txt

ZLX_ESS_INTERFACE_PC.txt

Custom Table

• The purpose of this application is to set up select-options and parameters for InfoSpoke. After this application executed, the selections will be saved in custom table (this is optional). Selection will be saved in SAP tables, thus eliminate the necessity to go to RSBO to do selection. Then an event will be executed automatically from the application, that will kick off the Process Chain to execute InfoSpoke. •This application is intended to be able to simplify the process for users, so that they don’t have to go to InfoSpoke to setup selection and then extract data, which is too technical and cumbersome if users want to select a lot of data. Besides, users can save the selection in variant in the application, while in InfoSpoke, users can not save variant. •The result text file will be saved in the target path (in app server) that has been setup using previous application. SAP Table: RSBSPOKESELSET, RSBSPOKEVSELSET

Interface Application Development – Download File

ZLX_ESS_DOWNLOAD.txt

ZLX_ESS_DOWNLOAD Special Char Fixed.txt

• The purpose of this application is to download result file from App Server • To check if the file has been created in target directory, use AL11 to go SAP directories.

Table of Content

Interface Process Flow Interface Application Development Setup InfoSpoke Setup Process Chain

Setup InfoSpoke

• Setup InfoSpoke using transaction code RSBO. The things that need to be setup are in General, InfoObjects and Transformation tab. The content of Destination and Selection tab have been defined when custom application was executed.

Setup InfoSpoke - BAdi

• When using custom Target Structure, do 1. Get the name of the original Target Structure 2. Go to SE11. Create custom structure by copying the original Target Structure as a source. 3. Change the name of Target structure in the Target Structure field at InfoSpoke using custom structure.

Setup InfoSpoke - BAdi

OPEN_HUB_TRANSFORM.txt

Point to remember: * When the source field is key figure, the number always saved with the sign at the back, e.g: 123456.00-, if the target field has the same type.. * To save the number in correct format -123456.00, target field has to be character. * Do any necessary formatting for the numbers in the BAdi Open Hub code * You can put break point in Badi to debug, then execute using Green Check mark with Debug * Activate, activate and activate always.

Table of Content

Interface Process Flow Interface Application Development Setup InfoSpoke Setup Process Chain

Setup Process Chain - Event

• Create event using SM62.

Setup Process Chain – Start Variant

• Setup InfoSpoke using transaction code RSPC. Don’t forget to hit button activate (matches button) and schedule (green check mark button). • Setup the event to kick off the process chain in the Start variant (right click) using Maintain Variant

Setup Process Chain – E-mail

• Setup the e-mail for success of failure data extract using Maintain Message (right click) in the InfoSpoke variant Setup the recipient by clicking on the recipient button.

Open Hub Service – Feature Outlook

SAP NetWeaver ’04 / BW 3.5 Logical Filename support for InfoSpokes SAP NetWeaver 2005 / SAP NetWeaver BI 7.0 Variable Selection planned

Sign up to vote on this title
UsefulNot useful