Skip to Content
author's profile photo Former Member
Former Member

Receiving dynamic parameters

I need a report that receives some parameters dynamically to execute a process. How can I do it. The parameters depends on the values of a table.

Thank you

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 09:10 AM

    you can access the parameters like this,

    DATA : A(10) type c value 'B'.

    DATA : B(10) type c value 'dynamic'.

    Field-symbols : <FS> type any.

    Assign (A) to <FS>.

    if <FS> is assigned.

    Write : / <FS>. " Here <FS> will have the

    Address reference of B.

    Endif.

    Reward if helps..

    Thanks,

    Krishnakumar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      please use like this

      CREATE DATA g_t_upload_tab TYPE TABLE OF (g_p_tbnm).

      CREATE DATA g_t_upload_tab_chk TYPE TABLE OF (g_p_tbnm).

      CREATE DATA g_t_upload_tab_del TYPE TABLE OF (g_p_tbnm).

      ASSIGN g_t_upload_tab->* TO <f_s_upload_tab>.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 09:10 AM

    Hi,

    Is it about dynamic selections, this can be achieved using Logical Databases, you can check the program RAABGA_ALV01 which is using the standard LDB 'ADA',this might help,

    Rgds,

    Add comment
    10|10000 characters needed characters exceeded