• No results found

Topic: Customizing a Front Office Process

In document IUT250 Customer Service (Page 174-179)

1-1 Creating a front office process

1-1-1 Create a front office process In Customizing, choose the following path

SAP Utilities Customer Service Front Office. Choose Define Front Office Processes.

Enter the key ZIPL_0##. Choose Create. Choose Header Data to branch to the header data and enter the description Create installment plan in the Text field. Press Enter to confirm.

1-1-2 Create the process steps Create a second session using System → Create session

and in the new session choose menu path

Tools → Business Workflow → Development → Definition Tools → Business Object Builder.

Use the structure search function in the F4 help to search the SAP Applications Hierarchy for

Financial Accounting → Contract Accounts Receivable and Payable → Contract Accounts A/R & A/P: Central Objects.

There you will find the object type INSTMNTPLN for the installment plan.

The component

Financial Accounting → Contract Accounts Receivable and Payable → Business Transactions → Customer Contact → Business Partner Contact

contains object type BCONTACT.

Double-click on these two object types to display them. A hierarchy appears. Under the entry Methods in the hierarchy you will find, among others, the method

CREATE for creating the object types.

Return to your initial session and place the cursor on the Process steps entry. Use the Create step function to create the first process step, Create installment plan, with step number 10. Choose the step category Method and enter the object type INSTMNTPLN with the method CREATE.

To create the second step, proceed as above but specify step number 20, the object category BCONTACT and the method CREATE.

1-1-3 Fill the process container

As the installment plan is to be created with reference to a contract account, an element with the object type ISUACCOUNT (contract account) should be imported to the process container to ensure optimum data flow.

As the installment plan is to be attached to the customer contact as an object reference, the process container must also contain an element of object type

INSTMNTPLN (installment plan).

As these parameters are to be exported, the process container must contain elements with the object types BCONTACT, ISUACCOUNT and INSTMNTPLN as export parameters.

Position the cursor on the Process container field and choose the function Create container element. A dialog box appears, in which you enter the data required to create the elements.

Fill the process container with the following elements, object types and attributes:

Element Object Type Name Parameter attribute CAccount ISUACCOUNT Contract account Export/Import

CContact BCONTACT Customer contact Export IPlan INSTMNTPLN Installment plan Export

For the data type reference use the reference to an object type, as object types contain more information than ABAP Dictionary fields. If you use object type

ISUACCOUNT, for example, you have access in the process container not only to the contract account number but also to the business partner for this contract account.

1-1-4 Define the data flow

1. Step 1: Create an installment plan

Position the cursor on the Create installment plan step and choose Data flow.

In the export data flow (from the process container view), assign the first step a value for the contract account and the business partner::

Contract account &CACCOUNT.CONTRACTACCOUNT&

Business partner &CACCOUNT.PARTNER&

Placeholders are used to indicate variables that are assigned values at runtime. You can find the name for the placeholder for the contract account in the process container by looking under the description you selected for the element - in this case: CAccount.

In the import data flow (from the process container view) of the first step, assign the installment plan object to the process container:

Installment plan &<*MAINOBJ*>&

&<*MAINOBJ*>& indicates a predefined element with a special meaning. When a method is called, <*MAINOBJ*> always contains the object reference to which the method refers.

2. Step 2: Create customer contact

Position the cursor on the Create customer contact step and choose Data flow.

In the export data flow (from the process container view), supply the first step with the following values:

Business partner Caccount.PARTNER

CONTACTTYPE 001

In the import data flow (from the process container view) of the first step, assign the customer contact object to the process container:

Customer contact &<*MAINOBJ*>&

Placeholders are used to indicate variables that are assigned values at runtime. You can find the name for the placeholder (for the user name) in the system fields under UNAME. System fields will always be recognized and do not need to be specified explicitly in the process container.

Save the front office process.

1-2 Integrating the front office process in the front office configuration In Customizing, choose the following path

SAP Utilities → Customer Service → Customer Interaction Center → Define Data Environments for Navigation Area.

Enter your data environment, ZUMF0##, and choose the function Maintain action profile.

1-2-1 Choose a transaction group

Scroll through the calls to Transaction group 0003 Account. This will display all the previously defined calls for the contract account.

1-2-2 Integrate the FO process as a call

Position the cursor on the Transaction 0304 field and choose function Create transaction. Enter data in the fields of the dialog box as follows:

Call ID code 0305

Call name Create installment plan CallNameMenu Create installment plan Icon name Use F4 help to choose an icon Processing type 1 (Create)

In the call definition, choose type FO process and enter ZIPL_0## in the BusProcess field.

Choose the Standard (generated) parameter dialog. In the runtime information, activate the function Run in application area if possible.

Press Enter to confirm your entries.

1-2-3 Define the data flow

Press Enter to display the definition of the Data flow.

In the export data flow, assign the contract account the following value using the F4 help:

Contract account Account (green background) &NODEOBJECT&

Use the New target element function in the import data flow to create 1. Element CAccount with data category preference Object type

ISUACCOUNT

2. Element BContact with data category preference Object type BCONTACT 3. Element IPlan with data category preference Object type INSTMNTPLN Use F4 help to assign the following values to the target elements (green background):

CAccount Contract account &CACCOUNT&

BContact Customer contact &CONTACT&

IPlan Installment plan &RPLAN&

Go Back to exit the definition of the data flow and save the data environment.

1-2-4 Test the configuration and call

SAP AG 1999

In document IUT250 Customer Service (Page 174-179)