5.quick overview - b2b scenario (end2end) with se...pdf

6
Getting Started Newsletters Store Products Services & Support About SCN Downloads Industries Training & Education Partnership Developer Center Lines of Business University Alliances Events & Webinars Innovation Log On Join Us Hi, Guest Search the Community Activity Communications Actions Browse Process Integration (PI) & SOA Middleware 0 Tweet 0 In my blog about the Seeburger EDIAdapters for SAP PI I ( http://scn.sap.com/blogs/seeburger_edi ) , I have been asked for some tutorial to configure a simple end to end B2B Scenario with Seeburger and SAP PI. Although this is not a new topic, I decided to setup a scenario on a 7.3.1 environment with Dual Stack (using the Standard Configuration) since there might still be some consultants that are relatively new to the topic. I have tried not just to provide here a lot of screenshots without any explanation, but also to explain the basic concept behind the scenario and the handling of EDIfiles. This makes this post very long, but I hope it helps to get a good understanding. The "Repository settings" can be found at the end of the blog" but it is recommended to setup these objects first as they will be needed to do the DirectoryConfiguration. ScenarioDescription: In this scenario, there are 4 Parties/Entities involved 2 Customers that send ediorders in the format ANSIX12_850_V4010, called "ElectronicWorld" and "GlobalElectronics" 1 ServiceProvider called "RetailHub" which sends data for both customers through one AS2Connection 1 Supplier, called "Seeburger" that receives the orders from both partners and processes these orders in the SAP Backend. In addition, I have setup a FilePort, using the same parameters in the ModuleChain like the AS2Channel, which allows for a manual reprocessing of any received file. Therefor the ModuleChain also includes a parameter to save the OriginalEDIFile. In general all receiving scenarios follow a 2 Step approach Step 1: Technical Setup to receive file Receiving the files via AS2 or FilePort Analyzing the files (Classifier, BIC, Splitter) and forwarding each single message to the corresponding business partner (according to the SenderID in the ISASegment) Step 2: Processing the data according to partner/ messagetype information for each businesspartner, an own party is existing with a SplitChannel for each messagetype. Quick Overview B2B Scenario (End2End) with Seeburger EDIAdapter Posted by Stefan Hilpp in Process Integration (PI) & SOA Middleware on 13Jan2013 23:59:29 Share 3 Like

Upload: ankaiahyadav

Post on 19-Dec-2015

17 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 5.Quick Overview - B2B Scenario (End2End) with Se...pdf

12/6/2014 Quick Overview  B2B Scenario (End2End) with Se... | SCN

http://scn.sap.com/community/piandsoamiddleware/blog/2013/01/13/quicksetup 1/6

Getting Started Newsletters Store   

Products Services & Support About SCN Downloads

Industries Training & Education Partnership Developer Center

Lines of Business University Alliances Events & Webinars Innovation

Log On Join UsHi, Guest Search the Community

Activity Communications Actions

Browse

Process Integration (PI) & SOA Middleware 

0 Tweet 0

In my blog about the Seeburger EDIAdapters for SAP PI I (  http://scn.sap.com/blogs/seeburger_edi ) , I have beenasked for some tutorial to configure a simple end to end B2B Scenario with Seeburger and SAP PI. Although this is nota new topic, I decided to setup a scenario on a 7.3.1 environment with Dual Stack (using the Standard Configuration)since there might still be some consultants that are relatively new to the topic. I have tried not just to provide here a lot of screenshots without any explanation, but also to explain the basic conceptbehind the scenario and the handling of EDIfiles. This makes this post very long, but I hope it helps to get a goodunderstanding. The "Repository settings" can be found at the end of the blog" but it is recommended to setup these objects first as theywill be needed to do the DirectoryConfiguration.  ScenarioDescription:In this scenario, there are 4 Parties/Entities involved 2 Customers that send ediorders in the format ANSIX12_850_V4010, called "ElectronicWorld" and"GlobalElectronics" 1 ServiceProvider called "RetailHub" which sends data for both customers through one AS2Connection 1 Supplier, called "Seeburger" that receives the orders from both partners and processes these orders in the SAPBackend. 

In addition, I have setup a FilePort, using the same parameters in the ModuleChain like the AS2Channel, whichallows for a manual reprocessing of any received file. Therefor the ModuleChain also includes a parameter to save theOriginalEDIFile. In general all receiving scenarios follow a 2 Step approach Step 1: Technical Setup to receive file                Receiving the files via AS2 or FilePort                Analyzing the files (Classifier, BIC, Splitter) and forwarding each single message to the correspondingbusiness partner (according to the                 SenderID in the ISASegment) Step 2: Processing the data according to partner/ messagetype  information                for each businesspartner, an own party is existing with a SplitChannel for each messagetype.  

Quick Overview  B2B Scenario (End2End) withSeeburger EDIAdapterPosted by Stefan Hilpp in Process Integration (PI) & SOA Middleware on 13Jan2013 23:59:29

Share 3Like

Page 2: 5.Quick Overview - B2B Scenario (End2End) with Se...pdf

12/6/2014 Quick Overview  B2B Scenario (End2End) with Se... | SCN

http://scn.sap.com/community/piandsoamiddleware/blog/2013/01/13/quicksetup 2/6

Directory Setup: For Step 1 (receiving the data) , the following objects are used: 

 The object EDI_SP_Seeburger is only used as "Receiver Party" in the AS2Sender Agreement and contains the ownAS2ID

(the object EDI_SP_RetailHub has included its AS2ID in the same area) EDI_SP_RetailHub and EDI_SP_ManualRestart both include a SenderCommunicationChannel with all steps neededfor the analyzing and splitting of the received data.

 => This setup will classify the incoming data (to see if it is EDIFACT, ANSIX12, TRADACOM, XML, FLATFILE...) andafterwards dynamically detect which ConversionRule (e.g. from ANSI X12 to the equivalent ANSI XMLstructure)needs to be used.The Splitter will then create one single XMLFile (MainDocument) for each message (in ANSI X2 for each STLoop...inEDIFACT for each UNH...) According to the SenderID in the ANSI X12 message, the messages are then forwarded to the different business

Page 3: 5.Quick Overview - B2B Scenario (End2End) with Se...pdf

12/6/2014 Quick Overview  B2B Scenario (End2End) with Se... | SCN

http://scn.sap.com/community/piandsoamiddleware/blog/2013/01/13/quicksetup 3/6

partners/entities The SenderAgreements look like following:

 (No signature/encryption is used in this example, as the focus is lying on the EDIhandling and not on this specificAS2feature...but if requested, it can be added to this scenario easily)  For Step 2 (assigning each partner/messagetype to the corresponding business party) the following 2 Parties(Customers) have been setup in Integration Directory: The following convention has been used in this scenarioParty:          real name of the customer (with Prefix EDI_BP...)Component: SenderID of ISASegment In the screenshot, the 2 business partners/customers can be seen and an inboundchannel has been created (usingthe Split997Adapter). These Split Channels always process the "splitted" messages from the previous step. 

 In the following Screenshots, the next steps for processing these file can be seen 

  

Page 4: 5.Quick Overview - B2B Scenario (End2End) with Se...pdf

12/6/2014 Quick Overview  B2B Scenario (End2End) with Se... | SCN

http://scn.sap.com/community/piandsoamiddleware/blog/2013/01/13/quicksetup 4/6

  

  Connection between Step 1 and Step 2. To connect the output of the MessageSplitter with the correct Inbound Channels "from Split", an entry needs to beexisting in the SeeburgerWorkbench for this partner/message combination:

 Keys are :Sender =>                ISASender IDMappingName =>     detected messagetype and version SInce the Sender Agreement for the 2 BusinessPartners have been created in previous step, they can just be selectedin this area by first selecting the "SenderParty", then click on "Search Services" to get a list of all services for thisParty...and then select the proper Channel "fromSplit_850_V4010".  After setting up both partners, the MessageSplitter area in the Workbench includes the following 2 lines 

Page 5: 5.Quick Overview - B2B Scenario (End2End) with Se...pdf

12/6/2014 Quick Overview  B2B Scenario (End2End) with Se... | SCN

http://scn.sap.com/community/piandsoamiddleware/blog/2013/01/13/quicksetup 5/6

Average User Rating

(5 ratings)

  Important Feature:By using the "State" field (accepted or partly accepted) it can be decided how to handle large files with multiplemessages (ST / UNH segments), if some of these messages are not correct=> either the complete file can be stopped, or the correct mesages are processed anyway and the partner is informedvia 997 which of the messages need to be corrected and transmitted again.  To setup the complete End2EndScenario there are also some objects needed in the Repository which are mentionedin the following section. Repository Setup The following objects are needed in the Repository Interface / External Definition for the ANSIX12 850 processing Interface / External Definition for the FunctionalAcknowledgement (used to create 997 messages in additional steps) Imported IDoc Message Mapping and OperationsMapping 

 These objects are available as templates with most of the IndustryPackages.   Runtime: In this section, I will soon provide additional screenshot from the process flow and the monitoring of this scenario. Additionally some screenshots regarding the 997 handling will be provided, Testdata: Here I will also provide some 850Testdata that can be used to setup/test this scenario  Feedback: Any feedback is appreciated to enhance this post in future and add additional descriptions/features.

3244 Views   Topics: process_integration, b2b_integration Tags: adapter, b2b, seeburger, edi, sap_netweaver_pi

Page 6: 5.Quick Overview - B2B Scenario (End2End) with Se...pdf

12/6/2014 Quick Overview  B2B Scenario (End2End) with Se... | SCN

http://scn.sap.com/community/piandsoamiddleware/blog/2013/01/13/quicksetup 6/6

Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

0 Tweet 0Share 3Like

6 Comments

Like (1)

Christoph Gerber 15Jan2013 12:50

Very detailed and interesting. Shows how flexible the Seeburger SAP PI adapters can be used forany kind of EDI / B2B interface.

Like (0)

Stefan Hilpp 16Jan2013 23:32 (in response to Christoph Gerber)

Thank you,let me know if there is anything you are missing or would like to have additional informationStefan

Like (1)

Carlos Ocampos 06Feb2013 15:20

Very good Job Stefan!Step by step, good explanations, screenshots to understand and very easy to follow.  Congratulation for this blog!!

Like (0)

Stefan Hilpp 06Feb2013 19:05 (in response to Carlos Ocampos)

Thank you Carlos,I am glad you like it.Stefan

Like (1)

Kancham Sreenivasulu 18Feb2013 07:16

Hi Stefan,Looks good but looking forward for more screens with Pi 7.31 version Bolog. Regards,Sreeni.

Like (0)

Stefan Hilpp 25Jul2013 10:24 (in response to Kancham Sreenivasulu)

Hi Sreeni, it took a while but finally I found some time to create a 7.31 version of this blog.(mainly focusing on the Integrated Configuration Steps) Check it out and let me know if this it what you had in mind:

http://scn.sap.com/community/piandsoamiddleware/blog/2013/07/24/quickoverviewb2bscenariowithseeburgerediadapterusingintegratedconfiguration RegardsStefan