Sunteți pe pagina 1din 4

5/9/2016

InterCompanyBillingAutomaticPostingToVendorAccount(SAPEDI)ERPOperationsSCNWiki

GettingStarted Newsletters

Welcome,Guest

Login

Register

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

ERPOperations / ERPLogisticsOperations

InterCompanyBillingAutomaticPostingToVendorAccount(SAPEDI)
CreatedbyGuest,lastmodifiedbyAlonMizrahionNov07,2011
InterCompanyBillingAutomaticPostingToVendorAccount(SAPEDI)
AutomaticpostingtovendoraccountisdonebyEDI.Inourcasewherebothcompanies
areprocessedinthesamesystem(&client),itissufficienttocreateIdoc.
Thisprocessrequiresseveralsteps:
1.CreatingaCustomertorepresentthereceivingCompany.
2.CreatingaVendortorepresentthesupplyingcompany.
3.CreatingaPort
4.MaintainanOutputType
5.CreatingaLogicalAddress
6.CreatingaPartnerProfileforbothCustomerandVendor
7.TherelevantMMcustomizingismaintained.
8.TherelevantFIcustomizingismaintained.
1.CreatingaCustomertorepresentthereceivingCompany.
Thecustomerhasalreadybeencreated(XD01)forthepurposeofIntercompany
processingandenteredintheappropriatetransactionincustomizing(Salesand
DistributionaBillingaIntercompanyBillingaDefineInternalCustomerNumberBy
SalesOrganization).
Note:Thecustomerhasbeencreatedinthesupplyingcompanycode.
Theorganizationaldatainthiscaseis:
SupplyingCompanyCode:1180
SupplyingPlant:1180
SupplyingSalesOrganization:1180
SupplyingDistributionChannel:01
SupplyingDivision:00
ReceivingCompanyCode:3100
CustomerrepresentingthereceivingCompanyCode:P3100
2.CreatingaVendortorepresentthesupplyingcompany.
TheVendoriscreatedwiththestandardtransaction(XK01).
Note:TheVendoriscreatedinthereceivingCompanyCode.Theorganizationaldatain
thiscaseisthesameasabove.
VendorrepresentingthesupplyingCompanyCode:P1180
NOTE:ThereisNOneedto"connect"vendortocustomerinthecontrolscreen.
3.CreatingaPort
ToolsaBusinessCommunicationaIDocBasisaIdocaPortDefinition(T.CodeWE21)
MaintainTransactionalRFC:(ChooseTransactionalRFCandpressthecreateicon).
Adialogboxwillopenaskingwhetheryouwantthesystemtogenerateanautomatic
nameorwhetheryouwishtouseyourownname.
Portname:Automaticallygenerated
Version:4.x
RFCdestination:PLD(Thiswasdefinedbythebasispeople).
4.Maintainoutputtype
OutputTypeRD04InvoiceReceiptMMisaspecialfunction,responsiblefortheexecutionoftheIdocandwillbeenteredinthePartnerProfilelateron.
OutputtypeRD04ismaintained:IMG:SalesandDistribution>Basicfunctions>Outputcontrol>OutputDetermination>OutputDeterminationUsingtheConditionTechnique>MaintainOutput
DeterminationforBillingDocumentsaMaintainOutputTypes(T.CodeV/40).

Partnerfunctions
SalesandDistribution>BasicFunctions>OutputControl>OutputDeterminationa
OutputDeterminationUsingtheConditionTechnique>MaintainOutputDetermination
forBillingDocuments.
AssignOutputTypesToPartnerFunctions
MaintainOutputDeterminationProcedure

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=47808864

1/4

5/9/2016

InterCompanyBillingAutomaticPostingToVendorAccount(SAPEDI)ERPOperationsSCNWiki

AssignOutputDeterminationProcedures

MasterData
MaintainoutputMasterData
Logistics>SalesandDistribution>MasterData>Output>(T.CodeVV31)
5.CreateLogicalAddress
IMG:SalesandDistribution>BillingaIntercompanyBilling>AutomaticPostingTo
VendorAccount(SAPEDI)>Assignvendor.(T.CodeWEL1)
Logicaladdress1180P3100ismadeofthesupplyingCompanyCode(1180)andthe
receivingCustomer(P3100).
Note:IfthereceivingCustomerisanumericnumberyoumustaddzerosbetweenthe
CompanycodeandCustomernumbersotheLogicalAddresswillbe14digits.
E.g.ifthecustomernumberwas3100,thanthelogicaladdresswouldhavebeen
11800000003100ascanbeseeninthesecondline.
(Inourcasethecustomerisanalphanumericnumbersothesecondlinewasnotnecessary.Itwascreatedjustforthisdocumentationandwasnotsaved)
TheLogicaladdressiscompletedwhenthereceivingCompanyCodeandtheVendorare
enteredinthedetailscreen.
Itisalsonecessarytoactivatetheaccountassignment.
IMG:SalesandDistribution>Billing>IntercompanyBilling>AutomaticPostingTo
VendorAccount(SAPEDI)>Activateaccountassignment.
6.CreatingaPartnerProfileforbothCustomerandVendor
ToolsaBusinessCommunication>IDocBasis>Idoc>PartnerProfile(T.Code
WE20)
Customer:
PutcursoronPartnertypeKUandpresscreate.
Entertype,AgentandLang,
SAVE
Pressinoutboundparameters.Section,tomaintaindetailscreens
Thefollowingscreenwillappear.
Enterthefollowingdataintheappropriatefields:
Partn.funct.BP
MessagetypeINVOIC
MessageCodeFI
ReceivingportA000000001
BasicTypeINVOIC01
Pressenterandthescreenwillchangetothefollowing:
EnterPocketSize1
GototheMessageControltabpressandenterthedataasspecifiedinthefollowing
screen.
Youcanrepeattheprocessforcaseswhereinvoiceverificationisdoneagainstpurchase
order.inthiscaseenterMMin"messagecodefield.
AsyoucanseetheonlydifferencebetweentheFIandMMinvoiceisinthemessagecode
andoutputtype.
NOTE:YoucannotuseoutputtypeRD04againthereforeyoumustcopyitin
customizingtoanotheroutputtype(inthiscaseRD00)
Vendor
FollowthesameproceduresbutmaintaintheinboundparameterScreenasfollows:
7.FICUSTOMIZING
FinancialAccountingaAccountsReceivableandAccountsPayableaBusiness
Transactions>IncomingInvoices/CreditMemos>EDI>EnterProgramParameters
forEDIIncomingInvoice(T.CodeOBCE)
Makesuretomaintainpostingtypes,taxcodeandinvoicedoc.type.
UseKRwhennotusingpurchaseorderandREwhenusingpurchaseorder

AssignCompanyCodeforEDIIncomingInvoice
ByleavingthefieldCoCdblank,allcompanycodesareavailable.
AssignG/LAccountsforEDIProcedures(T.CodeOBCB)
P1180=Vendor
3100=CompanyCodeofreceivingcompany(ofcustomer)

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=47808864

2/4

5/9/2016

InterCompanyBillingAutomaticPostingToVendorAccount(SAPEDI)ERPOperationsSCNWiki

NOTE:
G/LaccountshouldnotbeconnectedtoCO.AssignTaxCodesforEDIProcedures(T.CodeOBCD)Itisnecessarytomatchtheoutputtaxfromthesalesordertotheinputtax.
Taxtype=OutputTax
Tx=InputTax
Accounting>FinancialAccounting>GeneralLedger>MasterRecords>Individual
Processing>Centrally(T.CodeFS00)
G/Laccountno.=accountnumberthatwasenteredintransactionOBCB(page24)
Taxcategorymustallowforinputtax.
MakesuremanualpostingisallowedfortheG/Laccount.("Create/Bank/Interest"
screen).
TEXT
InmanycasestheG/Laccounthasbeenconfiguredsothattextismandatory.Thiscould
beeitherHeaderTextorItemText.
HeaderText
Nospecialconfigurationisnecessary.Justentertextinthe"Headernote".Youmayuse
thefollowingaccesssequence.
ItemText
Itisnecessarytoimplementauserexitinordertofilltheitemtextfield.Detailed
instructionsarefoundinnote39503
8.MMCustomizing:
MakesuretheUnitofMeasure'sISOCodesareconfiguredcorrectly.
GeneralSettingsaCheckunitsofmeasurement(T.CodeCUNI)

OptionalMMCustomizing:
NOTE:Thisisonlynecessaryforlogisticsinvoiceverification.
MaterialsManagementaLogisticsInvoiceVerificationaEDIaEnterProgram
Parameters

Monitoring
ThereareseveraltransactionthatallowyoutomonitortheIDoc.Firstyouneedtoknow
theIDocnumber.YoucanseetheIDocnumberintheprocessingloginthe"Header
output"screeninthebillingdocument.
YoucanusetransactionWE02orWE05.EntertheIDocnumberintheselectionscreen.IfyouhaveanerrorintheIDoc,youcouldanalyzeitwithtransactionWE19

Nolabels

8Comments
KaiXu
HI,buddy,
Ican'tseeyourattachmentwithpicture,andit'sdifficulttounderstandwithoutfiguresandscreenshot.
Thanksforyourblog.

Guest
HiIcan'tseetheattachmenteither,itwouldbeveryuseful:)
Tryingtogetthisprocesstoworkforsalesorderwithintercompanybillingscenario.ItworksOKforIntercompanySTOwithINVOICMMIDOCbutnotyetsuccessfulwithINVOICFIIDOC.

KrishnanVinayakam
WhoeverhascreatedthisifitisAlanrightfromthebeginningreallyappreciatethankyou

ArvindPereira
Thisarticleveryverysystematic,wellwritten.

DennisLuce
CanyoutelluswhereBasispointedtheRFCdestinationtoinstep3forPLDforthecasewherebothcompaniesareinthesamesystem?Veryhelpfulblogthanks!

SAPBoss
Goodone.

SunnyL
Excellentarticle...Ijustwanttoknowifthereissomethingsimilarwhentheintercompanyinvoicehastobecancelled.

ShanthiJ
Goodone.Canyoupleaseexplainifbothcompaniesareinthesamesystem,howvendorpostinghappens?DowestillneedEDIconfig?Appreciateifyoucandifferentiateandexplainboth.

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=47808864

3/4

5/9/2016
ContactUs
Privacy

InterCompanyBillingAutomaticPostingToVendorAccount(SAPEDI)ERPOperationsSCNWiki
SAPHelpPortal
TermsofUse

LegalDisclosure

Copyright

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=47808864

FollowSCN

4/4

S-ar putea să vă placă și