zoukankan      html  css  js  c++  java
  • Step by step Process of creating APD

    Step by step Process of creating APD:

    Business Scenario:

                            Here we are going to create an APD on top of a Query and then storing the result into a Direct Update DSO. Here I am taking a simple example for our understanding.

    Step: 1        Go to RSA1 -> Edit -> Analysis Process Designer (or) RSANWB

     

     

    Step: 2       General -> Rt Click ->Create Analysis Process -> Enter the Description

     

    APD Query1.png

     

     

     

    Step: 3       Now we can drag and drop the source & target objects which are there in the Functional Area. We can map Source & Target by using the Transformations. We can use several functions which are available in “Transformations”. (Join, Aggregate, Filter, Formula, ABAP Routine etc)

     

                            As per our requirement, we have to send the Query result to a DSO. So drag and drop Query (Use Query to Read Data) form Data Sources in the Graphical Work Area.

     

                            Maintain the source details in the Data Source: Query window -> enter Description and choose query -> Enter Query Variant. (There should be a Variant for the Query which is data Source for the APD)

     

     

    Step: 4   

     

    Query Variant:

     

                            A query variant is a query for which the variable values have already been selected. You can also use the variants for opening the query in the online display and for background processing.

     

                            Go to RSRT -> Enter Query name ->Query Variants -> New -> Enter variant name and Description -> Select the value in the Variable Selection screen -> Save Values.

     

    queryvarinat2.png

     

    queryvariant3.png    

     

                      

     

        queryvariant3.png

     

         queryvarnt4.png

     

        

     

         Hence the Query variant is created. We have to enter the Query Variant in the APD Data Source: Query screen. APD result will be based on the Query Variant (We have given priority: “High” in the Query variant.)

     

    Step: 5    Drag and drop the Data Target which is DSO (Direct Update) and enter the DSO details.

     

                            Now connect the Source (Query) and Target DSO by dragging one end to the other.  We can use Transformations Join, Aggregate, Filter, Formula, ABAP Routine etc based on our desired output.  We can use ABAP Routine for complex transformations. Here in the present example we are not using any of these transformations.

     

    apd query2.png

     

     

     

    Queryvariant5.png

     

    queryvariant6.png

     

    Step: 6    Save ADP, Activate and execute.

     

    Step: 7    Check data in DSO. It will have data based on the Query variant only not the entire Query result.

     

        

     

         In the same way we can create APD with multiple tansformations between multipme Sources and Targets .

     

     

     

     

     

    Scenarios where we use APD:

     

    The Analysis Process Designer (APD) makes it possible to find and identify these hidden or complex relationships between data in a simple way. Various data transformations are provided for this purpose, such as statistical and mathematical calculations, and data cleansing or structuring processes

     

     

  • 相关阅读:
    linux内核中的subsys_initcall是干什么的?
    linux内核中的MFD子系统
    linux内核中有哪些子系统(框架)呢?
    软件架构师书籍
    求最大公约数和最小公倍数
    写一个函数判断字符串中"{"与"}","["与"]","("与")"匹配,"{"必须在"}"前面,"["必须在"]"前面,"("必须在")"前面,可以嵌套
    请用程序写出冒泡排序算法,并做相应改进使得排序效率更高
    50个必备的实用jQuery代码段+ 可以直接拿来用的15个jQuery代码片段
    js同比例缩放图片
    oracle 10g函数大全--其他函数
  • 原文地址:https://www.cnblogs.com/hanmos/p/3521110.html
Copyright © 2011-2022 走看看