Skip to Content
Former Member
May 20, 2016 at 12:36 AM

SAP JDBC receiver scenario - Truncate and Load


Hi All,

I have a scenario where I need to truncate full table and then load full table.

What is the best design approach for this.

1. Do I create two separate interface and then use the option of maintain order at runtime in interface determination where I first call the truncate interface and then Bulk insert

2. Do I create two Statements in the JDBC reveiver root message type and in mapping first call the Delete and then Insert, like below. What if delete works and Insert fails, how do I handle that.



<anyName action=” SQL_QUERY” | “SQL_DML”>

<access>Truncate table "New_Hires";</access>

</anyName >



<dbTableName action=”INSERT”>












Thx in advance