on 08-15-2006 4:46 PM
I am working in a small demo which calls a Remote Enable Function Module in order to read data from the back end system. Since the function module I need to call ("BP_BUPA_SEARCH_BY_USER") is not Remote Enable I created a copy of it and made it Remote Enable ("Z_BUPA_SEARCH_BY_USER"). I have created the model within webdynpro without any problems but when my application reaches the line where I create a new instance of the object Z_Bupa_Search_By_User_Input (see below the source code), just before to call the remote function, the application stops there. I have exactly the same code in another bapi calls and it works fine. I am wondering if my problem has anything to do with the fact the function module i am calling is the function module I created. Any advice is very welcome.
Regards,
Diego.
Source Code:
msg.reportSuccess("------>>>"); "THIS LINE IS PRINTED
Z_Bupa_Search_By_User_Input searchByUser =
new Z_Bupa_Search_By_User_Input(); "PROGRAM STOPS HERE
msg.reportSuccess("<<<------"); "THIS LINE DOES NOT
wdContext.nodeZ_Bupa_Search_By_User_Input().bind(searchByUser);
msg.reportSuccess("<----
");
msg.reportSuccess("if (Internet_User != null)");
if (Internet_User != null) {
Usselmodbe ir_user = new Usselmodbe();
ir_user.setSign("I");
ir_user.setOption("EQ");
ir_user.setLow(Internet_User);
searchByUser.addIr_User(ir_user);
}
Hi,
Try to get some more error info, e.g. like this:
try {
Z_Bupa_Search_By_User_Input searchByUser =
new Z_Bupa_Search_By_User_Input(); "PROGRAM STOPS HERE
} catch (Exception e) {
msg.raiseException(e.getMessage(), true);
}
msg.reportSuccess("<<<------"); "THIS LINE DOES NOT
good luck,
Roelof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It seems to be problem with Generated classes. Why don't try with the process once again.
Your code seems to be fine. I am using the same. It is working for me.
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.