Enterprise Resource Planning Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
shraddha_karne
Product and Topic Expert
Product and Topic Expert
1,127

Service with Advanced Execution is a new service business process in SAP S/4HANA Cloud Private Edition. This is based on the integration of Service with Maintenance Management.

To know more about this offering, please refer the blog:

Service with Advanced Execution

This blog showcases how the content form template can be customized to change the standard PDF generated by output control in service quotation.

Resource-Related Quotation

The resource-related quotation process begins when an execution order item is added in the service quotation. Once the execution order item is sent to planning by the service manager, it triggers the generation of a maintenance order. The maintenance order contains various operations and components based on planning, which are integral to fulfil the service requirements.

Once the planning is completed by maintenance planner, the planned data on the maintenance order is transferred to the service quotation via the DIP engine in the form of the resource-related cost line items. This are created as the subitems of main execution order item. These lines are distinguished from any other sub-items using the item category usage ‘RRCO’ (Resource-Related Cost).

shraddha_karne_0-1741195636921.png

To understand the process flow in Resource-Related Quotation, please refer the blog:

Service with Advanced Execution: Process Flow 3 – Planning and Cost Estimation in Service Quotation

Send to Customer

When the service quotation is sent to customer, the execution order item status is updated to ‘Released’. A standard PDF is generated by the output management which shows the details of the service quotation including items. This can be viewed in the Output Control assignment block. However, the resource-related cost items are not displayed in the standard PDF.

shraddha_karne_1-1741195686422.png

shraddha_karne_2-1741195705258.png

What is FDP?

FDP (Form Data Provider) is a gateway model that supplies the necessary data for generating output documents, such as invoices or purchase orders. It acts as the data source for a form template used in the output process, defining the structure and content of the document in the desired format.

What is output form?

Output form is a form which is used to display data in the PDF format to the customer where customer can see the items and subitems with respect to their pricing. 

Output form will read the data from FDP. 

Customizing Output Form 

The output PDF can be customized to enable display of resource-related cost line items as explained below.

Inside the form template, there is a provision to write scripts. The script must be modified to enable the resource-related cost line items in output form. 

The field SrvcQtnItmIsRsceReltdCostItm is already available in the node CRMS4S_SERVICEDOCUMENTITEMNODE for the OData FDP_CRMS4_SERVICE_QUOTATION.

This field value will be true if an item is resource-related cost item with item category usage as RRCO. This field will be consumed in the Script Section of the Adobe Print Form to suppress the RRCO line items in PDF output. The script will be edited using the Adobe Live Cycle Designer.

Step 1: Download the output form.

  • Go to t-code SFP (Form Builder).
  • Enter CRMS4_SERVICE_QTAN_SUMMARY in the form field.
  • Click on edit.
  • Click on Utilities -> Uploadingdownloading -> Downloading layout.
  • An XDP file will be downloaded.

shraddha_karne_3-1741195787381.png

Step 2: Modify the script in Adobe LiveCycle.

  • Open the XDP file in Adobe LiveCycle App.
  • In the Design view, the output format for the PDF can be seen.
  • In the rowTableSection -> rowTableItem, select the colItmCatUsg.
  • Open the Events with Scripts view in the Show option. The RRCO line items are suppressed in the output PDF by following logic. This code can be removed from the script to display the RRCO line items in output PDF.
  • Save the changes to the script.

shraddha_karne_4-1741195873585.png

Step 3: Upload the output form.

  • Go to t-code SFP (Form Builder).
  • Enter CRMS4_SERVICE_QTAN_SUMMARY in the form field.
  • Click on edit.
  • Click on Utilities -> Uploadingdownloading -> Uploading layout
  • Upload the modified XDP file.

shraddha_karne_5-1741196050463.png

After this step, when the service quotation is sent to the customer, the generated PDF will display resource-related cost items as well.

shraddha_karne_6-1741196079474.png

Summary

The standard PDF in the output control can be customized according to business requirement to enable or disable the display of resource-related cost items.