cancel
Showing results for 
Search instead for 
Did you mean: 

Need clarification on this condition

Former Member
0 Kudos

Hi all,

Can any one please explain about this condition (Mercator condition) and how to map this condition in XI.

EITHER(

EXTRACT(

Group_3:Group_1,

EAN11 E2MARMM002 Field:E2MARMM002 Segment:Group_3:Group_1 != "" &

MEMBER(

MEINH E2MARMM002 Field:E2MARMM002 Segment:Group_3:Group_1,

MEINH_SAP Fileds:Target_Market

)

),

FAIL(

" No Valid MEINH (UOM) found in given IDoc for Material Number = " +

TRIMLEFT(MATNR E2MARAM005 Field:E2MARAM005 Segment:Group_1, "0") + "," +

" Either correct MEINH (UOM) in the IDoc or configure MEINH for the material number in file " +

GETFILENAME( SAPMW_Lookup )

)

),

Group_5,

Group_1,

SAPMW_Lookup,

Variant_Language_Lookup

)

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189387
Active Contributor
0 Kudos

Hi,

Can you please explain indetail about your requirement ?

Best Regards.,

V.Rangarajan

Former Member
0 Kudos

HI Ranga Rajan,

Now, here i am pasting new condition which was used in mercator.

But the same condtion i have to use in XI also, so please explain indetail interms of XI.

=IF( MEINH E2MARMM002 Field:E2MARMM002 Segment:Group_3_MATMAS05_V1_UNI = "D97" &

EAN11 E2MARMM002 Field:E2MARMM002 Segment:Group_3_MATMAS05_V1_UNI != "",

IF(TRIMLEFT(TRIMRIGHT(#GLB#MATSW #GLB#XGT_E1MARA1000 Field:#GLB#XGT_E1MARA1000 Segment:Group_1_MATMAS05_V1_UNI)) != "",

F_04_CreateUOMSW(

LOOKUP(

UOMSW:UOMSW_File:SAPMW_Lookup,

TRIMLEFT(TRIMRIGHT(#GLB#UOMSW #GLB#XGT_E1MARA1000 Field:#GLB#XGT_E1MARA1000 Segment:Group_1_MATMAS05_V1_UNI)) =

TRIMLEFT(TRIMRIGHT(UOMSW_SAP Fileds:UOMSW:UOMSW_File:SAPMW_Lookup))

)

)

)

)