cancel
Showing results for 
Search instead for 
Did you mean: 

mapping requirement

Former Member
0 Kudos

Hi,experts:

I have a mapping requirement as follows:

Source structure:

Documents 1...unbounded

---Doc_type 1...1

---Items 1...unbounded

-


SHKGZ 1...1

Target structure:

Documents 1...unbounded

---Doc_type 1...1

---SHKGZ 1...1

The old mapping of target "Documents" likes this:

removecontext(Items) -> Documents

But now, i want to add a restriction in this mapping:

IF Documents(source)-Doc_type = 'NB'.

removecontext(Items) -> Documents

ENDIF.

Regards

Ming

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

if i m not mistaken u mean to say...

Doc_type(no context change) =="NB"----><createIf>--->Documents

Note: "==" is equivalent to Text function 'equals'

query further

Message was edited by:

sudeep dhar

Former Member
0 Kudos

hi ming,

you can use the IF-clauses (with else and without else) and "equalS"-functionality in the graphical mapping.

it should be found under "boolean".

regards

alex