You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Contents:

Related pages:

 

Kiuwan analysis for Change Requests / Tasks "in progress"

 

When Kiuwan Local Analyzer is deployed in the SAP system, you may analyze a Chage Request (or Task) currently in progress.

To do it, execute program ZKW_ANALYSIS_TO (using transaction SA38)

 

 

 

By specifying a Change Request (CR) or Task ID, and an analysis label, the source code associated will be downloaded and analyzed into the SAP system.

 

 

 

You can select either a Request or a Task.

Note: If you are selecting a task, be sure you select the correct task type.

 

 

 

 

Once you have selected your Request/Task ID, you can specify a Label for your analysis (so you can further easily find it at Kiuwan website).

 

 

 

After clicking Execute button, analysis process is as follows.

 

Analysis process for Change Requests / Tasks "in progress"

 

  1. Source code associated to Request/Task is downloaded
    1. Download directory is <DIR_HOME>/sape4k/code/<ReqTask_ID> (you can use AL11 transaction to inspect DIR_HOME value)
      1. in linux,typically  /usr/sap/<SAP_SID>/D<Instance_Number>/work
      2. in windows, change / by <drive>:\
    2. Under <DIR_HOME>/sape4k/code/<ReqTask_ID>, there will be a directory for every SAP Package involved in the CR/Task 
    3. Important: Only  "Active" objects will be exported and analyzed
  2. For every SAP package contained into the Request/Task, a Kiuwan analysis is executed :
    1. using "SAP package name" as "Kiuwan application name" (-n <SAP_package_name>, see Kiuwan Local Analyzer CLI - Command Line Interface)
    2. using <DIR_HOME>/sape4k/code/<ReqTask_ID>/<SAP_Package_Name> as source dir ( -s <SAP_Package_Name>)
    3. using Analysis label as Kiuwan analysis lable (-l <Analysis label>)
    4. the analysis is executed as a Partial Delivery (-as partialDelivery
    5. the analysis will use Request/Task ID as Kiuwan change request name (-cr <Request/Task ID>)
    6. the delivery will be marked in Kiuwan as In Progress (-crs inprogress)
    7. the analysis will wait for results (-wr) from Kiuwan cloud (i.e. it will be blocked until the cloud analysis finishes) 
  3. The process will analyze every SAP package unless a not-successful return code is received (ret code != 0) 
    1. In case of a not-successful analysys, a window is displayed with the message
    2. Bear in mind that a special case is when the Audit associated to the analysis of a package fails. This condition will stop the whole analysis.

 

 

  1. Source code associated to Request/Task is downloaded
    1. Download directory is <DIR_HOME>/sape4k/code/<ReqTask_ID> (you can use AL11 transaction to inspect DIR_HOME value)
      1. in linux,typically  /usr/sap/<SAP_SID>/D<Instance_Number>/work
      2. in windows, change / by <drive>:\
    2. Under <DIR_HOME>/sape4k/code/<ReqTask_ID>, there will be a directory for every SAP Package involved in the CR/Task 
    3. ImportantOnly  "Active" objects will be exported and analyzed
  2. For every SAP package contained into the Request/Task, a Kiuwan analysis is executed :
    1. using "SAP package name" as "Kiuwan application name" (-n <SAP_package_name>, see Kiuwan Local Analyzer CLI - Command Line Interface)
    2. using <DIR_HOME>/sape4k/code/<ReqTask_ID>/<SAP_Package_Name> as source dir ( -s <SAP_Package_Name>)
    3. using Analysis label as Kiuwan analysis lable (-l <Analysis label>)
    4. the analysis is executed as a Partial Delivery (-as partialDelivery
    5. the analysis will use Request/Task ID as Kiuwan change request name (-cr <Request/Task ID>)
    6. the delivery will be marked in Kiuwan as In Progress (-crs inprogress)
    7. the analysis will wait for results (-wr) from Kiuwan cloud (i.e. it will be blocked until the cloud analysis finishes) 
  3. The process will analyze every SAP package unless a not-successful return code is received (ret code != 0) 
    1. In case of a not-successful analysys, a window is displayed with the message
    2. Bear in mind that a special case is when the Audit associated to the analysis of a package fails. This condition will stop the whole analysis.

 

 

  • No labels