AC240_EN_Col92_FV_Part_A4 (第7页)

第 280 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Figure 179: Return Reasons

YoucanusetheactivitykeysinCustomizingtodefineseveralactivitiesthatare

carriedoutinthecaseofareturn,suchassettingpaymentanddunningblocks. In

Customizing,youmustassignthereturnsreasonsgivenbythebankstoyourown,

company-specificreasons. Thisallowsyoutotreat differentreturnsreasonsas

defined by individual banks in a uniform way.

Hint: You can assign a returns reason toa house bank only when you

definethereasonforthefirsttime. Afterwardsonlychangesarepossible

but not a reassignment to a house bank.

The activity key is made up of the Company Code, No. of Returns,

Creditworthiness, and Tolerance Group fields.

The returns reason triggers a number of activities. It is used to determine the

general ledger accountsto which thereturnscharges areposted (as well asthe

offsettingrevenueaccount). Itisalsousedforthebankclearing. Ineachcase,two

chargesaccountsandexpenseaccountscanbeusedtoclearcharges.

Historydaysdefinethemaximumnumberofdaysinthepastinwhichaposting

may lie so as to be considered in the return history evaluation. If you set the

value0thenallpostingswillbeconsideredwhenviewingthereturnshistory. The

numberof returnsisdeterminedfromthereturnshistoryandalwaysreferstoa

businesspartnerandacontract account(=F1help).

260

©2009SAPAG.Allrightsreserved. 2009

第 281 页 / 共 603 页

AC240 Lesson: Configuration of Returns

Figure 180: Returns Reasons and Activities: Structure

Number of returns:

Hint: When defining activities to take place based on the number of

returns,thesystemtakesthefirstreturnthattakesplaceonanaccountto

be return number 0, NOT return number 1.

Dunning blocks for accounts or items: In case of a return, the dunning block

reasonenteredhereisstoredinthecontractaccountmasterrecord(orintheitem

ifyouareusinganitemdunningblock)ofthebusinesspartnerinquestion.

Thesystemdeterminesthenewduedateforthereceivablebytakingthedocument

dateofthereturnandaddingthenumberofdeferraldays(ifanentryismadein

the deferral days field).

Hint: Dunningnoticescannot beissuedfor anitemoranaccount that

usesadebitmemoorautomaticdebitastheincomingpaymentmethod.

OtherActivitiesenablesyoutouseadditionalevents(functionmodules). Event

295 (Returns: Process contract account) isthe function modulethat isused in

conjunctionwiththesesettings. Forexample,correspondencecouldbetriggered.

261

2009 © 2009 SAP AG. All rights reserved.

第 282 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Figure 181: Returns Activity: Charging

Youcanconfigurehowchargesareprocessedsothatallreturnsfeeschargedby

thebank(s)arepassedontothebusinesspartner(“passchargeson”). Ifdesired,

youcanchargethecustomeranextrafeefortheprocessingofreturns(“calculate

graduatedcharge”flag). Chargescanbepostedstatisticallyornon-statistically

(withupdatetothegeneralledger). Defaultmainandsubtransactionsforthese

receivables (for both debit and credit postings) are assigned in Customizing

(posting area 0111).

Theamountlimit(totalofthereturnitems)mustbereachedforthecurrencyin

question in order for lot charges to be calculated and debited to a customer’s

account. Thismakesit possibleto scalecharges.

The maximumdifferencebetween theamount returned bythehousebank and

the original payment is theamount tolerated for automatic posting of charges.

Provided that the difference amount is smaller than the maximum difference

amount, the system always considers it to be a posted charge. If you do not

specifyanamount,nodifferencewillbetoleratedandpostingwillonlytakeplace

automaticallywhenthereturnamountisthesameastheoriginalpaymentamount.

Technical note: The standard function module “FKK_SAMPLE_0270” is for

determining differences in charges.

262

©2009SAPAG.Allrightsreserved. 2009

第 283 页 / 共 603 页

AC240 Lesson: Configuration of Returns

Lesson Summary

You should now be able to:

• Configurereturnreasons, activities, and changes

263

2009 © 2009 SAP AG. All rights reserved.

第 284 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Lesson: Processing Returns

Lesson Overview

This lesson gives you an overview of how to manually enter returns lots in

Contract AccountsReceivable and Payable.

Lesson Objectives

After completingthislesson, you will beable to:

• ProcessreturnsinContractAccountsReceivableandPayable(FI-CA)

Business Example

Figure 182: Returns Lot: Processing Steps

Processing steps:

1. Create: Youcancreatealotonlineorbymeansofaprogram(forexample,

returns lot for returns from abank statement).

2. Change: You can add and delete items in a lot provided that the lot has

not been closed. Data for items that have already been entered can also

be corrected.

3. Close: Whenyouclosealot, youcannolonger makeanychangestothe

headerdataortheindividualitems. However,alotcanbeopenedagainfor

processing. Postingscanbeinitiatedonlyoncethelothasbeenclosed.

4. Post: Oncethelothasbeenclosed,returnsarepostedusingtheprocessing

step Post.

5. Postprocessing: Postprocessingisrequiredifthereturnscouldnotbeposted.

264

©2009SAPAG.Allrightsreserved. 2009

第 285 页 / 共 603 页

AC240 Lesson: Processing Returns

Youcan usereportstoprocessreturnslots. Thesereportstransferdatadirectly

from an application server, the bank data memory for electronic account

statements,orfromaMultiCashfile. Theyusethisinformationtocreateoneor

morereturnslotsandenableuserstoprocesserrors.

The application server filemust have the format specified by SAP. It must not

containanycountry-specificformatsofelectronicaccountstatements.

Figure 183: Manual Return Lot Creation 1

IftheAmountincludeschargesindicatorisset, allreturnamountsbelongingto

thisreturnlotareevaluatedbythesystemasgrossamounts. Thenetamountis

thencalculatedasfollows: Netamount=Returnamount-chargeamount. Ifthe

indicatorisnotset,thereturnamountsareevaluatedasnetamounts(netamount

= return amount).

IfyousettheindicatorChargeincludestax,thenallchargesrelatingtothisreturns

lot, suchasbank chargesor chargespassed on, areevaluated by thesystem as

grosscharges. Thenetchargeisthencalculatedasfollows: Netcharge=Charge

amount-taxamount;otherwiseNetcharge=Chargeamount.

Theselectioncategoriesavailableherearethesameonesthatareavailablewhen

postingapaymentlot. Youcanalsospecifyyour ownselectioncategoriesand

codetheunderlyingfunctionmoduletomeetyourownrequirements.

It is possible to define a field status definition for the fields in the header of a

return lot.

Delivered selection categories include document and check number. You can

defineyourownselectioncategoriesusingevent0255.

265

2009 © 2009 SAP AG. All rights reserved.

第 286 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Previouslyreturnscouldnotbepostedtopaymentsthatcontaineddownpayments

or postings on account where these items had been cleared again. Using the

indicatorenhancedreturnprocessingyoucannowreversetheclearinginthese

situations.

Figure 184: Manual Return Lot Creation 2

Within configuration, defaults can be set for document type, clearing reason,

company code, screen variant, and selection category that will be used when

posting a return lot.

If you do not enter abank clearing account number in thereturns lot item, the

systemwillautomaticallyusethebankclearingaccountdefinedinCustomizing

for thegivenreturntype(for example, bankreturn, checkreturn, and payment

card return) when the return lot isposted. If you do not know theactual bank

clearingaccountnumber,butyoudoknowthehousebankandaccountID,you

canenterbothandthesystemwilldeterminetheappropriateclearingaccount.

IfyousettheLineitemindicator,thenaseparatelineitemiscreatedinthegeneral

ledgertransferdocumentforthislineitem. Thisitemisnotsummarizedwiththe

otherlineitems(asisthecasewhenyoucreatetotalsrecords),evenifthesame

accountisassigned. Thisismostoftenusedinconjunctionwithareturnlotfor

an outgoing checks account.

266

©2009SAPAG.Allrightsreserved. 2009

第 287 页 / 共 603 页

AC240 Lesson: Processing Returns

Figure 185: Returns Processing: TechnicalProcedure

InCustomizing for table TFK045D, youdefinehowcompany-specific returns

reasonsareconvertedor assigned totherespectivehouse-bank returnsreasons

(outside SAP ERP).

267

2009 © 2009 SAP AG. All rights reserved.

第 288 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Generalreturnsprocess: Createreturnheader;createreturnitems;closethereturn;

write history or write error log (if necessary).

Hint: Technical notes: The following events occur when processing

returns (table TFKFBM):

• 260: Chargesthataretobepostedtoacontractaccountasadebit

amountarecalculated. Bank returnschargesandothergraduated

charges (if applicable) are transferred.

• 270: Thedifference between the returns amount andtheoriginal

payment amount is calculated. Maximum difference allowed is

selected.

• 280/1: The contract account for the first/second bank charge is

determinedifchargesweredebitedbeforetheactualchargeswere

calculated.

• 285/6: Enhanced account determination after charges were

calculated (optional)

• 290: A complete returns document is released after it has been

generated butbeforeit hasbeencheckedandupdated(beforethe

posting module is called)

• 291: Individuallineitemsaresubmittedaftercreation.

• 295: Contractaccountsarerevisedafterpostingandimplementing

additionalactivities(workflow,correspondence,andsoon)

Figure 186: Returns: Customizing

Classificationofreturnsaccordingtobankandcheckreturns.

268

©2009SAPAG.Allrightsreserved. 2009

第 289 页 / 共 603 页

AC240 Lesson: Processing Returns

Definitionandassignmentofownreturnreasonstothehousebank(s)reasons.

Customizereturns and processing activities:

• Charges/debiting of charges

• Deferral days

• Define locks and forms

• Define information for accounting clerk

• Amount limits, creditworthiness.

• Clearingaccounts,revenueandexpenseaccounts,receivablesaccountand

clarification account.

• Configurationofentrylinesforthedialogprocessingreturnslots

• Define account assignments for new items with returns: When posting

returns, you can define a mode that generates new open items. You can

definethemainandsubtransactionsforthesenewitems.

269

2009 © 2009 SAP AG. All rights reserved.

第 290 页 / 共 603 页

Unit6: ReturnsProcessing AC240

270

©2009SAPAG.Allrightsreserved. 2009

第 291 页 / 共 603 页

AC240 Lesson: Processing Returns

Exercise 12: Configuration and

Processing of Returns

Exercise Objectives

After completingthisexercise, youwillbeableto:

• Configure and process returns in FI-CA.

Business Example

You have carried out a number of payments. Due to insufficient funds in the

accounts of some business partners, your house bank cannot carry out certain

payment orders. Your bank sendsyou thereturns information, together witha

debit charge.

Task 1: Configuring the returns reason

1. Configure return reason G## (## = group number) using the following

parameters and activities:

Returns category: Bank return

History days: 30

Creditworthinessnumber: 5

Thereturnsactivitiesshouldbeasfollows: ForcompanycodeC100,there

shouldbeareturnsquantityandacreditworthinesslevelof0. Theincoming

paymentmethodforthecontractaccountshouldbeblockedforsevendays

for tolerance group 0001.

Charges must be passed on, statistically booked, and graduated charges

must be calculated.

Correspondence must also be created.

For a returns amount of EUR 20.00 and above, the charges should be

EUR5.00andforareturnsamountofEUR50.00andabove, thecharges

shouldbeEUR7.50. Ifthedifferencebetweentheoriginalpaymentamount

andreturnsamountisEUR20.00orless,thesysteminterpretsitasabank

charge.

Task 2: Post Returns

EnterareturnspostingforthepaymentmadebybusinesspartnerT-CA0510##.

1. Use the following information:

Continued on next page

271

2009 © 2009 SAP AG. All rights reserved.

第 292 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Returns: RequestScreen:

Returns Lot: RL06010##

Default data:

Search term: Returns Group 0##

Currency: EUR

Company Code: C100

Selection Cat. B - Document

Amountscontainbankcharges: X

Calculate charges: X

Returns: Record/process items:

B Selection value: Document number from the

PaymentRunProcessingexercisein

the"PaymentProgram"lesson

Return reason: G##

Once you have confirmed your data by choosing “Enter”, the original

payment amount calculated by the system is displayed in the "Returns

amount"field. IncreasethisamountbyEUR10.00. Onceyouhavechosen

“Enter” again, the system interprets the difference as a bank charge and

displaystheamount inthe“BankCharge1”field.

Save your entries.

Close and post the returns lot.

2. Use the account display to check the update of the returned item. In the

accountbalancedisplay, also check that theincoming payment block has

been set correctly

272

©2009SAPAG.Allrightsreserved. 2009

第 293 页 / 共 603 页

AC240 Lesson: Processing Returns

Solution 12: Configuration and Processing

of Returns

Task 1: Configuring the returns reason

1. Configure return reason G## (## = group number) using the following

parameters and activities:

Returns category: Bank return

History days: 30

Creditworthinessnumber: 5

Thereturnsactivitiesshouldbeasfollows: ForcompanycodeC100,there

shouldbeareturnsquantityandacreditworthinesslevelof0. Theincoming

paymentmethodforthecontractaccountshouldbeblockedforsevendays

for tolerance group 0001.

Charges must be passed on, statistically booked, and graduated charges

must be calculated.

Correspondence must also be created.

For a returns amount of EUR 20.00 and above, the charges should be

EUR5.00andforareturnsamountofEUR50.00andabove, thecharges

shouldbeEUR7.50. Ifthedifferencebetweentheoriginalpaymentamount

andreturnsamountisEUR20.00orless,thesysteminterpretsitasabank

charge.

a) In Customizing, choose: Financial Accounting (New) → Contract

AccountsReceivableandPayable→BusinessTransactions→Returns

→ Configure Returns Reasons.

Choose New Entries and enter G## (## = group number) as

identificationwithReturnsReasonIDGroup##.

Definethisreturnstypeas“BankReturns”,enter30inthe"History"

field and 5 in the "Creditw. no." field.

Inthedialogstructure,double-click“ReturnsActivities”andchoose

New Entries.

Enter the following data:

Company Code C100

No. of Retrns 0

Creditwth. 0

Continued on next page

273

2009 © 2009 SAP AG. All rights reserved.

Company Code C100
No. of Retrns 0
Creditwth. 0

第 294 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Tolerance group 0001

Incomingpaymtlockcontacct A

Lock duration days 7

Pass charges on X

Postchargesstatistically X

Calculategraduatedchrge X

Createcorrespondence X

In the dialog structure on the left, double-click “Returns Charges”

and choose “New Entries”.

Enter the following data:

Amount limit 20

Currency EUR

Graduated chrge 5

PressF8tobranchtothenextentryandenter:

Amount limit 50

Currency EUR

Graduated chrge 7.5

Fromthedialogstructureontheleft,double-click“AutomaticCharges

Determination”andchoose“NewEntries”.

Enter the following data:

Currency EUR

Max. difference 20

Save your entries.

Task 2: Post Returns

EnterareturnspostingforthepaymentmadebybusinesspartnerT-CA0510##.

1. Use the following information:

Continued on next page

274

©2009SAPAG.Allrightsreserved. 2009

Tolerance group 0001
Incomingpaymtlockcontacct A
Lock duration days 7
Pass charges on X
Postchargesstatistically X
Calculategraduatedchrge X
Createcorrespondence X
Amount limit 20
Currency EUR
Graduated chrge 5
Amount limit 50
Currency EUR
Graduated chrge 7.5
Currency EUR
Max. difference 20

第 295 页 / 共 603 页

AC240 Lesson: Processing Returns

Returns: RequestScreen:

Returns Lot: RL06010##

Default data:

Search term: Returns Group 0##

Currency: EUR

Company Code: C100

Selection Cat. B - Document

Amountscontainbankcharges: X

Calculate charges: X

Returns: Record/process items:

B Selection value: Document number from the

PaymentRunProcessingexercisein

the"PaymentProgram"lesson

Return reason: G##

Once you have confirmed your data by choosing “Enter”, the original

payment amount calculated by the system is displayed in the "Returns

amount"field. IncreasethisamountbyEUR10.00. Onceyouhavechosen

“Enter” again, the system interprets the difference as a bank charge and

displaystheamount inthe“BankCharge1”field.

Save your entries.

Continued on next page

275

2009 © 2009 SAP AG. All rights reserved.

第 296 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Close and post the returns lot.

a) On the SAP Easy Access screen, choose: Accounting → Financial

Accounting→ContractAccountsReceivableandPayable→Payments

→ Returns → Returns Lot.

Field Name Value

Returns Lot RL06010##

Fromthemenubar, chooseReturnsLot→Create.

Entertherequireddefaultanditemdatainthereturnslot:

Default data:

Search term Returns Group 0##

Currency EUR

Company Code C100

Selection Cat. B - Document

Amountscontainbankcharges X

Calculate charges X

Fromthemenubar,chooseEdit→NewItems(F5).

Returns: Record/process items:

B Selection value: Document number from the

PaymentRunProcessingexercise

inthe"PaymentProgram"lesson

Return reason: G##

Onceyouhaveconfirmedyourdatabychoosing“Enter”,theoriginal

paymentamountcalculatedbythesystemisdisplayedinthe"Returns

amount" field. IncreasethisamountbyEUR10.00. Onceyouhave

chosen“Enter”again, thesysteminterpretsthedifferenceasabank

chargeanddisplaystheamountinthe“BankCharge1”field.

Save your entries.

Close and post the returns lot.

Continued on next page

276

©2009SAPAG.Allrightsreserved. 2009

第 297 页 / 共 603 页

AC240 Lesson: Processing Returns

2. Use the account display to check the update of the returned item. In the

account balancedisplay, also checkthat theincoming payment blockhas

been set correctly

a) On the SAP Easy Access screen, choose: Accounting →Financial

Accounting→ContractAccountsReceivableandPayable→Account

→ Account Balance

Anewdocumenthasbeenpostedwiththetransactiontext“Returns”.

From the menu bar, choose Environment → Master Data →

Contract Account(CTRL+F6) and check the payment block on the

“Payments/Taxes” tab page.

277

2009 © 2009 SAP AG. All rights reserved.

第 298 页 / 共 603 页

Unit6: ReturnsProcessing AC240

Lesson Summary

You should now be able to:

• ProcessreturnsinContractAccountsReceivableandPayable(FI-CA)

278

©2009SAPAG.Allrightsreserved. 2009

第 299 页 / 共 603 页

AC240 Unit Summary

Unit Summary

You should now be able to:

• Configurereturnreasons, activities, and changes

• ProcessreturnsinContractAccountsReceivableandPayable(FI-CA)

279

2009 © 2009 SAP AG. All rights reserved.

第 300 页 / 共 603 页

UnitSummary AC240

280

©2009SAPAG.Allrightsreserved. 2009

第 301 页 / 共 603 页

第 302 页 / 共 603 页

第 303 页 / 共 603 页

Unit 7

Clearing Control

Unit Overview

This unit will provide you with an overviewof:

• Automaticdeterminationoftheuseofthepaymentamountoftheincoming

payment

• Automaticassignmentoftwoitemstoeachotherforthepurposeofclearing

entry in account maintenance

Unit Objectives

After completing thisunit, you will beableto:

• Explainthetermsandprinciplesofclearingcontrol

• Name the tools used to define a clearing strategy in Contract Accounts

Receivable and Payable

Unit Contents

Lesson: Terminology and Definitions.........................................282

Lesson: Configuration of the Clearing Strategy.............................287

Exercise 13: Configuration of Clearing Variants........................307

281

2009 © 2009 SAP AG. All rights reserved.

第 304 页 / 共 603 页

Unit7: ClearingControl AC240

Lesson: Terminology and Definitions

Lesson Overview

Thislessongivesyouanoverviewofthedefinitionandpurposeofclearingcontrol

in Contract Accounts Receivable and Payable.

Lesson Objectives

After completingthislesson, you will beable to:

• Explainthetermsandprinciplesof clearingcontrol

Business Example

Figure 187: Clearing Control: Orientation

Clearing Control: Definition

• FI-CA clearing control is a tool used to configure a company's clearing

strategy.

• It contains rules for an automatic clearing proposal and an automatic

payment assignment.

• Bysplittingtheclearingalgorithmintoseveralworkstepsandcombininga

fewbasicrules,clearingcontrolallowsyoutoconfigureclearingscenarios

flexibly and based on tables.

282

©2009SAPAG.Allrightsreserved. 2009

第 305 页 / 共 603 页

AC240 Lesson: Terminology and Definitions

Figure 188: Clearing Control: Overview

Clearing variants are determined based on the clearing type of the underlying

businessprocessand,optionally,ontheclearingcategoryofthecontractaccount

in which clearing is to take place.

Theclearingtyperepresentsthebusinesstransactioninwhichitemsareallocated

or grouped for clearing postings:

• Example: paymentlot(05),cashdesk(19),manualaccountmaintenance(03)

• Withtheexceptionofafewscenarios, theclearingtypeisthesameasthe

originusedintheclearingprocess(HERKF_KK).

Clearing types are structured according to their areas of use (for example,

incoming payment, account maintenance).

Clearingcategoriesaredefinedinthecontractaccount. Asaresult,youcanuse

theclearing category toallocateindividualclearingrulestodifferent customer

groups,suchashousehold,commercial,andindustrialcustomers.

Ifnoclearingcategoryisassigned, theclearingvariantdefinedfortheclearing

type will be taken.

283

2009 © 2009 SAP AG. All rights reserved.

第 306 页 / 共 603 页

Unit7: ClearingControl AC240

Figure 189: Clearing Control: Clearing types

Clearing type 06 (Payment Run) is used in the configuration of the enhanced

payment grouping. Otherwise, thepayment run doesnot consider theclearing

control.

Figure 190: Example 1 - Payment

Oneofyourbusinesspartnersmakesapaymenttohis/hercontractaccountwithout

specifying the payment use in more detail.

284

©2009SAPAG.Allrightsreserved. 2009

第 307 页 / 共 603 页

AC240 Lesson: Terminology and Definitions

Payment must be assigned automatically according to a strategy set up in the

system. Thesystemcheckstheduedateofanitemoranitemgroup. Italsohasto

checkwhether thepaidamount correspondsexactlytoareceivable. Onlythen

can the payment be assigned.

Figure 191: Example 2 - Account Maintenance

Acontract account contains open receivablesand credit that were posted with

referencetoacertaindivision. Inaccountmaintenance, thesystemhastoclear

itemsforthesamedivisionagainsteachother,takingintoconsiderationthedue

date.

Theitemof500.00withduedate01/01anddivision01isthehighest-priorityitem

thathastobeclearedagainstthecreditof300.00anddivision01. Inordertodo

this,theitemissplitintoasubitemof300.00,whichisclearedbythecredit,anda

subitem of 200.00, which remains open.

285

2009 © 2009 SAP AG. All rights reserved.

第 308 页 / 共 603 页

Unit7: ClearingControl AC240

Lesson Summary

You should now be able to:

• Explainthetermsandprinciplesof clearingcontrol

286

©2009SAPAG.Allrightsreserved. 2009

第 309 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Lesson: Configuration of the Clearing Strategy

Lesson Overview

Thislessonprovidesanoverviewofthetoolsusedtoconfigureclearingcontrolin

Contract Accounts Receivable and Payable.

Lesson Objectives

After completingthislesson, youwillbeable to:

• Name the tools used to define a clearing strategy in Contract Accounts

Receivable and Payable

Business Example

Figure 192: Clearing Control: Integration

So that it can react to differing clearing scenarios, the standard solution for

clearingcontrolshouldnotbesupportedbyrigidlyprogrammedscenarios.

287

2009 © 2009 SAP AG. All rights reserved.

第 310 页 / 共 603 页

Unit7: ClearingControl AC240

Clearing control is used when:

• A clearing proposal is created during payment assignment or account

maintenance(functionmoduleFKK_CLEARING_PROPOSAL_GEN_0110

processed in event 0110)

• Apaymentamountforaninstallmentplanorcollectivebillissplitamong

theoriginalitemsoftheinstallmentplanorcollectivebill(functionmodule

FKK_CLEARING_PROPOSAL_GEN_0120processedinevent0120)

• Theclearingamountofasummarizationgroupissplitamongtheoriginal

receivablesthatcanbegroupedfor themanualclearingprocess(function

module FKK_CLEARING_PROPOSAL_GEN_0130 processed in event

0130).

Clearingproposalsaredeterminedautomaticallywhenpayment lotsareposted

or during automatic clearing.

They can also be requested manually (for example, for manual account

maintenance,forthecashdesk,orfortheclarificationofpayments).

Figure 193: Clearing Variant

A clearing variant contains several steps. The individual steps control the

selection,grouping,sorting,andamount-dependentassignmentoftheopenitems

forclearing. Thestepsareexecutedinnumbersequence,althoughyoucanalso

call themup directlyaccordingto eachclearingrule.

Theindividualclearingstepsinherittheclearingproposalandtheremainingopen

amount from the previous steps.

288

©2009SAPAG.Allrightsreserved. 2009

第 311 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Itemsthatarecompletelyclearedinaclearingsteparenotincludedinsubsequent

steps.

Figure 194: Clearing Control: Characteristics

Characteristicsusuallydescribeaspecificfeatureofanopenitem(forexample,

whethertheitemisapaymentonaccountordue)ortheoccurrenceofacertain

event(forexample,adocumentnumberisspecifiedonpayment).

Characteristics are used to:

• Groupopenitems. Openitemsthathaveidenticalcharacteristicvaluesare

groupedintooneclearingstepandprocessedasoneunit(forexample, all

itemsthat belong tothesame company code).

• Specify (filter) the items that are to be processed in a clearing step (for

example,onlythosedueoronlythoseincompanycode0001).

• Define(switch)theconditionthatstateswhetheraclearingstepshouldbe

executedatall(forexample,onlycarryoutthestepifadocumentnumberis

specified on payment).

• Sortopenitems. Sortingdeterminesthesequenceofthegroupsthemselves

andthesequenceoftheassignmentswithinthegroup.

289

2009 © 2009 SAP AG. All rights reserved.

第 312 页 / 共 603 页

Unit7: ClearingControl AC240

Figure 195: Clearing Control: Clearing Step

Up to five grouping characteristics can be defined in a grouping string. The

characteristicsare connected with alogical AND.

Youcanalsodefineagroupingruleforeachgroupingcharacteristic. Depending

oneachrule,youcandefineanalternativecharacteristicvaluefortheindividual

values of a grouping characteristic. Examples: Combine two attributes of a

characteristicintoonegroup(companycode0001=companycode0002);exclude

certaincharacteristicvalues(fromtheclearinganalysisinthecurrentclearingstep

or ingeneral); restricttheclearinganalysistocertain values(suchascompany

code 0001 only).

Thesortingstringcontrolstheprocessingsequenceofindividualitemgroups,as

wellasthesequenceinwhichtheopenitemsareclearedwithinagroup.

Froma technical point of view, thegroupsaresortedaccordingto thesmallest

valueintheirsortingstring. Example: Ifitemsaregroupedaccordingtocompany

codeandsortedaccordingtoduedate,thegroup(companycode)withtheoldest

due date is placed first in the sequence.

Ifnopartialclearingproposalhasbeenmade,youmaywishtostoptheclearing

program(entervalue“1”inthefieldforendofassignment).

290

©2009SAPAG.Allrightsreserved. 2009

第 313 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Figure 196: Clearing Control: Grouping Characteristics

Groupingcharacteristicscanbeattributesintable“FKKOP”,orcanbespecifically

derivedinafunctionmodule(usethecustomernamespace).

Figure 197: Clearing Control: Sorting Characteristics

291

2009 © 2009 SAP AG. All rights reserved.

第 314 页 / 共 603 页

Unit7: ClearingControl AC240

Sorting is generally used when a company is unsure how a payer will group

paymentsand,therefore,usescustomprioritiestoclearitems. Forexample,the

company may wish to clear open items of a certain revenue type before any

additional charges and interest.

Figure198: ClearingControl: SortingbyCharacteristicDerivation

Figure 199: Clearing Control: Characteristic Derivation

292

©2009SAPAG.Allrightsreserved. 2009

第 315 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Figure 200: Clearing Control: Grouping String

Figure 201: Clearing Control: Alternative Grouping

Youcanusetherulestoinfluencethegroupingstringandthereforethegrouping.

293

2009 © 2009 SAP AG. All rights reserved.

第 316 页 / 共 603 页

Unit7: ClearingControl AC240

The following grouping rulesare available:

• “”- groupaccording tothecharacteristicvalue

• “1” - group definition (use if you want to combine several groups into a

single group). Any characteristic values that cannot be grouped can be

allocatedto aseparategroup basedonthecharacteristicvalue. Example:

You are grouping by product group and there are three possible values.

Productgroups1and2aregroupedusinganalternativegroupingandform

onegroup. Productgroup3formsthesecondgrouping.

• ‘“2”-groupdefinitionsimilarto“1”,exceptthatanynon-specifiedvalues

forthecharacteristicallcontainthevalueSPACEandarethereforegrouped

intooneadditionalgroup. Thisisusedtoexcludecertaingroups.

• “3”-groupdefinitionwhereanyvaluesforthecharacteristicnotspecifiedin

thegroupingrulewillnotbeconsideredforpayment.

Toenteranalternativegrouping(notavailablewithrule‘’),chooseAlternative

Grouping on the right of the grouping rule after you have confirmed the rule

with Enter.

Figure 202: Clearing Control: Alternative Grouping

294

©2009SAPAG.Allrightsreserved. 2009

第 317 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Figure 203: Clearing Control: Sorting Within Groups

Insomecases,itisusefultogroupandsortatthesametime. Forexample,iftwo

ormoregroupshavethesameamountduebutonegroupistobeprocessedbefore

theother(s). Inthiscase,sortthegroupsandnottheitems.

Figure 204: Clearing Control: Sorting String

295

2009 © 2009 SAP AG. All rights reserved.

第 318 页 / 共 603 页

Unit7: ClearingControl AC240

Formostcharacteristics,sortingthemaccordingtotheirvaluesdoesnotleadto

thedesiredresults. Forexample,ifyouwanttoclearchargesfirst(STAKZ=G),

youcannotachievethissimplybysortingthecharacteristicvaluesbystatistics

key. Inordertogettheresultyouwant, youcandefinearankingorderrulefor

eachcharacteristic. Dependingonthisrule,youcansortaspecificcharacteristic

valuesothatitappearsatthestartortheendofthetable.

The following four values are delivered:

• “”-sortbythevalueofthecharacteristic(forexample,duedate).

• “1”-sortbyvaluerankingfirstandthenbythevalueofthecharacteristic.

Notallvaluesmustbespecified explicitly. Forexample, if therearefour

items with the values1, 2, 3, and 4, priority 1 is assigned to value 4 and

theremainingvaluesarenotranked. Theresultofsortingwillthenbethat

values1and4(samerank)areallocatedfirst,followedby2,andthen3.

• “2” - unranked characteristic values have top priority and the others are

handled in ranked order (1, 2, 3, 4).

• “3”-unrankedcharacteristicvalueshavethelowestpriority(afterallother

ranked values) (4, 1, 2, 3).

Toenter an alternative sorting (not availablewith rule“”), choose Alternative

Sortingontherightofthegroupingruleafteryouhaveconfirmedtherulewith

Enter.

Figure 205: Clearing Control: Group Rule

Group rulesareallocated in the grouping string.

296

©2009SAPAG.Allrightsreserved. 2009

第 319 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Amountrules‘‘, 0, 1, 2, 3, and4areusedmostoften:

• “‘‘”-noamountrestriction(onlyusewhennotusinga‘grouping’).

• “0” - clear only when amounts are equal.

• “1”-nopartialclearingallowed,butoverpaymentpermitted

• “2”-nooverpaymentallowed,butpartialclearingpermitted

• “3” - maximum amount difference according to tolerance group. Post

tolerance.

• “4”-maximumamountdifferenceaccordingtoamountcheckgroup. Partial

clearing takes place (differenceis not written off when using a tolerance

group). Ifthedifferencebetweenthepaymentamountandopenitemamount

is greater than this amount, then the payment will be posted on account.

Amountsspecifiedherearenot“added”totolerancegroupamounts.

• For other rules, seetheonlinedocumentation.

Withclearingrule“1”,thesystemmakesproportionalpayments. Forexample,a

paymentof90ismadetotwoopenitemswith100and50: (100/150)*90. This

meansthatapayment of 60ismadetotheitemwith 100, andapayment of 30

is made to the item with 50.

Figure 206: Amount Check Groups

297

2009 © 2009 SAP AG. All rights reserved.

第 320 页 / 共 603 页

Unit7: ClearingControl AC240

Amount check groups are used in a clearing step to define amount-dependent

clearing conditions. The check groups are used within a group of open items

in the following way:

• In the case of incoming payments, the difference between the available

payment amount andthetotal balance of openitemsin agroup thathave

already beenpostedundergoesanamountcheck.

• For all other businesstransactions, thedifferencebetweenthe totalcredit

itemsandthetotalreceivableitemsundergoesastandardcheck.

Amountcheckgroupsallowyoutospecifydifferentiatedamountvarianceswithin

which a clearing is permitted.

Youmustmakesurethattheamountgroupdoesnothavethesamefunctionality

as the tolerance group defined in the contract account. It only has to specify

whetheraclearingtakesplaceornot. Theamountdifferencesthatwerecalculated

fromthepaymentanditemallocation,inaccordancewiththeinformationinthe

amountcheckgroup,arenotimplicitlywrittenoff. Instead, theycanbewritten

off, cleared, or postedonaccount dependingontheadditionalspecificationsin

the clearing step.

Theamountcheckgroupisdefinedaccordingtocurrency.

Figure 207: Defaults and Selection Restrictions

Intheselectioncriteria,youcanspecifyforeveryclearingtypewhichitemistobe

includedintheclearinganalysisbasedontransactionandduedate. Youcanuse

theclearingcategory,mainandsubtransactionstospecifywhetheranitemistobe

included and, if so, withinwhichduedateinterval.

298

©2009SAPAG.Allrightsreserved. 2009

第 321 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Youcandeterminetheselectioncriteriaatthefollowinglevels:

1. Clearingcategory, maintransaction, subtransaction

2. Clearingcategory, maintransaction, notspecified

3. Clearing category, notspecified, not specified

4. Not specified

Therestrictionsareinterpretedinupto4steps,startingwiththespecifiedclearing

category,maintransactionandsubtransactionandfinishingwithanunspecified

entry. Normally,thelevelfoundfirstisused. Ifthesystemcannotdetermineany

selectionrestrictionsforopenitems,theitemsareconsideredtobe“unfiltered”in

the clearing analysis.

The selection criteriacan be used to excludeitemswith specific main and sub

transactionsor todefinehowmanydaysintothefuturethesystemshouldlook

foropenitemsforpossibleclearing(GraceDayscolumn). IfyouselecttheNC

indicator,theitemsofthecorrespondingmaintransactionandsubtransactionare

excludedfromtheclearinganalysis. Youcanalsoexcludeitemsfromclearingin

the corresponding clearing step.

Statisticalitemscanbewrittenoffautomaticallyinseveralwayswhenpostinga

payment toanaccount withstatisticalpostingsonit.

Control data payment on account allows rules to be set for when posting ‘on

account’. For example, it could be set that any amount over Xamount will be

posteddirectly totheclarification(interim) account andnotposted on account

(payment lot status would be not posted).

Program enhancements allowfor theuseof two functionmodules, onefor the

selectionofopen-items,andtheotherforhowstatisticalitemsshouldbewritten

off.

299

2009 © 2009 SAP AG. All rights reserved.

第 322 页 / 共 603 页

Unit7: ClearingControl AC240

Figure 208: Clearing Control: AccountMaintenance (1)

Example: Sincenocharacteristicshavebeenentered,theopenitemsofdocuments

4710, 4711, and 4712 form a group.

Withinthegroup,theitemsaresortedaccordingtheirduedates.

Theinvoicecreditof30iscalculatedstepbystepasfollows:

• First,theinvoicerequestof10.00fromSeptember15iscleared.

• Theremainingcreditof20.00isclearedusingthebudgetbillingrequestof

December5. Thebudgetbillingrequestremainsopenat40.00.

300

©2009SAPAG.Allrightsreserved. 2009

第 323 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Figure 209: Clearing Control: Account Maintenance (2)

Example: Since no characteristics have been entered, the open items of

documents4709, 4710, 4711, and4712formagroup.

Withinthegroup,theitemsaresortedaccordingtheirduedates.

Theclearingalgorithmproducesthefollowingprocessingsteps:

• The payment on account of 20.00 is used to clear the invoice request of

September 15.

• ThisisclearedcompletelyusingtheinvoicecreditfromNovember15.

• The remaining credit of 25.00 meansthat the invoice request for the gas

division(datedNovember 15)ispartiallycleared.

• Thebudgetbillingrepaymentrequest(10.00)isclearedagainsttheremaining

invoicerequest forthegasdivisiondatedNovember15. Theoutstanding

receivable from invoice 4711 is 65.00.

301

2009 © 2009 SAP AG. All rights reserved.

第 324 页 / 共 603 页

Unit7: ClearingControl AC240

Figure 210: Clearing Control: AccountMaintenance (3)

Example: Clearingstep1leadstothefollowingprocessingsteps:

Document number and due dateare specified as characteristicswith the result

that the following groups are created:

• Group 1: Open item document 4709

• Group 3: Open item document 4711

• Group 2: Open item document 4710

• Group4: Openitemdocument4712withduedateDecember5

• Group5: Openitemdocument4712withduedateJanuary5

The following clearing steps take place:

• No clearingtakesplacein groups1, 2, or 5.

• Ingroup3,thecreditof30.00fromtheelectricitydivisionisclearedagainst

thegasreceivableof100.00,whichleavesanoutstandingreceivableof70.00.

• Ingroup4,thebudgetbillingrequestsfromDecember5arebalancedsothat

abudgetbillingamountof140.00isdueonDecember5.

Thesecondclearingstepleadstothefollowingresults:

• No further characteristicshave been specified. As a result, all items still

open are grouped together.

• Thepaymentonaccountof20.00canstillbeusedforclearingandiscleared

withtheoldestopeninvoice. Thereisstillanoutstandingreceivableof5.00.

302

©2009SAPAG.Allrightsreserved. 2009

第 325 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Caution: Grouping by due dateis necessary becausethe due dates of

a budget billing plan or installment plan have the same number. The

clearing consideration should usually take place at the level of the

individual due dates.

Figure 211: Clearing Control: Account Maintenance (4)

303

2009 © 2009 SAP AG. All rights reserved.

第 326 页 / 共 603 页

Unit7: ClearingControl AC240

Figure 212: Clearing Control: Incoming Payment

Theadditional groupingaccordingto duedateis requiredbecausea document

mayhaveitemswithdifferentduedates(forexample,installmentplanorbudget

billing plan).

Example: Thecustomerwantstopayinvoice4709. Thecustomercanpaythefull

amountof25.00ortheremainingamountof5.00afterwithholdingthecreditof

20.00 (document 4710).

304

©2009SAPAG.Allrightsreserved. 2009

第 327 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Figure 213: Clearing Control: Customizing

Withtheexceptionoftheclearingcategorytable,theclearingcontrolsettingsare

industry-specific. Sincetheclearingtypesareallocatedtothestandardprocesses

andsuppliedbySAP,everyapplicationareaisresponsibleformaintainingand

supplying their standard settings.

Inthespecificationsfor clearingtypes, youcanconfigurethedeterminationof

clearingvariants,selectionrestrictions,informationonpaymentsonaccount,as

well asthecontrol for writing off statisticalitems.

305

2009 © 2009 SAP AG. All rights reserved.

第 328 页 / 共 603 页

Unit7: ClearingControl AC240

306

©2009SAPAG.Allrightsreserved. 2009

第 329 页 / 共 603 页

AC240 Lesson: Configuration of the Clearing Strategy

Exercise 13: Configuration of Clearing

Variants

Exercise Objectives

After completingthisexercise, youwillbeableto:

• Configure and use a clearing variant

Business Example

Clearingcontrolmapsyourcompany’sautomatedallocationandclearingstrategy.

Cross company code postings often have to be made. First of all, incoming

paymentshavetoclearotherreceivablesthatwerepostedinyourowncompany

code. Receivableswiththecompanycodethat isonlyusedforclearingshould

have a lower ranking priority.

Task:

Configure clearing variant G## (## = group number), Clearing Group ## that

coverstheclearingstrategydescribedinthebusinessscenario.

1. Grouptheitemsaccordingtomaintransaction,subtransaction,andcompany

code.

Sort the items according to company code, main transaction, and

subtransactioninsuchawaythatcompanycodeC100isprocessedbefore

companycodeC110,andthemaintransactionforotherreceivables/credits

(6000, rank 1) and receivables/credit group (6010, rank 2) is processed

before all other transactions.

The associated subtransaction 0010 (other receivable – main transaction

6000 or other receivable group – main transaction 6010) should also be

consideredbeforeallothersubtransactionsaspartofthesortprocess.

Furthermore,theitemsmustbesortedaccordingtotheirduedates.

2. Create the new clearing category G## (clearing group ##). Assign the

clearingvariantG##tothenewcategoryfortheclearingtypeCashDesk:

Payment (19).

3. AssignclearingcategoryG##tocontractaccountT-CA0930##.

4. Navigatetotheaccountbalancedisplaytoobtainanoverviewoftheopen

itemsofbusinesspartnerT-CA0930##. Checkwhetherthereisareceivable

for company code C110.

5. Usethecashdesk(transactionFPCJ)totestwhetheryourclearingvariant

determinesthecorrectclearingproposalforcontractaccountT-CA0930##.

307

2009 © 2009 SAP AG. All rights reserved.

第 330 页 / 共 603 页

Unit7: ClearingControl AC240

Solution 13: Configuration of Clearing

Variants

Task:

Configureclearing variant G## (## = group number), Clearing Group ## that

coverstheclearingstrategydescribedinthebusinessscenario.

1. Grouptheitemsaccordingtomaintransaction,subtransaction,andcompany

code.

Sort the items according to company code, main transaction, and

subtransactioninsuchawaythatcompanycodeC100isprocessedbefore

companycodeC110,andthemaintransactionforotherreceivables/credits

(6000, rank 1) and receivables/credit group (6010, rank 2) is processed

before all other transactions.

The associated subtransaction 0010 (other receivable – main transaction

6000 or other receivable group – main transaction 6010) should also be

consideredbeforeallothersubtransactionsaspartofthesortprocess.

Furthermore,theitemsmustbesortedaccordingtotheirduedates.

a) In Customizing, choose: Financial Accounting (New) → Contract

AccountsReceivableandPayable→BasicFunctions→OpenItem

Management → Clearing Control → Clearing Variants → Define

Clearing Variants.

Choose NewEntries and enter G## as the key and Clearing Group

## as the name.

ChooseEnter,selectyourentry, andchooseClearingStepsfromthe

dialog structure.

ChooseNewEntriestoaccessthemaintenancescreenfortheclearing

steps.

Enterclearingstep10anddefinethefollowinginthegroupingstring:

1. 004 Main transaction

2. 005 Subtransaction

3. 001 Company code

Enter the following in thesorting string:

Continued on next page

308

©2009SAPAG.Allrightsreserved. 2009

1. 004 Main transaction
2. 005 Subtransaction
3. 001 Company code
返回FICO参考资料列表