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

hi all dialog program

HI ALL

I HAVE INTERNAL TABLE DATA DISPLAYED IN DIALOG PROGRAM SCREEN 100.

IN ITAB THERE IS CHECKBOX FIELD, WHICH I DESELECTED WHILE COPYING FROM ITAB IN THE LAYOUT IN DIALOG PROGRAM AND INSTEAD OF CHECKBOX I HAVE DRAG CHECKBOXES FROM LAYOUT IN MY ITAB STRUCTURE.

BUT THE PROBLEM IS, THIS CHECK BOX IS NOT HOLDING CLICKING (WHEN CLICK WITH CURSOR, RIGHT SIGN IS SHOWN IN THE SCREEN I.E. CHECKBOX GETS POPULATED) THE CLICKING GETS DISAPPEARS AFTER ONE TO TWO SECONDS.

SECOND PROBLEM, HOW TO PASS THIS CHECKBOXES THAT ARE CLICKED IN DIALOG PROGRAM TO THE INTERNAL TABLE WHERE CHECKBOX FIELD IS TYPE C.

NOTE: IN DIALOG PROGRAM THERE IS NO NEED TO HAVE CHECKBOX IN INTERNAL TABLE, ONE HAS TO DRAG IT.

HOPE SOLUTION FOR THE ABOVE 2 PROBLEM WILL COME AT LEAST.

THANX

ROCKY

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2008 at 02:59 PM

    Hi

    I don't know of I've understood really your problem.

    Your internal table should have a flag field linked to the checkbox of the layout (I suppose you're speaking about a table control).

    In the module of PAI where you store the data from layout to internal table you need to move the checkbox:

    PROCESS PAI.

    LOOP AT ITAB.

    MODULE MODIFY_ITAB.

    ENDLOOP.

    MODULE MODIFY_ITAB.

    ITAB-CHECKBOX = CHECKBOX.

    MODIFY ITAB INDEX <TABLE CONTROL>-CURRENT_LINE.

    ENDMODULE.

    In this way all rows of internal table where the field CHECKBOX has the value X are selected records.

    Max

    Edited by: max bianchi on Jan 10, 2008 4:00 PM

    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.