How to access BSP-Parameters in the URL in view "ICCMP_BTSHEAD/BTSHeader"?

Dear Expert,
I have the foloowing links:
<Server>:Port/sap/bc/bsp/sap/crm_ui_frame/default.htm?crm-object-type=BT116_SRVTK&crm-object-action=B&crm-object-value=<GUID>&sap-client=200&sap-language=DE.
I would like to access the parameter value "crm-object-value=<GUID>" in the view "ICCMP_BTSHEAD/BTSHeader" to do some checks before loding the view?
How to do that?
Is there a method or attributes of the view implementation class to do that?
Best regards
Ahmed Hadi

Hi,
You can read URL query parameters in your view(.htm) as like below:
data: lv_guid type string.
lv_guid = request->GET_FORM_FIELD( name = 'crm-object-value' ).
regards
Ismail

Similar Messages

  • How to access GET-parameters in portal url

    Is it possible to access GET-parameters in a bsp application in an iview in the enterprise portal, and if so, how do I do it?
    If you look at the url of this post (/message/1514719#1514719 [original link is broken])
    I would like to have the value of "forumID" in the bsp application in the iview with shortlink "thread".

    Raja,
    your solution is what I was initially looking for, so thank you.
    Can you also supply a link to the article you refer to?  I can't find it:-)
    But while looking for this I found something even better, a way to pass parameters to an iview without having to define them in the iview ApplicationParameter-property.
    Apparently the trick is to add the parameter "DynamicParameter" to the url, that translates to different parameters in your bsp application(iview).
    So if you want your bsp application to have the parameters "roomid=555&date=01.01.2007" your url should be
    http://bla/irj/portal/rooms?DynamicParameter=roomid%3D555%26date%3d01.01.2007
    where %3D is the ascii representation of "=" and %26 is the ascii representation of &.
    I found this here : /message/529588#529588 [original link is broken] , but in this thread they say to separate the parameters by a ";", whereas for me it only works when i use %26 (&).
    Message was edited by: Dries Horions

  • How to hide parameters in the URL ?

    Hi,
    Iam using Reports 6i on web. Now Iam calling report from a report (Drill done report) using SRW.SET_HYPERLINK.
    Iam passing lot of parameters to this detail report.
    When I call the main report the URL looks like:
    http://devreports.wwt.com/dev60cgi/runrep.sh/15369?
    But when I click on the link in this main report for details, the detail report URL looks like this.
    http://devreports.wwt.com/dev60cgi/runrep.sh/15369?emp_detail&p_emp=45&p_job=clerk&p_format=PDF
    Iam hiding userid/passwd@database in the cgicmd.dat file
    I want to hide all the other parameters also like
    the Main report URL :
    http://devreports.wwt.com/dev60cgi/runrep.sh/15369?
    How to do this ?
    Please help me if anybody has the solution.
    Thanks alot.

    Hi Ram,
    Not sure if this is possible.
    However, one workaround might be the following:
    1. Write a javascript that submits the URL using, say a POST method, and does not show the parameters in the URL. You will have to write this javascript code in the "Before Report" Report Escape. For a generic example on how to use javascript in a report, see Metalink Note 125652.1. This note shows javascript to disable the right-click of the mouse on the report output.
    2. Use the Hyperlink peroperty of the report to call this javascript function, eg,
    javascript:myfunction('http://machine:port/reports/rwservlet?report=...+server=...+empno=&empno')
    I am not a javascript expert, so I cannot give you an example of the function, but I hope someone in your team can find out.
    Navneet.

  • How to hide the parameters in the url

    Hi,
    Can anyone help me to hide the parameters being passed in the url. For example, when a link is clicked i want to pass few parameters to it, but i dont want to display those parameters in the url. Can anyone help me figure out how can i achieve this?
    Thanks
    ri

    In your CO's processFormRequest, do pageContext.putTransactionValue(name, value). You can retrieve the value using pageContext.getTransactionValue(name). Please use your own judgement to use Transaction or Session as the place holder as per your requirement. In most cases, transaction would do but if you want the values to be retained across transactions, use Session. Also, make sure to clear those values when you are done with the values so that this does not get retained across session/transaction.
    Incase, you want the values only for the next submit and not for the transaction, you can use pageContext.putParamater() and pageContext.getParameter() which has a very short life cycle.
    Regards,
    Guru.

  • How to specify more than 6 parameters in the URL or in the HTTP header?

    After applying SAP note 1105368 ,it will be availible to specify more than 6 parameters in the URL  header.
    But i haven't figured out  how to specify it yet.even though i went through the note carefully, but it really hard to understand.
    Is there someone who experienced to specify more than 6 parameters ?
    Inccording to the note,the parameter fileds look like should be
    specified like below.
    parameter1: <SAP:Record namespace="http://sap.com/xi/XI/System/HTTP" name="SAP_URL_EXTENSION">urlext</SAP:Record>
    parameter2:<SAP:Record namespace="http://sap.com/xi/XI/System/HTTP" name="urlext01">Order=4711</SAP:Record>
    parameter3:<SAP:Record namespace="http://sap.com/xi/XI/System/HTTP" name="urlext02">Object=1807</SAP:Record>
    but something about the format doesn't look right....

    Hi,
    I know we can set headers by using some tools. Neoload tool is used to set values into header.
    If Servlet after receiving the request you can set header values and send back with response.
    Check this
    http://www.unix.com.ua/orelly/java-ent/servlet/ch05_06.htm
    Thanks,
    RamuV

  • How to pass APEX_UTIL.COUNT_CLICK parameters in the url

    Hello,
    I have to count clicks on the List items:
    There is a Click Counting option in the definition of each List item,
    and you can add Click Count Category there.
    However, I also need to add Click Id parameter - p_id.
    This parameter (p_id) suppose to pass a value into CLICK_ID column of the APEX_WORKSPACE_CLICKS view.
    I am constructing a url for that.
    The url without p_id works perfect:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_company=&WORKSPACE_ID.&p_user=&APP_USER.But the url with p_id does not work at all:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=Profile&p_company=&WORKSPACE_ID.&p_user=&APP_USER.Do you know how to pass p_id parameter in the url, so that it would be inserted in apex_workspace_clicks view?
    Thank you!

    CLICK_ID column of the APEX_WORKSPACE_CLICKS is a Number, so you have to pass a number, ex:
    &p_id=1
    So your url should look like:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=1&p_company=&WORKSPACE_ID.&p_user=&APP_USER.You can use a page number to associate with a click, to be more descriptive

  • Reference additional parameters via the URL

    Is it possible to reference additional parameters via the URL?
    I would like to be able to reference the value of CUSTOM_PARAM in the following simple example
    f?p=4000:1500:3712511906556636:::RP::&CUSTOM_PARAM=12345

    Hello Craig,
    I dont know if you already solved the problem but as you probably noticed I had the same, if you are running on a remote host with minimum privileges this is simply not possible but if you have your personal server and database this is the solution to go(thanks to your idea).
    create or replace procedure APEX_040000.f2(
    P in varchar2,
    P_SEP in varchar2 default null,
    P_TRACE in varchar2 default null,
    C in varchar2 default null,
    PG_MIN_ROW in varchar2 default null,
    PG_MAX_ROWS in varchar2 default null,
    PG_ROWS_FETCHED in varchar2 default null,
    FSP_REGION_ID in varchar2 default null,
    SUCCESS_MSG in varchar2 default null,
    NOTIFICATION_MSG in varchar2 default null,
    CS in varchar2 default null,
    S in varchar2 default null,
    TZ in varchar2 default null,
    P_LANG in varchar2 default null,
    P_TERRITORY in varchar2 default null,
    code in varchar2 default null, <-- Custom variable
    error_reason in varchar2 default null, <-- Custom variable
    error in varchar2 default null <-- Custom variable
    +) is+
    begin
    --write your code here+
    APEX_040000.f(P => P,P_SEP => P_SEP, P_TRACE => P_TRACE,C => C, PG_MIN_ROW => PG_MIN_ROW, PG_MAX_ROWS => PG_MAX_ROWS, PG_ROWS_FETCHED => PG_ROWS_FETCHED, FSP_REGION_ID => FSP_REGION_ID, SUCCESS_MSG => SUCCESS_MSG, NOTIFICATION_MSG => NOTIFICATION_MSG, CS => CS, S => S,TZ => TZ,P_LANG => P_LANG,P_TERRITORY  =>  P_TERRITORY);
    end f2;
    Then it is important to indeed grant public access to it with:
    grant execute on APEX_040000.f2 to public;
    Now here comes to part that actually does it and where the right privileges are needed.
    create or replace public synonym f for APEX_040000.f2;
    Overloading the F procedure didnt work for some reason, probably because F is a wrapped procedure.
    But this worked perfect !!!

  • Get the parameters from the URL

    Hi all,
    In my applet I need to know the parameters that are in the URL. But I don't know how to do this.
    I started with this:
    String URL=getDocumentBase().toString();So URL has the full url, like: http://127.0.0.1./test.html?Testparam1=hello
    What I could think of is to use :
    int i = URL.getindexof("?Testparam1");
    String value =URL.substring(i);But that is not very handy when using more parameters.
    Is there an other way to get the parameters from the URL?

    You could use a regex or a StringTokenizer, but I'll bet there's a library somewhere that'll do it for you. Probably something in Apache Jakarta Commons. As far as I know there's nothing in the standard library that'll fully parse query strings for you, although you can use java.net.URLDecoder to decode the url-encoding (the %xx encoding).
    If you don't want to find a specialized library, then probably a regular expression is the easiest approach.

  • HOw Can I remove faces from the URL

    I know that it's in the web.xml file but as soon as i remove the faces part from the file nothing works. Someone please tell me how to properly remove "faces" from the url. Example http:.//localhost:8080/croot/Page1.jsp
    Thanks in advance

    I know that it's in the web.xml file but as soon as i remove the faces part from the file nothing works. Someone please tell me how to properly remove "faces" from the url. Example http:.//localhost:8080/croot/Page1.jsp
    Thanks in advance

  • How to create a pdf for the URL attached to an invoice and send it as an attachment in a mail

    HI,
    I have requirement where i need to get the URL attached to an invoice, create the pdf and send as an attachement in a mail.
    The URL attached to an invoice can be seen by following the path : VF03-> Billing document->system->Services for object ->Attachement list.
    On searching through existing forums, i found that there is a table 'SRGBTBREL' which stores relationships of GOS object. On giving the invoice number in field 'INSTID_A', i could find an entry in this table.
    To get the content, i used the class CL_FITV_GOS, method GET_CONTENT. To this method i passed following values:
    IV_ATTA_ID = FOL21000000000521URL39000000000012 (The value if field INSTID_B from table SRGBTBREL)
    IV_OBJTP   = 'URL'
    On execution, i get URL link but the content table is empty.
    Could anybody provide some input on how i get the content? Or may be how i can create pdf from the URL link and attach it to mail as an attachment?
    Thanks,

    Hi Amit,
    Solution provided by you is working when the link length is one line but it is not working for more than one line
    Eg: say link is https://......80 [80 characters long]
    I will give    <a href="https://...72            [in first line]
                     73..80">click here</a>         [in second line]
    I will get the output as 73...80">click here
    But i want only CLICK HERE in my output..
    Please suggest solution.
    Thanks,
    Kavya

  • How to get two parameters in the same line of selection screen?

    hello
    i need to get my selection csreen like bellow.
    r1 radiobuttion  -some space --p1 parameter
    i should not get the parameter in the next line of  radiobuttion.
    how to get two parameters in the same line of selection screen?

    hi....
    modify the following code
    it will work
    SELECTION-SCREEN BEGIN OF BLOCK SL1 WITH FRAME TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(15) TEXT-001
                     FOR FIELD P1.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS : P1 TYPE   C USER-COMMAND R2 RADIOBUTTON GROUP R2 DEFAULT 'X',
      P2 TYPE SCARR-CARRNAME,
      P3 TYPE CHAR1 RADIOBUTTON GROUP R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK SL1.

  • Can someone tell me how to access Illustrator CC on the cloud. I currently have CC 2014 but I do not want to use it since it is extremely slow for me.

    Can someone tell me how to access Illustrator CC on the cloud. I currently have CC 2014 but I do not want to use it since it is extremely slow for me.

    The Cloud is a delivery process... you still install the program(s) on your computer, and then pay a subscription fee to use the program(s)
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html
    -Cloud status check 30-or-99 days https://forums.adobe.com/thread/1549838
    OR buy the 3 year old version which is a one time payment Creative Suite 6

  • PL/SQL Entity Object - How to access OUT parameters in OA Page

    Hi,
    I have the following pl/sql code which takes 4 input parameter and inserts values to database table.
    create or replace procedure xxfwk_emp_create(p_person_id IN NUMBER, p_first_name IN VARCHAR2, p_last_name IN VARCHAR2, p_sal IN NUMBER, p_error_msg OUT VARCHAR2) is
    cursor c1 is select EMPLOYEE_ID from fwk_tbx_employees;
    v_status varchar2(1) := 's';
    BEGIN
    for v_c1 in c1 loop
    if v_c1.employee_id = p_person_id then
    p_error_msg:= 'Person with this id already exist';
    v_status := 'e';
    end if;
    exit when c1%notfound OR v_status='e' ;
    end loop;
    if v_status = 'e' then
    goto error;
    end if;
    INSERT INTO FWK_TBX_EMPLOYEES(EMPLOYEE_ID,
    FIRST_NAME,
    LAST_NAME,
         FULL_NAME,
    SALARY,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_LOGIN)
    VALUES(p_person_id,
    p_first_name,
    p_last_name,
    P_first_name||' '||p_last_name,
    p_sal,
    sysdate,
    fnd_global.user_id,
    sysdate,
    fnd_global.user_id,
    fnd_global.login_id);
    <<error>>
    null;
    END xxfwk_emp_create;
    I have following code in EO Impl class
    public void insertRow()
    try
    OADBTransactionImpl oadbTrans = (OADBTransactionImpl)getDBTransaction();
    String s = "begin xxfwk_emp_create(p_person_id=>:1, p_first_name=>:2, p_last_name=>:3, p_sal=>:4, p_error_msg=>:5);end;";
    OracleCallableStatement oraCall = (OracleCallableStatement)oadbTrans.createCallableStatement(s,-1);
    oraCall.setNUMBER(1,getEmployeeId());
    oraCall.setString(2,getFirstName());
    oraCall.setString(3,getLastName());
    oraCall.setNUMBER(4,getSalary());
    *< How to access Out Parameter from The procedure >*
    oraCall.execute();
    catch(SQLException sqlException)
    throw OAException.wrapperException(sqlException);
    catch(Exception exception)
    throw OAException.wrapperException(exception);
    In this insertRow i want to get the error message (out param) and throw this message as exception in OA page.
    What changes i need to do in my page?
    Regards,
    Ram

    You can use this code...
    String current_value=null;
    OracleCallableStatement st1=null;
    try {
    String stmt = "begin xxfwk_emp_create(:1,:2,:3,:4,:5); end;";
    OADBTransaction oadbTransaction1 = am.getOADBTransaction();
    st1 =(OracleCallableStatement)oadbTransaction1.createCallableStatement(stmt,1);
              st1.setNUMBER(1,getEmployeeId());//or you can use st1.setInt(1,getEmployeeId())
              st1.setString(2,getFirstName());
              st1.setString(3,getLastName());
    st1.setNUMBER(4,getSalary());
              //Define Out parameter...
    st1.registerOutParameter(5,OracleTypes.VARCHAR);
         st1.executeUpdate();
              //Access out parameter value
         current_value=st1.getString(5);
    catch (SQLException s) {
    throw new JboException(s);
    finally {
    try {
    if (st1 != null) st1.close();
    catch (SQLException s) { }
    }

  • How do I move pages in the thumnb nail view. This was available in previous versions. Can't do it in the new version.

    How do I move pages in the thumnb nail view. This was available in previous versions. Can't do it in the new version.

    Pages v5+ is Apple's version of, “Who moved my cheese?”
    This is a brand new 64-bit rewrite redesign of the prior version. It isn't that they malevolently removed 100+ features that were user productivity habits — it is due to the fact that they haven't had time to restore 8 years of Pages evolution back into the application. The end result is the same. A largely useless product.
    It is anyone's guess what schedule priority and functionality Apple will follow with future application updates. For starters, they should set the version back to 1.0, if for no other reason, than to create an even greater cosmos between Apple Marketing and fact.
    There is no point going further. Peter has shared clarity. Apple is lost in its own funhouse of mirrors regarding desktop applications.

  • How do you adjust resolution on the iPad for viewing You Tube?

    How do you adjust resolution on the iPad for viewing You Tube?

    fire up youtube app>click video>on the video theres three dots … but vertically>click on it and click the first option its a settings symbol>choose resolution

Maybe you are looking for

  • Why is Numbers SO SLOW?!?

    Wow, I'm really thinking about switching back to Excel, which is like blasphemy for me. I only use Numbers for one spreadsheet. It's my personal budget. I have a tab for each account, and one tab where I enter reoccurring payments/credits. There is a

  • Firefox and Flash installed on USB-stick

    On my company PC we've got IE6 installed. Iv'e installed Firefox 3.6.12 on a USB stick and want to install Adobe Flash as well. I've downloaded and installed it does not appear as a Firefox plugin. How can I point Firefox to the right Flash "address"

  • Change to OTR Text in Title changes UI look and feel

    We are running: ECC 6 EhP3 NW7 LSO 603 We were asked to change the title of Package:  LSO_FRONTEND Alias: LSO_FRONTEND/ACTIVITIES When I tried to change it in the OTR it allowed the change but removed the tray around the title in the portal screen. 

  • MBpro to Older TV

    I have a macbook pro, with the DVI output on the side. I was wondering: 1) is there any kind of cord that would go to RCA video (JUST yellow, I don't have composite inputs) 2) is there a cord that'll work for the MBP like there is for ipod's that wil

  • Updating ipad software stuck

    Ipad Software update to IOS 7 stuck.  Failed with error code 14.  Recover in recovery mode also failed with error code 14.  Was able to restore to previous version on another Mac to 6.1.3 successful.  Tried the upgarde to IOS 7 again on the orginal I