Showing posts with label PI. Show all posts
Showing posts with label PI. Show all posts

Monday, March 17, 2025

Using XI adapter Sender Interface - migrating from old PI SI

 

Configure all of this so the existing old Service interface (in ECC/HANA used for old PI) points to the new iFlow in Cloud Integration

  • SM59 to create a new HTTP Connection to an external server.
    • It should be like existing SAP_CPI connection with these parameters changed:
      • Name:                 SAP_CI_IF_SF_ACOUNT_CODES
        • ‘CI’ for Cloud Integration, ‘IF’ for Interface.
      • Description 1: urn:hants.gov.uk:interface:AcountCodes:SFLMS:Download
      • Host:                   hcc-integration-test.it-cpiXXX-rt.cfapps.eu10-XXX.hana.ondemand.com
      • Path Prefix:        /cxf/TestRajesh               à This will be changed later.

 

  • Define Sender/Receiver Definition

Transaction SXMSIF, new entry.

Sender/Receiver ID:       SF_ACTCODES_OUT

Message Cat.:                  Request (radio button)

Description:                     SI_SF_XXXXX_Outbound_Out             

Interface Name:              SI_SF_XXXXX_Outbound_Out

Interface Namespace: urn:xxxx.uk:interface:AcountCodes:SFLMS:Download

 

 

  • Activate Interface-Specific Endpoint

Transaction SXMB_ADM à Integration Engine Configuration à Specific Configuration, create New entry.

Category:           RUNTIME

Parameters:       IS_URL

Subparameter: SF_ACTCODES_OUT

Current Value:  dest://SAP_CI_IF_SF_ACOUNT_CODES

 

For reference, I used this blog Cloud Integration - Configuring Scenario Using the... - SAP Community


Monday, July 8, 2024

Groovy scripts


Good Link:

https://community.sap.com/t5/technology-blogs-by-members/sap-cloud-integration-cpi-hci-writing-groovy-scripts-with-basic-examples/ba-p/13497833 

Thursday, November 24, 2016

Idoc Metadata Monitor - PI

If you change Idoc structure (or field lengths) in ECC -  You need to Reload Idoc in Metadata Monitor in PI.  You also need to reimport Idoc in ESR and change mappings.


Friday, August 5, 2016

PI UDF Trace logs

Put below code in PI UDF (functions) to trace log

AbstractTrace trace = container.getTrace();         
trace.addInfo(" in 1st if ---  " +var1[i] +"," +var2[i]);

Monday, July 18, 2016

PI - Remove context and Collapse context

Difference between Remove context and Collapse context

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=59506730

Thursday, June 30, 2016

PI tips - Notepad tips

Replace comma(,) with carriage return
First press Ctrl+H to convert text into Hexadecimal
Then press Ctrl+R to Replace and give as below
Then press Ctrl+H again