1

SAP Output Management: setting custom Dunning Noti... - SAP Community

 1 week ago
source link: https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/sap-output-management-setting-custom-dunning-notice-form-in-sap-s-4hana/ba-p/13504663
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Introduction

This blog post describes the process of creation and customizing of Dunning Notice Form in SAP S/4HANA Cloud. This scenario includes following steps:
  1. Search for suitable standard form
  2. Adjusting of the form in Adobe LiveCycle Designer
  3. Adjusting of master form in Adobe LiveCycle Designer
  4. Create sender address, footers and logo.
  5. Adjusting of Output Management settings for Dunning Notice
  6. Setting-up Master Form
  7. Review of the results in SAP S/4HANA Cloud

Search for suitable standard form

The list of all forms is available in SAP Best Practices for SAP S/4HANA (on premise)‎, in Accelerators part - Forms.

In this excel spreadsheet we need to find the name of the used for Dunning Notice Adobe Form Template (FIN_FO_DUNN_NOTE):

1-57.png

We will copy it then in SAP S/4HANA Cloud System and use as the basis for our custom form.

Adjusting of the form in Adobe LiveCycle Designer

Now we need to go to SAP S/4HANA Cloud System and download the selected template.

To do this we will use the App "Maintain Form Templates". Let´s go to the Pre-delivered Templates tab and search for the identified earlier FIN_FO_DUNN_NOTE Form template:
4-38.png
Select the template and copy it:
5-32.png
Go to Custom Templates tab, remove filter by Name and enter the form, we just copied:
6-25.png
Then we need to download the form to local machine to work with it further in Adobe LiveCycle Designer:
7-18.png
By downloading the form you need to select master form for it. The most commonly used master form is SOMU_FORM_MASTER_A4 - let´s use it:
8-17.png
Important remark: now we downloaded the main, englisch version of the form and will make changes in it. Unfortunately, if you need to change forms for other languages, this has to be done separately.

Before starting adapting the form in Adobe LiveCycle Designer, we need to download the tool from the app "Install Additional Software" and install it on local PC.

Once it is done, open the downloaded form via Adobe LiveCycle Designer:
2021-05-20_15-42-12.png
The 4 different texts, you can see in the form, are referred to the 4 different levels of Dunning Notifications.

There are 3 main types of changes, which are the most frequently required to be implemented:
  1. Changes of styles of elements. 
In case of necessity to change font, size, style, etc. of texts - this can be done via the top panel after selecting of text:
1-58.png
For text fields and other elements the changes available in Object tab -> Field subtab -> appearance:
2-61.png
And in Layout tab:
3-37.png
          2. Changes of elements bindings

Sometimes it is necessary not only to add element from the left area, Data View tab:
4-39.png
But to change values, which will be displayed in already existing fields. This can be done after selecting of the necessary field in Object -> Binding:
5-33.png
          3. Changes of elements bindings

Some elements can be displayed based on conditions, or their content can change dynamically. It is possible to check and change such scenarios in scripting area:
6-26.png

Adjusting of master form in Adobe LiveCycle Designer

And some changes can be done only via changes in master form. One of such examples - changing the number of footers. There are 3 footers by default in master forms and in some cases 4 are necessary. Let´s take a look, how it can be done.

Firstly we need to go back in SAP S/4HANA Cloud system, app "Maintain Form Templates".

Then we need to switch to Pre-delivered Templates again and find master form, which we used for download of the main form - SOMU_FORM_MASTER_A4, select it and copy:
7-19.png
Once the form is copied, let´s switch to the Custom Templates tab, remove the filtering and enter the newly copied master form:
8-18.png
In the next step we need to download the master form to local PC:
10-11.png
And open the form via Adobe LiveCycle Designer:
11-15.png
By default landscape view will be opened. But for sending of Dunning Notices portrait view will be used. Therefore let´s go Hierarchy tab -> Portrait_OutboundLetter -> mst1:
12-12.png
As you can see, now only 3 footers are available. Furthermore, usually it is quite hard to guess, whether mst1 or mst2 page will be in use, therefore we need to add 4th footer on both - mst1 and mst2.

To do so, following steps are necessary:
  1. Resize evenly 3 existing footers, making them smaller.
  2. Regroup existing footers, making free space for the 4th footer.
  3. Copy the 3rd footer (with the text field inside), and paste it correspondingly in the Hierarchy:
13-8.png
       4. Rename the newly created block accordingly on Object tab, and assign corresponding data binding:
14-7.png
Repeat the operations for other pages, if necessary and save the changes.

Uploading of changed forms

After the changes are done in Adobe LiveCycle Designer, we need to upload changed main and master form to SAP S/4HANA Cloud.

In the same application, from where we downloaded the forms (Maintain Form Templates), go firstly to the main form, select Upload button and upload the changed version. Then repeat the same for the master form.
15-8.png

Create sender address, footers and logo

In terms of the last step of creation of our form, we need to create sender address, footers and upload logo.

Manage Texts

To create sender address and logo we use "Manage Texts" app. Click "+", once you enter it:
17-8.png
In the new window we have to provide name, description, type, language and then content:
18-9.png
Sender address is the name and address of our organization, which will be displayed in the top left corner of the most documents, we will send. Usually we need only one address item. You can specify different for different languages.

Based on our business scenario, we need 4 footers. You can create different footers for different languages.

Later, when we will adjust customizing for our forms, in the "Related Master Forms" column we will see number of master forms, which use the footers and the address. By clicking the number you will see the forms´ names.

Manage Logos

And now we need to switch to the "Manage Logos" app and upload the logo of our company:
19-6.png

Adjusting of Output Management settings for Dunning Notice

After changes in Adobe LiveCycle Designer are done, footers, sender address and logos are created, we need to set customizing in SAP S/4HANA Cloud system.

Assign Form Template

We will start with "Assign Form Template" SSCUI. This customizing item available either in "Configure your solution" app -> search for " Assign Form Template" -> enter the 2nd item:
1-62.png
Or, if your system is connected to CBC, go to the Configuration Activities, search for "Assign Form Template" and click "Go to Activity":
2-64.png
Once you entered the customizing activity, you will see list of Application Object Types with Form Templates, assigned to them by default, including dunning items:
9-17.png
Click "New Entries" in the top left corner:
4-42.png
Search for FFO_DUNN as Object Type and select it:
5-37.png
10-14.png
As email type select the following option:
11-18.png
And enter the name of your custom form in Form Template ID:
8-20.png
Now, once you save the setting, go one screen back and search for the Dunning Letter, you will see, that your Form Template is assigned to the Object type, as well, as the standard form.
12-15.png
There is no issue in such double assignment, as we will define in "Output Parameter Determination" app, which Form Template will be used for our scenario.

Define Rules for Determination of Master Form Template

In the next step we need SSCUI "Define Rules for Determination of Master Form Template" - you can find it either in "Configure your solution" app or in CBC:
13-11.png
In this activity, you can define rules that determine the master form template. Every time a document is printed/emailed by the end user in an application, these rules identify the master form template to be used.
Once you enter the customizing item, table with the rules is available. The higher number of a rule, the higher priority it has:
14-10.png
Click "New Entriesin the top left corner. On the new screen, provide the meaningful Rule ID and Number. Then select your earlier created Form Template name and the earlier created Master Form Template Name:
15-10.png
You can use other fields to restrict in which business-scenarios the forms will be used.
Furthermore we need to specify Sender Address, Footers and Logos we created earlier and save the rule:
16-9.png

Output Parameter Determination

Now we will switch to the application "Output Parameter Determination". And we will work with Dunning there:
16-7.png
Firstly we check customizing for Output Type, which should look following:
17-6.png
Default customizing for Receiver also fits our case:
18-7.png
Default setting for Channel should look like this:
19-4.png
Printer Settings:
20-4.png
Email and Email Recipients settings can be left empty for the scenario.

And in Form Template setting you need to specify via direct input name of your custom Form Template, you created earlier:
21-3.png
You can also specify here different forms for different languages (last column).

And we can leave default setting for Output Relevance:
22-6.png

Review of the results in SAP S/4HANA Cloud

There are two ways to check, how the final result is look like. The one is described in this blog post. If this way does not work for you, or you need to check results for different items, you can use the way, described further.

Manage Customer Line Items

First of all it is worse to mention, that you can use this method only in Starter or Q system, or on test data in P system.

To review the resulting form, we need to implement several preparation steps.

We start with "Manage Customer Line Items" app. Click "Go" and display all available items:
20-5.png
Select test item, click on Journal Entry number, and then "Manage Journal Entry":
21-5.png
Enter edit mode on the new screen. Go to test Posing View Item and click the 2nd item (Credit):
22-8.png
On the new screen remove values from "Last Dunned" and "Dunning Level" fields:
23-3.png
Click "Back to Journal Entry" in the bottom right corner. And click "Save" at the "Journal Entry - Entry View" Screen.

Maintain Business Partner

Further we need to go to the app "Maintain Business Partner" and select the Business Partner, for which we update the Journal Entry:
2-67.png
Double-click on the Partner, switch between display and change (use button in the header) and select "Customer (Fin.Accounting)" in "Display in BP role" field:
3-42.png
Then click Company Code:
4-48.png
And then General Data:
5-39.png
Further, we need to go to the "Customer: Correspondence" tab and remove values from "Last Dunning Notice" and "Dunning Level", if there are any. Save the changes.
6-31.png

Create Dunning Notices

And the last application, which we will use is "Create Dunning Notices" app.

Enter current date in the "Run on" field and any identification in the 2nd field:
7-24.png
Go to Parameter tab and enter the current data in the "Dunning Date" and "Docmnts posted up to" fields. Then enter Company Code and Customer numbers, which you used for the earlier customizing. Save the changes:
8-22.png
Go one step back and click Schedule:
9-19.png
Select LP01 as an output device and click continue:
10-15.png
Check "Start immediately" and click dispatch then in the next window:
12-16.png
Once it is done, the following status will be available:
13-15.png
Then you can click "Refresh" in the bottom right corner and see the following status:
14-11.png
In status messages you can also see the number of dunning letters, which will or were dispatched.

Finally, you can use Sample printout button to display the generated notification:
15-11.png
Select the same output device, as earlier and click "Display" in the window:
16-10.png
Great job, now you can see your custom Dunning Notification Form.

Conclusion

In this blog post we described end-to-end process of form creation and settings´ customizing for Dunning Notification. The closer you will keep to SAP standard forms and settings, the less efforts in Output Management are needed and many of these steps can be skip. Therefore it is always necessary to evaluate before starting forms´ creation, which business requirements are critical for different forms.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK