处理链方式执行APD处理

于在处理链的标准处理类型中没有针对APD的处理类型,所以如果APD处理过程设计好后,需要在处理链中安排计划,每天自动运行,就需要用到特殊的处理方法。步骤如下:
    1.在se38中运行程序RSAN_PROCESS_EXECUTE,创建运行时变量,该变量保存了需要运行的APD技术名称。

  2.创建处理链,在处理链中选择‘ABAP程序 ’处理类型。
    3.在‘ABAP程序 ’处理类型中创建处理变式,选择同步方式,输入程序RSAN_PROCESS_EXECUTE及在步骤1中创建好的行动时变量。
    4.安排计划执行该处理链。

  具体步骤如下:

Following are the important points.

  • Create the APD with t-code RSANWB.
  • Standard program name is RSAN_PROCESS_EXECUTE.
  • The program RSAN_PROCESS_EXECUTE is use to execute the APD (Analysis Process) in different actions.

Step By Step Solution

 1.     First you have to create the APD as per your Requirement through RSANWB t-code.

Please create with the proper name like I have created with “ZDISDOMEXPDAY”. 

 

2.     Then go to SE38 and go to program “RSAN_PROCESS_EXECUTE”.

Then click execute or F8. Then following screen appear.

3.     Then select “A” for Version field and select the Technical name of APD for Analysis process field like “ZDISDOMEXPDAY”. And select action to be executed. 

4.     Then create Variant for with Goto à Save As Variant à Give Variant name and meaning of that and saveand also select only for Background processing.

a.     Now Variant of the program for the Selective APD has been created.

5.     Now Move to RSPC and create the process chain. Now process Type from General Services à  ABAP program. Now Program process type came.

6.     Then go to Display variant of the program type and give the program name “RSAN_PROCESS_EXECUTE” and select the Variant which you have created “ZDISDOMEXPDAY”

 7.     Now your process type is finished with ABAP process for the APD. And schedule the process chain as per you’re conveniently.

如果还需要在APD完成后继续执行DTP,那么需要将APD执行单独制作一条处理链。

 

再建一条新链,将APD执行作为节点插入,再执行后续的DTP,见下图:
否则,APD还在运行的时候就会开始跑DTP,导致空数据上载的现象。

 

 

 

posted @ 2014-01-14 17:19  hanmos  阅读(1681)  评论(0编辑  收藏  举报