Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

SAP Process Integration JDBC Format XSD Tool

$
0
0

This is continuation of my previous blog to create XSD structure through php tool SAP Process Integration XSD Tool Using PHP

This blog will explain to create a JDBC document format required in PI for various JDBC Scenario like Insert, Stored Procedure  and INSERT_UPDATE using PHP.

Prerequisites

  • Basic knowledge of PHP.
  • Basic knowledge of SAP PI.

Tool Overview

JDBC Format XSD Converter tool is mainly developed to reduce the effort of manually creating the data types in SAP PI.

The Converter tool will take the input as a CSV file.

The CSV file contains the list of nodes to be created in SAP PI with element name and data types.

We have different format for each scenario like Insert, Procedure ,Insert_update respectively.

The CSV file should be similar to below template format.

SAP PI JDBC Format XSD Tool Using PHP -  Browse /Readme at SourceForge.net

Process

  • The code will read the entire CSV file and generate the XSD file in database format which contains elements with type like integer, string, date etc...
  • After downloading the tool, extract the CSV_XI_DB_XSD zip files to the root folder /www/
  • We can access the tools main page through  - http://localhost/CSV_XI_DB_XSD/upload_csv.php1.png
  • Select the appropriate template (maintain CSV) to load for creating insert or procedure structure.
  • Upload the CSV file using Browse option and provide the details like IR- data type name, namespace, table Insert/procedure name and select the XSD structure.
  • 1.png
  • After submitting we can get a XSD file.
  • We can import the XSD file to the Data types using the import file option available in the XI middleware tool.
  • 1.png
  • Created XSD file can be imported into SAP PI.

1.png

1.png

  • After importing we can add / edit the elements manually if required.
  • INSERT_UPDATE structure wont support for now.

Code
Installables can be downloaded from

http://sourceforge.net/projects/sappijdbcformattool/files/CSV_XI_DB_XSD.zip/download

 

 

Please feel free to share your thoughts and suggestions in the comments below!


 


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>