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

Values transfer between ALVu00B4s

Hi,

I need to click on the 'ACTIVITY' field of an ALV and transfer the value of this field and 2 other fields to other ALV.

How do?

Best Regards

Marcelo Bogaz

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 04:36 PM

    Hi,

    According to my understanding if you select the row of the alv report and click some button u can transfer the values or

    the better option would be use Hotspot to transfer the values.

    Just search in SDN for Example ALV programs.

    Thanks,

    chaithanya.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 29, 2007 at 04:42 PM

    Read the row and transfer them to another internal table. what is activity field? is hotspot or double click. whatever it may be if you want to transfer one internal table row to another in ALV. write code to handle the click or double click. Read that row then transfer the fields you want to .

    Explain clearly.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 06:34 PM

    Solved with the code below

    FORM z_user_command USING ucomm LIKE sy-ucomm

    selfield TYPE slis_selfield. "#EC CALLED

    CASE ucomm.

    WHEN '&IC1'.

    CASE selfield-fieldname.

    WHEN 'ATIVIDADE'.

    READ TABLE t_saida INDEX selfield-tabindex.

    • Set parameter ID for transaction screen field

    SET PARAMETER ID 'ZNUM_PROJETO' FIELD t_saida-projeto.

    SET PARAMETER ID 'ZCHMDO' FIELD t_saida-chamado.

    SET PARAMETER ID 'ZATVDE' FIELD t_saida-atividade.

    CALL TRANSACTION 'ZBXZZ002'.

    ENDCASE.

    WHEN OTHERS.

    ENDCASE.

    ENDFORM.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.