Skip to Content

How do I loop through BAPI results in MII?

I am calling a Bapi to return Measurement Points for a piece of Equipment.

I need to loop through these Documents to create Measurement Points against each.

The Bapi returns XML and I have tried the normal Reapeater action , but it does nothing.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 13 at 02:53 PM

    Repeater is typically the way to do it. What specific BAPI are you using and how is your repeater configured?

    Regards,
    Christian

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Christian.

      The problem was to do with the Transaction properties ( calling the BAPI in a seperate transaction) which where not passing back the correct xml result.

      Neil Morgan

  • avatar image
    Former Member
    Apr 23 at 03:37 PM

    If the XML nodes in repeater not configured properly, the action will not loop the BAPI response . Try to copy that BAPI response XML in a notepad and save it in a local XML variable to test it.

    Regards

    Ram Upadhayay

    Add comment
    10|10000 characters needed characters exceeded