cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping doubt

Former Member
0 Kudos

At sender side there is a mandatory field which we mapped with the reciever structure.Support if we dont provide any input value to that field, will it reach at receiver side or will it give an error in sxmb_moni?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

it will affect in only one case if the occurence for the target isde is 1..1, if it is 0..1 then it will not affect the mapping.

if u still face the problem please reply me back.

Thanks

Rinku

Answers (5)

Answers (5)

deepak_shah
Contributor
0 Kudos

hi

no error will be raised in this case

i.e if ur mandatory source field and no input value is passed (i.e empty) then to no error will be raised irrespective of whether ur target is mandatory or not.

iN this case target will be created and it will be empty

sunil_singh13
Active Contributor
0 Kudos

It Will Definetly throw an error if it is mendatory .You Can pass some default field if it does not exist in Source structure to avoide error .or Just use collapsContext it will at list crate node if value is absent

Thanks

Sunil Singh

justin_santhanam
Active Contributor
0 Kudos

Suresh,

It will throw an error! Probably you can try that, right?

raj.

Former Member
0 Kudos

Hi,

It will give the Mapping Exception error, and will not reach to receiver side.

You need to pass some default values using the API mapWithDefault for this kind of scenario.

Thanks

Swarup

shivhare
Active Contributor
0 Kudos

Hello Suresh

Its depend on occurrences of field I think in your scenario you can set min occurrences 0 on mandatory filed structure

Thanks

Amit Shivhare

PS : reward point