on 04-25-2008 11:50 AM
I want to hide the URL details when running webrfc reports. The link contains information that we want to hide form the user.
Is there a way of setting the form method to POST rather than GET when running a report using webrfc function WWW_GET_REPORT.
Thank you
Karen
yes its possible.
for example, if you have a report with a selection screen parameter called abc .
(parameters: abc(10) .)
then the code would be
form method="POST" action="http://abaphost.domain.com:1080/sap/bc/webrfc?sap-client=001" >
input name="PARC_ABC" size= 10 maxlength= 10 >
input type=hidden name= _FUNCTION size= 30 value= WWW_GET_REPORT >
input type=hidden name= _REPORT size= 30 value= Y_TEST_WEBRFC >
input type="submit" value="Execute report">
/form>
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply.
Unfortunatley I don't think my question was very clear. I am opening the report without using a selection screen from a hyperlink like the following
<a href="http://servername/scripts/wgate/webrfc/!?FUNCTION=WWW_GET_REPORT&_REPORT=ZREPORT&_TEMPLATE=HR_DEFAULT_WEBREPORTING&SELN_S_WEEK-LOW=zweek_no&SELN_S_PERNR-LOW=`PERSDATA-PERNR`&CBOC_P_UTIL=ON"
Is there somewhere in the link where I can change the GET to POST or somewhere in the SAP settings where I can change this. It looks like you are creating your own selection screen. Is this correct? Sorry if I've misunderstood your answer.
Thank you
Karen
I am opening the report without using a selection screen from a hyperlink like the following
do you mean to say that while hovering the mouse over the link you dont want the user to see the underlying link but just execute it?
for example , if you hover your mouse over some links in the web (say for example something says "click here") you will see the whole url (sometimes) in the browser task bar. are you trying to avoid it?
yes the example i had shown is my own sel screen.
Raja
When you click on the link I described you get a report results screen. The address bar in the web browser displays the whole link. The report is run from within CATS for the current CATS employee. However, someone could cut and paste this link and change the employee number to see someone elses report. This is what we are trying to avoid.
If we could have form method=POST in the results screen then the user can not copy or change the link.
I thought we might be able to change this in the report template, but this doesn't look possible.
Thanks again for your help
Karen
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.