on 04-30-2008 10:12 AM
Hi All,
I am using RFC model in webdynpro.I am fetching all the
Employee details from functionmodule .Right now i have employee details in my view (tableformat).now i want to create another employee in the view.i created one button for ADDEmpin table.how can i create addemp in view and i have to send to backend and it should be added in my table.plzz suggest me aboput this issue.
Hi,
yes you can enter data to the Backend database using BAPI's.
Use these following BAPI's to add data to database directly:
use Business object : BUS1065, for using the required Bapi.
Regards,
Sharma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi anil
i have a similar situation where i need to get the employee Name and number , how do i get that in Web dynpro .
Also i need the functionality for submit the record which stores in a table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi irsh / anil,
As said by all above, as you have RFC for populating table data, you need to have one RFC to which you will pass the employee details as input (import) parameters.
Ask your abap guys to create a FM to insert the record in r/3 table, and give the required fields to be stored.
Irsh: by following simple steps you can get the r/3 data in web dynpro table using Adaptive RFC.
check below threads and tutorials
PradeeP
Hi,
Please ensure that whether u have RFC model for create Employee.
In the list employee create a button for displaying a Another view where the user can enter the details about the employee and finally Bind the Model attributes to the ui elementys and finally save the data in the Backend System (Database).
for further information refer this link for RFC model.
[http://help.sap.com/saphelp_nw04/helpdata/en/2c/0e55405e68fc41a054a9c3af8aa6ce/frameset.htm]
Thanks and regards
Fistae
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil,
Just like Abappers have created a RFC for searching Employees, ask them to create an RFC for inserting a record in database. Then you have to use this RFC in your web dynpro application.
Regards,
Gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil,
You don't have to write much code if you do the bindings correctly. Just like how you have coded for searching the employees, you have to do coding for creating the record. The main thing is RFC which have to be created by ABAPPers to insert the record. In this RFC, Import parameter must be some structure corresponding to your table in which you want to add the record. In the RFC using structure values, code must insert record into the table.
There are some excellent articles and tutorials available in SDN specifying the code for how to use RFCs in Web Dynpro java.
Regards,
Gopal
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.