Hi,
I have created a mail step in workflow to send notification to user. I am trying to create a link to tcode VA42 within that mail which will allow user to open up the sales doc in change mode and make changes if necessary.
Please find the first screenshot of the mail attached.
I am using the following HTML code --
Click <A HREF="sap-object://CUST_TRAN VA42 VBAK-VBELN = doc_number">Document_number</A> to edit the contract.
However, I read in other posts that this HTML code holds good for SAP Business workplace related tcodes only and not for any other tcode.
So as a second option, I created a task and a method to create shortcut for VA42 and mail it using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to SAP user.
Please find the second screenshot of the mail attached.
When I click on the attachment, it opens up another SAP session with some junk values.
Third screenshot attached.
Can you please help me out on how to create link/attachment to VA42 within mail.
Thanks,
Smita