Skip to Content
0
Former Member
Jan 12, 2012 at 04:44 PM

reg:Condition based upon source in mapping

24 Views

Hi All,

My Scenario is R/3-PI-JDBC(SYN Scenario).

My Source has two fields

*<Record>*

*<FromDate>19870909</FromDate>*

*<ToDate/>*

*</Record>*

My target is

<?xml version="1.0" encoding="UTF-8"?>

http://hnwl.com/abc.com/">

<StatementName1>

<dbTableName ...<dbtable>

<StatementName2>

<dbTableName ...<dbtable>

<StatementName3>

<dbTableName ...<dbtable>

Condition : 1.If fromdate has value then statment1 should be executed

2.If Fromdate and todate has value then statement 2 should be executed

3.If fromdate and todate doesnt have value then statement3 should be executed

Please let me know how to handle this in mapping.Thanks in advance

Regards,

Dinesh