on 03-18-2014 5:52 AM
Hi Experts,
Am trying to call r/3 screen manager document using FM, but am getting error message that display manager document not found, no document is available ..am getting screen in r/3 but when am trying to display screen from Portal am getting please check this FM and let me know the solution.
call function 'HRHAP_RFC_DOC_LINK_GET_URL'
destination l_rfc_destination
exporting
link_id = link_id
plan_version = s_if_document-plan_version
template_id = s_if_document-template_id
s_appraisal_id = s_if_document-s_appraisal_id
s_header_status = s_if_document-s_header_status
s_header_dates = s_if_document-s_header_dates
s_doc_processing = s_if_document-s_doc_processing
ui_environment = 'W' " Webdynpro
importing
url = url
s_return = s_return
tables
t_header_appraiser = s_if_document-t_header_appraiser
t_header_appraisee = s_if_document-t_header_appraisee
t_header_part_appraisers = s_if_document-t_header_part_appraisers
t_header_others = s_if_document-t_header_others
t_body_elements = s_if_document-t_body_elements.
Hi Syed,
You can not display the dialog from FM in WDA as we do it in ABAP.
Try to create a report with FM: and create t-code for the same.
Try to call the t-code from WDA application.
Please refer the below links
Call SAP Tcode using Webdynpro for ABAP
Also, there are many similar threads on scn.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rama,
Thanks for replying. Actually i have display Manager Document screen according to particular user...am getting error as Screen output without connection to user. When am trying to execute above function module..here am not getting URL of particular screen, If it is not possible please let me know how to achieve my req
Regards
Syed
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.