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

BAPI_SALESORDERS_GETLIST

Friends,

I am trying to display sales orders detials in an iView using WD.

Like standard scenario, I pass input element as Customer_Number from WD iView and i want to see all the listed sales order for that specific customer.

To achieve this, I called the BAPI : BAPI_SALESORDERS_GETLIST, then i am confused here what parameter i need to bind to my custome controller?

is it

BAPI_SALESORDERS_GETLIST_INPUT

OR

BAPI_SALESORDERS_GETLIST_OUTPUT

OR

BAPIORDER

BAPIRETURNS

I am really confused here, and I appreciate for the kind answer on eloborating more on this ? it would be great exactly what parameters i should use to achieve this scenario?

many Thanks

Peter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2007 at 03:54 PM

    Hi Peter,

    in BAPI_SALESORDERS_GETLIST_INPUT you have all you want:

    input field parameters, tables, and output parameters (BAPIORDER list).

    In addition you can bind the BAPIRETURNS, to check errors or exception in calling BAPI.

    regards,

    Gianluca

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Gianluca ,

      Here I set the customer number under the init() method like: 400455

      Bapi_Salesorder_Getlist_Input input = new Bapi_Salesorder_Getlist_Input();

      wdContext.nodeBapi_Salesorder_Getlist_Input().bind(input);

      I set the input object to the Customer_Number like:

      input.setCustomer_Number("400455");

      Now I deployed the application, all the application layout is diplaying and when I click on Display button, nothing is happening, not even error.

      Please help me.

      Peter

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2007 at 06:21 PM

    Friends,

    i want to display list of sales orders for one particular customer, the materials ordered, quantity ordered, goods issue date of that particular order and contact information about that particular customer, using Webdynpro.

    Please somebody send me related inform,ation to complete this task, this is very urgent.

    Please help

    Peter

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Peter,

      I think that to fullfill your require it needs another BAPI.

      When you get the Sales Orders list and click on certain order, you must call another BAPI that takes this information in input and returns the order's detail.

      Regards,

      Gianluca

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.