on 06-09-2009 10:58 AM
Hi all,
How to delete rows in backend by using webdynpro java?
Please provide code?
Regards,
Srini
jygft
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please let us know following details:
a) What is the back end from which you want to delete rows?
b) Are you able to connect to DB from Web Dynpro application?
regards,
ganga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On the delete event call a BAPI which takes an import parameter (some unique key) in the table and code in your BAPI to delete that particular row. Once, the deletion from the backend is successful just delete the particular row from your context too so that it would not appear in the list on front end.
Regards,
Murtuza
Hi Srinivasulu,
First you will have to import the BAPI into the web dynpro component.
Add the model to the used models of the component.
Create a binding between the model and component controller.
In the component controller instaniate the model class and bind it to the model node.
Create a method for the execution of the bapi.
You can access the following link for more information on how to call RFCs from Web Dynpro:
In your case you can have a single model and import all the BAPIs in the same model.
Create the binding between the component controller and model. Create the model nodes for the BAPIs.
Create methods to execute the BAPIs.
On the action like approve or reject or save, parameters of the BAPI are set in the model node and the method which executes the required BAPI is called.
Regards,
Kartikaye
Hi,
Delete operation can be performed in RFC only.
Pass the table row that is to be deleted from WDJ to RFC and write the code for performing delete operation in the RFC.
Regards
Shruti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.