Skip to Content
0

How do I loop through BAPI results in MII?

Apr 13 at 12:12 AM

65

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

christian libich Apr 13 at 02:53 PM
1

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

Regards,
Christian

Show 1 Share
10 |10000 characters needed characters left 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

0
avatar image
Former Member Apr 23 at 03:37 PM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Ram,

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

All good now.

0