Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

problem in mapping?

Hello All,

Need help in mapping.

Iam doing IDOC to File scenario, in this scenaio iam doing mapping,

if element ABC contain BE then i need to map DEF to XYZ.

i wrote one UDF, problem is in ABC iam getting AG and BE.

ABC contain AG for that DEF dont have value.

ABC contain BE for that DEF contain value.

so in the mapping when i check the queue for AG its space and BE iam getiing value.

but when i execute it iam not getting the value at target side.

i wrote UDF like this.

if(var1.equals("BE"))

{

return var2;

}

return " ";

Please help me

Thanks and regards,

chinna

Former Member replied

Hi chinna ,

If you dont want that space...Dont use if then else Use only If without else ....

                              
                        DEF------------\                                                        
ABC-------------\                         then
                   ----->equals-------if     -------XYZ
Constant[BE]-----/

Thanks.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question