cancel
Showing results for 
Search instead for 
Did you mean: 

How to Display Multiple Rows in Business Logic Editor

Former Member
0 Kudos

Hi Friends, I took the standard BAPI: BAPI_MATERIAL_GETLIST and followed the SAP- xMII documentation. It is not showing any records. Does any one have good example. Please let me know.

If I run the same BAPI from R3 system, it is showing 7 records.

Can I display the data in Business Logic editor? Please help.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Dilip

I have gone through your post and I think that the info provided by yu is not sufficent to answer yur question exactly but i would suggest yu the following solutions :-

1. It may be the case that yu are not looping on the Response XML from the BAPI. You need to loop on the repeating node of the Response XML of the BAPI and on each loop yu need to append the record read to a xMII Output XML document using Row structure. Finally Yu can assign the document to the Output variable.

2. Check for the type of Output Variable. I guess that it's String type. In that case, convert it to xml type.

Hope it helps.

Amit

Former Member
0 Kudos

Hi Sridhar,

check the document I've written on basics of displaying data from r/3 in xMII using a RFC/BAPI.

http://hackaback.googlepages.com/xMIITrans.doc

I hope this will help you in displaying multiple rows.

You can use a Xacute query to display the output of the transaction.

Former Member
0 Kudos

Thanks Musarrat Husain, If you have any examples please let me know. We will practice.

former_member189719
Participant
0 Kudos

Hi

We are trying to do something similar, invoke a BAPI and display all the rows returned on a table using a Xacute query.

But unfortunatly only the last row is displayed in the table. Some where it overwrites the rows (hence only the last row is shown)

When we add a "writefile" or a tracer we can see all the rows, only when we use the Xacute query do we have this problem? Any ideas?

The link above aint working, is it still available?

Looking forward to your response

Thanks

Dilip

jamie_cawley
Advisor
Advisor
0 Kudos

Search for "xmii manufacturing templates" this contains about 100 examples.

Regards,

Jamie