cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Mapping

Former Member
0 Kudos

Hi,

I have a SOAP to IDOC Scenario, Where i have to create idoc base on source value.

Source Sturcture: Target

HasSales=True/Fales IDOC WPUUMS

HasRefund=True/Fales

I have to create the idoc when either or both source value is true. Please provide me the Mapping to Create the idoc based on the condition.

Thanks

Laxmi Bhushan

Edited by: laxmi bhushan on Oct 10, 2011 12:13 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks All.

former_member192892
Active Contributor
0 Kudos

Hi Laxmi,

Any reason why you are not following Shiladitya's suggestion? This should be stopped at receiver determination level. Even you stop in mapping level, during false condition blank payload will try and hit your idoc adapter. This will again bring out an error.

Regards

Varun

PriyankaAnagani
Active Contributor
0 Kudos

Hi,

>>>>I have to create the idoc when either or both source value is true

Use boolean OR function in the mapping.

boolean OR functioncreateIF->IDOC

ORinputs:

input1HasSalesremovecontext

input2-HasRefundremovecontext

Regards

Priyanka

Former Member
0 Kudos

Hi,

You can put the condition in the receiver determination.

If HasSales=True/Fales or HasRefund=True/Fales, select the corresponding receiver business system for ECC.

This will be easier than putting the condition in mapping.

Regards

Former Member
0 Kudos

Hi,

I have to perfom this with Graphical mapping only.

Thank

Laxmi Bhushan

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

This modified mapping logic is similar to Priyanka's


HasSales -> toUpperCase -> equalsS ---> Or -> createIf -> IDOC
         Constant: TRUE -> /            /
HasRefund -> toUpperCase -> equalsS -> /
         Constant: TRUE -> /

Regards,

Mark