+++ 9.Analysis Process Designer (APD)

Analysis Process Designer:

                        It is a Workbench with user interface where we can do analysis process. This analysis process is based on the data present in the data warehouse which exists in info providers. Data from various sources in the BW system is combined, transformed and prepare for analysis where we can again resave into the targets like Direct update ODS, or Info-objects with attributes.

 https://lh6.googleusercontent.com/5mOhpnjSeSzBJKphYHnyIW3yMhvOEaJ_NjsOJu48BvmOQaVyvFu7L7TqfZwBeoKEOhXeOhE7vpSSUm2nlnJ69gIj_NnkryYt4SqbfdyBMt7Z5tkdFFOfTS9KqTGcAooVeeTUlJJLUNXWY4zDCA
“RSANWB” is the T-code for APD

 https://lh6.googleusercontent.com/5Zw_V1qUuz-nVpC4nhZl4iJs08Vom5yuEUZ5i_xBTZ2SLAfvoXvwKqxVVVjvOHXC92cPzZia8Wb_VDDZXP1lA3ukdtg0D0FX11STIZQySXWSBcVtY5yUIvZg9X2XXcJHppQcLg0udKBCyW3ZKQ

It reads data form info object master data attributes , Info provider , query , flat file , and form data base table.https://lh5.googleusercontent.com/PsrN6ss9XfhQsSMO38zNHdY8gKKbsSmFMrwGIGWCFoY40wVp5z9T0izytGkvjvvc6MIZNIJ0ErRHR9H1ZdPvw3VemBY5JMh86CLm_7iKjDm0F440JM7QdJjZB943XYfGoQoWLuW72zDTygsrEQhttps://lh3.googleusercontent.com/gh-mN26W5b0wHBh0l46sUaQR4nW02XvCCAp18xy2mwiTf-A2tCoGNZQY4MUQ-3YfC27X-jtyTxiwkKgdIdVIAU4onki1gEvfN0IT73CjElA10e5jeRTCC9CJvB9C01BoojXA3mV6ea_-Yx0STwhttps://lh3.googleusercontent.com/HdzTTVP24pyTB84hWYn8qc4jzFUKTbwDW4t67gw7_GNc9Ks7Lv3GK6xHjMZF_hEgEugRgSwOdhbIqlm-t-8_DWshYof4bukEHbX6swYEeeCXJOeacNR5nLdI8zJCfRVKVLO8UbFz1XZQMWl3Mwhttps://lh4.googleusercontent.com/3CLCtMqE4GclcY0QQ8s_gz8W3M6tz1iSRxPzqAtyhn3T0X1Jt0GER3i8FSNb6AZp8VezkMAdUJV9u3AFUGgVdkg0qEvtqOcKwLRtxsjwHGahs4nGuVI5wBBA3LlJ6AnZITW0TZfz8M2VNeND7whttps://lh5.googleusercontent.com/BFZrLn8gWX90iPyK2UXMYoAFYuyPszfFPGdP49dNNU5kOBmunonq0f-QjmcWHGzIgZbbwiVzVKLyKkWgHanLKpAMxLw5zfk-W6t6mzgiCMSASREwR8uBFj3jw3fKaWK3eveGeOgLaifGr3UaiA


Transformations(options) to Modify the data:
Filter, Aggregation, Join , Union , Projection , Sort , Formula , List to data record, Data record to list ,ABAP  Routine , and Data mining specific tools https://lh4.googleusercontent.com/zeTqlgjYJaDRALOZIWNfyoCrmiXHXtF3H8-k-bCnECSFYzIse44iLG8pYNacpe8irKtKOSasPVboTLpB-iP5hOotN2mexipQdBf4O4aEqbwjmwkJpw2rXdKX8uo4lyqVzvelk3eW_sSMA1Y7bAhttps://lh6.googleusercontent.com/rTqyWC_2WXuaHiXmAnGhitx__-M5hgCuf0lVCD9eXqR79oOMcL_jejhngbhYWnr0DN54MmVkK9iKsXliNSp0oaA8FYsIpYRoGvHveNsNi1fgKm4hPisjaGrPEWmfVmGzCCJZ9bXgBxEl3-gsiAhttps://lh6.googleusercontent.com/6BmTe20Byc6QesNpNGikOPFeXVo1bPF3jzCP3-oE52u2YyJYrww2VePim_5Njat31RY_taeF3R0rzAnaWqygh2nwAQv4x__vFZYIIwj3bE2adINgRFH2s3LlloAw6Ld4WuHlBpr_lH5xF6Xp1whttps://lh3.googleusercontent.com/UGNC-FlOblj36CIw7AlXqU7nULATxUYp81OwsMpoiboFG8T4Wz6x__WSkWpjxkMtKr0nk59sbzymjTHz-4yKjT7d0g-TNl_Svbc7Htocrtk-VmlvrJD3rn22oxs6gFyZO0QZ2aPlAbet7Bkk1whttps://lh6.googleusercontent.com/LtnwhL_WVFP0Ry74MuIpwktTU3qPv24tSjQYGU8QDHx-Y9trbF0ztKnfQUy3NZkYunbxDi7Qn6CPakaZ0Dmv0qFR_iB0Z0QVig6xQS3viMnFWBeql1OLlvO2Bh0ArYr7kOhaiiAZcNAJUHAAiQhttps://lh3.googleusercontent.com/zbnQNFSyenJi5Q3JcqKWUTuNDxOges5OP4XakOeA5MBM4w5LO7eZEQxK0p5l8rXIZYMh78XtSCpMSFSbR-sNfYhfIrXkt-u3H7FyBtLOZvZQiSuwmnnm6XpE0ty1AdzEpl9WwNNLYSXD_7oJ2Qhttps://lh4.googleusercontent.com/yIvPReyQUncS-joqhZzEwR2tdnAqck2Kj4bOnCayrkmykEKE_BONdfg00g9OnXSHNMFQmcLmTtUnbACS1RuAqX2FuqUslN5FzDxvrAxwJ-kGNLC6zPTCEtQ0DV7vhMgCzDvbhxUYephtL0MU5whttps://lh5.googleusercontent.com/R6NPmsZz0gR4EMkSm0fcqWOFsOI8nQOD99cWQqKg13r8KP31wmb7CrLQ0JPOVYS3-_ArUMiwWHW1FXjo75R6MclrQJj1dHN0sAETOk4esDxJRL86i7dDMh_7_9arkmRDtTwkPWIvb_O6lZwu5Ahttps://lh5.googleusercontent.com/HG3L2FaNlaPgcF-zlnSN6xq0_P56UdFJOoExCBhT6NdkZEbyL4immkvJl-KS87lgkjMhCXoTgiScK22ito58zzBZkLexxPnrHSXNR453ZOPPLbp3qZZ_7_vLWJiH3JbOLoKnYBC8qMZWE1xjzwhttps://lh3.googleusercontent.com/6I9Ir-i4MMi9qvMY_jTjfO95oWrcgjVEsBvGQ98XjzPCWtG6hS5u8VxFkg4872swmldqtKzCpA5WxN-XHMjtTeN8p1uyiQ2_LzQDeQE_6tQPKSMzDYxImLztVC8uyHe47iVNlUoE4Pkr_vQ4wQhttps://lh6.googleusercontent.com/PleqfThNsH5xJV8A8BD-7UauugJuzAcOc2BtqsLUF-wA93ewuENtfukB3Xu8T7kZlsbySOx_vBORpWUe-na479Fxs1dv6GHAtvqlQRNOv7TnZiZdK5onbmke-xcV4IDJ1dMFPSo9jqweUf1qQA

Writes data to the following targets including data mining
Writes to Master data, DSO , Flat file , CRM system  and data mining models  https://lh3.googleusercontent.com/QMrYv6Bvy511BXQlf2sQWZthD2Twi5g4ucMzKtyMmZfYzqxZ9oGu6yOiN3OLPg9Hltf4ovpqz1_pNtlepNLuvRifUE7vE7-KtnsKQV5vBHehiOi_qvA30GHteWDSAKvDOw26Er31yTsY2fSjxQhttps://lh3.googleusercontent.com/sq_Z9NiZehzsWg1Pv_bKy_AVc9iGDmTK1Lcfeu9noSI4K93Xhu9jbGps6ZoQT6LS38G2ZsIclu1PQC_sHKZZxfrdB3T6ccPM2aq0RfDEa2W9iXsZrMOg_XRTyh-0TeqisZ2IOjm2IpvlOjalrghttps://lh3.googleusercontent.com/w8BWEDfR7B9ZNvAsRWVUPYlex1F2Ec72QxorRZ53HxPTx3tBwzhCI5zmqKM6Ckq65qC2J-Ii30XM0WbNq6XP29wTZVCpu43bQ0YSDXMD1xDf09adqKsibYjpgOaCG5AOMPsyExLPi_lfV0ix3whttps://lh6.googleusercontent.com/kiam180WHUOW-w5m59VMc6uOYoTFEkLfAvURjCA-EbPsRzR8n9BRR9EgU_JgsiFAzMpwMC7YDsDuB2gMIYIh25awBn511M8UjMTSfZaF9ut_q3Qs_zga7XqFZQH2c4RrP3Z1Rwem7Mee6z-cMQhttps://lh3.googleusercontent.com/jdzEQuiR3-ft7jEz6h19IG4OmJGR_SlfbXkZ2r-q39wmM8oNKIqVY1Eq5NZTwJgR41uMnhTCCHpJwzqKQ5MaKK2Kep0kTsFa4Y161kJVGA8OazrE4_fnMAxN2EJic5AjxuDaIZxr02UBdsrYuw


Creation of APD:

Scenario:
The requirement is to evaluate the report based on Closing Stock, this closing stock is non cumulative key figure and is not physically stored in the cube. So to achieve this we use direct update DSO, using this we created an APD where the source is the query and target is the DSO. From the query we are stamping the closing stock into that DSO and we load data into other data target like cube etc.., based on our requirement and make analysis.
This kind of scenarios we go for APD’s.
Step 1: Right click on an application to create a model

 https://lh3.googleusercontent.com/1eK_AWbagNrVtGnmqA2j6Y1h6UDkH4e3NfpQleYGw3Gx0zYUtgJZNszAr-CI0eai3Q6u7HfyqMheRJFteyN0ZM67zyczVBbcrZ71u05gBhK8BW87bvb1KZZs45ULS7sJHMiJT3hOVpSb9CJjeQ

Step 2: Enter the model properties and drag  the desired source into the work area.


 https://lh4.googleusercontent.com/k3BiZprhzOgBpiHocjnSxnuIsk-VitDvUjgMCkGulJwPNORPZVd3xNhB6MQj_o2W6zwvSpCLJX3K0oBRt549TLG3RCmVxMSKYTkw5XOsmedRxoK3H0raQACUuMavHFt7zgzyZGucxQSzwOFA2g

Make the detailed settings in the dialogue box that appears:

 https://lh6.googleusercontent.com/Mz7pltjWBJEc74yrszlz95A8eUGfrwxYAExOMmGswwuoymqV-_YZBje4WZBqOc2AAd0vEaV30K6sB9u4uHajyV4Mv29o5hWxmaApnfpeL5P2sKPnGsVmImr01ctlgQNOkO0dSW2OZJhPJ58XIw

Step 3: Move a target to work area
 https://lh4.googleusercontent.com/Q1WcxjNkWgi1n482IGgviNkYBtCYyxcr0pTAlFI3ac4N99mcmRzpNrsYHlU54KfkTVETge59kmKdExNzsCWLKDqsg8LNsrPCNuKXudQHzg-sgpc12xa486I3XtlJOuIvz9vzbMiyaimSeGC2cw
Step 4 : Link those to nodes
 https://lh3.googleusercontent.com/y_ELfSOZqZMsGJGEVBkcvuyctpHQ1Df8Qicc_oqfqhpyZ9_V_2LBP22CkY9MDFYV1xrm3U3Na2SGtxIgaZHHuhJjg-41ffdi57VDz_TbKq_6uXxIIVcsCsSAPiybXLP0Pu3n5adMb4TPPVCfmw

Step 5: To make a field assignment right click on the flow arrow which is linking those nodes.
                     https://lh5.googleusercontent.com/V5Iqe5EPPbnllX1pyxXh7vlOz-5_3yfEzUxi-wEfGae-PBBQdX2Yry2XvGQ754a-hhdVUX-Ug4RT0o3XYDpmLqSJqw7isTrWl4yb60DEBTCUxEzcPUzmkOXrkQUIcg5tbgEBPVz4P2GyZCVCowhttps://lh4.googleusercontent.com/mbWXlW2_QOS2LqiS6uogwwzh-JcZdb_qCkLPVUQQ0h-OgpnPsNfdXSMu1khePOTEOm7zK1Jg0yEamzwj_8YrWjhxvLeo8TLa_5AZ-GDSsWIaFpbpWv5f_r4UecBoDtxJUCyoIIWxeA8qj3fb9A

Step 6: Activate   and Execute  the APD https://lh5.googleusercontent.com/JOdhm1kbgQk-oO7LZjsmrUEI_6i9Qjj6QMrbkSQg8BIe6pOuM-nKqd7CkPtz7r-Kre654Ag7XQn0Q4kkrbbsprgHvnQ2IDLDhEd7HgvJ3D7nsPN9QclovHAqPdw9SmzJmK8tud0pfmNMaVmnaAhttps://lh6.googleusercontent.com/dGsAFrCkrR01_JmFWUtG2W90qAsj9mn4u6TyvS6qZXWbtW4RGmaxj7qfe_nNKdA3ivohtACvwefbMpPtF2fBCUNJxlC8ToH33ZoNwsfBLPDYTNx4EvEt5xAxv5eMcQsaDrsyB658Fy0Kz6LZqg

 https://lh6.googleusercontent.com/xy3JFD0R0_BG6jxLKmnxngX1GcWSpz8Eraf2cJcCRKLPNkJYtzRb48lnE_6lmgf0qw2DJVipVxWXDzJLm5O8P3exCOFDaCskzkeLwbDBo6I7DkBlLYw7xm_c6EisKBljfqK05p5PYx-QzQCOSQ

Step 7:
The data is posted and a log appears:

 https://lh6.googleusercontent.com/uRP4JVIfMdEQeQftiASuNkjjE0AVnqdPAoUvdGlo5S14GPb-Z0gKdupqv5sQXOPVr5sVxn6AydFgAGbv66aR_qIGosi66ujOZR3oMiekMqww2RFlc1oUmcu39GjL3K52Xmldq7c8FiuZtGVGkA

Step 8: Double click on the data target and choose “display data” to display the data.

 https://lh4.googleusercontent.com/phiAMDv_-1waAnK03udFPJPhYSxAeRlUs1XVnxWfLLvhWhxc7j5qYCJBn8sKGU0hgS-9BVAkJQ02nMmXvfnuSuroIXwh5ZzKgNnBpSi6ZKuw9nQczBXeqSJfUmhdQNr4TjGSOFsFVbVOnoxsGA
 https://lh5.googleusercontent.com/TZ8pDdYLKR_Czn53WTVPOfnHeVy8hBTspzTRYHgg0fooylsz8t93kjGqSroLG7VqAchFdZP2VnM0sdphRSqYvGGsJm-stdNOopgP7FYbTPVJeJCxIVVRwCgqG9tpM-_16qL196Sxh_5zd33tuQ
Result:
Data in the DSO :
 https://lh4.googleusercontent.com/eNwIZiuIMeVKF432vpcQxT3PrtIAmI4NQHHSW3r2cwIZZGfGOsoICDu1IkWODTU_mSQIClo2tTl3xzePEvAJtCocMmv_I9Q2uBCZAOke0W3jMPgxXQaBVmcyUgqCPibiDVVLuHxBQlIzTIAcsg


                                                       *************************