Você está na página 1de 5

8/5/2015

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

gabrielsagayaselvam.panneerselvam

StandardAdapterFrameworkmodules[AF_Modules]
inPI7.1Part1
PostedbyGabrielSagayaSelvamPanneerSelvamingabrielsagayaselvam.panneerselvamonDec7,
20098:13:21AM
Share

Tweet

0 Like

InthisWeblogIamgoingtoexplainthevariousSAPprovidedstandardAdapterFrameworkmodules(AF_Modules)
shippedwiththemoduleprocessorinProcessIntegrationPI7.1oncetheCommunicationchannelhasbeencreated
alongwiththebusinesscases.ThisblogisaimedatallimportantAdapterFrameworkmoduleswiththeexamplesina
singleplace.

Wehavetheoptionofspecifyinggenericmodulesforeveryadapterthatisconfiguredinthecommunicationchannel.
Thesemodulesequiptheadapterswithadditionalfunctions.Themodulesthatarethebasisoftheadapter
configurationontheParameterstabpagearelocatedinthemoduleprocessorandaredisplayedinthemodule
processoronceacommunicationchannelhasbeencreated.WedefinethemoduleprocessorontheModuletab
page.Alsowehavethesetofpredefinedadaptermodulesfortheparticularadapters.ThisDocumentationlink
(http://help.sap.com/saphelp_nwpi711/helpdata/en/a4/f13341771b4c0de10000000a1550b0/content.htm)willgivethe
clearpicturehowtoextendthemodulechainfortheAdaptersinthemoduleprocessor.Belowisthelistofstandard
modulesforAdapterFrameworkprovidedbySAP.

StrictXML2PlainBean
XMLAnonymizerBean
PayloadZipBean
TextCodepageConversionBean
DynamicConfigurationBean
MessageTransformBean
XiHeaderValidationBean(ANewStandardAdapterModuleinPI7.1)0.1.RequestResponseBean
0.2.ResponseOnewayBean
0.3.RequestOnewayBean
0.4.WaitResponseBean
0.5.NotifyResponseBean

Wewillgothrougheachmodulewiththeirbusinesscases

<u>1)PayloadSwapBean</u>

AstandardmoduleusedtoreplacetheapplicationpayloadofXImessagethatholdsthedatawithanotherpayload
whichisappendedtothemessageasanattachment.

<u>Businesscase</u>

Wecanusethismoduleinthemailadaptersformailswithattachments.

http://scn.sap.com/people/gabrielsagayaselvam.panneerselvam/blog/2009/12/07/standardadapterframeworkmodulesafmodulesinpi71part1

1/5

8/5/2015

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

IntheaboveSenderMailCommunicationchannel,theswapmoduleforthePayloadSwapBeanhas2parameters
fromtheMIMEheadersinordertoreplacetheapplicationpayloadbytheattachment.Theyare*swap.keyName
*wheretheattributeofpayloadnameisenteredand*swap.keyValuewhichholdsthevalueofattribute.Awikionfile
tomailscenariowillclearlyexplaintheusageofPayloadSwapBean.</p><p></p><p>_2)
StrictXML2PlainBean_*

AstandardmoduleusedforconvertinganXMLdocumentinthemainpayloadofXImessagetotextformat.Withinan
XMLdocument,differentrecordsettypescanbedisplayedeitherseparatelyorwithafixedfieldlength(mixeddisplay).
ThestructureoftheXMLdocumentischeckedbasedontheentriesyoumakeinthemodule.

<u>BusinessCase</u>

WecanusethemoduleinthereceiverFile/FTPadapterforconvertingXMLformattopuretextformat.

IntheaboveReceiverFileAdapter,theconvertmoduleforStrictXml2PlainBeanhas2parametersinwhich
singleRecordTypewhereallrecordsettypesareconvertedinthesamewayand<RecordType>.fieldSeparator
convertstheXMLtoasteriskseparatedfile.WecanfindmoreinformationabouttheusageofStrictXml2PlainBeanin
thisblog( XmltoTextconversionmadeeasybyStrictXml2PlainBean)

<u>3)XMLanonymizerBean</u>

AstandardmoduleforanonymizeXMLelementsandattributesbyremovingtheirnamespacesornamespaceprefixes
fromtheXMLdocumentofmainpayload.

http://scn.sap.com/people/gabrielsagayaselvam.panneerselvam/blog/2009/12/07/standardadapterframeworkmodulesafmodulesinpi71part1

2/5

8/5/2015

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

<u>BusinessCase</u>

Wecanusethismoduleintheadaptersthatcanbeextendedinthemoduleprocessor.Alsothismoduleisusedto
havethenamespacewithoutprefixortodefineaparticularnamespaceprefixforeachnamespace.Alsowecan
changetheencodingattributeofXMLdeclaration.

InabovereceiverJMSAdapter,TheremovemoduleforXMLAnonymizerBeanhas2parametersthat
anonymizer.acceptNamespaceshastosetthenamespacewithoutaprefixandanonymizer.quotehasthecharacter
tobeusedtoenclosetheattributevalues.ForbetterunderstandingofXMLAnonymizerBean,Pleasevisitthisblog
( RemovenamespaceprefixorchangeXMLencodingwiththeXMLAnonymizerBean).

<u>4)PayloadZipBean</u>

Astandardmoduleusedforcompressingoneormorepayloadsorextractingthepayloadsfromacompressedfile.

<u>BusinessCase</u>

Wecanusethismoduleinanyadaptersthatcanbeextendedinthemoduleprocessor.Ifwehaveamultiplefileswith
largesizetobeprocessed,thismodulecanreducethesizeofthefileandsuccessivelyreducetheloadonthePI
Server.

IntheabovereceiverFileAdapter,ThezipmoduleforthePayloadZipBeanhastheparameterzip.modetospecifythe
processingmode(zip,zipAllandunzip)forthepurposeofcompressinganddecompressingthefiles.Ablogon
PayloadZipBean( WorkingwiththePayloadZipBeanmoduleoftheXIAdapterFramework)willclearlyexplainthe
usage.

http://scn.sap.com/people/gabrielsagayaselvam.panneerselvam/blog/2009/12/07/standardadapterframeworkmodulesafmodulesinpi71part1

3/5

8/5/2015

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

<u>5)TextCodepageConversionBean</u>

AstandardmoduleusedforswappingthecodepageofthemainpayloadoftheXImessageandconvertthecontent
usingthenewcodepage

<u>BusinessCase</u>

IfareceiverusesadifferentcodepagetotheonespecifiedintheXIpayload,wecanusethismoduletoswapthe
codepageofthemainpayloadoftheXImessageandconvertthecontent.Anexampleisconvertinganonutf8
payloadintoutf8payload.Wecanusethismoduleinanyadaptersthatcanbeextendedinthemoduleprocessor.

IntheaboveReceiverFileAdapter,TheconvertmodulefortheTextCodepageConversionBeanhastheparameter
nameasConversion.charsettoconvertanonUTF8textpayloadintoutf8payload.Wecanfindmoreinformation
aboutTextCodepageConversionBeanfromthissapnotes(https://service.sap.com/sap/support/notes/960663).

<u>6)DynamicConfigurationBean</u>

AstandardmoduleusedforprocessingthedynamicconfigurationheaderthatisusedtorepresenttheAdapter
SpecificMessageAttributes(ASMA's).<u></u>

<u>BusinessCase</u>

DynamicConfigurationBeanallowsusto
a)Insert/DeletesomespecificASMA's
b)ReadsomeXImessageheaderproperties

c)WritesomeASMA'sintoXImessageheaderproperties

Wecanusethismoduleinanyadaptersthatcanbeextendedinthemoduleprocessor.

!https://weblogs.sdn.sap.com/weblogs/images/251828887/DynamicConfigurationBean.JPG|height=366|alt=DynamicConfigurationBean|width=700|src=https://weblogs.sdn.sap.com/weblogs/im
</body>

8138Views

AverageUserRating

MyRating:

(5ratings)

Share

Tweet

0 Like

http://scn.sap.com/people/gabrielsagayaselvam.panneerselvam/blog/2009/12/07/standardadapterframeworkmodulesafmodulesinpi71part1

4/5

8/5/2015

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

0Comments
Therearenocommentsonthispost

SiteIndex
Privacy

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

http://scn.sap.com/people/gabrielsagayaselvam.panneerselvam/blog/2009/12/07/standardadapterframeworkmodulesafmodulesinpi71part1

FollowSCN

5/5

Você também pode gostar