on 07-08-2007 10:02 AM
Hi Experts,
I have to insert, update and delete some records from R/3 table CATSDB. In order to complete this exercise I am trying to use BAPI_CATIMESHEETMGR_INSERT, BAPI_CATIMESHEETMGR_DELETE and BAPI_CATIMESHEETMGR_UPDATE. Can you please guide me how to do it?
Regards,
Brian
Hi
Follow the links
http://help.sap.com/saphelp_nw04/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/content.htm
https://wwwn.sdn.sap.com/irj/sdn/articles-expert?startindex=81
_
Make sure that your RFCs are getting the right result before you import them in to your application.
_
Regards
- Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>Hi Brain
Plz Refer this pdf at the page No : 116
<u>SAP R/3 Style Guide</u>
http://help.sap.com/saphelp_nw04/helpdata/en/3b/5deaed2b82ef488ddac3d43535f708/MiniSG.pdf
Regards
Chandran</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Click on ModelsCreate Model
Select import Adaptive RFC Model
Provide Model Name
Select any package name as per your standards
Give logical system name for model instances (provided by Portal Administrator)
Give logical system name for RFC metadata (provided by Portal Administrator)
 Provide host name of the R3 system where your BAPI resides.
 System number for the R3 System.
 Client Number
 Username and password
 language
Once you are done with the above steps, you have created a model successfully.
Now add this model in your component controller.
Now map the input and output parameters in the MVC framework
Finally map these parameters with the associated UI elements on the screen.
Then bind your input node of the BAPI in the webdynpro aaplication
wdContext.<BAPI input node>.bind(<BAPI input element>)
try
{
wdContext. .<BAPI input node>.execute();
wdContext.nodeOutput.invalidate();
}
catch(WDDynamicRFCExecuteException ce)
{
// Handle the exception
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
i am doing an application on by using two BAPIs which are "BAPI_CATIMESHEETMGR_INSERT" and "BAPI_CATIMESHEETRECORD_GETLIST".
I used Insert bapi for inserting the data and getlist bapi for output. but i am unable to insert the data into the R/3.
JCO connectivity i also done properly and also i executed these two bapis in custom controller and i called these execute methods in first and second views.
I need sample data to insert into to the R/3 system. and also i want to know where can i see this data after inserting into the R/3(in which table it will be stored) system.
Personnel Number, End time, start time, and work date are the fields binded to the input fields in First view and in the implementation part of this view, i wrote the code as
try{
wdThis.wdGetMobile_CustController().executeBapi_Catimesheetmgr_Insert_Input();
wdThis.wdGetMobile_CustController().executeBapi_Transaction_Commit_Input();
}
catch(Exception e){
}
please provide some solution for this problem.
thanks,
Anu
Hi Brian,
Check this link with the sample application:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">tutorial [original link is broken] [original link is broken]
check Backend Access/ Model section.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For interaction will backend data Web Dynpro Model has to created.
In a Web Dynpro application import these BAPI in a ARFC Model. (BAPI should be remote call enabled)
In the model importer for ARFC Model select these BAPIs.
See following links:
Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.