Professional Documents
Culture Documents
PI Interface 70 FI
PI Interface 70 FI
PI INTERFACE 7.0 - FI
If you already have done the SD PI Interface configuration, please just follow steps: 2. Import IDocs (FIDCC02 ) 3. Import Interface (from TPZ file) 10. Create Receiver Determination 11. Create Interface Determination
1.1. Click on Integration Repository and import all your definition from SLD (system landscape directory) from the TOOLS Transfer from System Landscape Directory menu option.
_______________________________________________________________________________ 1
1.2. When you do this, the system will prompt you with all the available SWCVs from SLD and have the chosen one imported into the Integration Repository
So, we have our SWC and corresponding version available for us to begin with. Double-click on SWCV then bring it to the edit mode. Enter the required info after switching to the "IMPORT RFC/IDOC............" radio button displayed in the work area. This is essential, as this will then be used for importing IDocs from the source system. Make sure the IDoc has already the extension definition (OSS Note 1321680). 1.3. Click on the "+ " icon at the bottom part of work area appearing just below the server info. This will give you the option to enter the NAME SPACE. Enter "http://www.sat.gob.mx/cfd/2".
_______________________________________________________________________________ 2
1.4. Save the work, and then activate it. 2. Import IDoc (FIDCC2.FIDCCP02.ZDM_FI1*):
*In this guide, the IDoc extensions name is ZDM_FI1. You shall replace this name with the one you defined in your system. 2.1. Right-click on Imported Objects and Import of SAP Objects.
2.2. Enter the Application Server and the System Number from your R/3 System.
_______________________________________________________________________________ 3
3. Import Interface (from TPZ file): In the Integration Repository , click on Tools >> Import Design Objects. _______________________________________________________________________________ 4
Select import Source Client for looking your file tpz in your PC.
Save and activate all objects. File: XI3_0_FACTURA_ELECTRONICA_0.1_of_sap.com.mx.tpz 4. Create Data Types (already done in step 3): Create the Data Type and build the structure into which the data from R/3 IDoc shall be received. After expanding the NAME SPACE, expand the INTERFACE OBJECTS. Then right click on DATA TYPES to start creating.
_______________________________________________________________________________ 5
_______________________________________________________________________________ 6
_______________________________________________________________________________ 7
4.10.
4.11.
You can see in the Law: Anexo_20 the complete format about target structure (XML Structure).
6.1 To do this, right-click on the MESSAGE INTERFACE title and create the new object. Here we will make sure that the attributes are set to ASYNCHRONOUS (will see this later) and INBOUND (into XI from R/3).
6.2 Drag and drop the INVOIC.INVOIC02 from Imported Objects IDOC on to the hand icon on the right-hand side next to name space field. Or drop down the list then select the message type from the resulting window. Or simply type the details.
_______________________________________________________________________________ 10
At this stage we are done with definitions and now its time to map the messages and interface created thus far. 7. Import Java Mapping (already done in Step 3): At this step you need to have a Java Class who is going to do the Mapping between IDOC INVOIC02 and the target message MT_Comprobante created as stated above.
7.1 To begin with, click on the triangle pointing rightwards on MAPPING OBJECTS. Right-click on Imported Archives and create a new.
_______________________________________________________________________________ 11
7.3 Use Import Button to import the Zip file that contains the Java Class
Java Mapping is needed to map the SOURCE to the TARGET. In our case the source is the R/3 IDoc coming into XI from SAP R/3 and the target is a XML FILE stored at root directory that will then be accessed by any script to load in to the destination system. In Java Class we are creating a 1-1 kind of relationship between the source and target.
8. Create Interface Mapping Now, the last step in the Integration Repository is to create the INTERFACE MAPPING. In this step map the source (FIDCC02.FIDCCP02.ZMD_FI1) to the target interface (MI_Comprobante). Once the objects are identified and filled into respective fields, click on the Read Interfaces push button on the right-hand side in the bottom portion of the work area. This replicates the source and targets into the Request Tab Window. Identify the message mapping program created in the above step and assign it here. Interface Mapping: OM_CFD_FI
_______________________________________________________________________________ 12
We are done with SOURCE, TARGET, and LINK for data handling. Save the work. This is time to check the object consistency. Make sure to hit F7 at this stage just before activating. At the end activate the change list. 9. Assign Business System:
_______________________________________________________________________________ 13
Click on Integration Directory Service without Party Business System. Business System, right-click on Business System and Assign
_______________________________________________________________________________ 14
10 Create Communication Channel To create communication channel, right-click on Communication Channel and New.
_______________________________________________________________________________ 15
Choose Adapter Type: File; Receiver and the Target directory on the server for XMLs
_______________________________________________________________________________ 16
_______________________________________________________________________________ 18
_______________________________________________________________________________ 19
_______________________________________________________________________________ 20
_______________________________________________________________________________ 21
_______________________________________________________________________________ 22