0% found this document useful (0 votes)
1K views5 pages

7.standard Adapter Framework Modules (AF - Modules) PDF

Standard Adapter Framework modules [AF_Modules] in PI 7 - Part 1. We have the option of specifying generic modules for every adapter that is configured in the communication channel. These modules equip the adapters with additional functions.

Uploaded by

ankaiah_yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views5 pages

7.standard Adapter Framework Modules (AF - Modules) PDF

Standard Adapter Framework modules [AF_Modules] in PI 7 - Part 1. We have the option of specifying generic modules for every adapter that is configured in the communication channel. These modules equip the adapters with additional functions.

Uploaded by

ankaiah_yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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

You might also like