on 06-02-2008 12:36 PM
Hi All,
I am trying to create sales order through Web Dynpro java application. I am using Createfromdat2 BAPI for this purpose. In wdDoInit() method of controller i have added following code
Bapi_Salesorder_Createfromdat2_Input inputCreate=new Bapi_Salesorder_Createfromdat2_Input();
wdContext.nodeBapi_Salesorder_Createfromdat2_Input().bind(inputCreate);
inputCreate.setOrder_Header_In(new Bapisdhd1());
inputCreate.addOrder_Items_In(new Bapisditm());
inputCreate.addOrder_Partners(new Bapiparnr());
Using this code i can create sales order but it takes only one item as input.
here i want to create application where user can give multiple items as input to BAPI......
Please Guide me on the same...
Thanks & Regards,
Arati Bondre
Repeat inputCreate.addOrder_Items_In(new Bapisditm()); for each item. This is also case with the multiple partners.
Cheers,
~kranthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.