Skip to Content

SAP PO - variable substitution and SAP_XI_IDOC/IDOCXmlToFlatConvertor

Dear All,

The PO environment is quite new for me.

I have created receiving communiction channel which uses SAP_XI_IDOC/IDOCXmlToFlatConvertor module, here is the configuration

and it is working fine. Then I wanted to specify filename based on the content of the IDoc, for instance:

And here is the problem, cause as I think the module

SAP_XI_IDOC/IDOCXmlToFlatConvertor is executed before, and the XML IDoc is already converted to Flat IDoc, and then the variable subsitution is not working, is there any workaround for this to?

Best regards,

Artur

wxool.png (3.2 kB)
nrcjz.png (3.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 18, 2017 at 10:35 AM

    Hi Artur,

    Yes you are right . The module execution takes place before your variable substitution hence you are getting error.

    • You may use Dynamic Config in your mapping.
    • Custom module to store the value from xpath .

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded