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

Hi,
After mapping and binding to the view, under the Custom Controller init method I have writtten,
  Bapi_Salesorder_Getlist_Input input = new Bapi_Salesorder_Getlist_Input();
  wdContext.nodeBapi_Salesorder_Getlist_Input().bind(input);
To excute the Bapi i written this code under executeBapi() with try catch balock. and called this method under view search buttton.
wdThis.wdGetSalesOrderCustController().executeBapi();
The program executed success fully and now I need to enter the customer Number and click on Disaply Button, Please could you give me once sample customer number to display the sales order list for him?
Peter

Similar Messages

Maybe you are looking for

  • How to use vendor code '0' - Zero

    Dear Experts, Our customer needs to use one vendor code as '0' in their process and we maintained that vendor on SAP successfully. We created Purchase order for that vendor and then create Inbound delivery referring to Purchase order, but we got the

  • OD users resetting their own passwords

    Looking for a mechanism whereby OD users can reset their own passwords--specifically users without workstation access. I am deploying a lot of blog/wiki services to clients. Am finding that I have to generate random passwords for them--would rather p

  • Database connection error ORA-01034 oracle not available

    Hi Can some one help me out from this probs. I have a oracle8.15 enterprize edition running on solaris 5.6. It's been running fine since few months from deffent clients. But today its giving ORA-01034 error when i try to connect to database from clie

  • Mitigation still required even for Rejecting Request

    Hello All, Risk owner is trying to reject request (Approval status = Reject) but still it says to mitigate risk. Also tried to change approval status = Reject and re run risk analysis again in Risk violation table and submit the request. Here it show

  • Enchancements for sales order header

    HI, I have created a new field Backorder Reason in the additional data tab B (Screen number 8309) for the sales order header.The new field is of input/output field.The new field should be able to select the values and save the sales order.I have done