處理鏈方式執行APD處理

於在處理鏈的標準處理類型中沒有針對APD的處理類型,因此若是APD處理過程設計好後,須要在處理鏈中安排計劃,天天自動運行,就須要用到特殊的處理方法。步驟以下:
    1.在se38中運行程序RSAN_PROCESS_EXECUTE,建立運行時變量,該變量保存了須要運行的APD技術名稱。web

  2.建立處理鏈,在處理鏈中選擇‘ABAP程序 ’處理類型。
    3.在‘ABAP程序 ’處理類型中建立處理變式,選擇同步方式,輸入程序RSAN_PROCESS_EXECUTE及在步驟1中建立好的行動時變量。
    4.安排計劃執行該處理鏈。app

  具體步驟以下:ui

Following are the important points.spa

  • 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」.  code

 

2.     Then go to SE38 and go to program 「RSAN_PROCESS_EXECUTE」.orm

Then click execute or F8. Then following screen appear.blog

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. 
ci

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.rem

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,致使空數據上載的現象。
相關文章
相關標籤/搜索