on 02-26-2007 3:37 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
here I have:
Bapi_salesorder_Input
Output
Return
SalesOrder
SalesOrders
Customer_Number
Document_Date
Document_Date_To
Material
Purchase_Order
Purchase_Order_Number
Sales_Organisation
Transaction_Group
These Nodes and attributes are under custome controler , now I would like to know what should I map here?
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
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
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.