Вы находитесь на странице: 1из 15

Mexico CFDI E-Invoice Solution PI Configuration Guide-1

PI CONFIGURATION GUIDE




2
TABLE OF CONTENTS

CONFIGURE INTEGRATION DIRECTORY ..................................................................................................... 3
Create Configuration Scenario ....................................................................................................................... 3
Procedure .......................................................................................................................................................... 3
Assign Business System ................................................................................................................................ 4
Prerequisite ........................................................................................................................................................ 4
Procedure .......................................................................................................................................................... 4
Assign Integration Process ............................................................................................................................ 5
Procedure .......................................................................................................................................................... 5
Create Business Component ......................................................................................................................... 6
Procedure .......................................................................................................................................................... 6
Configure Communication Channel for Business System ......................................................................... 9
Procedure .......................................................................................................................................................... 9
Configure Communication Channel for Business Component ................................................................ 11
Procedure ........................................................................................................................................................ 11
PI CONFIGURATION GUIDE
3
This guide mentions the steps to configure the PI system for using e-Invoice solution for Mexico CFDI

CONFIGURE INTEGRATION DIRECTORY
Create Configuration Scenario

Procedure
1. Choose Object New .Select Configuration Scenario



2. Enter Configuration Scenario CS_MXCFDI_IDOC_TEST Name and Description.



3. To confirm your entries, choose Create and then Save the changes
PI CONFIGURATION GUIDE
4

Assign Business System

This procedure describes how to assign a business system to your configuration scenario in the Integration
Directory.

Prerequisite
The required technical and business systems are available in the System Landscape Directory (SLD). In the
Integration Directory, you must assign these systems to customer specific configuration scenarios.

Procedure
1. On the SAP Exchange Infrastructure screen, choose the Integration Directory.
2. To logon, specify your User Name and Password. The system starts the Integration Builder.
3. Go to Objects tab->Communication Component without Party -> Business System.


4. Click Business System with the secondary mouse button to call the context menu.
5. Choose Assign Business System. The Assign Business System wizard appears and displays all the
business systems available in the SLD. The wizard guides you through the process of assigning a
Business System to the Integration Directory (by selecting the appropriate entry from the SLD).



PI CONFIGURATION GUIDE
5
6. On the Above screen of the wizard, deselect the Create Communication Channels for Following
Adapters indicator .And Also select the Add to Scenario as CS_MXCFDI_IDOC_TEST and click on
Finish.

Assign Integration Process

This procedure describes how to assign a integration Process which created in the Integration Repository to
your configuration scenario in the Integration Directory.

Procedure
4. On the SAP Exchange Infrastructure screen, choose the Integration Directory.
5. To logon, specify your User Name and Password. The system starts the Integration Builder.
6. Go to Objects tab->Communication Component without Party -> Integration Process.


7. Click Integration Process with the secondary mouse button to call the context menu.
8. Choose New. Then the wizard appears as below, Click on continue.




9. And then it displays all the Integration Processes available in the Enterprise Services Repository.
The wizard guides you to transfer a Integration Process to the Integration Directory (by selecting the
appropriate entry).And Also select the Add to Scenario as CS_MXCFDI_IDOC_TEST



PI CONFIGURATION GUIDE
6






10. On the Above screen of the wizard, click on Finish


Create Business Component

Procedure

1. Choose Object New .Select Business Component.
PI CONFIGURATION GUIDE
7


2. Enter Communication Component Name BC_MXCFDI_IDOC, Description and Add to Scenario
CS_MXCFDI_IDOC_TEST.


3. To confirm your entries, choose Create.
4. Save the changes.










PI CONFIGURATION GUIDE
8
5. To the Business Component BC_MXCFDI_IDOC add the inbound service interface from Enterprise
Services Repository (ESR) under Receiver tab as shown below and save.

Note: Business Service in PI 7.0 is called Business Component in PI 7.1.












PI CONFIGURATION GUIDE
9
Configure Communication Channel for Business System

This procedure describes how to configure a Communication Channel for your Business System. The
communication channel is the physical connectivity between the application systems. R/3 system
communicates with the PI system using the IDOC adapter as its Communication Channel.

One IDOC Receiver Communication Channel are required.

Procedure

1. Choose Object New .Select Communication Channel.
2. Enter Communication Component (Business System) Name, Communication Channel Name
CC_Rcvr_IDOC_MXCFDI_TEST, Description and Add to Scenario.



3. To confirm your entries, choose Create. The left pane displays the newly created communication
channel in an edit mode.
4. Select the Adapter Type as IDOC on the Parameters tab page. The system by default displays the
following:
Adapter Type IDOC
Transport Protocol IDOC
Message Protocol IDOC
Adapter Engine Integration Server
5. Select Receiver under Adapter Type.
6. Specify the following parameters for the Receiver IDOC adapter:
RFC Destination
o Specify the RFC Destination of TYPE 3 Which is created in the PI system to
Connect to R/3 System. Ensure that the Unicode checkbox is selected.
Interface Version
---- SAP Release 4.0 or Higher




PI CONFIGURATION GUIDE
10
Port
---- Specify the Port which is created in the PI system to connect to R/3 System.

SAP Release
---- 730


7. Save the changes.









PI CONFIGURATION GUIDE
11
Configure Communication Channel for Business Component

Create Two Soap Receiver Communication Channels CC_Rcvr_SOAP_IDOC_MXCFDI_TEST
And CC_Rcvr_SOAP_IDOC_MXCFDI_CAN for stamp and cancellation respectively under the defined
BusinessComponent BC_MXCFDI_IDOC to call MEXICO CFDI the certification providers(PAC) webservice.

Procedure

1. Choose Object New .Select Communication Channel.
2. Enter Communication Component (Business Component) Name, Communication Channel Name
CC_Rcvr_SOAP_IDOC_MXCFDI_TEST, Description and Add to Scenario.



3. To confirm your entries, choose Create. The left pane displays the newly created communication
channel in an edit mode.
4. Select the Adapter Type as SOAP on the Parameters tab page. The system by default displays the
following:
Adapter Type SOAP
Transport Protocol HTTP
Message Protocol SOAP 1.1
Adapter Engine Central Adapter Engine
5. Select Receiver under Adapter Type.
6. Specify the following parameters for the Receiver SOAP adapter:
Connection Parameters
o Specify the Target URL and the Host and Port details.
If a web service can be reached using the HTTP proxy, and not directly, set the Configure
Proxy indicator and enter the Host and proxy Port details.
Conversion Parameters
o Set the Do Not Use SOAP Envelope Check Box
o Set the Keep Headers Check Box.
PI CONFIGURATION GUIDE
12



7. Enter the Target URL, for example https://cfdiws.sedeb2b.com:443/EdiwinWS/services/CFDi
8. Go to Module Tab in the SOAP receiver communication channel
9. Add a Module Parameter as shown below under the Module Configuration with Module Key soap
for the SOAP adapter Module.
o Module Key: soap
o Parameter name: XMBWS.NoSOAPIgnoreStatusCode
o Parameter value: true (default is false)

PI CONFIGURATION GUIDE
13


Similarly follow the above steps to create another Soap Receiver Communication Channel
CC_Rcvr_SOAP_IDOC_MXCFDI_CAN for Cancellation.
And Also uncheck the conversion parameters Do Not Use Soap Envelope and Keep Headers check box in
the communication channel for cancellation as shown below.

PI CONFIGURATION GUIDE
14
Activate all the created Integration Directory objects.









2013 SAP AG or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any
form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain
proprietary software components of other software vendors. National product
specifications may vary.
These materials are provided by SAP AG and its affiliated companies (SAP
Group) for informational purposes only, without representation or warranty of
any kind, and SAP Group shall not be liable for errors or omissions with
respect to the materials. The only warranties for SAP Group products and
services are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should be
construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their
respective logos are trademarks or registered trademarks of SAP AG in
Germany and other countries.
Please see
http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark
for additional trademark information and notices.
www.sap.com

Вам также может понравиться