cancel
Showing results for 
Search instead for 
Did you mean: 

Debug after Hyperlink is clicked

Former Member
0 Kudos

Dear Experts,

I need to know where the code is written when 'Approve' or 'Reject is clicked.

There is a FM which is being called in a program when the user submits the form.

The FM has the following piece of code:

CONCATENATE '<a href=link' number '&level=L1'

        '&userid=' ls_approver-level1 '>Approve</a>' into ls_message-line.

      CLEAR ls_message_temp.

      APPEND ls_message TO it_message.


CONCATENATE '<a href=link' number

       '&userid=' ls_approver-level1  '&level=L1' '>Reject</a>' into

       ls_message-line.

How do I find out where the code is written when we approve of reject.

How is that link is created?

Where it is updating the table after clicking Approve or Reject?

Regards

Mani

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Mani Bhushan,

You can find the action in the below places.

1) Check program exit for the particular workitem.

2) Check any webservice available for the action.

Thanks

Ananda

Former Member
0 Kudos

Hi Ananda,

Thanks for the prompt reply. Workflow is not being used. Code has been written to send mails. Also, how to check webservice available for the action?

Regards

Mani

0 Kudos

Hi Mani Bhushan,

Sorry for the delay. Can you send the sending mail code?. It will give the clear idea.

If my guess is correct, they might have used standard text(SO10) for mail body. If it is that case, link will be filled in code level. search with relative words in so10.

Here code is not required Approve/Reject act as a link.

Eg:- http://....................?sap-language=EN&userid=<user>

Thanks,

Ananda.