on 03-09-2010 5:09 AM
Hi Friends,
I have one doubt in webdynpro with java. How to insert data into ECC System through view.
I have called one BAPI (BAPI_SalesOrder_Createfromdat1) that is inster data in to ECC System. So I need how to write code in that
If u have any example program please provide that.
Regards
Vijay Kalluri
Dear Vijay,
Please follow the steps given in this article [Handling Transactions with BAPIs in Web Dynpro|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c?quicklink=index&overridelayout=true]
Hope it helps!!
Warm Regards
Upendra Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
For saving input data to the BAPI, wirte the code like under try catch block:
1. Create the object of the BAPI for which the data needs to be given (<BAPIname> object = new <BAPIname>();)
2. Bind the object created to the BAPI. (wdContext.node<BAPIname>.bind(objject);)
3. Create object of the structure if required for input data
4. Set the Input structure with the values
5. Execute the BAPI.(wdContext.current<Bapiname>.modelObject().execute();)
Hope it helps
Regards,
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
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.