Skip to Content

How to validate two files

HI all ,

Actually am working on a scenario where I have to validate two files based on the Info type 0001 so I have used X path configuration for these scenario but am failing to implement the logic .

Requirement :In an IDOC there will be multiple E1PLOGI and in E1PLOGI there will be an Info type 1 occurring once and in that if Field PERSK is 0V it should determine one file name and if PERSK is 0X it should determine another file Name .

SO I have used these logic for it :



Kindly help in these what I have made mistake and solving the issue



Regards,

Vijender

p7vy7.png (2.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 21, 2017 at 01:33 PM

    Hi Vijender!

    (/YOUR_IDOC_TYPE/IDOC[E1PILOGI/E1PITYP/E1P0001/PERSK = 0V]) EX

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Evgeniy ,

      I want to construct the file name depending upon the field of PERSK .

      And here we have Sender an IDOC and Target is 2 message Mapping is used for 2 different file names .
      So how to validate it ??

      Regards,

      Vijender

  • Jul 22, 2017 at 07:31 AM

    Hi All ,

    Can you help me on these please .

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Vijender!

      Please explain what you want to do: either to build the condition for receiver/interface determination or to build the file name depending on values in source structure in message mapping.

      Regards, Evgeniy.

  • Jul 21, 2017 at 01:27 PM

    you meant to say, you want to validate field?

    is this idoc to file, and you want to construct the file name based on PERSK's value?

    Add comment
    10|10000 characters needed characters exceeded

    • Vijendra,

      Use remove context node function in graphical mapping before putting the input in your UDF of Dynamic File Name Configuration. Make sure your execution type of UDF is all values of the context.

      You can write your logic accordingly there in UDF and create dynamic file Name.

      Thanks,

      Apu