SAP PO
Scenarios
Practiced
ALL the SAP PO scenarios implemented as A2A and
B2B
Transferer a local file to
a remote server
• Objective :- A File-to-File scenario to send a local file to a
remote server
• Components create
• SLD :- Generally to send a file from local server to
remote site I would need to develop a Software
component, technical system and a Business system
but since I did not have access to the SLD I have
considered both the sites as remote and used
Business Component.
Components Created
• ESR:- I have created all the Components such as
• This is the process I have followed in most of my scenarios while linking one
component to another
Data types Message Types Message mapping Service Interface
Operation mapping
• Two data types just general details like name, Id, address, contact info etc.
• Message types by assigning source datatype to source message type and
same follows for target.
• In Message mapping I have used a user defined function to lookup the
message id of the transaction and give it to the receiver end point payload.
• Service interface I have used asynchronies inbound and outbound process.
• In Operation mapping I have used the inbound and outbound service
interface.
Integration Directory (ID)
• The components created In Integration Directory are:
• Business Component:
• I had to create two Business component since I had no Business System created
in SLD, so I used two Business component for source and receiver.
• Communication channel :
• Created two communication channels as sender channel and receiver channel
• Sender Channel Adapter:
• File Adapter:
• Adapter type as File and sender
• Transport protocol as FTP
• Source directory as Dummy
• Server and port are dummy
• Receiver Channel Adapter:
• Adapter type as File and receiver
• Transport protocol as FTP
• receiver directory as Dummy
• Server and port are dummy
ID Integration Configuration(ICO) and TESTING
• ICO :
• Configured:
• Used Sender Business Component (Assumed as Business System)
And outbound service interface linked to it.
• Setup
• Inbound Processing I set Sender Communication channel.
• Receiver I set Receiver Business Component.
• Receiver Interface I set Operation Mapping.
• Outbound Processing I set receiver communication channel.
• Testing:
• I couldn’t test my file-to-file case because there are no Remote sites
that I could use in my scenario.
• I have tested the ICO in PIMON and monitored the test case.
Transferer data from a
Database to another Database
• Objective :- A JDBC-to-JDBC scenario to move data from one
database to another database.
• Components create
• SLD :- for this scenario I wanted to send a Data from one
database to another internally. For this I would have used
a Business system for both the Sender and receiver
interfaces but instead I am using Business components in
Integration directory.
Components Created
• ESR:-
Data types Message Types Message mapping Service Interface
Operation mapping
• datatypes I have created sender normally but for receiver used a JDBC
pattern to insert data into a database.
• Message types by assigning source datatype to source message type
and same follows for target.
• Service interface I have used asynchronies inbound and outbound
process.
• In Operation mapping I have used the inbound and outbound service
interface.
Integration Directory (ID)
• The components created In Integration Directory are:
• Business Component:
• I had to create two Business component since I had no Business System created in
SLD, so I created two Business component for source and Receiver.
• Communication channel :
• Created two communication channels as sender channel and receiver channel.
• Sender Channel Adapter:
• Adapter type as JDBC and sender.
• Transport protocol as JDBC 2.0.
• Gave driver and connection details as dummy.
• Wrote Query SQL statement and Update SQL statement.
• Receiver Channel Adapter:
• Adapter type as JDBC and receiver.
• Transport protocol as JDBC 2.0.
• Gave driver and connection details as dummy.
ID Integration Configuration(ICO) and
TESTING
• ICO :
• Configured:
• Used Sender Business Component (Assumed as Business System) And
outbound service interface linked to it.
• Setup
• Inbound Processing I set Sender Communication channel.
• Receiver I set Receiver Business Component.
• Receiver Interface I set Operation Mapping.
• Outbound Processing I set receiver communication channel.
• Testing:
• I couldn’t test my JDBC-to-JDBC case because I didn’t have any database to
create my test sender database table and test receiver database table.
• tested the ICO In PIMON and monitored the message(failed case).
Synchronies SOAP Adapter to use a web
service
• Objective :-
• Create a webservice to get serial number from local SAP
server and post the data to a non-local server.
• Configure a Synchronies communication.
• Create a webservice or use an existing one.
• Components create
• SLD :- for this scenario I did not use Business systems.
Components created
• ESR:-
• Created two datatypes source sender and source receiver.
• Message mapping was done so that the source sender and source
receiver are both mapped to the third datatype (assumed as a WSDL
webservice)
• For this Scenario I want a WSDL file as External definition and
unfortunately could not find it instead to simulate a Synchronies
communication I have imported the wsdl of Source Service Interface
and saved it in the system and used it as a ED.
• The source sender sends a service request and waits for the response.
• The Source receives picks up the response.
• Created a synchronies service interface for source and Target.
• Used the service interface to create an Operation mapping.
Integration Directory (ID)
• The components created In Integration Directory are:
• Business Component:
• I had to create two Business component since I had no Business
System created in SLD, so I created two Business component for
source and Receiver.
• Communication channel :
• Created two communication channels as sender channel and
receiver channel
• Sender Channel Adapter:
• SOAP Adapter: The Transport protocol is HTTP. Set a dummy URL
• Receiver Channel Adapter:
• SOAP Adapter: The Transport protocol is HTTP. Set a dummy URL
ID Integration Configuration(ICO) and
TESTING
• ICO :
• Configured:
• Used Sender Business Component (Assumed as Business System) And
outbound service interface linked to it.
• Setup
• Inbound Processing I set Sender Communication channel.
• Receiver I set Receiver Business Component.
• Receiver Interface I set Operation Mapping.
• Outbound Processing I set receiver communication channel.
• Testing:
• I couldn’t test my soap sender because I did not create or use
an existing web service.
HTTP_AAE Adapter
• Objective :-
• To build a Synchronies Scenario ware a non-local service asks
for a data In local server and gets a response in HTTP format.
• To create a Http service using eclipse.
Components Created
• SLD :
• Scenario was to get a Serial number from a local Http server and post the
response to a non-local Http server. I would have to uses a Business
System but created a Business component instead.
• ESR:
• Did not create any Components in ESR. The Idea is to use the Business
components created in Soap scenario for the Receiver system again.
• ID:
• Created two Business Components and used the service interfaces created
in the soap scenario again.
• Created communication channels for Source And Target.
• Adapters are HTTP for Both sender And Receiver channel
• Http URL is Dummy since I could not create a HTTP service in Eclipse.
ID Integration Configuration(ICO) and
TESTING
• ICO :
• configured :
• Used Sender Business Component (Assumed as Business System) And
outbound service interface linked to it.
• The service interface is the same one that i used in the Soap scenario.
• Setup
• Inbound Processing I added the Sender Communication channel.
• Receiver I added the Receiver Business Component.
• Receiver Interface I added the Operation Mapping(Dummy did not create
in the ESR).
• Outbound Processing I added the receiver communication channel.
• Testing: I could not test the scenario because I did not create a
http service to request for data and wait for the response.
Transferer data from a Database to another
Database
• Objective :-
• Get the data from a file in local system and sed the response
through a mail
Components Created
• ESR:- I have created all the Components such as
• Data type for the receiver I used an External definition to
minimize errors while picking up the data.
• Datatype for sender I have used just form ,to ,Subject and
context.
• Message types by assigning source datatype to source
message type and same follows for target.
• Service interface I have used asynchronies inbound and
outbound process.
• In Operation mapping I have used the inbound and outbound
service interface.
Integration Directory (ID)
• The components created In Integration Directory are:
• Business Component:
• I had to create two Business Components.
• Communication channel :
• Created two communication channels as sender channel and
receiver channel
• Sender Channel Adapter:
• Adapter type as File and sender
• Transport protocol as FTP
• Source directory as Dummy
• Server and port are also dummy
• Receiver Channel Adapter:
• Mail Adapter: Configured the SMTP URL and tested.
ID Integration Configuration(ICO) and
TESTING
• ICO :
• Configured:
• Used Sender Business Component (Assumed as Business System) And
outbound service interface linked to it.
• Setup
• Inbound Processing I set Sender Communication channel.
• Receiver I set Receiver Business Component.
• Receiver Interface I set Operation Mapping.
• Outbound Processing I set receiver communication channel.
• Testing:
• Tested the scenario In PIMON by Sending a payload.
• The receiver channel could not pickup the payload.
IDOC_AAE scenario
• Objective :-
• To Send an Idoc from our SAP system to a non-local server
that accept an idoc as a file.
• Components create
• SLD :-
• we are setting an idoc as a sender Business system is mandatory since
I don’t have access to SAP. I have extracted an existing idoc.
Components Created
• ESR:-
• I have imported an External definition to since I don’t have
access to sap system.
• I have used ED as both source and receiver message type and
created message mapping.
• Created asynchronies Service interface for source and target.
• Created an operation mapping using the service interfaces.
Integration Directory (ID)
• The components created In Integration Directory are:
• Business Component:
• I have created two business components but if I had used a Idoc I
would have used a business system instead.
• Communication channel :
• Created sender and receiver communication channel
• Configured the sender CC with file adapter but if I had used a idoc I
would have used Idoc adapter instead.
• Configured the reviver CC with file adapter.
ID Integration Configuration(ICO) and
TESTING
• ICO :
• configured :
• Used Sender Business Component (Assumed as Business System) And
outbound service interface linked to it.
• Setup
• Inbound Processing I set Sender Communication channel.
• Receiver I set Receiver Business Component.
• Receiver Interface I set Operation Mapping.
• Outbound Processing I set receiver communication channel.
• Testing:
• testing this scenario would be no different than testing a file-to-file
scenario. I used file adapter for both communication channels since
I did not have access to SAP system IDOC.