Skip to Content
avatar image
Former Member

Can an ABAP Report Progam call inside a WebDynpro Component?

Hi

I have developed a report program in ABAP for Attendance report for employee, which can seen by Managers. Now same requirement to be created in ESS/MSS portal which I need to do in Webdynpro. Can it possible to convert the report program in webdynpro component. Can any one suggest me  in this regard.

Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 11, 2012 at 01:05 PM

    Gopal,

    Method-1.


      DATA: rspar_tab  TYPE TABLE OF rsparams,
            rspar_line LIKE LINE OF rspar_tab.

      rspar_line-selname = 'P_LOCTYP'.
      rspar_line-kind    = 'P'. "" S-Select Options "" P-Parameters
      rspar_line-sign    = 'I'.
      rspar_line-option  = 'EQ'.
      rspar_line-low     = zcl_profile_common_static=>gv_emp_loctyp.
      APPEND rspar_line TO rspar_tab.

      rspar_line-selname = 'P_MAIL'.
      rspar_line-kind    = 'P'.
      rspar_line-sign    = 'I'.
      rspar_line-option  = 'EQ'.
      rspar_line-low     = <emp_mail>.
      APPEND rspar_line TO rspar_tab.

      wd_comp_controller->msg_manager->report_success(
           message_text = 'Background execution started sucessfully and e-mail would be triggered within a Couple of Minutes' ).

      SUBMIT z_profile_skill_report USING SELECTION-SCREEN '1100'
                     WITH SELECTION-TABLE rspar_tab
                     AND RETURN.

    **********************************

    Method-2.

      SUBMIT z_profile_skill_report VIA SELECTION-SCREEN
                WITH p_loctyp EQ zcl_profile_common_static=>gv_emp_loctyp
                WITH p_mail EQ zcl_profile_common_static=>gv_emp_mail
                AND RETURN.

    Add comment
    10|10000 characters needed characters exceeded