1. Simple SQL function to read XML tags from string using regex
CREATE OR REPLACE FUNCTION `PROJECT.TEST.readXML`(temp1 STRING, tag STRING) RETURNS STRING AS (
REGEXP_SUBSTR(temp1,CONCAT("<",tag,">(.*?)<\\/",tag,">"))
);
2. Usage of function
1. Simple SQL function to read XML tags from string using regex
1. SAP BC -> Adapters -> SAP -> Add sap server
(Previously create SAP user: SU01 tcode)
2. SAP BC -> Adapters -> SAP -> Choose SAP server -> Add listener to the server
(previously create PROGRAM_ID it in SMGW tcode)
3. Go to SAP BC-> Routing create routing rule for desired message typ
4. Create RFC connection in SM59 (test the connection)
5. Create the transnational RFC port in WE21 (add rfc destination from SM59)
6. Create a logical system in BD54
7.Create a partner profile with messages type in WE20
1. Try to login to database with SYS AS SYSDBA user. If the instance is idle, run the startup command. 2. If ORA-03113 occured, check the la...