Skip to Content
author's profile photo Former Member
Former Member

How to Display Multiple Rows in Business Logic Editor

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Oct 19, 2007 at 08:36 PM

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

    Regards,

    Jamie

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2007 at 12:11 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 11:37 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.