mexico e-invoicing configuration guide-1.1

Upload: adrian-dejesus-gonzalez-serrano

Post on 10-Oct-2015

29 views

Category:

Documents


0 download

TRANSCRIPT

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    1/15

    Mexico CFDI E-Invoice Solution PI Configuration Guide-1

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    2/15

    PI CONFIGURATION GUIDE

    2

    TABLE OF CONTENTS

    CONFIGURE INTEGRATION DIRECTORY ..................................................................................................... 3

    Create Configuration Scenario ....................................................................................................................... 3Procedure .......................................................................................................................................................... 3Assign Business System ................................................................................................................................ 4Prerequisite ........................................................................................................................................................ 4

    Procedure .......................................................................................................................................................... 4Assign Integration Process ............................................................................................................................ 5

    Procedure .......................................................................................................................................................... 5

    Create Business Component ......................................................................................................................... 6Procedure .......................................................................................................................................................... 6

    Configure Communication Channel for Business System ......................................................................... 9

    Procedure .......................................................................................................................................................... 9Configure Communication Channel for Business Component ................................................................ 11Procedure ........................................................................................................................................................ 11

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    3/15

    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_TESTName and Description.

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

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    4/15

    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 theIntegration 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 thebusiness systems available in the SLD. The wizard guides you through the process of assigning aBusiness System to the Integration Directory (by selecting the appropriate entry from the SLD).

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    5/15

    PI CONFIGURATION GUIDE

    5

    6. On the Above screen of the wizard, deselect the Create Communication Channels for FollowingAdapters indicator .And Also select the Add to Scenario as CS_MXCFDI_IDOC_TEST and click onFinish.

    Assign Integration Process

    This procedure describes how to assign a integration Process which created in the Integration Repository toyour 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 theappropriate entry).And Also select the Add to Scenario as CS_MXCFDI_IDOC_TEST

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    6/15

    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.

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    7/15

    PI CONFIGURATION GUIDE

    7

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

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

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    8/15

    PI CONFIGURATION GUIDE

    8

    5. To the Business Component BC_MXCFDI_IDOCadd the inbound service interface from EnterpriseServices 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.

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    9/15

    PI CONFIGURATION GUIDE

    9

    Configure Communication Channel for Business System

    This procedure describes how to configure a Communication Channel for your Business System. Thecommunication 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 communicationchannel in an edit mode.

    4. Select theAdapter Type as IDOC on the Parameters tab page. The system by default displays thefollowing:

    Adapter TypeIDOC Transport ProtocolIDOC

    Message ProtocolIDOC

    Adapter EngineIntegration Server5. Select Receiver underAdapter Type.6. Specify the following parameters for the Receiver IDOC adapter:

    RFC Destinationo Specify the RFC Destination of TYPE 3 Which is created in the PI system toConnect to R/3 System. Ensure that the Unicode checkbox is selected.

    Interface Version---- SAP Release 4.0 or Higher

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    10/15

    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.

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    11/15

    PI CONFIGURATION GUIDE

    11

    Configure Communication Channel for Business Component

    Create Two Soap Receiver Communication ChannelsCC_Rcvr_SOAP_IDOC_MXCFDI_TEST

    And CC_Rcvr_SOAP_IDOC_MXCFDI_CAN for stamp and cancellation respectively under the definedBusinessComponent 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 communicationchannel in an edit mode.

    4. Select theAdapter Type as SOAP on the Parameters tab page. The system by default displays thefollowing:

    Adapter TypeSOAP

    Transport ProtocolHTTP

    Message ProtocolSOAP 1.1

    Adapter EngineCentral Adapter Engine5. Select Receiver under Adapter Type.6. Specify the following parameters for the Receiver SOAP adapter:

    Connection Parameterso 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 ConfigureProxy indicator and enter the Host and proxy Port details.

    Conversion Parameterso Set the Do Not Use SOAP EnvelopeCheck Boxo Set the Keep Headers Check Box.

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    12/15

    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 channel9. Add a Module Parameter as shown below under the Module Configuration with Module Key soap

    for the SOAP adapter Module.o Module Key: soapo Parameter name: XMBWS.NoSOAPIgnoreStatusCodeo Parameter value: true (default is false)

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    13/15

    PI CONFIGURATION GUIDE

    13

    Similarly follow the above steps to create another Soap Receiver Communication ChannelCC_Rcvr_SOAP_IDOC_MXCFDI_CAN for Cancellation.

    And Also uncheck the conversion parameters Do Not Use Soap Envelopeand Keep Headerscheck box inthe communication channel for cancellation as shown below.

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    14/15

    PI CONFIGURATION GUIDE

    14

    Activate all the created Integrat ion Directory objects.

  • 5/20/2018 Mexico E-Invoicing Configuration Guide-1.1

    15/15

    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 statementsaccompanying 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

    http://www.sap.com/corporate-en/legal/copyright/index.epx#trademarkhttp://www.sap.com/corporate-en/legal/copyright/index.epx#trademark