Skip to Content

Table like application parameters in a webdynrpo

Hi all

I have the following requirement.

I must create a webdynpro which retrieves a table from another webdynpro.

Herefore we would like to use the application parameters of the webdynpro.

But when i try to use a 'table like type' as type for the application parameter the program ends with a dump.

In the dump the following error is given: 'The URL parameter has a wrong type'.

Does anybody know what the solution is for my problem?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    Sep 02, 2013 at 05:19 AM

    I have found the answer!

    I can use the method HANDLEDEFAULT of the window of the webdynpro which is called.

    In this method i can retrieve a table as parameters via the following solution:

    for example; i have the url:

    http://www.website.nl/?parameter1=1?parameter1=2?parameter1=3?parameter1=4?parameter1=5?parameter2=2

    parameter1 is the table which i want to send to the particular webdynpro.

    In the method i call the method:

    wd->get_data( exporting name = if_wd_application=>all_url_parameters

    importing value = parameters ).

    I retrieve a table (parameters) with all above parameters in my url.

    so they are:

    name               value

    parameter1          1

    parameter1          2

    parameter1          3

    parameter1          4

    parameter1          5

    parameter2          2

    With this table i have my table content which i needed in the webdynpro 😊

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 31, 2013 at 04:48 AM

    Hi,

    You cannot pass bulk data like structure or internal table through URL parameters. Why don't you use the other component in your component via Component usage.

    Check the Component Usage Tutorial here: http://scn.sap.com/docs/DOC-8863

    If you don't want to use the Component usage, pass the data using shared memory objects. Check my document here: http://scn.sap.com/docs/DOC-27396

    The above mentioned Import/Export memory won't work in Web Dynpro context.

    Hope this helps u.,

    Regards,

    Kiran

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 31, 2013 at 08:48 AM

    Hi,

    Here you can achieve this using component usage before that make the node as interface node then only you can get the data form one component to another component.

    Regards,

    John.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 30, 2013 at 07:32 PM

    Hi Anton,

    You can achieve the same by using memory ID.

    Export to memory ID for use in component.

    EXPORT l_values FROM lt_export TO MEMORY ID 'VALUE'.

    Import the table in second componet.

    IMPORT l_values TO lt_import FROM MEMORY ID 'VALUE'.

    Regards,

    Sanjeev Kotwal.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 31, 2013 at 08:48 AM

    Hi,

    Here you can achieve this using component usage before that make the node as interface node then only you can get the data form one component to another component.

    Regards,

    John.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2013 at 05:20 AM

    Everyone; thanks for replying!

    Add comment
    10|10000 characters needed characters exceeded