37
1 The Osmosis of Compound Reporting In WebFOCUS Renaming Temporary Bits And Bytes Reveals New Root For Creating Excel Templates Generated From Stand Alone Procedures WebFOCUS Release 7 MAIN(rename) Compound Reporting Striving For Excellence Innovation And Automation

1 The Osmosis of Compound Reporting In WebFOCUS Renaming Temporary Bits And Bytes Reveals New Root For Creating Excel Templates Generated From Stand Alone

Embed Size (px)

Citation preview

1

The Osmosis of Compound Reporting In WebFOCUS

Renaming Temporary Bits And Bytes

Reveals New Root For Creating Excel Templates

Generated From Stand Alone Procedures

WebFOCUS Release 7

MAIN(rename) Compound Reporting

Striving For Excellence Innovation And Automation

2

The excel sheets are great, can you

consolidate those reports into one workbook and

incorporate the product pictures along with sending me the

report via email?

3

Product Manager would like to see these reports listed below in one excel workbook.

Ideally the process should be automatic and performed once a month.

Current workbook process consist of a manual retrieve for each worksheet using the Essbase Add-In Function in Excel. A Plus if the report is sent through standard email system.

The Osmosis Of Compound Reporting In WebFOCUS

Product Manager Case Study

Seeing The Ins & Outs Of (A Product Case Study)

4

In layman’s terms, Osmosis is absorption of one thing by another throughthe outer layers.

Seeing The Ins & Outs Of (Osmosis)

The Osmosis Of Compound Reporting In WebFOCUS

Osmosis Process

5

Corporate Data

Template

Single Web Page

Multiple Excel Sheets

TemporaryFiles

ProcedureProcessing

Rename

How Many SheetsSheet NamesStatic Data

ExcelWorkbook

WebFOCUS

The Osmosis Of Compound Reporting In WebFOCUS

The Excel Compound Osmosis

Seeing The Ins & Outs Of (Excel Template Compound Reporting Structure)

6

Seeing The Ins & Outs Of (Main Name(rename) Compound Reporting)

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Components

The Template Creating the template is the same method as Standard

Compute number of worksheets Use worksheet naming Add all static information to a worksheet (pictures) Save as a single web page

The WebFOCUS Procedure

Create A Main Calling Fex

Add A File Share Definition Add A Rename Fex Call All Stand Alone Procedures In Oder

Create Stand Alone Fex Stand Alone Will Populate Each Worksheet

Birth Name ….Nickname is …

Create Rename Fex

7

One Main Calling Procedure Referencing Multiple Excel Output Procedures A stand alone sub-procedure (Fex) for each worksheet Standard Excel Template EXL2K Template A Rename Fex Process For Consolidation Using Temp File Hold Formats

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Process StructureSeeing The Ins & Outs Of (Main Name(rename) structures)

8

Processing Template Steps

Start with an original workbook Make a copy of the original workbook Compute the number of worksheets Insert each static worksheet into the workbook Provide sheet name titles Save the workbook as a single web page Copy the single web page workbook into the application directory

Template Preparation

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Template

Seeing The Ins & Outs Of (Main Name(rename) Template Details)

9

Compute Number Of Worksheets Insert Worksheets Into Workbook Re-Order Existing Static Worksheets

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Workbook Step 1

Seeing The Ins & Outs Of (Main(Rename) Workbook Processing)

10

Worksheet Names - Example For Titles: Report Names

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Workbook Step 2

Seeing The Ins & Outs Of (Main(Rename) Workbook Processing)

11

Design Main Calling Procedure

Stand alone

Rename

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex Step 1

Seeing The Ins & Outs Of (Main(Rename) Procedure Process)

12

Number of Fex’s is determined by each report required Call Each Procedure In Proper Order Fex 1 Rename Fex Fex 2 Rename Fex Clean Up Fex Final Process Fex

Main Calling Procedure Parts

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex Step 1 Detail Structure

Seeing The Ins & Outs Of (Main(Rename) Procedure Process)

13

Procedure 1 - Sheet 1 – Stand Alone Procedure

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Stand Alone Fex 1

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

14

Fex 1 Processing Phases

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex 1 Processing Details

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

Sheet 1Unchanged

Temporary FilesExtension XHT

Processing Message

Sheet 1 Updated With Corporate Data

15

Procedure Process Relations To Temporary Files Original Sheet Is Not Updated The Temporary hold file contains The Report Data.

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex Relations

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

16

Sheet 1 Created AfterFex 1 Processed

Temporary FileContains Report Data

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex 1 Processed Results

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

17

A File Share Must Be Set Up Prior

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Rename Fex Details

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

18

Message Displayed After Rename Procedure Completes

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Rename Fex Processed

Seeing The Ins & Outs Of (Main(Rename) Rename Processing)

19

Procedure 2 - Sheet 2 – Stand Alone Procedure

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Stand Alone Fex 2

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

20

Sheet 2 Created After Fex 2 Processes

Temporary FileContains Report Data

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex 2 Processed Results

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

21

Sheet 1Unchanged

Temporary FilesExtension XHT

Use WindowsExplorer To View Data

Sheet 2 Updated With Corporate Data

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex 2 Processing

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

22

Rename FexProcesses Dos Command Line Processing.The File Share Must Be Set Up Prior To Processing Fex.

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Rename How It Works

Seeing The Ins & Outs Of (Main(Rename) Rename Details)

23

Procedure 3 - Sheet 3 – Stand Alone Procedure

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Stand Alone Fex 3

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

24

Temporary FileContains Report Data

Sheet 3 Created After Fex 3Processes

The Osmosis Of Compound Reporting In WebFOCUS

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

Main Name(Rename) Fex 3 Processed Results

25

Fex 3 Processing Phases

Sheet 1 & 2 Unchanged

Temporary FilesExtension XHT

Use WindowsExplorer To View Data

Sheet 3 Updated With Corporate Data

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex 3 Processing

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

26

A File Share Must Be Set Up Prior

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Rename

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

27

Procedure 4 - Sheet 4 – Stand Alone Procedure

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex 4 Processed Results

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

28

Sheet 4 Created After Fex 4 Processes

Temporary FileContains Report Data

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Fex 4 Processed Results

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

29

Fex 4 Processing Phases

Sheets 1, 2, & 3 Unchanged

Temporary File XHT

Use Explorer To View Data

Sheet 4 Updated With Corp Data

Main Name(Rename) Fex 4 Processed Results

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

The Osmosis Of Compound Reporting In WebFOCUS

30

A File Share Must Be Set Up Prior

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Rename Fex Details

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

31

Use The APP HOLD In All Stand Alone Procedures

Code The Same Hold File Name In Each Procedure

Prepare The RENAME Procedure using the HOLD File Name

Create the SHARE drive with proper read/write access

Prepare the WORKSHEET before you save as a single web page template as the sheet numbers and names used in the Fex are only for ordering purposes during the write process.

One Time Set Up Required Prior To Program Process

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Rename Fex Details

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

32

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Rename Fex Details

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

33

Main Calling Fex Completion Message

The Osmosis Of Compound Reporting In WebFOCUS

Main Name(Rename) Rename Fex Details

Seeing The Ins & Outs Of (Main(Rename) Procedure Processing)

34

One Time Security Set Up For Application Directory1) Create a share for the application directory to enable the rename process

2) Set Permissions On App Directory to Read/Write for user Id processing

The name of the share will be referenced in the rename process.

35

Winar email

36

Email batch fileCd c:\dell\blat\blat c:\dell\blat\emailbody.txt -from SV-OHIS-004 -subject "Monthly Commercial Accessories Part List" -to [email protected] –attach D:\DAILY_SALES_ARCHIVE\mth_comm_access_rpt1_echavez.zippause

37

Batch Job

Hypertonic

Rename

Isotomic

Diffusion

Hypotonic

Save As

Fex

Excel Template

UpdatedWorksheet

Both Equal

Unequal

Hypotonic

Write Data