SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
Analysis Process Designer
 (APD): Part - 1




Applies to:
SAP NetWeaver Business Warehouse (Formerly BI). Will also work on SAP BI 3.5. Business Intelligence
homepage.

Summary
This article gives clear picture about how to down load the InfoCube Data into .CSV file using Analysis
Process Designer in SAP-BW/BI.

Author:      Surendra Kumar Reddy Koduru
Company: ITC Infotech India Ltd. (Bangalore/INDIA)
Created on: 26 December 2009

Author Bio
               Surendra Kumar Reddy Koduru is a SAP BI Lead Consultant currently working with ITC
               Infotech India Ltd (Bangalore/INDIA). He has got rich experience and worked on various
               BW/BI implementation/Support projects.




SAP COMMUNITY NETWORK                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                    1
Analysis Process Designer (APD): Part - 1




Table of Contents
Introduction ......................................................................................................................................................... 3
   Live Scenario .................................................................................................................................................. 3
   Steps ............................................................................................................................................................... 3
   Result ............................................................................................................................................................ 17
       InfoCube Data: ........................................................................................................................................................... 17
   File Data ........................................................................................................................................................ 18
Related Content ................................................................................................................................................ 18
Disclaimer and Liability Notice .......................................................................................................................... 19




SAP COMMUNITY NETWORK                                                                        SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                                                        2
Analysis Process Designer (APD): Part - 1




Introduction
The Analysis Process Designer (APD) is a workbench with an intuitive graphical user interface for creating,
executing, and monitoring analysis processes. The analysis process is primarily based on data that was
consolidated in the Data Warehouse and that exists in InfoProviders.
Analysis processes (APD) can be created on a graphical user interface using drag and drop. Data from
different data sources in the BI system can be combined, transformed, and prepared for analysis in several
individual steps. This allows it to be resaved in data targets in the BI system (DataStore objects for direct
update or InfoObjects with attributes) or in CRM systems.

Live Scenario
I have data in InfoCube and I want to save the data into Flat File in .CSV format in Desktop or Application
Server. Here I’m saving the file in Desktop.
I have some Characteristics InfoObjects and Key figure InfoObjects in InfoCube, but I want to only the
following four InfoObjects need to download to .CSV file.
        Material          = 0MATERIAL
        Batch             = 0BATCH
        Calendar Day      = 0CALDAY
        Amount            = 0AMOUNT

But while downloading the data into .CSV file, I want to change the format of the 0CALDAY.
Eg:
In InfoCube we can see the 0CALDAY data like 01.06.2009.
After downloading the data into Flat File we can see the 0CALDAY data like 20090601.
But I want to save the 0CALDAY data like 01/06/2009.

Steps
Follow the following simple steps.




SAP COMMUNITY NETWORK                                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                     3
Analysis Process Designer (APD): Part - 1




Step: 1
Go to RSANWB Transaction code and create new Analysis Process.




SAP COMMUNITY NETWORK                              SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                              4
Analysis Process Designer (APD): Part - 1




Step: 2
Drag and Drop DataSource i.e. Read Data from InfoProvider.




Step: 3
Give InfoProvider Name, here I given my InfoCube ZIC_FT1.




SAP COMMUNITY NETWORK                                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                 5
Analysis Process Designer (APD): Part - 1



Step: 4
Select the required InfoObjects from Field selection and move it from right side panel to left side Panel.
See the below Screen.




Here I selected only following InfoObjects.
          Material         = 0MATERIAL
          Batch            = 0BATCH
          Calendar Day     = 0CALDAY
          Amount           = 0AMOUNT




SAP COMMUNITY NETWORK                                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                     6
Analysis Process Designer (APD): Part - 1




Step: 5
Then Drag and Drop Write Data to File.




SAP COMMUNITY NETWORK                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                    7
Analysis Process Designer (APD): Part - 1




Step: 6
Select the Client Workstation and give File path and Write Mode in Data Target Tab.




SAP COMMUNITY NETWORK                                   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                   8
Analysis Process Designer (APD): Part - 1




Step: 7
Set the Separators and Separator Field Name/InfoObject in CSV File Properties tab.




SAP COMMUNITY NETWORK                                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                  9
Analysis Process Designer (APD): Part - 1




Step: 8
Drag and Drop ABAP Routine from Transformations. See the below Screen.




Step: 9
Map the Objects like below and double click Routine.




SAP COMMUNITY NETWORK                                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                  10
Analysis Process Designer (APD): Part - 1



Step: 10
See Genera Tab and give Description.




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                  11
Analysis Process Designer (APD): Part - 1




Step: 11
Maintain the following InfoObjects in Source Fields in Source Flds Tab.
        Material          = 0MATERIAL
        Batch             = 0BATCH
        Calendar Day      = 0CALDAY
        Amount            = 0AMOUNT




SAP COMMUNITY NETWORK                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                    12
Analysis Process Designer (APD): Part - 1




Step: 12
You can see the selected Fields in Target Fields in TargetFlds tab, here I added ZCALDAY field and given
Type (InfoObject) is 0MATERIAL. Because if we add ‘/’ to date then the length is not enough for 0CALDAY,
so instead of 0CALDAY, I given 0MATERIAL it is having length 18.




SAP COMMUNITY NETWORK                                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                  13
Analysis Process Designer (APD): Part - 1




Step: 13
Code:




Write the following code in Routine Tab.


    *--------- Begin of transformation code -----------------------------

        DATA: ls_source TYPE y_source_fields,
              ls_target TYPE y_target_fields.

        data: dt type sy-datum,
              dd(2) type n,
              mm(2) type n,
              yy(4) type n.

        LOOP AT it_source INTO ls_source.




SAP COMMUNITY NETWORK                           SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                           14
Analysis Process Designer (APD): Part - 1



         dt = ls_source-calday.

         dd = ls_source-calday+6(2).
         mm = ls_source-calday+4(2).
         yy = ls_source-calday+0(4).

         CONCATENATE dd '/' mm '/' yy into ls_target-zcalday.

         MOVE-CORRESPONDING ls_source TO ls_target.

         APPEND ls_target TO et_target.
       ENDLOOP.

    *---------- End of transformation code ------------------------------


Complete Routine Code in Routine Tab, it is just for your reference.


    REPORT RSAN_WB_ROUTINE_TEMP_REPORT .

    TYPES: BEGIN OF y_source_fields ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             BATCH TYPE /BI0/OIBATCH ,
             CALDAY TYPE /BI0/OICALDAY ,
             AMOUNT TYPE /BI0/OIAMOUNT ,
           END OF y_source_fields .
    TYPES: yt_source_fields TYPE STANDARD TABLE OF y_source_fields .

    TYPES: BEGIN OF y_target_fields ,
             MATERIAL TYPE /BI0/OIMATERIAL ,
             BATCH TYPE /BI0/OIBATCH ,
             CALDAY TYPE /BI0/OICALDAY ,
             ZCALDAY TYPE /BI0/OIMATERIAL ,
             AMOUNT TYPE /BI0/OIAMOUNT ,
           END OF y_target_fields .
    TYPES: yt_target_fields TYPE STANDARD TABLE OF y_target_fields .
    *---------- Begin of type definitions -------------------------------

    *TYPES: ...

    *----------- End of type definitions --------------------------------
    FORM compute_data_transformation
         USING     it_source TYPE yt_source_fields
                   ir_context TYPE REF TO if_rsan_rt_routine_context
         EXPORTING et_target TYPE yt_target_fields .
    *--------- Begin of transformation code -----------------------------

       DATA: ls_source TYPE y_source_fields,
             ls_target TYPE y_target_fields.

       data: dt type sy-datum,
             dd(2) type n,
             mm(2) type n,
             yy(4) type n,
             c1 type c.



SAP COMMUNITY NETWORK                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                    15
Analysis Process Designer (APD): Part - 1




      LOOP AT it_source INTO ls_source.

           dt = ls_source-calday.

           dd = ls_source-calday+6(2).
           mm = ls_source-calday+4(2).
           yy = ls_source-calday+0(4).

           CONCATENATE dd '/' mm '/' yy into ls_target-zcalday.

           MOVE-CORRESPONDING ls_source TO ls_target.

        APPEND ls_target TO et_target.
      ENDLOOP.

    *---------- End of transformation code ------------------------------
    ENDFORM.


Step: 14
Then Save , Activate and Execute.




SAP COMMUNITY NETWORK                            SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                            16
Analysis Process Designer (APD): Part - 1




Once you execute it, it will display the following screen with Success Symbol.




Result

InfoCube Data:




SAP COMMUNITY NETWORK                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                    17
Analysis Process Designer (APD): Part - 1




File Data
Open the file and see the data in the file, you can find the required date format in D column.




Related Content
Analysis Process Designer
Using Customer Exit Variables in BW Reports Part - 3
How to use Customer Exit Variables in BW Reports: Part - 2
Using Customer Exit Variables in BW or BI Reports Part - 1
Using Text Variables with Customer Exits in Report Headings
Using Text Variables with Customer Exits in Report Headings




SAP COMMUNITY NETWORK                                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                     18
Analysis Process Designer (APD): Part - 1




Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.




SAP COMMUNITY NETWORK                                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                                    19

Contenu connexe

Tendances

Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0gireesho
 
Line item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionLine item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionPraveen Kumar
 
Introduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds viewsIntroduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds viewsLuc Vanrobays
 
Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Andre Bothma
 
How to extend an outbound i doc
How to extend an outbound i docHow to extend an outbound i doc
How to extend an outbound i docrupesh chouhan
 
What's New in SAP HANA View Modeling
What's New in SAP HANA View ModelingWhat's New in SAP HANA View Modeling
What's New in SAP HANA View ModelingSAP Technology
 
Customer exit variables in sap
Customer exit variables in sapCustomer exit variables in sap
Customer exit variables in sapSidharth Sriram
 
How to create generic delta
How to create generic deltaHow to create generic delta
How to create generic deltaJacques Kalees
 
Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3
Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3
Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3SAP Portal
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infosapdocs. info
 
SAP BI Generic Extraction Using a Function Module.pdf
SAP BI Generic Extraction Using a Function Module.pdfSAP BI Generic Extraction Using a Function Module.pdf
SAP BI Generic Extraction Using a Function Module.pdfKoushikGuna
 
Sap bi step by step procedure for data archiving by adk and reloading archive...
Sap bi step by step procedure for data archiving by adk and reloading archive...Sap bi step by step procedure for data archiving by adk and reloading archive...
Sap bi step by step procedure for data archiving by adk and reloading archive...Charanjit Singh
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
SAP Business One; Step-by-Step Guide for Installation, configuration on Virtu...
SAP Business One; Step-by-Step Guide for Installation, configuration on Virtu...SAP Business One; Step-by-Step Guide for Installation, configuration on Virtu...
SAP Business One; Step-by-Step Guide for Installation, configuration on Virtu...Nasir Gondal
 
Lo extraction – part 5 sales and distribution (sd) datasource overview
Lo extraction – part 5  sales and distribution (sd) datasource overviewLo extraction – part 5  sales and distribution (sd) datasource overview
Lo extraction – part 5 sales and distribution (sd) datasource overviewJNTU University
 
Lo extraction part 2 database update logic
Lo extraction   part 2 database update logicLo extraction   part 2 database update logic
Lo extraction part 2 database update logicJNTU University
 
Sap sapscripts tips and tricks
Sap sapscripts tips and tricksSap sapscripts tips and tricks
Sap sapscripts tips and tricksKranthi Kumar
 
SAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESHSAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESHGanesh Tarlana
 

Tendances (20)

Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0Performance tuning in sap bi 7.0
Performance tuning in sap bi 7.0
 
Line item dimension and high cardinality dimension
Line item dimension and high cardinality dimensionLine item dimension and high cardinality dimension
Line item dimension and high cardinality dimension
 
Introduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds viewsIntroduction to extracting data from sap s 4 hana with abap cds views
Introduction to extracting data from sap s 4 hana with abap cds views
 
HANA Modeling
HANA Modeling HANA Modeling
HANA Modeling
 
Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...Step by step on changing ecc source systems without affecting data modeling o...
Step by step on changing ecc source systems without affecting data modeling o...
 
How to extend an outbound i doc
How to extend an outbound i docHow to extend an outbound i doc
How to extend an outbound i doc
 
What's New in SAP HANA View Modeling
What's New in SAP HANA View ModelingWhat's New in SAP HANA View Modeling
What's New in SAP HANA View Modeling
 
Customer exit variables in sap
Customer exit variables in sapCustomer exit variables in sap
Customer exit variables in sap
 
How to create generic delta
How to create generic deltaHow to create generic delta
How to create generic delta
 
Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3
Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3
Best Practices for Upgrading Your Portal to SAP NetWeaver 7.3
 
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.infoVariant Configurition in SAP: Beginners Guide | www.sapdocs.info
Variant Configurition in SAP: Beginners Guide | www.sapdocs.info
 
SAP BI Generic Extraction Using a Function Module.pdf
SAP BI Generic Extraction Using a Function Module.pdfSAP BI Generic Extraction Using a Function Module.pdf
SAP BI Generic Extraction Using a Function Module.pdf
 
Sap bi step by step procedure for data archiving by adk and reloading archive...
Sap bi step by step procedure for data archiving by adk and reloading archive...Sap bi step by step procedure for data archiving by adk and reloading archive...
Sap bi step by step procedure for data archiving by adk and reloading archive...
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
Sap bw4 hana
Sap bw4 hanaSap bw4 hana
Sap bw4 hana
 
SAP Business One; Step-by-Step Guide for Installation, configuration on Virtu...
SAP Business One; Step-by-Step Guide for Installation, configuration on Virtu...SAP Business One; Step-by-Step Guide for Installation, configuration on Virtu...
SAP Business One; Step-by-Step Guide for Installation, configuration on Virtu...
 
Lo extraction – part 5 sales and distribution (sd) datasource overview
Lo extraction – part 5  sales and distribution (sd) datasource overviewLo extraction – part 5  sales and distribution (sd) datasource overview
Lo extraction – part 5 sales and distribution (sd) datasource overview
 
Lo extraction part 2 database update logic
Lo extraction   part 2 database update logicLo extraction   part 2 database update logic
Lo extraction part 2 database update logic
 
Sap sapscripts tips and tricks
Sap sapscripts tips and tricksSap sapscripts tips and tricks
Sap sapscripts tips and tricks
 
SAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESHSAP SD QUERY REPORT_GANESH
SAP SD QUERY REPORT_GANESH
 

En vedette

Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rulesknreddyy
 
Currency conversion in bi 7.0
Currency conversion in bi 7.0Currency conversion in bi 7.0
Currency conversion in bi 7.0gireesho
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bishabari76
 
Data upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemData upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemBhaskar Reddy
 
SAP HR: Training & event management
SAP HR: Training & event managementSAP HR: Training & event management
SAP HR: Training & event managementanisha gupta
 
Extractions and performance monitoring
Extractions and performance monitoringExtractions and performance monitoring
Extractions and performance monitoringJNTU University
 
Lo extraction part 3 extractor logic
Lo extraction   part 3 extractor logicLo extraction   part 3 extractor logic
Lo extraction part 3 extractor logicJNTU University
 
Lo extraction part 4 update methods
Lo extraction   part 4 update methodsLo extraction   part 4 update methods
Lo extraction part 4 update methodsJNTU University
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodologyJNTU University
 
Lo extraction part 1 sd overview
Lo extraction   part 1 sd overviewLo extraction   part 1 sd overview
Lo extraction part 1 sd overviewJNTU University
 
Building the Business Case for SAP HANA
Building the Business Case for SAP HANABuilding the Business Case for SAP HANA
Building the Business Case for SAP HANABluefin Solutions
 
Delivering digital devolution in local authorities bluefin solutions - dece...
Delivering digital devolution in local authorities   bluefin solutions - dece...Delivering digital devolution in local authorities   bluefin solutions - dece...
Delivering digital devolution in local authorities bluefin solutions - dece...Bluefin Solutions
 
SAP Accounts Reveivable Financial Transaction | http://sapdocs.info
SAP Accounts Reveivable Financial Transaction | http://sapdocs.infoSAP Accounts Reveivable Financial Transaction | http://sapdocs.info
SAP Accounts Reveivable Financial Transaction | http://sapdocs.infosapdocs. info
 

En vedette (16)

Bw writing routines in update rules
Bw writing routines in update rulesBw writing routines in update rules
Bw writing routines in update rules
 
Currency conversion in bi 7.0
Currency conversion in bi 7.0Currency conversion in bi 7.0
Currency conversion in bi 7.0
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
 
Data upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemData upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 system
 
SAP HR: Training & event management
SAP HR: Training & event managementSAP HR: Training & event management
SAP HR: Training & event management
 
Extractions and performance monitoring
Extractions and performance monitoringExtractions and performance monitoring
Extractions and performance monitoring
 
Extractors sapr3
Extractors sapr3Extractors sapr3
Extractors sapr3
 
Field symbols
Field symbolsField symbols
Field symbols
 
Lo extraction part 3 extractor logic
Lo extraction   part 3 extractor logicLo extraction   part 3 extractor logic
Lo extraction part 3 extractor logic
 
Lo extraction part 4 update methods
Lo extraction   part 4 update methodsLo extraction   part 4 update methods
Lo extraction part 4 update methods
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodology
 
Extractioncockpit
Extractioncockpit Extractioncockpit
Extractioncockpit
 
Lo extraction part 1 sd overview
Lo extraction   part 1 sd overviewLo extraction   part 1 sd overview
Lo extraction part 1 sd overview
 
Building the Business Case for SAP HANA
Building the Business Case for SAP HANABuilding the Business Case for SAP HANA
Building the Business Case for SAP HANA
 
Delivering digital devolution in local authorities bluefin solutions - dece...
Delivering digital devolution in local authorities   bluefin solutions - dece...Delivering digital devolution in local authorities   bluefin solutions - dece...
Delivering digital devolution in local authorities bluefin solutions - dece...
 
SAP Accounts Reveivable Financial Transaction | http://sapdocs.info
SAP Accounts Reveivable Financial Transaction | http://sapdocs.infoSAP Accounts Reveivable Financial Transaction | http://sapdocs.info
SAP Accounts Reveivable Financial Transaction | http://sapdocs.info
 

Similaire à Analysis process designer (apd) part 1

Divyanshu open stack presentation -osi-ppt
Divyanshu open stack presentation -osi-pptDivyanshu open stack presentation -osi-ppt
Divyanshu open stack presentation -osi-pptOpenSourceIndia
 
Divyanshu open stack presentation -osi-ppt
Divyanshu open stack presentation -osi-pptDivyanshu open stack presentation -osi-ppt
Divyanshu open stack presentation -osi-pptsuniltomar04
 
1112 agile approach to pci dss development
1112 agile approach to pci dss development1112 agile approach to pci dss development
1112 agile approach to pci dss developmentbezpiecznik
 
OSC11 - The future is now for all your Business Processes
OSC11 - The future is now for all your Business ProcessesOSC11 - The future is now for all your Business Processes
OSC11 - The future is now for all your Business ProcessesEric D. Schabell
 
Architecting a Data Warehouse: A Case Study
Architecting a Data Warehouse: A Case StudyArchitecting a Data Warehouse: A Case Study
Architecting a Data Warehouse: A Case StudyMark Ginnebaugh
 
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Srinivas Dukka
 
A short introduction to the cloud
A short introduction to the cloudA short introduction to the cloud
A short introduction to the cloudLaurent Eschenauer
 
AMP110 Microsoft Access Macros
AMP110 Microsoft Access MacrosAMP110 Microsoft Access Macros
AMP110 Microsoft Access MacrosDan D'Urso
 
Keynote - Cloud Transformation, Guus Krabbenborg
Keynote - Cloud Transformation, Guus KrabbenborgKeynote - Cloud Transformation, Guus Krabbenborg
Keynote - Cloud Transformation, Guus Krabbenborgdynamicscom
 
Dynamics CRM2011 Update 7, Tim Schaeps
Dynamics CRM2011 Update 7, Tim SchaepsDynamics CRM2011 Update 7, Tim Schaeps
Dynamics CRM2011 Update 7, Tim Schaepsdynamicscom
 
Vikas swarankar portfolio_25_oct_2011
Vikas swarankar portfolio_25_oct_2011Vikas swarankar portfolio_25_oct_2011
Vikas swarankar portfolio_25_oct_2011Rakesh Ranjan
 
Troubleshooting Wireless LANs with Centralized Controllers
Troubleshooting Wireless LANs with Centralized ControllersTroubleshooting Wireless LANs with Centralized Controllers
Troubleshooting Wireless LANs with Centralized ControllersCisco Mobility
 
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...Itris Automation Square
 
Satellite With Alt Dvb
Satellite With Alt DvbSatellite With Alt Dvb
Satellite With Alt DvbSais Abdelkrim
 
Sand dna nearline for sap net weaver bw 7.0
Sand dna nearline for sap net weaver bw 7.0Sand dna nearline for sap net weaver bw 7.0
Sand dna nearline for sap net weaver bw 7.0Ram Tomar
 
Sand/dna nearline for sap net weaver bw 7.0.dot
Sand/dna nearline for sap net weaver bw 7.0.dotSand/dna nearline for sap net weaver bw 7.0.dot
Sand/dna nearline for sap net weaver bw 7.0.dotVaishali Pethad
 
Ontology driven portal based on ISO Topic Maps, 2008
Ontology driven portal based on ISO Topic Maps, 2008Ontology driven portal based on ISO Topic Maps, 2008
Ontology driven portal based on ISO Topic Maps, 2008Heimo Hänninen
 

Similaire à Analysis process designer (apd) part 1 (20)

SOA OSB BPEL BPM Presentation
SOA OSB BPEL BPM PresentationSOA OSB BPEL BPM Presentation
SOA OSB BPEL BPM Presentation
 
Divyanshu open stack presentation -osi-ppt
Divyanshu open stack presentation -osi-pptDivyanshu open stack presentation -osi-ppt
Divyanshu open stack presentation -osi-ppt
 
Divyanshu open stack presentation -osi-ppt
Divyanshu open stack presentation -osi-pptDivyanshu open stack presentation -osi-ppt
Divyanshu open stack presentation -osi-ppt
 
1112 agile approach to pci dss development
1112 agile approach to pci dss development1112 agile approach to pci dss development
1112 agile approach to pci dss development
 
OSC11 - The future is now for all your Business Processes
OSC11 - The future is now for all your Business ProcessesOSC11 - The future is now for all your Business Processes
OSC11 - The future is now for all your Business Processes
 
Architecting a Data Warehouse: A Case Study
Architecting a Data Warehouse: A Case StudyArchitecting a Data Warehouse: A Case Study
Architecting a Data Warehouse: A Case Study
 
Erp b
Erp bErp b
Erp b
 
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
 
A short introduction to the cloud
A short introduction to the cloudA short introduction to the cloud
A short introduction to the cloud
 
AMP110 Microsoft Access Macros
AMP110 Microsoft Access MacrosAMP110 Microsoft Access Macros
AMP110 Microsoft Access Macros
 
Keynote - Cloud Transformation, Guus Krabbenborg
Keynote - Cloud Transformation, Guus KrabbenborgKeynote - Cloud Transformation, Guus Krabbenborg
Keynote - Cloud Transformation, Guus Krabbenborg
 
Dynamics CRM2011 Update 7, Tim Schaeps
Dynamics CRM2011 Update 7, Tim SchaepsDynamics CRM2011 Update 7, Tim Schaeps
Dynamics CRM2011 Update 7, Tim Schaeps
 
Vikas swarankar portfolio_25_oct_2011
Vikas swarankar portfolio_25_oct_2011Vikas swarankar portfolio_25_oct_2011
Vikas swarankar portfolio_25_oct_2011
 
Alt Dvb
Alt DvbAlt Dvb
Alt Dvb
 
Troubleshooting Wireless LANs with Centralized Controllers
Troubleshooting Wireless LANs with Centralized ControllersTroubleshooting Wireless LANs with Centralized Controllers
Troubleshooting Wireless LANs with Centralized Controllers
 
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
[EN] Club Automation presentation "Quality Model for Industrial Automation", ...
 
Satellite With Alt Dvb
Satellite With Alt DvbSatellite With Alt Dvb
Satellite With Alt Dvb
 
Sand dna nearline for sap net weaver bw 7.0
Sand dna nearline for sap net weaver bw 7.0Sand dna nearline for sap net weaver bw 7.0
Sand dna nearline for sap net weaver bw 7.0
 
Sand/dna nearline for sap net weaver bw 7.0.dot
Sand/dna nearline for sap net weaver bw 7.0.dotSand/dna nearline for sap net weaver bw 7.0.dot
Sand/dna nearline for sap net weaver bw 7.0.dot
 
Ontology driven portal based on ISO Topic Maps, 2008
Ontology driven portal based on ISO Topic Maps, 2008Ontology driven portal based on ISO Topic Maps, 2008
Ontology driven portal based on ISO Topic Maps, 2008
 

Dernier

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 

Dernier (20)

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 

Analysis process designer (apd) part 1

  • 1. Analysis Process Designer (APD): Part - 1 Applies to: SAP NetWeaver Business Warehouse (Formerly BI). Will also work on SAP BI 3.5. Business Intelligence homepage. Summary This article gives clear picture about how to down load the InfoCube Data into .CSV file using Analysis Process Designer in SAP-BW/BI. Author: Surendra Kumar Reddy Koduru Company: ITC Infotech India Ltd. (Bangalore/INDIA) Created on: 26 December 2009 Author Bio Surendra Kumar Reddy Koduru is a SAP BI Lead Consultant currently working with ITC Infotech India Ltd (Bangalore/INDIA). He has got rich experience and worked on various BW/BI implementation/Support projects. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 1
  • 2. Analysis Process Designer (APD): Part - 1 Table of Contents Introduction ......................................................................................................................................................... 3 Live Scenario .................................................................................................................................................. 3 Steps ............................................................................................................................................................... 3 Result ............................................................................................................................................................ 17 InfoCube Data: ........................................................................................................................................................... 17 File Data ........................................................................................................................................................ 18 Related Content ................................................................................................................................................ 18 Disclaimer and Liability Notice .......................................................................................................................... 19 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 2
  • 3. Analysis Process Designer (APD): Part - 1 Introduction The Analysis Process Designer (APD) is a workbench with an intuitive graphical user interface for creating, executing, and monitoring analysis processes. The analysis process is primarily based on data that was consolidated in the Data Warehouse and that exists in InfoProviders. Analysis processes (APD) can be created on a graphical user interface using drag and drop. Data from different data sources in the BI system can be combined, transformed, and prepared for analysis in several individual steps. This allows it to be resaved in data targets in the BI system (DataStore objects for direct update or InfoObjects with attributes) or in CRM systems. Live Scenario I have data in InfoCube and I want to save the data into Flat File in .CSV format in Desktop or Application Server. Here I’m saving the file in Desktop. I have some Characteristics InfoObjects and Key figure InfoObjects in InfoCube, but I want to only the following four InfoObjects need to download to .CSV file. Material = 0MATERIAL Batch = 0BATCH Calendar Day = 0CALDAY Amount = 0AMOUNT But while downloading the data into .CSV file, I want to change the format of the 0CALDAY. Eg: In InfoCube we can see the 0CALDAY data like 01.06.2009. After downloading the data into Flat File we can see the 0CALDAY data like 20090601. But I want to save the 0CALDAY data like 01/06/2009. Steps Follow the following simple steps. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 3
  • 4. Analysis Process Designer (APD): Part - 1 Step: 1 Go to RSANWB Transaction code and create new Analysis Process. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 4
  • 5. Analysis Process Designer (APD): Part - 1 Step: 2 Drag and Drop DataSource i.e. Read Data from InfoProvider. Step: 3 Give InfoProvider Name, here I given my InfoCube ZIC_FT1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 5
  • 6. Analysis Process Designer (APD): Part - 1 Step: 4 Select the required InfoObjects from Field selection and move it from right side panel to left side Panel. See the below Screen. Here I selected only following InfoObjects. Material = 0MATERIAL Batch = 0BATCH Calendar Day = 0CALDAY Amount = 0AMOUNT SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 6
  • 7. Analysis Process Designer (APD): Part - 1 Step: 5 Then Drag and Drop Write Data to File. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 7
  • 8. Analysis Process Designer (APD): Part - 1 Step: 6 Select the Client Workstation and give File path and Write Mode in Data Target Tab. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 8
  • 9. Analysis Process Designer (APD): Part - 1 Step: 7 Set the Separators and Separator Field Name/InfoObject in CSV File Properties tab. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 9
  • 10. Analysis Process Designer (APD): Part - 1 Step: 8 Drag and Drop ABAP Routine from Transformations. See the below Screen. Step: 9 Map the Objects like below and double click Routine. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 10
  • 11. Analysis Process Designer (APD): Part - 1 Step: 10 See Genera Tab and give Description. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 11
  • 12. Analysis Process Designer (APD): Part - 1 Step: 11 Maintain the following InfoObjects in Source Fields in Source Flds Tab. Material = 0MATERIAL Batch = 0BATCH Calendar Day = 0CALDAY Amount = 0AMOUNT SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 12
  • 13. Analysis Process Designer (APD): Part - 1 Step: 12 You can see the selected Fields in Target Fields in TargetFlds tab, here I added ZCALDAY field and given Type (InfoObject) is 0MATERIAL. Because if we add ‘/’ to date then the length is not enough for 0CALDAY, so instead of 0CALDAY, I given 0MATERIAL it is having length 18. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 13
  • 14. Analysis Process Designer (APD): Part - 1 Step: 13 Code: Write the following code in Routine Tab. *--------- Begin of transformation code ----------------------------- DATA: ls_source TYPE y_source_fields, ls_target TYPE y_target_fields. data: dt type sy-datum, dd(2) type n, mm(2) type n, yy(4) type n. LOOP AT it_source INTO ls_source. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 14
  • 15. Analysis Process Designer (APD): Part - 1 dt = ls_source-calday. dd = ls_source-calday+6(2). mm = ls_source-calday+4(2). yy = ls_source-calday+0(4). CONCATENATE dd '/' mm '/' yy into ls_target-zcalday. MOVE-CORRESPONDING ls_source TO ls_target. APPEND ls_target TO et_target. ENDLOOP. *---------- End of transformation code ------------------------------ Complete Routine Code in Routine Tab, it is just for your reference. REPORT RSAN_WB_ROUTINE_TEMP_REPORT . TYPES: BEGIN OF y_source_fields , MATERIAL TYPE /BI0/OIMATERIAL , BATCH TYPE /BI0/OIBATCH , CALDAY TYPE /BI0/OICALDAY , AMOUNT TYPE /BI0/OIAMOUNT , END OF y_source_fields . TYPES: yt_source_fields TYPE STANDARD TABLE OF y_source_fields . TYPES: BEGIN OF y_target_fields , MATERIAL TYPE /BI0/OIMATERIAL , BATCH TYPE /BI0/OIBATCH , CALDAY TYPE /BI0/OICALDAY , ZCALDAY TYPE /BI0/OIMATERIAL , AMOUNT TYPE /BI0/OIAMOUNT , END OF y_target_fields . TYPES: yt_target_fields TYPE STANDARD TABLE OF y_target_fields . *---------- Begin of type definitions ------------------------------- *TYPES: ... *----------- End of type definitions -------------------------------- FORM compute_data_transformation USING it_source TYPE yt_source_fields ir_context TYPE REF TO if_rsan_rt_routine_context EXPORTING et_target TYPE yt_target_fields . *--------- Begin of transformation code ----------------------------- DATA: ls_source TYPE y_source_fields, ls_target TYPE y_target_fields. data: dt type sy-datum, dd(2) type n, mm(2) type n, yy(4) type n, c1 type c. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 15
  • 16. Analysis Process Designer (APD): Part - 1 LOOP AT it_source INTO ls_source. dt = ls_source-calday. dd = ls_source-calday+6(2). mm = ls_source-calday+4(2). yy = ls_source-calday+0(4). CONCATENATE dd '/' mm '/' yy into ls_target-zcalday. MOVE-CORRESPONDING ls_source TO ls_target. APPEND ls_target TO et_target. ENDLOOP. *---------- End of transformation code ------------------------------ ENDFORM. Step: 14 Then Save , Activate and Execute. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 16
  • 17. Analysis Process Designer (APD): Part - 1 Once you execute it, it will display the following screen with Success Symbol. Result InfoCube Data: SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 17
  • 18. Analysis Process Designer (APD): Part - 1 File Data Open the file and see the data in the file, you can find the required date format in D column. Related Content Analysis Process Designer Using Customer Exit Variables in BW Reports Part - 3 How to use Customer Exit Variables in BW Reports: Part - 2 Using Customer Exit Variables in BW or BI Reports Part - 1 Using Text Variables with Customer Exits in Report Headings Using Text Variables with Customer Exits in Report Headings SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 18
  • 19. Analysis Process Designer (APD): Part - 1 Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 19