第 79 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Ifmultiplecompanycodesarelisted, theyhavetobeseparatedbycommas. If
youwanttospecifyarangeofcompanycodes,youhavetoenterthefirstandlast
company code in the range in parentheses.
Hint: Donotenter aspaceafterthecomma.
Thecompanycodesinapaymentrunmustbeinthesamecountry.
For each country, we defined payment methods that can be used within that
particularcountry. Fromthesepaymentmethods, choosetheonestobeusedin
the current payment run.
Ifyouusemorethanonepaymentmethodinthepaymentrun,rememberthatthe
order in which you enter them is important. The method entered first hasfirst
priority,thenexthassecondpriority,andsoon. Thesystemmakesthepayment
using the highest priority possible after thecheck.
Figure 32: Proposal run
Aftertheparametersareenteredonthemainpaymentprogramscreen,schedule
the payment proposal to be created.
Intheproposalrun,theprogramselectsdocumentsandaccountswithitemsthat
arependingpayment. Todoso,itusesthesearchcriteriathatyouspecifiedwhen
youenteredtheparameters. Thesystemthengroupstheseitemstopaymentsand
69
2009 © 2009 SAP AG. All rights reserved.
第 80 页 / 共 449 页
Unit2: AutomaticPayments AC201
assignsthepayment methodsand bankdetailstobeused. Ifthesystemcannot
findavalidpaymentmethodorbankdata,orifanitemisblockedforpayment,it
adds these items to the exception list.
Once the proposal run is completed, the system generates two reports: the
paymentproposallistandtheexceptionlist. Youcaneditthesereportsonline
or print them.
Figure 33: Proposal List
The proposal list shows the business partners and the amounts to be paid or
received. Dependingonthelinelayoutuserschooseforthescreen,theassociated
documentnumbersandcashdiscountscanbedisplayed.
Anyexceptionsarealsolistedhere. Userscandrilldownseveraltimestoview
andchangethedetailsof theindividual paymentitems.
70
©2009SAPAG.Allrightsreserved. 2009
第 81 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Figure 34: Exception List
Invoicesthatmatchthespecifiedpaymentparametersbut,forsomereason,cannot
be paid are listed in the exception list.
Ifusersselecttheadditionallog,thelistshowswhytheinvoicecannotbepaid.
71
2009 © 2009 SAP AG. All rights reserved.
第 82 页 / 共 449 页
Unit2: AutomaticPayments AC201
Figure 35: Payment Blocks
Thereareseveralwaystoconfigureapayment block:
Ifaproblemarisesduringtheinvoiceverificationprocess,theinvoiceisusually
blockedforpayment. Youcanconfigurethistypeofblockinsuchawaythatthe
blockcanonlyberemovedduringtheinvoiceverificationprocess.
Ifthereisareason whyavendorshould notbepaid, youcancreateapayment
blockinthemasterrecord. Theblockcreatedinthemasterrecordpreventsany
invoicesfromthevendor frombeingpaid. Youcanalsoconfiguretheblockso
that it hastobe removed manuallyin themaster datarecord before apayment
can be processed.
When an AP invoice is entered, an invoice may beblocked for payment. The
typeofpaymentblockdetermineswhetheritcanberemovedduringthepayment
proposal.
Youcandefineadditionalpaymentblocksinthesystem. Userscanalsospecify
whetherthepaymentblockcanberemovedwhenpaymentsareprocessed.
72
©2009SAPAG.Allrightsreserved. 2009
第 83 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Figure 36: Editing the Payment Proposal
Tofurtheranalyzetheproposallist,userscaneditthelisttoviewthedetailsofa
particularpayment,changethepaymentterms,oraddapaymentblock.
Afterthepaymentruniscreated,itcanbeeditedbyaccountingclerks. Userscan
assignanaccountingclerktoacustomer/vendorbyenteringtheclerk’skeyinthe
customer/vendormasterdata. Wheneditingthepaymentproposal,youcanenter
thekeyofaspecificclerktoshowonlythecustomer/vendor paymentsthatare
assigned to the clerk.
73
2009 © 2009 SAP AG. All rights reserved.
第 84 页 / 共 449 页
Unit2: AutomaticPayments AC201
Figure 37: Editing Payments
Thefirstscreenintheeditingtransactionshowsanoverviewofallthepayments
the program proposes.
Bydouble-clickingapayment,youcandisplayalistofalltheopenitemsthatare
dueto bepaid with the payment. You can change the payment block andcash
discountfortheselineitems. Youcanalsoassigntheitemtoadifferentexisting
payment,orcreateanewpaymentbychoosingapaymentmethodandhousebank.
74
©2009SAPAG.Allrightsreserved. 2009
第 85 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Figure 38: Payment Run (1)
Oncethepaymentproposalhasbeeneditedandsaved,thepaymentrunusesthe
changes as a basis for the actual payments.
Up to this point, no postings have occurred. The documents included in this
payment run havebeen “locked”against anyother postings, that is, an invoice
eligibletobepaidinthecurrentpaymentrunisblockedformanualpaymentor
payment or in a different payment run.
In this step, payment documents are created, open items are cleared, and the
general and subledgers are posted to.
75
2009 © 2009 SAP AG. All rights reserved.
第 86 页 / 共 449 页
Unit2: AutomaticPayments AC201
Figure 39: Payment Run (2)
Thepaymentprogramautomaticallypostspaymentsandrelatedpostings,suchas
thosefortax,taxadjustments,exchangeratedifferences,orcashdiscounts.
Some countries require that the payment documents are not posted before the
actualsettlement,thatis,notbeforethepaymentappearsonthebankstatement.
Inthepaymentmethoddefinitionsofthesecountries, youcansettheGenerate
payment order only indicator. In this case, the payment program does not
post a payment document. Instead, a payment order is generatedthat contains
information on the paid documents. When the payment appears on the bank
statement, the payment document is generated by entering the payment order.
Untilthen,thepaiditemsareblockedforotherclearingtransactions.
Figure 40: Bank Subaccounts
76
©2009SAPAG.Allrightsreserved. 2009
第 87 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
It is advisable to use bank subaccounts for posting incoming and outgoing
payments, for example, accounts for outgoing checks, outgoing transfers,
incoming checks and transfers received.
There are many advantages to using subaccounts. You can reconcile the bank
accountbalanceatanytimewiththecorrespondingG/Laccount. Thesubaccounts
containallincomingandoutgoingpaymentsuntilthemoneyisactuallydebited
from/creditedtothebankaccount(valuedate). Theitemisthentransferredfrom
thesubaccounttothebankaccount. Thepostingsatthebankareusuallyentered
usingthemanualorelectronicbankaccountstatement.
The bank subaccounts have tobeassigned tothepayment methodswhenthe
bank selection settings are configured. You can differentiate between bank
subaccountsbyspecifyingahousebankandcurrency. Subaccountsaregenerally
managedonanopenitembasisandwithlineitemdisplay.
Figure 41: The Payment Document
Thedocumenttypeforpaymentdocumentsisdefinedinthecountry-specific
specificationsforthepaymentmethod. Forcross-company-codepayments,you
can enter afurther document typethat isused for theclearing postings. Both
documenttypesmustbedefinedusinginternalnumberassignment.
Documentsfromthepaymentruncontainthedateandidentificationnumber(for
example,19940301-ID)oftheruninthedocumentheadertext.
Thevaluedateoftheclearingdocumentiscalculatedbyaddingthedaystovalue
datetothepostingdate. Thedaystovaluedatedependonthepaymentmethod,
bank, account, currency, andtheaccount limit. Ifnoentry ismade, thesystem
77
2009 © 2009 SAP AG. All rights reserved.
第 88 页 / 共 449 页
Unit2: AutomaticPayments AC201
usesthe postingdateasthevaluedate. For calculatingthevaluedateofcheck
payments,youcanenteracheckcashingtimeinthemasterdata. Thishaspriority
over the days to value date for checks.
Ifpaymentsaremadeforindividualbusinessareas,thebankpostingismadefor
thebusinessareatowhichthepaiditemsbelong. Ifpaymentsarenotmadefor
specificbusinessarea, youcanspecifythebusinessareafor thebank postings.
Inall other cases, the postingstothebank subaccounts arecarriedoutwithout
reference to business areas.
Figure 42: Printing Payment Media
Theprintrunstartstheprintprograms,whichdothefollowing:
• Transfer the payment media, payment advice notes, and the payment
summary to print administration
• TransfertheDMEpaymentdatatoDMEadministration
• Create intermediate documents for selected payments, which can be
forwarded to the EDI subsystem
78
©2009SAPAG.Allrightsreserved. 2009
第 89 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Figure 43: Variants for Print Programs
Aprintprogramisassignedtoeachpaymentmethodforeachcountrywhenit
is configured.
Toruntheprintprograms, thesystemneedsatleast onevariantfor eachprint
programforeachpermittedandusedpaymentmethod.
Ifseveralvariantsareassignedtoaprintprogram, thesystemrunstheprogram
once for each variant.
Thevariantscontainaseriesofselectioncriteria,whichareusedtoseparatethe
dataintheprintdataset. Separateprintjobsarecreatedinprintadministration
for each variant called up from a data medium print program. Users can call
up the print jobs individually for printing. The variants also contain printing
specifications.
YoucanleavetheProgramRunDateandIdentificationFeaturefieldsblankinthe
variants. Thesefieldsarefilleddynamicallywhentheprogramisrun.
79
2009 © 2009 SAP AG. All rights reserved.
第 90 页 / 共 449 页
Unit2: AutomaticPayments AC201
Figure 44: Forms for payment media
In the configuration settings for the payment program, you have to assign
paymentmediumformseithertothepayingcompanycodeortoeachpayment
method for each company code.
TheSAPSystemoffersstandardformsthatcanbealteredforusers'requirements.
Detailsonthepaymentformsandfileformatsintheuser’scountrycanbefound
in thecountry-specific program documentation.
80
©2009SAPAG.Allrightsreserved. 2009
第 91 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Figure 45: EDI and Payment Advice Notes
The first print program run by the payment program is the print program
RFFOEDI1. This report chooses all the payments that are selected for EDI,
creates intermediate SAP documents for them, and forwards them to the EDI
subsystem. TheEDI subsystem thenconvertstheintermediatedocumentsinto
EDI data, which is sent to the bank.
Payment advice notes can be sent either by mail or by EDI, depending on
whetherthecustomer/vendorcanreceiveEDImessages.
81
2009 © 2009 SAP AG. All rights reserved.
第 92 页 / 共 449 页
Unit2: AutomaticPayments AC201
Figure 46: DME - Data Media Exchange
With Data Medium Exchange, a file is created that contains all the relevant
payment information in accordance with the banking rules of the country in
question. TheDMEfileisstoredinDataMediumAdministrationandcanbe
downloadedtoadatamedium. Youcanalsoprintout theDME accompanying
note. ThedatamediumandtheDMEaccompanyingnotearethensenttothebank.
DMEcanusuallybeusedwithallpaymentmethodsinwhichthepaymentmedium
ishandedtothebankforfurther processing,suchasbanktransfer,directdebit,
andsoon. Itcannotbeusedwithpaymentmethodswherethepaymentmedium
(such asa check) is sent to the customer/vendor.
TouseDMEforaspecificpaymentmethod,allyouhavetodoisselecttheData
MediumExchangefieldinthevariant. TogenerateseparateDMEfilesforeach
housebank,youhavetoenteravariantforeachhousebank.
TheDMEfilecanbeeitherstoredintheSAPTemSe(TEMporarySEquentialfile)
withintheSAPSystemorinthePCfilesystem. IntheSAPTemSe,thefilecannot
beaccessedbyunauthorizedexternalusers. Youcanspecifythenameofthefileto
becreatedduringthedownloadwhenyourunthepaymentmediumprintprogram.
Thecontent of thefilenameparameter isstoredin the administration dataand
proposed when the file is downloaded.
MoreinformationisavailableintheSAPdocumentation.
82
©2009SAPAG.Allrightsreserved. 2009
第 93 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
TheprogramforprintingchecksisRFFO“xx”_“y”,where“xx”usuallystandsfor
thecountryand“y”containsadditionaldefinitionsfortheform. Thefollowing
programs are shipped as standard:
• RFFOAT_L: Payment MediumAustria–Checks/foreigntransfers/dom.+
foreign DME
• RFFOD__S: International Payment Medium – Checks (without check
management)
• RFFOD__T: International Payment Medium – Check / bill of exchange
procedure
• RFFOES_T:PaymentMediumSpain–DMEtransfers,bankchecks
• RFFOUS_C: International Payment Medium – Check (with check
management)
Identify the payment run, the house bank, and where the checks and any
accompanying documents are printed. Checks can be printed with predefined
checknumbers(withcheckmanagement)orthedocument number canalso be
usedasthechecknumber (withoutcheckmanagement).
InthePayment MethodCountryconfiguration screen, youcan definetheprint
program for each payment method. In the Form Data area, define the form
formattingtypeandthepaymentmediumformtobeused.
The print program:
• Assignschecknumbersto payment documents
• Updatesthepaymentdocumentsandoriginalinvoicedocumentswiththe
check information
• Prints checks andaccompanying documents
Ifyouareusingcheckmanagement,youhavetousechecklotstoprintchecks.
Checks are managed in batches, or lots. If you are using prenumbered checks
fromthebank,specifythechecknumberrangesinlots. Otherwise,startthecheck
numbering from 1.
Check lotsare used for both manual and automaticpayments. For monitoring
purposes,itisadvisabletouseaseparatelotforeachtypeofpayment.
83
2009 © 2009 SAP AG. All rights reserved.
第 94 页 / 共 449 页
Unit2: AutomaticPayments AC201
84
©2009SAPAG.Allrightsreserved. 2009
第 95 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Exercise 5: Running the Payment Program
Exercise Objectives
After completingthisexercise, youwillbeableto:
• Block an open vendor invoicefor payment
• Makepreparations for the payment program
• Assign a payment method to your vendor
• Enter the parameters for the payment run
• Start the proposal run
• Edit the payment proposal
• Startthepaymentruntoprocessthepaymentsonyourproposallist
• Print payment media
Business Example
APinvoiceshavetobepaidontimetotakeadvantageofpossiblediscounts.
Somecustomerswishtohavetheirliabilitiescollectedbythecompanythrough
the use of special payment methods.
A high volume of AP and AR invoices has to be processed. The accounting
departmentwishestoprocessinvoicesautomaticallyonceperweek.
Task 1:
Makethefollowingpreparationstoensurethepaymentrunissuccessful:
1. Verify that your vendor’s address information is complete on the master
record. In addition, enter the following information on the Payment
Transaction screen: Add payment method C or S to your vendor master
record. Your instructor will tell youwhich payment method is relevant.
Checkthatthevendordoesnothaveapaymentblockandhasbeenassigned
payment terms.
2. Verify thatthereareatleast twoopeninvoicesonyourvendor’saccount.
Block one of those invoices for payment.
Task 2:
Runtheautomaticpaymentprogramtopayopeninvoicesonyourvendor’s
account.
1. Entertheparameters: YourcompanycodeAC##,thepaymentmethodused
inyourcountry,andtheaccountnumberofyourvendor.
Continued on next page
85
2009 © 2009 SAP AG. All rights reserved.
第 96 页 / 共 449 页
Unit2: AutomaticPayments AC201
2. Create the payment proposal run: Schedule thepayment proposal to run
immediately.
3. Process the proposal: Review the invoices that the program proposes to
releaseforpayment. Removethepaymentblock.
4. Executetheprogram: Schedulethepaymentproposaltorunimmediately. At
thispoint,paymentdocumentsarecreatedandclearedagainstopeninvoices.
Task 3:
Createapaymentmediumusingthestandardpaymentmediumprograms.
Createvariantstheprintprogramthatisusedinyourcountry. Rememberto
maintainonlythecountry-specificdatathatisrelevantforthisexercise.
1. Ifyourcountry-specificpaymentmethodisS,createavariantfortheprint
programRFFOD__SorcontinuewithExercise2.a).
2. If your country-specific payment method is C, create variants for print
program RFFOUS_C.
3. Assignyour printvariant(s)to theprintprograminthepaymentprogram
menu.
4. Printyourpaymentformstotheoutputcontrolandtakealookatthem.
Result
Youhavestartedthepaymentrunandcreatedapaymentmedium.
Continued on next page
86
©2009SAPAG.Allrightsreserved. 2009
第 97 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Task 4:
Let’sreview! Writeashortanswerinthespaceprovided.
1. List thefour steps in the payment program.
2. Name the five areas into which the payment program configuration is
divided.
3. The specify the accounts and documents that are
to be included in the payment run.
Fillintheblankstocompletethesentence.
4. The payment program needs the to
determinewhetheranopenitemhastobepaidnoworinthenextpayment
run.
Fillintheblankstocompletethesentence.
5. The sequence in which the payment methods are entered in the
reflectstheirpriority.
Fillintheblankstocompletethesentence.
Task 5:
Let’s review! True or false?
1. Allthecompanycodesinthepaymentrunparametersmustbeinthesame
country.
Determinewhetherthisstatementistrueorfalse.
□ True
□ False
Continued on next page
87
2009 © 2009 SAP AG. All rights reserved.
第 98 页 / 共 449 页
Unit2: AutomaticPayments AC201
2. Apaymentmethodcanbeusedonlyif it isenteredintheaccount master
record.
Determinewhetherthisstatementistrueorfalse.
□ True
□ False
3. The payment proposal can be edited, deleted, and re-created as often as
necessary.
Determinewhetherthisstatementistrueorfalse.
□ True
□ False
4. Theexceptionlistispartofthepayment proposal.
Determinewhetherthisstatementistrueorfalse.
□ True
□ False
88
©2009SAPAG.Allrightsreserved. 2009
第 99 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Solution 5: Running the Payment Program
Task 1:
Makethefollowingpreparationstoensurethepaymentrunissuccessful:
1. Verify that your vendor’s address information is complete on the master
record. In addition, enter the following information on the Payment
Transaction screen: Add payment method C or S to your vendor master
record. Your instructor will tell youwhich payment method is relevant.
Checkthatthevendordoesnothaveapaymentblockandhasbeenassigned
payment terms.
a) Change the vendor master record.
On the SAP Easy Access screen, choose: Accounting →Financial
Accounting→AccountsPayable→MasterData→Change
FieldNameorDataType Values
Vendor Vendor##
Company Code AC##
Address
Company code data: payment
transaction
Choose“Enter”todisplay theaddressscreen.
Verifythatalloftheaddressinformationiscomplete,suchasthestreet
address,city,andcountry,accordingtoyourcountry’sstandards.
Choose“Enter”todisplaythepaymenttransactionsscreen.
FieldNameorDataType Values
Payment Terms 0001
Payment Methods C (for the U.S.) or S (for
Germany)
Payment Block Releasedforpayment
Choose “Save”.
Continued on next page
89
2009 © 2009 SAP AG. All rights reserved.
| FieldNameorDataType | Values |
|---|---|
| Vendor | Vendor## |
| Company Code | AC## |
| Address | |
| Company code data: payment transaction |
| FieldNameorDataType | Values |
|---|---|
| Payment Terms | 0001 |
| Payment Methods | C (for the U.S.) or S (for Germany) |
| Payment Block | Releasedforpayment |
第 100 页 / 共 449 页
Unit2: AutomaticPayments AC201
2. Verifythat thereareatleast twoopeninvoiceson yourvendor’saccount.
Block one of those invoicesfor payment.
a) Review the vendor open items.
On the SAP Easy Access screen, choose: Accounting → Financial
Accounting→AccountsPayable→Account→Display/ChangeLine
Items
Enterthefollowingdataontheselectionscreen:
FieldNameorDataType Values
Vendor account Vendor##
Company Code AC##
Choose “Execute”.
Verifythatyouhaveatleasttwoopeninvoices. Double-clickanitem
to block it for payment.
ChooseDocument→Display/Changetoswitchtothechangemode
and enter the following data:
FieldNameorDataType Values
Payment Block A
Choose “Save”.
Task 2:
Runtheautomaticpaymentprogramtopayopeninvoicesonyourvendor’s
account.
1. Entertheparameters: YourcompanycodeAC##,thepaymentmethodused
inyourcountry,andtheaccountnumberofyourvendor.
a) Enter the parameters:
On the SAP Easy Access screen, choose: Accounting → Financial
Accounting→AccountsPayable→PeriodicProcessing→Payments
FieldNameorDataType Values
Run date <Today's date>
Identification G##
Choose “Enter”.
Continued on next page
90
©2009SAPAG.Allrightsreserved. 2009
| FieldNameorDataType | Values |
|---|---|
| Vendor account | Vendor## |
| Company Code | AC## |
| FieldNameorDataType | Values |
|---|---|
| Payment Block | A |
| FieldNameorDataType | Values |
|---|---|
| Run date | <Today's date> |
| Identification | G## |
第 101 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Enterparametersandactivatetheadditionallog:
Choose the “Parameter” tab page.
FieldNameorDataType Values
Posting date <Today's date>
Docs Entered Up To <Today's date>
Company Codes AC##
Payment Methods C or S
Next Posting Date <Today'sdate+onemonth>
Accounts Payable Vendor##
Choose the“Additional Log” tab page.
FieldNameorDataType Values
Due Date Check
PaymentMethodSelectionsinAll
Cases
Line Items of the Payment
Documents
Accounts Payable Vendor##
Choose“Save”andthenthe“Status”tabpage.
2. Create the payment proposal run: Schedule the payment proposal to run
immediately.
a) Createthepaymentproposalrun: Schedulethepaymentproposalto
run immediately.
Choosethe“Proposal”pushbuttontoschedulethepaymentproposal
and enter the following data:
FieldNameorDataType Values
Start Immediately
Choose“Enter”untilthemessage“Paymentproposalhasbeencreated”
is displayed in the status area.
Continued on next page
91
2009 © 2009 SAP AG. All rights reserved.
| FieldNameorDataType | Values |
|---|---|
| Posting date | <Today's date> |
| Docs Entered Up To | <Today's date> |
| Company Codes | AC## |
| Payment Methods | C or S |
| Next Posting Date | <Today'sdate+onemonth> |
| Accounts Payable | Vendor## |
| FieldNameorDataType | Values |
|---|---|
| Due Date Check | |
| PaymentMethodSelectionsinAll Cases | |
| Line Items of the Payment Documents | |
| Accounts Payable | Vendor## |
| FieldNameorDataType | Values |
|---|---|
| Start Immediately |
第 102 页 / 共 449 页
Unit2: AutomaticPayments AC201
3. Process the proposal: Review the invoices that the program proposes to
releaseforpayment. Removethepaymentblock.
a) Edit the payment proposal.
Choose Process Proposal.
Select“Allaccountingclerks”inthe“AccountingClerk”dialogbox
and choose “Enter”.
You now have two detail lines:
One has “Exception” in red. The other line(in green) displays the
“Payment”.
Double-clickthe“Exceptions”line,whichishighlightedinred.
Thendouble-clickthepayment. Deletethepaymentblock from the
line item.
Choose “Continue”.
Choose the green arrow to return to the “Edit Payment Proposal:
Payments” screen.
Choose the green arrow again to return to the main menu for
configuringthepaymentprogramtocontinuetheprocess.
Youarenowonthe“Status”tabpage. Donotexitthisscreen.
4. Executetheprogram: Schedulethepaymentproposaltorunimmediately. At
thispoint,paymentdocumentsarecreatedandclearedagainstopeninvoices.
a) Start the payment run.
Choose “Payment Run”.
IntheSchedulePaymentdialogbox,enterthefollowingdata:
FieldNameorDataType Values
Start immediately
Choose “Enter”.
Choose “Status” until the message “Posting orders: 1 generated, 1
completed” is displayed.
Continued on next page
92
©2009SAPAG.Allrightsreserved. 2009
| FieldNameorDataType | Values |
|---|---|
| Start immediately |
第 103 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Task 3:
Createapaymentmediumusingthestandardpaymentmediumprograms.
Createvariantstheprintprogramthatisusedinyourcountry. Rememberto
maintainonlythecountry-specificdatathatisrelevantforthisexercise.
1. Ifyourcountry-specificpaymentmethodisS,createavariantfortheprint
programRFFOD__SorcontinuewithExercise2.a).
a) Payment method S:
CreateavariantforprintprogramRFFOD__SorselectvariantAC201.
CreateanewsessionfromtheSAPEasyAccessscreen.
Choose System → Create Session. Choose System → Services →
Reporting.
FieldNameorDataType Values
Program RFFOD__S (Note: enter two
underscores)
Choose “Execute”.
FieldNameorDataType Values
PayingCompanyCode AC##
SendingCompanyCode AC##
Payment Methods S
Company Codes AC##
Print checks and printer: LP01
PrintPaymentAdviceNotes and printer: LP01
Printpaymentsummary and printer: LP01
Choose “Save”.
FieldNameorDataType Values
Variant Name Group ##
Description <Any description>
Choose “Save”.
2. If your country-specific payment method is C, create variants for print
program RFFOUS_C.
Continued on next page
93
2009 © 2009 SAP AG. All rights reserved.
| FieldNameorDataType | Values |
|---|---|
| Program | RFFOD__S (Note: enter two underscores) |
| FieldNameorDataType | Values |
|---|---|
| PayingCompanyCode | AC## |
| SendingCompanyCode | AC## |
| Payment Methods | S |
| Company Codes | AC## |
| Print checks | and printer: LP01 |
| PrintPaymentAdviceNotes | and printer: LP01 |
| Printpaymentsummary | and printer: LP01 |
| FieldNameorDataType | Values |
|---|---|
| Variant Name | Group ## |
| Description | <Any description> |
第 104 页 / 共 449 页
Unit2: AutomaticPayments AC201
a) Payment method C:
Createvariantforprint programRFFOUS_C.
CreateanewsessionfromtheSAPEasyAccessscreen.
Choose System → Create Session.
ChooseSystem →Services →Reporting.
FieldNameorDataType Values
Program RFFOUS_C
Choose “Execute”.
FieldNameorDataType Values
PayingCompanyCode AC##
SendingCompanyCode AC##
Payment method C
House Bank 1000
Account ID 1000
CheckLot Number 1
Print checks and printer: LP01
Printpaymentsummary and printer: LP01
No. ofsampleprintouts 0
Choose “Save”.
FieldNameorDataType Values
Variant Name Group ##
Description <Any description>
Choose “Save”.
If you added house bank HB##, account ID AC## to bank
determination(seeoptionaltask5intheexerciseon“PaymentProgram
Configuration”), repeat the creation of a print variant for payment
method Cwith thefollowing parameters:
Continued on next page
94
©2009SAPAG.Allrightsreserved. 2009
| FieldNameorDataType | Values |
|---|---|
| Program | RFFOUS_C |
| FieldNameorDataType | Values |
|---|---|
| PayingCompanyCode | AC## |
| SendingCompanyCode | AC## |
| Payment method | C |
| House Bank | 1000 |
| Account ID | 1000 |
| CheckLot Number | 1 |
| Print checks | and printer: LP01 |
| Printpaymentsummary | and printer: LP01 |
| No. ofsampleprintouts | 0 |
| FieldNameorDataType | Values |
|---|---|
| Variant Name | Group ## |
| Description | <Any description> |
第 105 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
FieldNameorDataType Values
PayingCompanyCode AC##
SendingCompanyCode AC##
Payment Meth. C
House Bank HB##
Account ID AC##
Check Lot Number 1
Print checks and printer: LP01
Printpaymentsummary and printer: LP01
No. ofsampleprintouts 0
Choose “Save”.
FieldNameorDataType Values
Variant Name Group 1##
Description <Any description>
Choose “Save”.
UsethegreenarrowtogobacktotheSAPEasyAccessscreen.
Continued on next page
95
2009 © 2009 SAP AG. All rights reserved.
| FieldNameorDataType | Values |
|---|---|
| PayingCompanyCode | AC## |
| SendingCompanyCode | AC## |
| Payment Meth. | C |
| House Bank | HB## |
| Account ID | AC## |
| Check Lot Number | 1 |
| Print checks | and printer: LP01 |
| Printpaymentsummary | and printer: LP01 |
| No. ofsampleprintouts | 0 |
| FieldNameorDataType | Values |
|---|---|
| Variant Name | Group 1## |
| Description | <Any description> |
第 106 页 / 共 449 页
Unit2: AutomaticPayments AC201
3. Assignyour printvariant(s)to theprintprograminthepaymentprogram
menu.
a) Assignthenewvariant(s)(orvariantAC201)totheprintprogram.
From the main payment program menu, choose the “Printout/Data
Medium”tab andenter the followingdata:
For payment method S:
FieldNameorDataType Values
Program RFFOD__S
Variant Group ## orAC201
For payment method C:
FieldNameorDataType Values
Program RFFOUS_C
Variant Group ##
Variant Group 1## (provided you
have added house bank HB##,
account ID AC## to bank
determination)
Choose “Save”.
Choosethe“Status”tabpagetoreturntothemainscreen.
Continued on next page
96
©2009SAPAG.Allrightsreserved. 2009
| FieldNameorDataType | Values |
|---|---|
| Program | RFFOD__S |
| Variant | Group ## orAC201 |
| FieldNameorDataType | Values |
|---|---|
| Program | RFFOUS_C |
| Variant | Group ## |
| Variant | Group 1## (provided you have added house bank HB##, account ID AC## to bank determination) |
第 107 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
4. Printyourpaymentformstotheoutputcontrolandtakealookatthem.
a) Schedule the print job.
Choose the “Printout” pushbutton to schedule the printout of the
payment medium. In the “Schedule Print” dialog box, enter the
following data:
FieldNameorDataType Values
Start Immediately
Job name Replace “?” with your group
number ##.
Choose“Enter”. Thesystemdisplaysamessageatthebottomofthe
screentellingyouthatyourprinthasbeenscheduled.
Display theprinted forms onthe screen:
Choose System→ Own Spool Requests.
Selecttherowcontaining“Check”inthe“Title”column.
ChooseGoto→DisplayRequests→Contents(orpressF6)todisplay
your forms online.
Result
Youhavestartedthepaymentrunandcreatedapaymentmedium.
Task 4:
Let’sreview! Writeashortanswerinthespaceprovided.
1. List thefour steps in the payment program.
Answer: Maintain parameters
Proposal run
Execute a payment run.
Printing Payment Media
2. Name the five areas into which the payment program configuration is
divided.
Answer: All company codes
Paying company codes
Payment method/country
Payment method for company code
Bank selection
Continued on next page
97
2009 © 2009 SAP AG. All rights reserved.
| FieldNameorDataType | Values |
|---|---|
| Start Immediately | |
| Job name | Replace “?” with your group number ##. |
第 108 页 / 共 449 页
Unit2: AutomaticPayments AC201
3. Theparametersspecifytheaccountsanddocumentsthataretobeincluded
in the payment run.
Answer: parameters
4. Thepaymentprogramneedsthenextpostingdatetodeterminewhetheran
openitemhastobepaidnoworinthenextpaymentrun.
Answer: next posting date
5. The sequencein which the payment methods are entered in the payment
parameters reflects their priority.
Answer: payment parameters
Task 5:
Let’s review! True or false?
1. Allthecompanycodesinthepaymentrunparametersmustbeinthesame
country.
Answer: True
Companycodesfromdifferentcountriescannot beprocessedinthesame
payment run.
2. Apaymentmethodcanbeusedonlyif it isenteredintheaccount master
record.
Answer: False
False. Apaymentmethodcanalsobeenteredinthelineitem.
3. The payment proposal can be edited, deleted, and re-created as often as
necessary.
Answer: True
Thepaymentproposaldoesnotmakeanychangestothevaluesatdocument
or master record level.
4. Theexceptionlistispartofthepayment proposal.
Answer: True
Theexceptionlistisusuallycheckedbytheuserdepartment.
98
©2009SAPAG.Allrightsreserved. 2009
第 109 页 / 共 449 页
AC201 Lesson: Running the Payment Program – Individual Steps
Lesson Summary
You should now be able to:
• Listandexplainthemajorprocessingstepsofthepaymentprogram
• Maintain the parametersfor the payment run
• Editthepaymentproposalcreatedbythepaymentprogram
• Generate payment media
99
2009 © 2009 SAP AG. All rights reserved.
第 110 页 / 共 449 页
Unit2: AutomaticPayments AC201
Lesson: Payment Medium Workbench (PMW)
Lesson Overview
You canusethePaymentMediumWorkbenchasanalternativetothestandard
paymentmediaprintprograms. Thistoolisintroducedinthislesson.
Lesson Objectives
After completingthislesson, you will beable to:
• Statetheadvantagesof usingthePayment Medium Workbench to create
payment media
• ConvertapaymentmethodforusewiththePaymentMediumWorkbench
• DescribethestepsinvolvedincreatingpaymentmediausingthePayment
Medium Workbench
Business Example
In addition to creating payment media using the standard payment media
print programs RFFO*, you can also create them using the Payment Medium
Workbench(PMW).Themanageroftheaccountingdepartmentwouldliketofind
outmoreaboutthis. Youexplaintheadvantagesofthismethodandoutlinethe
required Customizing settings.
The Payment Medium Workbench
Previously, payment media formats were programmed in approximately 60
standardpaymentmediaprograms(RFFO*). InthePMW,however,theseformats
aredefined outside the payment mediaprogram.
• Uniformity
• Formatscanbeeasilychangedwithoutmakingmodifications
• Newformatscanbecreated(noprogrammingexperienceisrequiredifyou
use the DME Engine)
Uptonow,paymentadvicenoteswerealsocreatedusingtheRFFO*programs. In
thePaymentMediumWorkbench,paymentadvicenotesarecreatedwiththenew
program RFFOAVIS_FPAYM.
• Uniformity
• All advice notes output in one print file
• Better sort options for advice notes
ThenotetopayeecanbefreelydefinedinCustomizing
The noteto payeecan beassignedaccordingto origin and payment method in
Customizing
100
©2009SAPAG.Allrightsreserved. 2009
第 111 页 / 共 449 页
AC201 Lesson: Payment Medium Workbench (PMW)
Improved performance for mass payments
Figure 47: Conversion of a Payment Method to PMW
YoucanconverteachpaymentmethodindividuallytothePMWpaymentmedia
formats. This means that you can use the standard payment media programs
RFFO*andthenewPMWpaymentmediaformatsinthesamesystem,andeven
in the same payment run.
Conversion Steps for a Payment Method:
1. SwitchtoPMW(radiobutton)inthepaymentmethoddefinition/country.
2. EnteranexistingPMWformatinthepaymentmethoddefinition/country.
Hint: NotethedocumentationbuttonsforthePMWandtheindividual
PMW format.
3. Assignnotestopayee(generaland/ororiginspecific)tothepaymentmethod
definition/country(forexample,SAMPLE02fororiginFI-APandFI-AR)
4. Assign aPMW formfor accompanying sheets
5. Remove the form for document-based payment medium (if you have not
already done so)
6. Createandassignselectionvariantsforeachpaymentgroup.
101
2009 © 2009 SAP AG. All rights reserved.
第 112 页 / 共 449 页
Unit2: AutomaticPayments AC201
Figure 48: Old and New Payment Medium Programs
Oneofthestandardpaymentprogramsisstartedasusual.
Aftercreationofthepaymentmediahasbeentriggered,theindividualpayment
methodsareprocessedandthefollowingprogramsarelaunched:
• Withoneofthestandardpaymentmethods,theassignedRFFO*program
isstartedwiththevariantsdefinedinthepaymentrun. Theprogramthen
generatesthepaymentmediaandtheadvicenotes.
• WithaPMWpaymentmethod,thenewPaymentMediumWorkbench
programs are launched (see next slide).
102
©2009SAPAG.Allrightsreserved. 2009
第 113 页 / 共 449 页
AC201 Lesson: Payment Medium Workbench (PMW)
Figure 49: Steps in the PMW Process
When the payment media are created for a payment with a PMW payment
method,theprogramSAPFPAYM_SCHEDULEislaunched.
Thisfirstcarriesoutapre-service. Thepre-serviceprocessesthedatasupplied
by thepaymentrunagain specificallyfor thePMW:
• ThepaymentsaresortedaccordingtoPMWformatandotherformat-specific
fields.
• Paymentgroupsarecreatedbasedonthelevelofgranularity(onepayment
mediumfileisusuallycreatedlater foreachgroup).
• The note to payee is formed.
The payment program SAPFPAYM and advice note program
RFFOAVIS_FPAYMarelaunchedbasedonthedatageneratedbythepayment
program.
• TheprogramRFFOAVIS_FPAYMgeneratesalltherequiredadvicenotes
and the zero balance notices.
• TheprogramSAPFPAYMisstartedwithallthevariantsthataredefinedfor
therelevantpaymentgroupsinCustomizing. Thisprogramgeneratesthe
paymentmediaforthePMWpaymentmethods,theaccompanyingsheetsfor
thepaymentmedia,anerrorlog,andthepaymentsummary.
Payment Medium Formats
103
2009 © 2009 SAP AG. All rights reserved.
第 114 页 / 共 449 页
Unit2: AutomaticPayments AC201
A payment medium format contains various fields that are filled with content
fromyourSAPsystem. Thisprocessiscalledmappingandcanbecarriedoutin
one of two ways:
• With programmed function modules
• UsingtheDME(DataMediumExchange)Engine
PaymentMediaCreationUsingFunctionModules:
104
©2009SAPAG.Allrightsreserved. 2009
第 115 页 / 共 449 页
AC201 Lesson: Payment Medium Workbench (PMW)
Thepaymentmediumformatisdefinedusingtablesinwhich,amongotherthings,
thecalluppointsfromthepaymentmediumprogramareassignedtothesuitable
function modules for the format.
• Calluppoint00enablesyoutoinfluencethesortsequenceofthepayment
dataandthereforetheselectionforpaymentmediacreation.
Example: Thepaymentmediaforagivenformat(files,forexample)areto
beoutputseparatelybycurrency(USDandEUR,forexample)inadditionto
thelevelofdetail. Topre-sortthedatabycurrencybeforeitisread,youhave
tocopythecurrencyfieldtothesortfield. Youusecalluppoint25totrigger
a Close/Open to change the sort field.
SAPcalluppoint00canalsobereplacedwithacustomerfunctionmodule
for callup point 00.
• Calluppoint05letsyoufilltheadditional,format-specificreferencefields
inthepaymentdata. Youcanusethesevalueslaterduringpaymentmedia
creationincalluppoints20, 30, and40, andtostructurethenotetopayee
(Customizingfornotetopayee). SAPcalluppoint05canbesupplemented
withacustomerfunctionmoduleforcalluppoint06.
• Callup point 10 lets you check the additional format parameters that are
defined in a structure in Customizing for creating the payment medium
formatsandofferedintheselectionscreenforthegenericpaymentmedium
program.
• Callup point 20 enables you to create a header for the payment
medium. Thefollowing import structuresareavailableto fill the header:
I_FPAYH (payment data), I_FPAYHX (payment Customizing), and
I_FORMAT_PARAMS(additionalformatparameters). Calluppoint20can
besupplementedwithacustomerfunctionmoduleforcalluppoint21.
• You can use callup point 25 to control whether a new payment medium
is started (also see the example for callup point 00). You can choose to
createanewphysicalpaymentmedium(newfile)oranewlogicalpayment
medium (new header; not a new file). This callup point can be replaced
with a customer function module.
• Incalluppoint30,thetransactionrecordofthedatamedium,whichcontains
theactual paymentdata, iscreated-analogoustocalluppoint20. Callup
point30canbesupplementedwithacustomerfunctionmoduleforcallup
point 31.
• Calluppoint40enablesyoutocreateatrailertoclosethepaymentmedium.
Inmostcases,thisinvolvesfillingcontroldataandtotalsdata. Calluppoint
40canbesupplementedwithacustomerfunctionmoduleforcalluppoint41.
PaymentMediumFormatsintheDataMediumExchangeEngine
TheDataMediumExchangeEngine(DMEE)enablesyoutodefinefileformats
thatmeetyourbank'srequirementsfordatamediumexchange. Thisisparticularly
important because no international or regional standards are defined. Some
105
2009 © 2009 SAP AG. All rights reserved.
第 116 页 / 共 449 页
Unit2: AutomaticPayments AC201
countriesdonotevenhavetheir owndomesticstandards, whichmeansthefile
has to follow the banks' specific standards. The DMEE lets you define new
formatsandchangeexistingonesflexiblyandeasily,withoutrequiringanyABAP
programming knowledge.
Figure 50: Mapping Using the DME Engine
Figure 51: Granularity and Payment Groups
The granularity is specified in the definition of the payment medium format
anddetermineshowthepaymentmediaaretobeoutputseparatelyinpayment
groups. Apaymentgroupusuallycorrespondstoonepaymentfile.
106
©2009SAPAG.Allrightsreserved. 2009
第 117 页 / 共 449 页
AC201 Lesson: Payment Medium Workbench (PMW)
Example: Ifcompanycodeandhousebankareselectedasthelevelofgranularity,
apaymentgroupiscreatedforeachcombinationofcompanycodeandhousebank.
At least oneselection variant must bedefined in the generic payment medium
programSAPFPAYMfor eachpossiblepayment group. Thepayment medium
program isprocessedwith all thedefinedvariants.
The granularity canberefined, but not reduced, for the PMW formatsshipped
withthesystem. ThisisbecausethegranularityshippedbySAPisbasedonthe
format requirements(usuallyspecifiedbythebanks).
Figure 52: Note to Payee
A PMW payment method is always assigned a PMW format and a content
template for the note to payee.
Every PMW format (with or without a supplement) has up to three types of
textfieldsforreferenceinformation(textboxontheleftinthePMWFormat
graphic above).
• Type1: Invoiceinformation(classicnotetopayee)
• Type2: Internalreference(incasethepaymentmediaisreturned)
• Type3: Externalreference(forthebusinesspartner)
Thecontentsofthenotetopayeearedefinedinacontenttemplate,independent
of the format - either in Customizing or by means of a function module. In
Customizing,youcandefinethecontentsonalanguage-specificbasistoensure
thatyourbusinesspartnersalwaysreceivethetextintheirownlanguage.
107
2009 © 2009 SAP AG. All rights reserved.
第 118 页 / 共 449 页
Unit2: AutomaticPayments AC201
The content template (under note to payee in the above graphic) supplies
information (as shown on the slide) to the reference fields when the payment
medium is created.
108
©2009SAPAG.Allrightsreserved. 2009