on 10-02-2014 10:56 AM
Hi All,
When a travel request or expense report was approved or rejected from portal POWL, employee (workflow initiator) receiving the following message.(attached screenshot).
From where it is coming. I am sure this is not coming from any workflows because, any of workflow task is not contain this description.
Regards,
Pavan.
Hello,
This may be a late reply but check the class CL_FITV_POWL_COMPOSE_MAIL and method IF_FITV_POWL_GET_MAIL_CONTENT~GET_MAIL_CONTENT.
Regards,
Murali Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan,
there are two possibilities:
1) The text is coming from the work item description text of the descision task. However, you said, this is not the case.
2) The text is generated in CL_FITV_POWL_TRIPS_TOBEAPPROVE->IF_POWL_FEEDER~HANDLE_ACTION
Check for the following section:
IF i_actionid = cl_fitv_powl_trips_tobeapprove=>con_action_approve. " handle action: APPORVE
CLEAR e_do_refresh.
LOOP AT c_selected INTO lv_selected.
READ TABLE c_result_tab INDEX lv_selected-tabix ASSIGNING <ls_result_tab>.
ASSIGN COMPONENT 'EMPLOYEENUMBER' OF STRUCTURE <ls_result_tab> TO <l_employeenumber>.
ASSIGN COMPONENT 'TRIPNUMBER' OF STRUCTURE <ls_result_tab> TO <l_tripnumber>.
CALL METHOD cl_fitv_powl_util=>approve_trip
EXPORTING
iv_powl_type = i_type
iv_employeenumber = <l_employeenumber>
iv_tripnumber = <l_tripnumber>
IMPORTING
ev_result = lv_result
et_message = lt_return.
IF lv_result = abap_true.
e_do_refresh = 'X'.
" Send email to employee if needed
IF lv_approve_with_email = 'X'.
MOVE-CORRESPONDING <ls_result_tab> TO lv_trip_info.
CALL METHOD cl_fitv_powl_util=>send_email
EXPORTING
iv_actionid = i_actionid
iv_trip_info = lv_trip_info
IMPORTING
et_message = lt_return.
ENDIF.
ENDIF.
cumulate_message( EXPORTING it_msgs = lt_return CHANGING ct_messages = e_messages ).
ENDLOOP.
ENDIF.
Cheers, Lukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.