Skip to Content

AIF Mapping not working as expected

Hello All,

We have a scenario where we are sending ES structure from PI(proxy) to SAP AIF and then ERP to create a purchase order.

There is a field in ES receivingplantID(not mapped to anything in PI and is to be passed at runtime via AIF value mapping) the value is derived via a table , If the value is hard coded in PI the interface runs successful else it fails in AIF with below errors:


One more observation, If the data is not hard coded in PI the item node in the ES structure is not getting any data while creation of PO. But I can see the data in outbound PI message.Value mapping is working fine as I have tested it in AIF/IFMON. Any suggestions?

capture.png (16.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 27, 2017 at 01:46 PM


    did you assign the value mapping to the field in question in the structure mapping section ?

    Are you sure that the values in the mapping are of the correct type ? Maybe you need a conversion exit function module call.

    Kind Regards


    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      the mapping looks good.

      With that comment i meant that sometimes in the database there is a value like 0000123 and it is displayed as 123. But if you try to enter 123 it will say "no such plant" because the preceding zeros are missing.

      You could also check which value is taken inside the value mapping by adding an entry to the return table in the action you're calling.