Skip to Content
avatar image
Former Member

How to insert data in to database table depends on Indicator

Hi All,

I am working on Idoc to JDBC scenario. I am collecting & bundling(Using BPM) all the idocs and inserting the data in to the different database tables. Up to now my scenario is working fine. Now the problem is before inserting the data I have to check one of the Table field. If the field indicator is u201CYESu201D then only I have to insert data otherwise I have to wait up to the indicator field needs to be changed. Once indicator is u201CYESu201D then I have to insert all the collected idocs in to the database tables.

Can you please let me know how can I achieve this?

Thanks & Regards,

Purushotham

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 04, 2008 at 12:56 PM

    You can put a condition in mapping

    use createIf, with condition indicator = YES,

    Map output of createIf to root node at target

    condition(IFWithoutElse)-> createIf> MT_target

    Add comment
    10|10000 characters needed characters exceeded