cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic URL HRRCF_CS_IT_EXA_VERIF_REG in smartform

krishna_k17
Participant
0 Kudos

Hi All,

I have got an issue with E-Recruitment correspondence letters, in the HRRCF_CS_IT_EXA_VERIF_REG there is a URL to be displayed on the smartform with hyperlink.

Here the URL is spread across multiple lines, and when i place cursor on the first line then it is displaying hyper link on the first line only, on click it is navigating to the URL site, but if i place cursor on other lines of the URL it is neither displaying hyperlink nor navigating to the URL.

I requirement is to display hyperlink on all the lines of the URL and it should navigate to particular URL site.

Note: Same exists when i used standard smartform HRRCF_CS_IT_EXA_VERIF_REG.

I have searched in the SDN, but i didn't find any thread related to my expected output.

Regards,

Krishna

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Former Member
0 Kudos

HI Rujiphone,

First you have to pass sf_output_options-URLCALL = 'HR_RCF_SF_URL_CALLBACK'.

Then in your smartform call this function module HR_RCF_SF_URL_PREPARE_CALLBACK and assign your URL to the internal table. It will work properly. Please let me know incase any issues.

Thanks & Regards,

Hemachandran.R

Former Member
0 Kudos

Dear Hemachandran.R,

It's seem does not work.

URL link is still underline only first line.

My step:-

1. Called fm 'HR_RCF_SF_URL_PREPARE_CALLBACK' in Global Definitions->Initialization with the following code:-

  types: BEGIN OF ty_url,
            name(80),
            url TYPE string,
          END   OF ty_url.

  DATA: lt_url type table of ty_url,
            ls_url TYPE ty_url.


  ls_url-name = 'Click me'.
  ls_url-url = CANDIDATE-VERIFICATION_URL .

  append ls_url TO lt_url.
  CALL FUNCTION 'HR_RCF_SF_URL_PREPARE_CALLBACK'
    TABLES
      pt_url        = lt_url[].

If i do anything wrong please kindly help me.

Best Regards

Former Member
0 Kudos


HI,

Please follow the below steps.

Step 1:  pass sf_output_options-URLCALL = 'HR_RCF_SF_URL_CALLBACK'

Step 2: in your smartform, create a hyperlink and assign name as 'CLICKME'.

Example: on the text element create hyper link like <%W>&GV_TEXT&</>

Step 3: Assign gv_text = 'CLICKME'.

Step 4: On you initialization follow your code and make sure ls_url-name = 'CLICKME' Ie case sensitive

Please check it and let us know incase any issues. For me its working fine.

Thanks & Regards,

Hemachandran.R.

david_liu1
Advisor
Advisor
0 Kudos

Hello,

Please take a look and apply the SAP note 1677721.

Regards,

David

krishna_k17
Participant
0 Kudos

Hello David,

Thank you for the response.

The URL in the smartform is working fine and navigating perfectly, but the hyperlink is not shown on the remaining two lines.

The above one is the image of the URL how it look like.

Regards,

Krishna

krishna_k17
Participant
0 Kudos

Hi All,

Fixed the issue, with alternate solution suggested in SDN.

Thanks,

Krishna

Former Member
0 Kudos

Hi Krishna,

How you have solved the issue ?. Could you please share the knowledge.

Thanks & Regards,

Hemachandran.R