cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating POWL with WDA.

former_member199126
Participant
0 Kudos

Hello,

I am following the link http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f1d5ee-84ab-2c10-ce97-97dfd89bc... to integrate POWL with WDA.

When i execute the application, i am getting

500 SAP Internal Server Error

ERROR: Internal error occurred when processing parallel RFCs (termination: ERROR_MESSAGE_STATE)

I could not figure out why. Can any one help.

I find that there is no problem with the query, as i was able to test it using the tcode POWL_QUERY.

Thanks,

Karthik.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Karthikeyan,

  The error is on parameter SRVGROUP = 'X'. Please, try with SRVGROUP = SPACE.

Regards

former_member199126
Participant
0 Kudos

Thanks Yaiza, It worked   .. Could you please tell me what is wrong with that parameter and how does that impact the RFC??

why is the  lv_inbox_query parameter empty in this case ?

Also can you tell me about all the other params like forallq,refreshq,refresha,srvgroup..

Thanks,

Karthik

Former Member
0 Kudos

Hi Karthikeyan,

   In order to check the parameters meaning go to WD component: POWL_UI_COMP Window: POWL_MASTER Method: HANDLEDEFAULT. There you can see the import parameters required.

  Regarding to QSELPARA; I'm not really sure because I have not tested it but it seems this parameter is used to set default values for the query selection parameters. In the example is empty because table lt_query_params is empty.

  Regards

   

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Karthikeyan,

          Did you activated all the methods inside the feeder class ? try it !

Regards

Rajashiva

former_member199126
Participant
0 Kudos

Ram,

All the methods in the class are activated. Moreover i was able to test the Query in the tcode POWL_QUERY. It was working as expected

I am sure that i do not have any prob in the query side. Could you please check the code which i wrote in Handledefault in the window.

   DATA: lv_inbox_query TYPE string,
        lt_query_params TYPE rsparams_tt,
        lwa_param TYPE rsparams.

  DATA lv_qname TYPE powl_query_ty.

  lv_qname = 'ZPOWL_QUERY' .

  CALL FUNCTION 'POWL_ENCODE_SELPARA'
    EXPORTING
      i_selpara        = lt_query_params
*      i_escape         = '\'
    IMPORTING
      e_selpara_string = lv_inbox_query.

  wd_this->fire_out_plg(
    applid =     'ZPOWL_APPLID'           " string
    qname =      lv_qname                 " powl_query_ty
    forallq =    'X'                      " powl_xflag_ty
    qselpara =   lv_inbox_query           " string
    refreshq =   'X'                      " powl_xflag_ty
    refresha =   'X'                      " powl_xflag_ty
    srvgroup =   'X'                      " powl_xflag_ty
  ).
 

the method 'POWL_ENCODE_SELPARA' did not return anything. I am not passing anything in lt_query_params. Is this right ??

Correct me if i am missing anything.

Thanks,

Karthik