cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperlink address operation

Former Member
0 Kudos

Hi,

I have a button with this hyperlink address value: "/irj/servlet/prt/portal/prtroot/LoadDocs.LoadDocs?D="&#ID[ACCBD4]@NUMFACTURE&"&T=1"

The parameter "&#ID[ACCBD4]@NUMFACTURE&" is a text type. I would like to convert it directly into a int a make the following operation on it: *3 + 555

Is this possible ? The aim of this operation is to encrypt the value of the parameter to prevent users from changing the URL and accessing other files they are not supposed to see.

Thanks for your help.

Thibault Schalck

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can use the expression builder to perform this convertion in another field (of type number) and pass it as a parameter.

Hope This Helps.

Omer.

Former Member
0 Kudos

Murtuza Kharoda, your expression is not valid.

Omer Sharav, what is expression builder ? A VC tool ? I cannot find it...

Former Member
0 Kudos

Hi,

I mean to create a new Field, Select its type to be "Expression Box", then double click it to display its properties, then click on the "Formula" Button next to the "Expression:" field to set its value.

see:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f...

starting from page 139

and:

http://help.sap.com/saphelp_nw70/helpdata/en/47/7f06130708199ae10000000a42189d/content.htm

for more details.

Hope this helps.

Omer.

Former Member
0 Kudos

Hi,

Did you try

"/irj/servlet/prt/portal/prtroot/LoadDocs.LoadDocs?D="&(NVAL(#IDACCBD4@NUMFACTURE)*3+565)&"&T=1"

Regards,

Murtuza

Former Member
0 Kudos

Hi,

SOrry there was an additional & copied out there. My intension was to tell you to use NVAL function to convert the string into number and perform your encryption logic.

"/irj/servlet/prt/portal/prtroot/LoadDocs.LoadDocs?D="&(NVAL(#IDACCBD4@NUMFACTURE)*3+565)&"T=1"

Regards,

Murtuza