Академический Документы
Профессиональный Документы
Культура Документы
PI Level Configurations:
1.Creation of RFC Destination -----> T-Code - SM59
Select the Connection Type 3/ABAP and Create New
10
Save and click Connection Test Option on Top. If it is millisecond(msec) it is working fine.
Receiver Sender
11
At this point we have Two Cases.
Case -1: ERROR
It will generate one IDoc number: xxxxxxxxxxxxxx. Copy it for later use.
2. Check/Track IDoc record status based on IDoc No/Date/Direction etc. by T-Code – WE02
Topmost Status Code is important for Us. It will be like as shown below
IDoc xxxxxxxxxxxxx
Technical Info
Control Rec.
Data Records 1. Direction: 1 Outbox
Status Records 2. Current Status: 37
37 ----------------- IDoc added Incorrectly 3. Basic Type: MATMAS05
EDI Sender port in control record is invalid 4. Partner No: PIDCLNT001
42
5. Partner Type: LS
6. Port: PORT_PID
Click on Control Records and select Partner Tab.
Check Sender information and you can observe Port was changed
Port: SAPEC5T800 ----- Above we mentioned Sender Port as ‘ECDCLNT800 ‘. But our SAP
system taking ‘SAPEC5T800’ as a default sender port. It is default Logical System.
Now go to PI level - Metadata using T-Code --- IDX2. Delete the ECDCLNT800 MATMAS Record.
Next go to PI Port level using T-Code --- IDX1 and delete the ECDCLNT800 Port.
Again, Create New Port in PI Level
Port: SAPEC5T800 (Previously it is ---- ECDCLNT800)
Client: 800
Description: Port for ECC
RFC Destination: RFCDEST_PIDTOSAP Then SAVE.
Again, Trigger IDoc File at ECC level using T- Code --- WE19 and Fill the Control & Data records
details and click Start outbound Processing. You will see below message.
CASE-2 :(Success) IDoc sent to SAP System or external program Copy IDoc Number
12
Check/Track IDoc record status based on IDoc No/Date/Direction etc. by T-Code – WE02
Topmost Status Code is important for Us. It will be like as shown below
IDoc xxxxxxxxxxxxx
Technical Info
Control Rec.
Data Records 7. Direction: 1 Outbox
Status Records 8. Current Status: 03
03 ----------------- Data Passed Port OK 9. Basic Type: MATMAS05
IDoc sent to SAP System or external program 10.Partner No: PIDCLNT001
30 11.Partner Type: LS
01
12.Port: PORT_PID
42
Now Check for the IDoc at PI level using T-Code ----- IDX5 using IDOC No: xxxxxxxxxxx.
It will show you “NO Message Selected”.
Reason for this is as wee seen above in Status Records Code 03 states Data passed to Port OK.
Here we are using TRFC port b/w SAP and PI.
So, we have to check TRFC port at ECC level using T-Code ----- SM58 and click on execute button.
It will show you one error in Status Text – No Service for System SAPEC5T800, client 800 in ID.
Now go to ID Part, select the Business Component you created for IDoc Sender side.
Go to Communication Component --> Adapter Specific Identifiers
Logical System: SAPEC5T800
R/3 System ID: EC5
Client: 800 Save and Activate the Business Component.
Again, go to TRFC port at ECC level using T-Code --- SM58
Select IDOC and go to EDIT Execute LUW
Now check for IDoc at PI level using T-Code ---- IDX5. You can see IDoc received at PI level.
SUMMARY OF IDoc-To-File Scenario (Dual Stack)
ECC Level Configuration PI Level Configuration
1. Create RFC Destination: T-Code – SM59 1. Create RFC Destination: T-Code – SM59
2. Create Port: T-Code – WE21 2. Create Port: T-Code – IDX1
3. Create Logical System: T-Code – SALE 3. Create Meta Data: T-Code – IDX2
4. Create Partner Profile: T-Code – WE20