Need Read URL parameters from Adobe from

Hi all,
I have a specific application where in i need to read the parameters of the iview URL from an adobe form. The adobe form is a stand alone adobe form in KM. Its not developed using netweaver developer studio. 
It would of very major help if some one can help me in this regard. Any javascript or formcalc to read iview URL parameters from an adobe form would be of great help.
Thanks in advance.
regards,
Deepthi lakshmi.A.

See http://forums.adobe.com/thread/1279496

Similar Messages

  • How to read URL parameters of one wdp component into other WDP component?

    Dear Experts,
    Can anyone let me know how to read URL parameters of one wdp component into other WDP component?
    My requirement is i have one standard WDP component with 3 URL parameters and i needto
    read that URL parameters along with their values in my Z-WDP component.
    Thanks
    SK

    Hi Santosh,
    You can read parameters send from one WebDynpro Component to another component by adding code in "HANDLEDEFAULT" Event Handler method ( Window )of your target Web Dynpro Component.
    data: lt_parameter             type tihttpnvp,
             ls_parameter             type ihttpnvp.
    lo_api_controller ?= wd_this->wd_get_api( ).
       call method lo_api_controller->get_message_manager
         receiving
           message_manager = lo_message_manager.
       clear : ls_parameter.
       refresh : lt_parameter[].
    * Read all URL parameters
       wdevent->get_data( exporting name = if_wd_application=>all_url_parameters importing value = lt_parameter ).
    if not lt_parameter[] is initial.
         clear : ls_parameter.
         read table lt_parameter into ls_parameter index 1.
         if ls_parameter-name = 'ACTION' and
            ls_parameter-value is initial.
           lv_flag = 'X'.
           clear : lo_msg.
           lo_msg = 'Action Parameter Missing in URL Link !'.
    *         report message
           call method lo_message_manager->report_error_message
             exporting
               message_text = lo_msg.
         else.
         endif.
    Best Regards
    Priyesh Shah

  • Read URL parameters

    Hi guys!
    Is posible read url parameters from a WD for Java?
    e.g.: http://server/webdynpro/dispatcher/local/TestApp/TestApp?SAPtestId=1&myVariable=123
    Then read value 123 from some code inside WD (controller, view, whatever).
    Thanks!

    Hi,
    You can do it, see this reference: Pass URL parameters to SAP Portal from an external application
    Best regards

  • How to read URL Parameters in ABAP WebDynpro ?

    Hi,
    How and where (which class, method) in ABAP WebDynpro we can read URL Parameters ? I found answers for WebDynpro JAVA but nothing for ABAP.
    Thanks
    Meenal

    Hi Meenal,
    Please see a post by Sanjay Agarwal titled 'Sequencing Problem in Web Dynpro ABAP'. I believe you will find your answer there.
    Cheers,
    Rich

  • How to read URL Parameters

    Hi All,
      How to read URL parameters in another WDA.
    Thanks in advance

    here is the sample code.
    you can write this code in HANDLEDEFAULT method of Default Window of Application being called.
      DATA:
        wa_url TYPE LINE OF tihttpnvp,
        int_url TYPE tihttpnvp.
      wdevent->get_data(
        EXPORTING
          name = if_wd_application=>all_url_parameters
        IMPORTING
          value = int_url ).

  • Custom SICF handler read URL parameters

    Hello,
    I have written a custom SICF handler.In the SICF handler method of handle request,how do i read URL parameters.
    regards
    Kaushik

    Hi,
    Using GET_HEADER_FIELD() / GET_HEADER_FIELDS(), the HTTP request handler can access all attributes of the HTTP header (name/value pairs).
    Refer Accessing Header Fields (SAP Library - Components of SAP Communication Technology)
    Regards,
    Chandra

  • How to read url parameters from a decoded string

    Hi,
    Normally if I pass on a url string
    test.cfm?name=abc&num=8, I can do url.name and url.num
    to get the url parameters. But what if the url string is decoded by
    javascript escape() function? The above url string becomes
    test.cfm%3Fname%3Dabc%26num%3D8
    How can I read url.name and url.num from this string?
    Thanks!
    Min

    Escape is not really meant for urls because it encodes the
    delimiters: ? &
    http://www.w3schools.com/jsref/jsref_encodeURI.asp
    http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp

  • Reading URL parameters in ABAP webdynpro

    I have a requirements to run my ABAP Webdynpro application view based on two parameters passed to it from portal. How can I read the parameters in ABAP webdynpro and use them to write my condition in the run time. I would appreciate it if someone has any code that would help me also.
    Again your help and support is highly appreciated.
    Lily

    Hi Lily,
    To read the URL parameters, you need to right the following code in the HANDLEDEFAULT method
    of the your default window controller.
    DATA : it_parameter TYPE tihttpnvp,
             wa_parameter  TYPE ihttpnvp.
      DATA lo_nd_url_param TYPE REF TO if_wd_context_node.
      DATA ls_url_param TYPE wd_this->element_url_param.
      " Get all URL parameters
      CALL METHOD wdevent->get_data
        EXPORTING
          name  = if_wd_application=>all_url_parameters
        IMPORTING
          value = it_parameter.
      " Get parameter values
      CLEAR wa_parameter.
      READ TABLE it_parameter WITH KEY name = 'PERNR' INTO wa_parameter.
      IF sy-subrc EQ 0.
        ls_url_param-pernr = wa_parameter-value.
      ENDIF.
      CLEAR wa_parameter.
      READ TABLE it_parameter WITH KEY name = 'SUBTY' INTO wa_parameter.
      IF sy-subrc EQ 0.
        ls_url_param-subty = wa_parameter-value.
      ENDIF.
      CLEAR wa_parameter.
      READ TABLE it_parameter WITH KEY name = 'BEGDA' INTO wa_parameter.
      IF sy-subrc EQ 0.
        ls_url_param-begda = wa_parameter-value.
      ENDIF.
      CLEAR wa_parameter.
      READ TABLE it_parameter WITH KEY name = 'ZZPRNTOPT' INTO wa_parameter.
      IF sy-subrc EQ 0.
        ls_url_param-zzprntopt = wa_parameter-value.
      ENDIF.
      " Save URL parameter to context
      lo_nd_url_param = wd_context->get_child_node( name = wd_this->wdctx_url_param ).
      lo_nd_url_param->set_static_attributes(
         static_attributes = ls_url_param ).
    Regards,
    Vikrant

  • Data passing from Adobe from submit button to BSP controller with XML

    Dear Friends
    How are you. I am developing one BSP application with Adobe interactive form. To complete this task I have use following linked solution. ( A PDF file that tells how to use Adobe forms with BSP application ).
    My application runs fine 50%. I did the same things what the tutorial told me and I am seeing the page in the webbrowser with Adobe from what i have developed.
    In the form I have put SUBMIT button and I have set properties as well... I have give full url as well for the controller to take data there over XML.
    In the controller I am not receiving any value. I have attached the code beneath as well... please tell me where I am making mistakes. I am thanking you. Any help will be appreciated.
    data: formxml type string.
    formxml = request->get_cdata( ).
    data: streamfactory type ref to if_ixml_stream_factory.
    data: istream type ref to if_ixml_istream.
    streamfactory = g_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    data: document type ref to if_ixml_document.
    document = g_ixml->create_document( ).
    data: parser type ref to if_ixml_parser.
    parser = g_ixml->create_parser( stream_factory = streamfactory
                                    istream = istream
                                    document = document ).
    parser->parse( ).
    data: node type ref to if_ixml_node.
    data: strchecked type string.
    node = document->find_from_name( name = 'ACC_REQ').   <------ Node is empty
    strchecked = node->get_value( ).
    This is the link of the solution what i refered to complete this application:
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID0005508150DB01147043631230799453End?rid=/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4&overridelayout=true

    Dear Naeem,
    Actually i also tried the same link. For me its displayed the form. After giving the input when i click for submit nothing will happen.
    Its blinked and displayed the same page. I think for the node is getting value and some where its doesnt retrive the value.
    I will check and get back you soon once i found.
    Regards,
    Anita Vizhi Arasi B

  • Read URL Parameters programmatically

    Hi
    I wish to read the URL parameters in the WDDOINIT method of the component controller before the default plug is hit on the entry window and therefore the parameters are passed into the method automatically.
    Is there a way this can be done programatically?
    Basically I wish to replicate this WDJ method calll in WDA:
    WDWebContextAdapter.getWebContextAdapter().getRequestParameter().
    Cheers
    Ian

    *Thanks for your replies gents, but the WDDOINIT method does not have WDEVENT parameter for me to read.*
    *I got around it by moving the code to the entry window and calling the method on the comp controller with the parameters that were passed in automatically.*
    BY
    *Ian*
    Hi Can any body tell me how to call Default startup method of window in component controller .
    As I am having the same problem . I want to set url pyrometer in the context  and then read the same context in
    WDDoinit method of component controller . But sequence is like bellow
    WDdoint component -> Wddoinit View -> Default startup method.
    Hence I am not able to read the context variable in wddoinit which I set up in the satartup method of view.
    Kindly let me know any wayout for this.
    Thanks in advance
    Abhay

  • Reading URL Parameters from within PDF

    Is there a way to capture data appended to a PDF's URL for use by the Acrobat Javascript? Anyone have an example of this type of implementation?
    Thanks

    Hi Harry,
    You may find useful the following two articles dealing with portlets and parameters:
    [list]
    [*]A Primer on Portlet Parameters and Events
    [*]Adding Parameters and Events to Portlets
    [list]
    Peter

  • Reading selection parameters of transaction from Java

    Hi everyone,
    I 'm trying to find a way to read the selection parameters of a transaction from Java code. For example, the transaction MM03 (Display Material) expects a parameter called RMMG1-MATNR. I would like to be able to get the parameter's name in Java code via some RFC using JCO.
    Regards,
    Yoav.

    When the write end of the FIFO pipe is closedNamed pipes can be opened through several file desciptors. When all open file desriptors referring to a pipe are closed, only then is EOF indicated at the reading side. Named pipes "dwell" in the file system, and can be accessed as files through their names in the file system.

  • Reading Url Parameters

    I'm trying to read a value passed in the url parameter from my xdo file. What are the steps? I'm using XML Publisher Enterprise 5.6.2. Thanks...

    as Ive understood Ive worked with it in this way :
    sql param : select 'http://www.xxx.com/image.gif' PARAM from dual
    url param : url:{PARAM}
    it seems working but I'm trying with the 10.1.3.3.3 version and in the same way is not working....
    Gian

  • Context not updated from adobe from fields to ABAP web dynpro every time

    Hi,
    I work through a turtorial for interactive adobe form in web dynpro. The turtorial link is as following:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3?prtmode=navigate
    I use Active X adobe form display type and submit button. Basically, it works.
    My problem is the 1st time I change the out_amount in adobe form and click 'Submit'. Everything OK. The corresponding context field in Web Dynpro is updated and showed in my own web dynpro field.
    Then, I change the out_amount again in Adobe form and click 'Submit' again. The context is not updated.
    The interesting thing is when I click 'Submit' the 3rd time, it works again. Same situation happens for 4 and 5 times click 'Submit' and so on.
    It seems I need to click 'Submit' two times and the web dynpro context is then  updated.
    Is there anyone have any clue about my problem?
    Thank you in advance!
    Trey

    Please provide the solution.......

  • How to extract image from adobe from and upload to archive ?

    Hi,
    is it possible to extract the image file uploaded into the offline form and store it to sap archive link?
    we manage to extract that data into a string variable, and call 'ARCHIVOBJECT_CREATE_TABLE'  to store it into archive, the function module returns no error, but the uploaded document can not displayed correctly , i guess something wrong with the data type.
    first i got a string from the image file embed in the pdf, then
    convert it to a table then call the fm.
    could you pls tell me what's wrong here?
      CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
          EXPORTING
            text      = l_photo_buffer-mime_content
          IMPORTING
            length    = l_length_i
          TABLES
            ftext_tab = l_ftext_tab.
        l_length = l_length_i.
        CALL FUNCTION 'ARCHIVOBJECT_CREATE_TABLE'
          EXPORTING
            archiv_id                = 'A2'
            document_type            = l_doc_type
            length                   = l_length
          IMPORTING
            archiv_doc_id            = l_doc_id
          TABLES
            binarchivobject          = l_ftext_tab2
          EXCEPTIONS
            error_archiv             = 1
            error_communicationtable = 2
            error_kernel             = 3
            OTHERS                   = 4.

    Hi Jun,
    Do you want to store this image for an employee? If yes then you may try Function Module "ARCHIV_CREATE_FILE". This function module creates the archive link we used it to store the Image for an employees.
    ar_object = 'HRICOLFOTO'
    object_id = [employee personnel number]
    sap_object = 'PREL'
    doc_type = 'JPG'
    path = [path for your image]
    Hope this helps you.
    Regards,
    <b>Bhawanidutt.</b>

Maybe you are looking for

  • Passing variable values to pl/sql procedures

    Hi, I wanted to log the step name and message into a table whenever a particular step/interface failed in the ODI package. Ex:PKG1 A----OK--->B----OK-->C--OK-->LOG SUCCESS status into table. All steps are sequenced. when not OK A----KO--->B----KO-->C

  • Upgrading to Maverick causing problems

    I recently upgraded my operating system to Maverick. Since then my time machine back up disk won't back up due to lack of space, which wasn't previously an issue and my Mac won't shut down properly just goes to blank white screen and freezes. Not sur

  • Mail app needs opening in order to search mail?

    I have my iPod touch 4G 64GB set to get mail every 15 minutes... Now I have to manually open it. I've seen alot of this happen to be about MSN / hotmail, and or some others, but, none about yahoo. I use three different yahoo mail accounts and it won'

  • SD Document Category to CRM Leading Transaction

    Does anyone have a listing that indicates what the SD Document Category should map to within CRM for the Leading Transaction? For exmaple, SD document category of "C" should map to the CRM leading transaction of CRM2000115 Sales Transaction. SD docum

  • OLE Automation for Acrobat Reader

    Hello guys I have been reading some lines about OLE Automation for Acrobat READER and Full Acrobat. So far I have seen most saying that Reader is not fully compliant with OLE. I really have zero experience with Adobe and before I buy a full acrobat l