RFC Invokation problem
I am doing an adaptive RFC call .
following are the statements in the Romote Function Module which i am invoking.
first it inserts the parameters passed into a table
and then the code is
SUBMIT <report name > with parameter passing.
when i comment out the Submit statement and invoke the function module the parameters get populated in the table..but when i enable the SUBMIT statement the same set of parameters dont even get populated in the table. and i get the following exception in the logs of SAP J2ee appln server .
WDDynamicRFCExecuteException: Screen output without connection to user. , error key: RFC_ERROR_SYSTEM_FAILURE
The fact that the Function module is invoked the first time .. i think that there should be no problem JCO Connections or anything on the web dynpro part...
i am not able to find a solution to this problem .
Nagarajan Kumarappan replied
I don get u what ur mean to say about the SUBMIT part.Can u be litle more clear in this.
Usually <b>WDDynamicRFCExecuteException</b> occurs only when there are some changes made to the RFC side ABAP code or any change in the table tructure of the function module.
So its better that at this time of the exception reimport ur model in webdynpro, while reimporting at the last step before u Finish u will c the chages made to code in <b>deltasifany</b> part. If there is some changes u will be noted then u can press finish to continue or else if there is no change u get only deltasifany.
After doing this step just restart ur server.Because restarting ur server will remove the metadata cashe problem.
Try the above solution this would be fine.
Hope it helps,