cancel
Showing results for 
Search instead for 
Did you mean: 

How do I loop through BAPI results in MII?

Former Member
0 Kudos
589

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

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

Former Member
0 Kudos

Hi Ram,

Looks like I did not have the correct return variable defined in my repeater action.

All good now.

former_member185280
Active Contributor

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

Regards,
Christian

Former Member
0 Kudos

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