SAP® Documentation

Single view

/PM0/AB_API_ANALYSIS - Analyze Policy Business Object

Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This program helps ABAP developers to program read access for data of the Policy business object. You need read access for the data of SAP Policy Management (FS-PM), for instance, to implement services. These services could include OData Services to support mobile scenarios or A2A Services to support integration scenarios.

You can use this program to analyze the Policy business object for the implementation of a specific service and to determine the methods with which certain FS-PM data can be read. This program does not determine any methods for changing FS-PM data.

Integration

Prerequisites

Policies exist in the system. This is necessary since the program uses concrete data to analyze the Policy business object.

Features

Selection

On the Policy Search with Business Partner and Contract Search with Business Partner tab pages, you can enter a business partner and search for policies or contracts with which the business partner has a relationship. This lets you read the data fields of policies or contracts of a certain business partner role, for instance that of the policyholder.

On the Policy Details tab page, you can enter a policy and read the data fields of all the entities of the policy, for instance of the coverages or the premium. The program only takes account of entities of the lines of business that belong to the standard delivery. In the Contracts group box, you can choose whether you wish to read the data of all of the contracts of this policy or only the data of a specific contract of this policy. If you only wish to read the data of a certain contract, you enter the contract number.

Standard Variants

Output

When you execute the program, the Technical Data screen is displayed where you receive information about the call of the FS-PM interface, such as the length of time for a call in microseconds and the number of data records read (for instance, 7 policies for a business partner role or 3 contracts for a policy).

Only those lines are displayed for which at least one data record was found. To display all of the lines, remove the filter in the No. of Records column.

When you select one or more lines on the Technical Data screen and choose Detail, the Field Data screen is displayed, where you receive detailed information about the fields of the selected data records, such as the field name and information as to whether the field value is not initial (for instance, in the case of an integer field when the value does not equal 0, or in the case of a character field when the value does not equal a space).

Only those lines are displayed for which the Field Value Is Not Initial checkbox is selected. To display all of the lines, remove the filter in the Field Value Is Not Initial column.

On the Field Data screen, you can go to the display of a data element in the ABAP Dictionary. You do so by choosing the relevant technical name in the Data Element column. You can also display the documentation of the data element. To do so, choose Goto ->Documentation->Display in the menu.

Activities

In this program you can also generate the source text that is used to read the data records of the selected entities during runtime.

  1. First create a function module in the Function Builder.
  2. To call the program, on the SAP Easy Access screen choose Policy Management -> Tools -> Analyze Policy Business Object.
  3. Execute the program as described above and select one or more lines on the Technical Data or Field Data screens.
  4. Choose Generate Source Text.
  5. In the Generate Source Text dialog window, select the function module that you created and confirm your entry.
The source text is generated and displayed in the Function Builder.

Example






rdisp/max_wprun_time - Maximum work process run time   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 5293 Date: 20191023 Time: 142422     sap01-206 ( 45 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.