on 12-02-2007 5:31 AM
Hi all:
I have one rfc in my r/3 backend system.
YHR_TEST_FUNCTION_JSP
It has one parameter in changing : S_STRUCTION , which type is ZTEST_STRUCTION_TAB type.
I use NWDS to generate java proxy class for this bapi. The enterprise connector wizard helps me to generate the java proxy class, Yhr_Test_Function_Jsp_Input , Yhr_Test_Function_Jsp_Output .
I write the jsp code to use this java proxy class to call YHR_TEST_FUNCTION_JSP , my code looks like following:
-
Yhr_Test_Function_Jsp_Input input = new com.xinao.test.Yhr_Test_Function_Jsp_Input();
Ztest_StructionType ztype = new Ztest_StructionType();
ztype.setF_Parameter_1("ken2");
ztype.setF_Parameter_2("1");
ztype.setF_Parameter_3("1");
Ztest_StructionType_List ztypelist = new Ztest_StructionType_List();
ztypelist.addZtest_StructionType(ztype);
input.setS_Struction(ztypelist);
Test_PortType myproxy = new Test_PortType();
myproxy.messageSpecifier.setJcoClient(jcoclient);
Yhr_Test_Function_Jsp_Output output = myproxy.yhrTest_Function_Jsp(input);
-
After I run this code, it returns me the error message :
False parameter type during an Rfc call, error key: RFC_ERROR_SYSTEM_FAILURE
I cannot find out the reason of this error message
I check the old webdynpro code, I find that in webdynpro, if I import the same RFC, the java proxy input class will generate some method like " add " .
Why the pure java proxy class doesnot have the add method ? It only has setS_Struction
I have posted the problem to Sap Support, but there is no reply
Is there anybody can help to check the problems ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all:
Is there anybody meet with same error ?
Is there anybody have experience to use this Java Proxy ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there anybody meet the same error ?
Is there anybody have experience on using JavaProxy to call RFC ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.