on 08-05-2010 7:55 AM
Hi Experts,
I'd like to create an event in java webdynpro here's the code:
(Of course I created the Model for the Sap_Wapi_Create_Event_Inputbut I didn't bind it anywhere is this a problem? )
Sap_Wapi_Create_Event_Input input = new Sap_Wapi_Create_Event_Input();
input.setObject_Type("ZHCM_ESS");
input.setObject_Key("test43");
input.setEvent("ON_CHANGE_INFO_TYPE");
input.setCommit_Work(true);
try{
input.execute();
}catch(Exception e){
e.printStackTrace();
}
The problem is: this code doesn't do anything. The event is not created by this RFC call. (I tried it in the ABAP side, callled this FM and the event was created)
Am I missed something?
Hi Ngastanek
You need to bind once you create the model node object for RFC.
Please refer to [Linking Remote Function Call to Web Dynpro|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/761eba66-0401-0010-b982-d5f5bd9e8f90?quicklink=index&overridelayout=true] and search on SDN for more details..
Hope it will 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.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.