You are on page 1of 11

1 Ms Siguienteblog maldo.claudio@gmail.

com Escritorio Salir

SAPDataMediumExchange(DME)
HowtoBuildpaymentinterfacesusingSAP'sDataMediumExchangeEngine(DMEE).

SUNDAY,OCTOBER16,2011 POPULARPOSTS

DataMediumExchange
StandardDMEEExitTemplates (DME)Configuration

STANDARDDMEEEXITTEMPLATES

FUNCTIONGROUP:DMEE7
DMETablesUsedforMapping

DMEE_EXIT_TEMPLATE
DataMediumExchange
DMEE_EXIT_TEMPLATE_EXTENDED (DME)Mapping
DMEE_EXIT_TEMPLATE_IN_CHECK

DMEE_EXIT_TEMPLATE_IN_MAPPING

Postedbyessmanat1:41PM 8comments

Recommend this on Google Linkstothispost DataMediumExchange


(DME)ExecutionExample

DMETablesUsedforMapping
StandardDMEEExitTemplates
ThestandardtablestructuresbelowareusedformappingintheDMEE.
OutboundDMEPaymentProcess
Note:InordertouseotherSAPtablesUserExitsarerequired.

DMETablesUsedforMapping: Therewasanerrorinthisgadget

FPAYHPaymentmedium:Paymentdata SEARCHTHISBLOG
Search
FPAYHXPaymentMedium:PreparedDataforPayment

FPAYPPaymentmedium:Dataonpaiditems LINKS
SAPFANS
DMEE_PAYDDMEE:StructureforNotetoPayeeData SAPHelpPortal
Postedbyessmanat1:17PM 1comments ITToolbox
Recommend this on Google Linkstothispost ERPGENIE.COM
SAPPress
CRMAnalytics
ITWhitepapers
OutboundDMEPaymentProcess
SAPAnswers

ManualOutboundDMEPaymentProcess: SAPConfig
1.)PaymentrunisexecutedinSAPviatransactionF110.. SAPERPBooks
2.)FileisgeneratedinbankspecificformatandstoredinSAPDMEAdministrator. SAPERPJobs
3.)Fileismanuallysavedtolocaldirectory. SAPLand
4.)UserConnectsusingbanksoftwareoratsecurewebsite.
SAPNewsletter
5.)PaymentFileisuploadedtobank.
6.)Paymentisprocessedanddistributedtopayee. SAPSALEMODULE
SAPTCODE
AutomaticOutboundDMEPaymentProcess: SAPUpdate
1.)PaymentrunisexecutedinSAPviatransactionF110..
2.)FileisgeneratedinbankspecificformatandstoredinUnixDirectory.
FOLLOWERS
3.)Fileisencrypedandftpedtosecurelocationspecifiedbybank.
4.)Paymentisprocessedanddistributedtopayee. Seguidores(5)

Postedbyessmanat12:52PM 1comments

+1 Recommend this on Google Linkstothispost Seguir


TUESDAY,OCTOBER11,2011 BLOGARCHIVE
2011(6)
DataMediumExchange(DME)Configuration October(6)
StandardDMEEExitTemplates

RelevantAcronyms:
DMETablesUsedforMapping
PMWPaymentMediumWorkbench OutboundDMEPaymentProcess
DMEDataMediumExchange
DataMediumExchange(DME)
DMEEDateMediumExchangeEngine Configuration

DataMediumExchange(DME)
SummaryofKeyPoints:
Mapping
TransactiontocreateDMEtree:DMEE
DataMediumExchange(DME)
EachDMEtreemustcontainaRootlevel.
ExecutionExample
ADMEtreemustbeactivatedbeforeitcanbeused.

AllDMEFormattreesforpaymentsaredrivenbySAPstandardprogramSAPFPAYM.
EachfieldinaDMEtreeisnamedanElement.
FOLLOWBYEMAIL
AnElementssubfieldiscalledanAtoms.Theseatomscanbeusedtoaddadditionalflexibilitytoafield.
Thereare5maintypesofattributeswhichcanbeassignedtoanElementorAtom. Emailaddress... Submit
Constant
StructureField

ReferenceTreeNode
Aggregation
ExitModule

EachnodeoftheDMEtreecancontainIFstatementsintheformofconditions.

DataMediumExchange:Configuration
InmanyinstancesbanksinEuropeandAsiaPacdonothavestandardfileformatsandEDIinterfacesarenotutilized.This
wasthechosenmethodsinceeachofthesebanksrequirespaymentstobesentintheirownuniquefileformats,whichhave

notbeenstandardized.UsingtheDMEEweareabletoeasilycreate,generate,andmaintainfilesforeachofthesebanks
specificrequirements.BelowaretherequiredstepstosuccessfullyconfiguretheDMEintheSAPsysteminorderto
generateapaymentfileusingtheF110transaction.

CreatePaymentMediumFormat:SPRO
FinancialAccountingNewAccountsReceivableandAccountsPayableBusinessTransactionsOutgoingPayments
AutomaticOutgoingPaymentsPaymentMediaMakeSettingsforPaymentMediumFormatsfromPaymentMedium
WorkbenchCreatePaymentMediumFormats

InthisstepoftheconfigurationthePaymentmediumformatsneedtobecreatedforeachDMEEtreeconfigured.Thenew
formatmustcontainthesamenameastheDMEEformattree.WethenchoosetheformatoutputPaymentmediumWithout
DocstodesignateonlythepaymentfilewillbegeneratedandthetypeFiletosignalaflatfilewillbegeneratedratherthan
anIDocorXMLfiletype.Next,underProgramControl,settheMappingusingDMEengineindicator,whichlinkstheformat

tothecustomDMEEobject.Last,theCompanyCodecheckboxisselectedwhichinstructstheprogramtocreateafilefor
eachcompanycodeinvolvedinthepaymentrun.

AssignPaymentMediumFormattoPaymentMethodatCountryLevel:TransactionFBZP
FinancialAccountingNewAccountsReceivableandAccountsPayableBusinessTransactionsOutgoingPayments

AutomaticOutgoingPaymentsPaymentMediaMakeSettingsforPaymentMediumFormatsfromPaymentMedium
WorkbenchAssignPaymentMediumFormatandNotetoPayeetoPaymentMethod

ForeachcountryandeachpaymentmethodthePaymentMediumWorkbenchmustbeassigned.Thisisdonebyselecting
thecountryandthecorrespondingpaymentmethodwhichwillbeusingtheDataMediumExchange(DME).Theoption

buttonUsePaymentMediumWorkbenchisthenselectedandthePaymentMediumFormat,whichwascreatedinthe
previousstepandwhichalsopossessesthesamenameastheDMEfilestructureisassignedintheformatfield.
CreateVariant:TransactionSA38

SystemServicesReporting(EnterProgram)GotoVariants

ForpaymentmediumprogramsusingthepaymentmediumworkbenchorfortheDMEEinparticular,variantsmustbecreated
hereratherthandirectlyinthepaymentprogramviatransactionF110.

FollowthemenupathorenterthetransactioncodeandentertheprogramnameSAPFPAYM.Thisisthestandardpayment
programwhichisbeingusedincombinationwithourcustomfilestructurestogenerateafileinthebanksspecifiedformat.
OncetheprogramnameisenteredselectGotoVariantswhichwillthendisplayascreenwherethenewvariantcanbe

namedorwhereanexistingvariantcanbealtered.Auserdefinednamecanthenbeenteredandcreated.

Next,thestandardselectionscreenfortheprogramSAPFPAYMwillappearwheretheparametersforthefileformatcanbe
enteredandsaved.ThisiswherethestandardprogramisinstructedtouseadesignatedPaymentMediumandalsowhere

tostorethefilegeneratedfromthepaymentrun.Filescanbestoredontheserver,toalocationontheusersdesktoporif
leftblanktheywillbesavedinternallywithinaTemSefortheF110transaction.

Also,ifrequireddynamicselectionscanbeenteredforeachvariant,inwhichtheusercanselecthousebanks,accountids

andpaymentmethodsapplicabletotheprogram.

AssignVariant:TransactionOBPM4
FinancialAccountingNewAccountsReceivableandAccountsPayableBusinessTransactionsOutgoingPayments

AutomaticOutgoingPaymentsPaymentMediaMakeSettingsforPaymentMediumFormatsfromPaymentMedium

WorkbenchCreate/AssignSelectionVariants

Last,thevariantcreatedpreviouslymustbeassignedtotherelevantcompanycodes.ThePaymentMediumFormatis
selectedandthecompanycodeswillappearinthewindowtotheright.Allofthecompanycodeswillappearforthegiven

country,becauseearlierweassignedthisformattoaspecifiedcountryandpaymentmethod.Whenweselectthefileformat

itbringsupallthecorrespondingcompanycodesforthatcountryandpaymentmethodcombinations.Thevariantthatwas
previouslycreatedshouldnowbeassignedtothecompanycodewhichwillbeusingtheDMEtogeneratepayments.
**Documentationfromhttp://help.sap.com/wasusedtosourceportionsoftheaboveinformation

ThissiteisinnowayaffiliatedwithSAPAG.

Postedbyessmanat4:43PM 5comments
Recommend this on Google

Labels:DataMediumExchange,DataMediumExchangeEngine,DME,DMEE,SAP

SUNDAY,OCTOBER9,2011

DataMediumExchange(DME)Mapping

Transaction:DMEE

TreeType:PAYM

ThepurposeofmappingistoreconstructafilefromtheSAPsystem,whichthenbankcanthenusetoprocesspayments.

Theprocessofmappingbeginswiththebankfirstprovidingafileformat.Theformatdocumentsandfileexamplesarethen

usedtomapthefieldsinSAP.

OncecompletethemappingisattachedtotheSAPAccountsPayableconfigurationsoanoutputfilecanbegenerated

duringapaymentrun.

FileStructure:

Thefirsttwolevelsaremandatory,andthelevelsbeneaththedottedlinedifferdependingonthestructureofthebankfile
format.Thisabilitytodefinethevarioussubnodeswithinthepaymentfileallowstheusertodefinethestructureofthefile

accordingtothebanksspecifications.
DMEETree:Properties

Root:

HeaderRecord:

PaymentRecord:

TrailerRecord:
Sorting:

NodeTypes:

SegmentGroup

Segmentgroupsareusedforarrangingsegments.Segmentgroupscanbefollowedbythesenodes:segmentgroupsor
segments.Inmostcases,anewlevelinaDMEEtreebeginswithasegmentgroup.

Segment
Asegmentrepresentsarecordinthetargetfile.Inanactiveformattree,eachsegmentmusthaveatleastonecomposite
oroneelementasasubnode.Ifyoucreatedasegmentthatcontainsonlysegmentsandsegmentgroupsassubnodes,you

canconvertthenodetoasegmentgroup.

Composite

Youcreateacompositeforthepurposeofgroupingelements.Suchagroupingislogicalif,forexample,onecondition
appliestoseveralconsecutiveelements.

Element
Anelementrepresentsafieldinthetargetfile.Foreachelement,youspecifywithwhichvalueorfromwhichsourcefieldthis

filefieldistobefilled.Ifmorethanonemappingruleappliestoanelementiftherulesaredependentonconditionsorif

differentpartsoftheelementaretobefilledfromdifferentsourcesthenyoushoulddefineseveralatomsassubnodesof
theelement.

TechnicalNode

Atechnicalnodeisanelementthatisnotoutputtothetargetfile.Itstoresvaluesthatareusedinothertreenodes

(elements,atoms)by
referencetothetechnicalnode.Forthisreason,atechnicalnodegenerallycontainsareferenceID.Ifyouwishtooutputthe

contentsofthetechnicalnodetothetargetfile,thenyoucanconvertthenodetoanelement.

Atom

Youneedtocreateanatomwhenyoudefinemorethanonemappingruleforanelement.

SelectedNodeforDetailView

Thisnodewasselectedbydoubleclickingit.Thedetailsdisplayedonthetoprightbelongtothisnode.Alltoolbar
operations(delete,copy,andsoon)applytothisnode.Incontrast,alloperationsthatyoucanselectfromthecontext

sensitivemenuwitharightmouseclickrefertothenodewhichiscurrentlyselectedbyasingleclick.

ReferenceIDofNode

AnodethatcontainsareferenceIDcanbereferencedfromothernodesintheformattree.Youcanspecifysucha
referencewhenyoudefinemappingrules,conditions,oraggregation.YoumustassignuniquereferenceIDs(withinthe

tree).WhenyoudeleteanodethatcontainsareferenceID,besurethatnoreferencestothisnodeexist.

Referencetoanothernodeexists

Thisnodecontainsareferencetoanothernode.Movingthenodecouldresultininconsistenciessincecertainreferencesare
notpermittedinpartsofthetree.

**Documentationfromhttp://help.sap.com/wasusedtosourceportionsoftheaboveinformation.

DataElement:

Atom:
DataElement:

Tabs:
1.Attributes
a.AttributeTypes

ConstantExample:

StructureFieldExample:

ReferencetoTreeNodeExample:

AggregationExample:

ExitModuleExample:

ConditionsExample:
**Documentationfromhttp://help.sap.com/wasusedtosourceportionsoftheaboveinformation.

ThissiteisinnowayaffiliatedwithSAPAG.

Postedbyessmanat8:03PM 2comments

Recommend this on Google Linkstothispost

MONDAY,OCTOBER3,2011

DataMediumExchange(DME)ExecutionExample

Dependency:CreateInvoiceusingpaymentmethodlinkedtoDME.

EXECUTEPAYMENTRUNandDOWNLOADFILE:

TransactionF110:
RunDate:EnterTodaysDate
Identification:Enterauserdefinedvalue.
Hitenter.

ClickontheParametersTab:

EnterCompanyCode
EnterPaymentMethodlinkedtoDME.
NextP/date:Enteranydateinthefuture.
EntrVendor

ClickSave:
ClickonStatustab,andthenclicktheStatusButton.
ClicktheProposalButton:

ClickEnter:

The"CreatePaymentMedium"checkboxtellstheprogramtogeneratethefile.
Inthiscasewearegeneratingthefilefromthepaymentproposal.Thisisusuallyleftuncheckeduntilthepaymentportionof

therun.

Proposalhasbeenscheduled
ClickStatusagainandbuttonsnexttothestatusbuttonwillappear.

ClickPmtRun:

Paymenthasbeenscheduled.

ClickStatusAgainandthebuttonswillreappear.
ClickPrintoutandapopupmessagewillappear.

Clickenter:
ThePrintjobisscheduled,andthenpressstatusagain.

NowNavigatetoPath:EnvironmentPaymentMediumDMEAdministration
ClickonlinewithProposalCheckbox(3 rd Column)
*Note*Ifyougeneratedthefilefromthepaymentinsteadoftheproposal,thenchoosethelinewithouttheproposal
checkbox.

SavetoLocalDirectoryandclickenter.

Thefilegeneratedfromtheprogramwillnowbeinthelocaldirectoryyouhavespecified.

Thismethodismostlyusedtotestthefileformatsbefore"golive."

Inmostcases,ina"live"environment,thefilewillbegeneratedtoasecurelocationsuchasaunixdirectory.Thenencryped
andftpedtothebank.

TherequireddirectorylocationcanbedeterminedwhensettingupthevariantforSAPprogram"SAPFPAYM."

ThissiteisinnowayaffiliatedwithSAPAG.

Postedbyessmanat9:25PM 1comments

+1 Recommend this on Google Linkstothispost

Home

Subscribeto:Posts(Atom)

PictureWindowtemplate.PoweredbyBlogger.

You might also like