You are on page 1of 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.1Part2
PostedbyGabrielSagayaSelvamPanneerSelvamingabrielsagayaselvam.panneerselvamonDec7,
20098:13:12AM
Share

Tweet

0 Like

Thisweblogiscontinuationofthe StandardAdapterFrameworkmodules[AF_Modules]inPI7.1Part1.
InthisWeblogIamgoingtoexplainremaininglistofSAPprovidedstandardAdapterFrameworkmodules
[AF_Modules]shippedwiththemoduleprocessorinProcessIntegrationPI7.1

7)MessageTransformBean

AstandardmoduleusedforcallingthetransformationfunctionsandenablingconversionofXMLstructureto
flatstructureandviceversa.Ithas2conversiontypesasgivenbelow.
a)StructXML2Plainforsimpleconversion
b)SimpleXML2Plainforcomplexconversion
For both sender and receiver channel, we can choose either simple or complex transformation. In simple
transformationallrowsoftheinputfilehavethesamestructure.Ifeachrowoftheinputfilehasadifferentstructure,
then it is referred to as complex transformation. All transformations can handle CharacterSeparatedValue (CSV)
structuresandstructureswithfixedfieldlength.

BusinessCase
MessageTransformBeanisusedtoconvertflatfileintoxmlstructurewhetheritissimpleorcomplex.WecanuseXSLT
mappingdirectlyintheadaptermodule.Wecanusethismoduleinthesenderandreceivercommunicationchannels.

IntheaboveReceiverFileAdapter,ThePlain2XMLmodulefortheMessageTransformationBeanhaslistof
parameter names as Transform.class has the value as Converison and Transform.contentType has the value
charset=utf8 and xml.conversionType has the value either StructPlain2XML/SimplePlain2XML and other FCC
Configuration parameter names. Please view
Solve Key Field Problem using StructPlain2XML in
MessageTransformationBean!!forbetterunderstandingofMessageTransformBean

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

1/5

8/5/2015

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

8)XiHeaderValidationBean(ANewAdaptermoduleinPI7.1)

AstandardmoduleusedtochecktheXIheaderparametersonthebasisofparametersthatweconfiguredin
thecommunicationchannel.

BusinessCase

Wecanusethismoduleonlyinsendercommunicationchannels.WhenevertheIntegrationServer
transformstheincomingsenderprotocolmessageintoXImessageformat,theheadervalidationmodulevalidatesthe
XIheaderparametersagainsttheparametervaluesweconfigureinthecommunicationchannel.Inordertousethis
module,weneedtoselectoptionValidationintheAdapterinsenderagreement.

In above sender File adapter, validate module for the XiHeaderValidationBean has the list of parameter
names as SenderService, Interface, InterfaceNamespace and ReceiverService has corresponding Values of
sender and receiver Business component and sender interface and sender interface namespace that should be
validated by Adapter Engine. This SAP help Documentation will give the clear picture about the usage of
XiHeaderValidationBean.

9)RequestResponseBean

Astandardmoduleusedforconvertingasynchronousrequestmessagetoasynchronousrequestmessage.If
thethreadthatentersthemoduleispartofatransaction,thetransactionissuspended.

BusinessCase
WecanusethismoduleforanAsync/syncbridgeinthesenderandreceiverJMSAdapters.Ifweareusingthe
moduleinasenderadapter,itcallsthemessagingsystem.Ifweareusingthemoduleinareceiveradapter,itcallsa
receiver.IfweconfigurethemoduleinpassThroughmode,itforwardsthemessagetotheadaptermodules.ThisWiki
willclearlyexplaintheuseofRequestResponseBean.

10)ResponseOnewayBean
Astandardmoduleusedforconvertinganinboundmessagetoanasynchronousmessage.Ifthethreadthat
entersthemoduleispartofasuspendedtransaction,thetransactionisresumed.

BusinessCase
Wecanusethismoduleforanasync/syncbridgeforsenderandreceiverJMSAdapters.Usingthesemodules
[RequestResponseBeanandResponseOnewayBean],wecanhavefileadapterbehaveinsynchronousfashion.Ifwe
areusingthemoduleinasenderadapter,itcallsthereceiver.Ifweareusingthemoduleinareceiveradapter,itcalls
amessagingsystem.Theinbounddatainthemoduleisapplicationresponsemessages.

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

2/5

8/5/2015

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

IntheabovesenderFileAdapter,requestmodulefortheRequestResponseBeanhastheparameternameas
passThrough which has the value as true in order to pass the message to next module (response). The response
module for the ResponseOnewayBean has the parameter names as receiverServiceand receiverChannel which
hasthecorrespondingvalueofReceiverBusinesssystemandReceiverCommunicationchannelinordertosearch
for collaboration agreement. Please go through this wiki for better understanding of RequestResponseBean and
ResponseOnewayBean

11)RequestOnewayBean
Astandardmoduleusedforconvertinganinboundmessagetoanasynchronousmessage.Ifweareusing
thismoduleinasenderadapter,itsendstheasynchronousmessagetothemessagingsystem.Ifweareusingthis
module in a receiver adapter, it sends the asynchronous message to a receiver. If we configure the module in
passThroughmode,itforwardsthemessagetotheadaptermodules.

BusinessCase
WecanusethismoduleforaSync/Asyncbridgeforsenderandreceiverchannels.

12)WaitResponseBean
A standard module waits for a response message. If the response message arrives in the specified time
period,itisforwarded.Iftheresponsemessagedoesnotarriveinthespecifiedtimeperiod,anexceptionisset.

BusinessCase
WecanusethismoduleforaSync/Asyncbridgeforsenderandreceiverchannels.

InaboveReceiverFileAdapter,therequestmodulefortheRequestOnewayBeanhastheparameternameas
passThrough that has the value true in order to forward the message to next module. The wait module for the
WaitResponseBeanisalsoincludedinordertowaitfortheresponsemessage.

13)NotifyResponseBean
Astandardmoduleusedforsendingamessageasaresponsetoanapplicationmessage

BusinessCase
WecanusethismoduleforaSync/Asyncbridgeforsenderandreceiverchannels.

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

3/5

8/5/2015

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

In the above Sender File Adapter, module key wait for the NotifyResponseBean is inserted after the
DynamicConfigurationBeanmodulehavingtheparameternamekey.0andvalue.0towritethecorrelationIDtothe
attribute before message is sent to the waiting process. For better understanding of this RequestOnewayBean and
WaitResponseBeanandNotifyReponseBean,Pleasevisit Sync/AsyncscenarioswithoutBPM.

8074Views

AverageUserRating

MyRating:

(3ratings)

Share

Tweet

0 Like

4Comments
sachinkotalwarDec16,20099:29AM

quiteusefultohavealistofallthemodulesandtheirusageatoneplacesothiswillbeareference
point!
Niceblog.
Sachin
Like(1)

DeepakShahFeb6,201110:50PM

HiGabriel,
Thanksalotforsuchausefulblog.
Regards,
Deepak.
Like(0)

divyeshvasaniMar20,201410:09AM

Thanksforconsolidatingallmodulesandrelevantblogsinoneplace...

Divyesh
Like(0)

AaronMyersAug15,20148:14PM

Wikilinkforsection9hasmovedto:

http://wiki.scn.sap.com/wiki/display/XI/Using+Request+Response+Bean+Module+in+FILE+Adapter
Like(0)

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

4/5

8/5/2015

SiteIndex
Privacy

StandardAdapterFrameworkmodules[AF_Modules]...|SCN

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

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

FollowSCN

5/5

You might also like