WD ABAP - Reading the URL Parameters for FPM application

Hi,
As per the Custom requirment,
I want to pass URL parameters for WD ABAP application (sap/bc/webdynpro/dbm/app_veh_cus_search) which uses FPM.
example: sap/bc/webdynpro/dbm/app_veh_cus_search?Customer=12345&fromExternal=true
I am facing difficulty in reading the URL parameters.
How to read/get the URL Parameters for an FPM WD ABAP application????
Observation:
I tried reading the parameter in Window --> HANDLEDEFAULT method. But could NOT read the Parameters from here for FPM application whereas if I create a Z Custom application then I could read the URL Parameters. so the issue is in reading the URL Parameters for FPM application.
Kindly support
Regards,
Hussain

Hi Hussain,
You can do this either with the methods of interface if_fpm_parameter...
DATA lo_param TYPE REF TO if_fpm_parameter.
lo_param = cl_fpm_factory=>get_instance( )->mo_app_parameter.
CALL METHOD lo_param->get_value
    EXPORTING
        iv_key   = parameter_name
    IMPORTING
        ev_value = parameter_value.
or a more generic approach using class cl_wd_runtime_services...
cl_wd_runtime_services=>get_url_parameter
Cheers,
Amy

Similar Messages

  • List of the available parameters for the various URL options

    Hi all,
    Where can I find a list of all of the available parameters for URL options such as OMRET0=XXXXX (OMRET0=ActivitiesList or OMRET0=Homepage). I’ve created a copy task weblink and want the destination after the copy is saved to be the newly created Task Details page. I'd also like more information about the other parameter options.
    Thanks!

    Ok, I have found the solution:
    Juste use "DefTaskNew" parameter after .../user/
    Regards,
    Laurent

  • What are  the input parameters for Function Module

    Dear Experts,
    I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
    For that i want to write a Generic Datasource with Function Module.
    audat
    bukrs
    vkorg
    vtweg
    spart
    aurat
    auart
    netwr
    mwsbp
    kschl zedp(consition type)
    kschl zvat(condition type)
    ksch   zcst(condition type)
    matkl     material group
    Here what are the Input parameters for Function Module.
    Thanks in Advance.
    Srinivasan.

    Srinivasan-
    For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
    Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
    Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
    Let me know how it goes.
    -Bhushan.

  • What are the default parameters for PER_EVENTS api

    Dear Experts,
    Can you tell us what are the default parameters for PER_EVENTS API.Here below I have pasted the API.
    procedure create_event
    (p_validate in BOOLEAN default FALSE
    ,p_date_start in DATE
    ,p_type in VARCHAR2
    ,p_business_group_id in NUMBER default NULL -- HR/TCA merge
    ,p_location_id in NUMBER default NULL
    ,p_internal_contact_person_id in NUMBER default NULL
    ,p_organization_run_by_id in NUMBER default NULL
    ,p_assignment_id in NUMBER default NULL
    ,p_contact_telephone_number in VARCHAR2 default NULL
    ,p_date_end in DATE default NULL
    ,p_emp_or_apl in VARCHAR2 default NULL
    ,p_event_or_interview in VARCHAR2 default NULL
    ,p_external_contact in VARCHAR2 default NULL
    ,p_time_end in VARCHAR2 default NULL
    ,p_time_start in VARCHAR2 default NULL
    ,p_attribute_category in VARCHAR2 default NULL
    ,p_attribute1 in VARCHAR2 default NULL
    ,p_attribute2 in VARCHAR2 default NULL
    ,p_attribute3 in VARCHAR2 default NULL
    ,p_attribute4 in VARCHAR2 default NULL
    ,p_attribute5 in VARCHAR2 default NULL
    ,p_attribute6 in VARCHAR2 default NULL
    ,p_attribute7 in VARCHAR2 default NULL
    ,p_attribute8 in VARCHAR2 default NULL
    ,p_attribute9 in VARCHAR2 default NULL
    ,p_attribute10 in VARCHAR2 default NULL
    ,p_attribute11 in VARCHAR2 default NULL
    ,p_attribute12 in VARCHAR2 default NULL
    ,p_attribute13 in VARCHAR2 default NULL
    ,p_attribute14 in VARCHAR2 default NULL
    ,p_attribute15 in VARCHAR2 default NULL
    ,p_attribute16 in VARCHAR2 default NULL
    ,p_attribute17 in VARCHAR2 default NULL
    ,p_attribute18 in VARCHAR2 default NULL
    ,p_attribute19 in VARCHAR2 default NULL
    ,p_attribute20 in VARCHAR2 default NULL
    ,p_party_id in NUMBER default NULL -- HR/TCA merge
    ,p_event_id out nocopy NUMBER
    ,p_object_version_number out nocopy NUMBER
    );

    From the menu bar, select
     ▹ System Preferences... ▹ Network
    Click the Assist me button and select Assistant. Follow the prompts.

  • Could not read the profile path for user S-1-5-21-1272265863-3531003469-187

    hi
    I was doing the installation of the crm702 on MAXDB+WINDOWS.IN THE FIRST PHASE OF EXECUTION(CREATE USERS FOR SAP SYSTEM) I GOT THE ERROR MENTIONED BELOW.CAN SOMEONE HELPE ME    :
    An error occurred while processing option Enhancement Package 2 for SAP CRM 7.0 > SAP Application Server ABAP > MaxDB > Central System > Central System( Last error reported by the step: Could not read the profile path for user S-1-5-21-1272265863-3531003469-18741865-1021 from the registry: The system cannot find the file specified. .). You can now:
    Choose Retry to repeat the current step.
    Choose Log Files to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to C:/crmfeb.

    Hi,
    Delete all keys in registry (regedit) with: S-1-5-21-1272265863-3531003469-18741865-1021. You can do it by find it - F3.
    After that restart sapinst.
    Regards.

  • Displaying the URL parameters in pdf file.

    Hello, I need help about using JavaScript with pdf file. I have an URL like this: http://www.a.org/mta/sigtr_mta.pdf?&rqst_id=8762312&inst=The+Jackson+Laboratory&pi=Dr.PI& 022008-UCD. Is there a way that I can extract the URL parameters (such as rqst_id or inst ) from JavaScript in this pdf and replace some form text field with the parameters and set these fields to read only.
    I appreciate any of your help or hint!

    this.URI(), I believe, will get you the complete URI that the document was opened from. Then you can parse it any way you'd like.
    Leonard

  • I have forgotten what the url is for icloud, how do I log in?

    I have forgotten what the url is for icloud, how do I log in?

    iCloud web interface: www.icloud.com
    To set up your device with iCloud go "Settings > iCloud" (iOS 5) or "System Preferences > iCloud" (Lion & Mountain Lion)

  • How do u handle the user parameters for a currency field.

    How do u handle the user parameters for a currency field.
       Decimal saperator and a hundreds saperator. (depending upon the user parametes set for the user the saperators may differ)
          Eg: currency field: 13.896,01 (In this case u2018,u2019 is a thousand saperator and u2018.u2019 is a decimal saperator) How to handle this one.
    Regards,
    Ram.

    Hi,
    Try this code....
    DATA: V_KURSF1 TYPE c LENGTH 10,
            v_kursf2 type c LENGTH 10,
            v_dcpfm    TYPE xudcpfm, "Decimal or Thousand Notation
            v_thousand TYPE char1,   "Thousands Notation
            v_decimal  TYPE char1.   "Decimal Notation
      CONSTANTS:    c_x      TYPE char1 VALUE 'X',
                    c_y      TYPE char1 VALUE 'Y',      "Value Y
                    c_comma  TYPE char1 VALUE ',',      "Comma
                    c_point  TYPE char1 VALUE '.',      "point
                    c_blank  TYPE char1 VALUE ' '.      "Blank
      IF v_dcpfm IS INITIAL.
        SELECT SINGLE dcpfm
        FROM usr01
        INTO v_dcpfm
        WHERE bname = sy-uname .
        IF sy-subrc = 0.
          CASE v_dcpfm.
            WHEN c_x.
              v_decimal  = c_point.
              v_thousand = c_comma.
            WHEN c_blank.
              v_decimal  = c_comma.
              v_thousand = c_point.
            WHEN c_y.
              v_decimal  = c_comma.
              v_thousand = c_blank.
          ENDCASE.
        ENDIF.
       ENDIF.
               Find c_point in  wa_segment-exchange_rate.  ( Eg:ield)
              if sy-subrc = 0.
                replace c_point in wa_segment-exchange_rate with v_decimal.
              endif.

  • How to set the connection parameters for SQL

    How to set the connection parameters for SQL to access the MS Access database
    Attachments:
    Quick_SQL.vi ‏21 KB
    Doc1.doc ‏45 KB
    db1.mdb ‏112 KB

    Right-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
    This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
    If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator).

  • Is there a way to prevent Robohelp WebHelp from appending characters to the end of the URL address for a TOC Entry?

    I am running RoboHelp 10 on Windows 7 Enterprise SP1 64 bit OS.
    WebHelp is appending characters to the end of the TOC entry's URL address. The characters "bc-n" where n is a number are being generated for all of the TOC Page Entries when I generate WebHelp output. We are exporting the HTML files for import into an application. The TOC Page Properties Link to: property does not contain the characters in RoboHelp.
    We have standardized names defined for our application and the appended characters are not going to work in the application.
    cid:[email protected]
    When I use the generated html output in IE10 Version 10.0.9200.16635 Update Versions: 10.0.7 (KB2846071) the characters show up in the URL when I hover the mouse over the TOC entry as shown in the screenshot below.
    cid:[email protected]
    The two screenshots show that the Link to property does not have the characters "bc-7" but the URL address does.
    Is there a setting or way to configure RoboHelp to prevent Robohelp WebHelp from generating and appending characters to the end of the URL address for TOC Entries?

    I have never known Rh add any characters so I think something else is at play here. Please open one of the sample projects and see what happens there. Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Why do I keep getting an error message that reads "The URL is not valid and cannot be loaded."

    Whenever I click on a link that opens a new tab using "about:tab", an error pops up. The error box is titled "Alert" and the message reads "The URL is not valid and cannot be loaded."
    However, once I click OK, the page loads just fine. At first, I thought it might be one of my add-ons (Iuse a bunch), but it still occurs after restarting in Safe Mode. Any thoughts?
    I can even create the problem without clicking on a link inside a page if I simply type about:tab in the address bar.
    I am using Firefox 12.0

    Wow! I actually solved this on my own. I didn't find any thread that helped, but after reading a few, I figured poking around in about.config would help... and it did!
    Here is how I solved the problem:
    # Typed '''about:config''' in address bar.
    # When I got to the warning about voiding the warranty, clicked '''I'll be careful, I promise!'''
    # I found the setting entitled '''browser.newtabl.url''' (use the '''Search:''' box).
    # I double-clicked on the entry entitled '''browser.newtabl.url''' and deleted the info in the value portion.
    # Clicked '''OK'''.
    # Closed the tab.
    # Restarted Firefox and problem was solved.

  • Error when reading the DDIC-data for table

    Hi Tobias
    We upgraded from DMIS 2011 SP04 to SP07. We are in development system.
    To test initial load, we stopped replication for an existing table and then started replication for the same table.
    Mass transfer id connects ECC system to BW on HANA system.
    Replication errored with the following message:
    Error when reading the ddic-data for table MARD (RFC destination DWACLNT010).
    Looking for your guidance.
    Kind Regards
    Kamaljit Vilkhoo

    Was able to solve using oss note 1972533.

  • Editing the Parameters for Transport Application

    Hi  all
    we are trying to import portal object into portal.we are getting the message 
    "Root directory for import not found:  Check the transport application configuration"
    please lt us know how can we edit the Parameters for Transport Application and where?????????
    Regards
    zaid

    Hi,
    You need to change the pcdStartup.properties file.
    This file is the place where settings for folder like import and export are defined.
    Please have a look
    Re: portal transport import question
    http://help.sap.com/saphelp_nw04/helpdata/en/10/082840f3ddee01e10000000a155106/frameset.htm
    Thanks,
    Sekhar

  • Read the requirments list for a sequence in a sequence file

    Hi,
    How can i read the requirments list for a sequence in a sequence file.
    i used the below code for that but am getting "requirments" string.
    SequenceContext seqctx = e.uiMsg.Thread.GetSequenceContext(0, outframeid);
    if(seqctx.PreviousStepIndex >= 0)
    Step prvstp = seqctx.PreviousStep;
    String SeqTestID = prvstp.Sequence.Requirements.Name;
    Thanks in advance
    IVI

    From the TS Help:
    """Requirements Property (Read Only)
    Syntax
    Step.Requirements
    Data Type
    PropertyObject
    Purpose
    Returns the Requirements property for the step. The Links subproperty of the Requirements property is an array of string values that represents the product and unit requirements the step covers.
    Remarks
    You can use the following pseudo code to add a new element to the list of requirements:
    PropertyObject links = step.Requirements.GetPropertyObject("Links", 0);
    int nextAvailableIndex = links.GetNumElements();
    links.SetValStringByOffset(nextAvailableIndex, PropertyOptions.PropOption_InsertElement, "REQ_ABC");"""
    Instead of SetValStringByOffset use Step.Requirements.GetPropertyObject("Links",0x0).GetValStringByOffset(0,0x0).  Also, you don't have to get the nextAvailableIndex if you know which index you want.  If you want all indices then you will have to iterate.
    Hope this helps
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • The specified file or folder name is too long,the url path for all files and folders

    The specified file or folder name is too long,the url path for all files and folders must be 260 character or less
    can we increase this limit?
    MCTS,ITIL

    Hi,
    As I understand, you want to increase the length of URL path in SharePoint 2010.
    Per my knowledge, this limit cannot be increased. SharePoint limits URL length because all relative URL links are stored in the clear forms on the SharePoint content DB and often this links are used as primary keys to link one table with another. Fields
    which are used to store these links (for instance tp_DirName from the AllUserData table) allow storing only 256 characters.
    There are several ways that you can resolve or mitigate URL length problems in the SharePoint Server 2010 environment. The following list provides suggestions:
    1. Upgrade all the end-user browsers to Internet Explorer 8, which has a longer URL length limit.
    2. Use shorter names for sites, folders, and documents and control the depth of the site and folder structures to reduce the lengths of URLs.
    3. If possible or allowed, use ASCII names for sites, folders, and documents. This will avoid situations where the URL will be lengthened by being encoded.
    4. To reduce the risk that the SharePoint Server 2010 end-users will encounter problems because of URL length limitations, we recommend that you apply the following effective limits in the deployment:
    256 Unicode (UTF-16) Code units - the effective file path length limitation, including a domain/server name
    128 Unicode (UTF-16) Code units - the path component length limitation
    More reference:
    http://technet.microsoft.com/en-us/library/ff919564(v=office.14).aspx
    http://sharepointknowledgebase.blogspot.in/2013/04/url-path-length-restrictions-in.html#.VKJN53BJA
    Best regards,
    Sara Fan

Maybe you are looking for

  • HP LASERJET P1005 WON'T PRINT SINCE WINDOWS UPDATED

    The last 2 times that Windows has updated I have had problems printing. The first time, I uninstalled and re-installed the printer and also ran the HP Print and Scan Doctor. Neither of those successfully fixed the problem and I ended up rolling back

  • Can I set the default locale for jvm

    Hi, Can I set the default locale for jvm? How to do it? Pan

  • Html to image jar available?

    I need to convert our company-signatures (in html) to imageformat. I want to do this in java. Anyone knows if there i a jarlib which i can use to convert HTML docs into an image?

  • FM for getting the SYSTEM STATUS in pp order.

    hi, i wnat to know what is the FM used to get the SYSTEM STATUS in pp order. and the parametes needed t be passed.

  • MUSE Not uploading

    For the last week, I have not been able to upload my sites modifactions. Everything starts as normal, but acts like it is trying to upload all files, rather than just the new/modified files. Then, it doesn't finish uploading and sort of just freezes.