PRIMER
On
FI /SD Integration
TARGET READERS:
Functional / Technical Consultants in SAP Practice
KEYWORDS:
SAP, FI, Integration, Sales & Distribution
BOKontheintegrationofFI/COwithSD
ThefollowingdocumentdiscussesabouttheconceptofintegrationbetweenFinancial
andSales&DistributionmoduleofSAPalongwiththebasicsettingsrequiredinthe
system.
TheintegrationbetweenFI/COandSDmeansthattheallthetransactionstakingplacein
SDmoduleneedtoautomaticallypostintheFIbooks.Supposeasimplesalestransaction
likeaninvoiceisbeingmade,thenthesystemneedstoidentifytherevenueaccountit
shouldcreditandthecashorcustomeraccountitshoulddebit.[ThetransactionsinS&D
modulemayvaryfrominvoicing,debitmemo,creditmemo,discountsandmanyothers.]
Theintegrationofaccountingwithsalesstartsatthetimeofbilling.Thesystemwould
identifyaGLaccountonthebasisofthecombinationsdefinedinSPROaswellasthe
AccessSequenceinwhichitisaccessed.Onesuchpossiblecombinationcanbe,
(i)
(ii)
(iii)
(iv)
(v)
(vi)
BillingDocumentTypeThisisalreadyidentifiedinSD(BillingTypeis
attachedwithaAccountdeterminationprocedure)
ChartofAccount
SalesOrganizationAssignedtoaCompanyCode
CustomerAccountAssignmentGroupIdentifiedfromCustomerMaster
MaterialAccountAssignmentGroupIdentifiedfromMaterialMasterrecord
AccountKeyThisreflectsatypeoftransactioninbillingdoc.Forexamplea
billing document may consist of billing price i.e. revenue, discount,
duties/taxesetc.Anaccountkeymayindicaterevenue(i.e.ERLRevenueor
ERSDiscounts)
Theremaybeseveralcombinationsastheoneaboveandaremaintainedinthesystem.
TheAccessSequencethatisdefinedseparatelydictatesthecombinationthatshouldbe
usedtoidentifytheGLaccount.
AllthepossiblecombinationsaremaintainedthroughtransactioncodeVKOA.
ConfigurationsettinginSAPforFI/SDintegration
Step1:DefiningPricingProcedureandAssigningofPricingConditions
SPRO > Sales & Distribution > Basic Functions > Pricing > Define and assign
PricingProcedures
Pricing
Procedure
Screen:1
Theabovescreendisplaysthepricingprocedure.Apricingprocedureismadeofmany
pricingconditions.ForexamplepricingprocedureZREGEU(RegularOrder(EAME))
wouldconsistofPrice,discounts,shippingchargesetc.,whichwillconstitutetheNet
priceaftercertaincalculationsontheconditions.
The screenshot below shows the assignment of the Condition Types to a Pricing
Procedure.
Pricing
Procedure
ConditionType
Screen:2
PricingConditionZALPhasbeenhighlightedabove.
Step2:Defineandassignaccountkeys
EachpricingconditionisattachedtoanAccountkey.
OneneedstofirstcreateanAccountKeyintheSystem.
SPRO>Sales&Distribution>BasicFunctions>AccountAssignment/Costing>
RevenueAccountDetermination>DefineandAssignAccountKeys
Account
Key
Screen:3
OncetheAccountKeyhasbeencreated,itisattachedtoaconditiontype.Pathtoview
thesameis,
SPRO>Sales&Distribution>BasicFunctions>AccountAssignment/Costing>
RevenueAccountDetermination>DefineandAssignAccountKeys
Condition
Type
AccountKey
Screen:4
So far, we have defined a relationship in Pricing Procedure, Condition Types and
Accountkey.TheAccountKeyisthemainintegrationpointbetweenFIandSD.You
havealreadyseenonepart,astohowanAccountKeyrelatestoSDPricing.Theother
partwouldentailtheassociationofAccountKeyinG/LaccountDetermination
ThestepsbelowestablisharelationshipbetweenBillingType,Accountdetermination
procedure,AccountConditionTypesandAccessSequence.
Step3:DefineandAssignAccountDeterminationProcedure
SPRO>Sales&Distribution>BasicFunctions>AccountAssignment/Costing>
Revenue Account Determination > Define and Assign Account Determination
Procedure>AssignAccountDeterminationProcedure
Billing
Type
Account
Determination
Procedure
Screen:5
InabovescreenBillingTypeF2hasbeenmappedtoAccountDeterminationProcedure
Z00100.
AnaccountdeterminationprocedureisdefinedandmappedtotheAccountCondition
Types.PathtodefinetheAccountdeterminationProcedureisasbelow:
SPRO>Sales&Distribution>BasicFunctions>AccountAssignment/Costing>
Revenue Account Determination > Define and Assign Account Determination
Procedure>DefineAccountDeterminationProcedure
Account
Determination
Procedure
Screen:6
In the above screen Account Determination Procedure Z00100 can be viewed. This
accountdeterminationprocedureisattachedtotheAccountConditionTypes.Thesame
canbeviewedbyselectingtheControlDataintheabovescreen.ScreenShotofthesame
isasshownbelow:
Account
Determination
Procedure
ConditionType
Screen:7
In above screen Account determination Procedure Z00100 is attached to Account
ConditiontypeZ001andKOFK.
Step4:DefineAccessSequenceandAccountDeterminationTypes
TheAccountConditiontypes,AccessSequenceandtheirmutualrelationshipwouldbe
configuredinthisstep.
DefiningAccountDeterminationTypeattachingitwithAccessSequence
SPRO>Sales&Distribution>BasicFunctions>AccountAssignment/Costing>
Revenue Account Determination > Define Access Sequence And Account
DeterminationTypes>DefineAccountDeterminationTypes
Condition
Type
AccessSequence
Screen:8
IntheabovescreenAccountConditionTypeZ001(AppleAccountDet.)isattachedtoa
AccessSequenceZ001.
AnAccesssequencespecifiesthesequenceinwhichthesystemwouldlookfortables
maintainingGeneralLedgerAccountsatthetimeofbillinginSales&distribution.
DefiningAccessSequence
SPRO>Sales&Distribution>BasicFunctions>AccountAssignment/Costing>
Revenue Account Determination > Define Access Sequence And Account
DeterminationTypes>MaintainAccessSequenceforaccountdetermination
AccessSequence
Screen:9
TheabovescreendisplaysthedifferentAccessSequencethathasbeendefinedinthe
system.
VKOA
Table
Screen:10
Anaccesssequencestepisattachedtoatable(thistableismaintainedthroughVKOA).
AccessSequencedefinesthestepsasperpriorityinwhichtheVKOAtablesaretobe
accessedforG/Laccountdetermination.
TheabovescreenshowsAccesssequencestepsmaintainedforAccessSequenceZ001.
FirstColumnshowstheaccessessequencenumberandthesecondcolumnshowsthe
VKOAtablenumber.
VKOATablecontainsacombinationofdifferentfields,whichwouldhelpinRevenue
Accountdeterminationatthetimeofbilling.Forexample,VKOAtable701containsa
combinationofBillingType/MaterialGroup/AccountKey.Thiscanbeviewedby
selectingthetableandpressingthetabfields.
VKOATable
FieldsinaVKOA
Table
Screen:11
ThebasicconfigurationforFI/SDintegrationhasbeenshowntoyou.Wehavedefined
thefollowing:
Step1:PricingConditions
Step2:AccountKey
Step3:
a. Bill.TypeandAcctDeter.Procedure
(ADP)
b. ADP&AcctCondit.Type(ACT)
Step4:
a. ACT&AccessSequence
b. Accesssequence
VKOA
Table
VKOA table is the integration pointofall the aboveconfigurations. A VKOA table
contains combination of various parameters such as sales org, billing type, customer
group, material account assignment group, etc. For each individual combination we
defineaG/Laccountnumber,whichwouldbehitatthetimeofbilling.SomeVKOA
tables arestandardSAPtables butbusinesscandefinetheirowntables accordingto
businessrequirements.
AtypicalVKOAtablelookslikeasshownbelow,
SPRO>Sales&Distribution>BasicFunctions>AccountAssignment/Costing>
RevenueAccountDetermination>AssignGLAccounts
TransactionCode:VKOA
Account
AssignmentGrp
Chartof
Accounts
AccountKey
Condition
Types
GLAccounts
Billing
Type
Screen:12
Step5:IllustrationofFI&SDintegration
In the following screens we would show and discuss the billing documents, pricing
procedures and account determination procedures related to it and subsequent
determinationofrevenueaccount.
Pricingprocedureinabillingdocument
Belowscreenshotdisplaysheaderdataofabillingdocument. Herepricingprocedure
ZREG56attachedtoabillingdocisvisible.ToviewabillingdocumentTransaction
CodeVF03
BillingDocumentType
PricingProcedure
Screen:13
PricingConditionsinabillingdocument
BelowscreenshotdisplaysvariouspricingconditionssuchasZPRI,ZDISandPNTP
attachedtoalineitem(material)inabillingdocument.
Pricing
Conditions
Screen:14
NowinordertoseetheGLaccountdeterminedbythesystem,gotoTransactionCode
VF03>Environment>Acc.Determ.analysis>RevenueAccounts
This shows the Account determination procedure, condition types, combination of
variousparametersinaVKOAtableandtheGLaccountdetermined.
Account
Determination
Procedure
ToseeVKOAtableNo.
PressView
Stepsasper
theAccess
Sequence
Inthiscombinationthesystemhas
identifiedtheGLaccountcode30000000
VariousCombinations
ofparametersinVKOA
tables
Condition
Type
Screen:15
TheaboveScreenshowsthattheinthelastcombination,systemhasidentifiedtheGL
accounttobepostedinthisbillingdocument.
HerewecanreferScreen5whichestablishedarelationshipbetweenaBillingdocument
typeF2withAccountDeterminationProcedureZ00100.FurtherreferScreen7which
established a relationship between Account Determination Procedure Z00100 and
condition type Z001. Screen displayed the Access sequence Z001 which would be
followedatthetimeofselectionofconditiontypeZ001.
Screen10displaysstepsandnumberofVKOAtablewhichwouldbeaccessedinAccess
Sequence Z001. InScreen10,Step35,table 701(Combination BillType,Material
Group,AccountKey)ishighlighted.
Screen15,displaysthatthesystemhasidentifiedtheGLaccountonlyinstep35and
fromtable701.
Screen12displaysVKOATableNo.701inwhichhighlightedcombinationofcondition
typeZ001,ChartofAccountWWCA,BillingTypeF2,AccountAssignmentGroup01,
AccountKeyERLisattachedtoGLaccountcode30000000.
Inthiswaythesystemidentifiestherevenueaccounttobepostedatthetimeofbilling.
TheAccountentrypassedbythesystemintheabovebillingdocumentappearsasbelow:
Screen:16