cancel
Showing results for 
Search instead for 
Did you mean: 

Business Connector: Conditional Mapping using Expression Urgent

Former Member
0 Kudos

Hi All,

I have been trying to do conditional mapping ( in link properties ). I want to specify an expression under copy only if option. I am not able to crack it. Can any one please give me some examples how to use expressions.

My Scenario is as follows:

Structure:

Delivery ( Record Refrence ) =>ZZDESA01=>IDOC=>E1EDK08=>E1EDKT3.

Now under E1EDKT3 i have few fields like:

TDID,

SUMME Etc

for TDID = 'ZINT' it should drop that vale of record list(E1EDKT3) or should not map it to my final structure(which is same as Delivery). But rest all values should come.

It is sort of urgent.

Regards,

Siddhesh S.Tawate

PS: Carlos expecting a reply from you. Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

use the following expression:

%/ZZDESA01/IDOC/E1EDK08/E1EDKT3/TDID%!="ZINT"

make sure you use the mapping a loop context for the IDOC (and all other segments which can occur n times), meaning there are no arrays in the above expression.

This will work.

CSY

Former Member
0 Kudos

Hi,

Are you still working on this problem?

Thanks,

Bhavish

Former Member
0 Kudos

Unfortunately YES.....

I am still not able to understand how to write the expressions for above requirement. For the time being i am managing it thru sm other workaround.

If you can give me some tips that wud be highly appriciated.

Regards,

Siddhesh S.Tawate

iprieto
Contributor
0 Kudos

Hi Siddesh,

I hope respond you in few hours. Sorry but in this moment I'm very busy.

Regards

Ivan