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

VC cannot see output parameters with TABLE type ?

Hi,

I'm trying to use BAPI_SALESORDER_LIST , everything is OK with design or connection but the problem is ; the BAPI has 2 output parameters , one is RESULT (export parameter) the other one is SALESORDER (table parameter) . When I try to test the BAPI within VC, it only displays RESULT parameter as an output but does not consider the main SALESORDER parameter which is a table and contains all the results. As the RESULT parameter is designed to display only errors, and as there is no error, the test of BAPI returns with a message "no record found" . But there are lots of results in the SALESORDER parameter. Any ideas ?

Best Regards

Ahmet

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2004 at 08:01 AM

    Hi Ahmet,

    I don't know the specific BAPI you're using (closest I found on my system is BAPI_SALESORDER_GETLIST which has the same metadata returned). When I tried to do what you described I got all records returned and displayed in both structures: RESULT and SALESORDERS.

    Have you added leading zeros for the input fields that needs it? (customer number field needs it for example in order to complete the number to a 10 digit number. The SAP UI adds those leading zeros when needed so you might miss it).

    Is it working for you in the preview when you run it?

    Best regards,

    Yaniv.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ahmet,

      Glad I could help. By the way, if you check the zero fill property for this field on the BAPI inside the VC then the test function dialog does the filling of leading zeros automatically.

      Best regards,

      Yaniv.

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.