‎2006 Oct 25 9:34 AM
hi experts,
I have developed dynpro using table control(wizard).
driver prog internal table name is I_ZESP and screen internal table name is CT_ZESP.
now prog is running fine. but when i press save button whatever data is in CT_ZESP table is not coming in i_zesp table.
some programming is missing .. how i come to know where i am making mistake.
raj
‎2006 Oct 25 10:24 AM
try this code in pai.
in screen.
loop with control <control name>.
module modify_itab.
endloop.
in abap.....
module modify_itab input.
move-corresponding <screen table name for table cntrl> to itab.
modify itab index <control name>-current_line.
endmodule.
‎2006 Oct 25 9:36 AM
Probably you are making mistake in the AT USER COMMAND statement. Please check it, put a debug point and rectify the problem. I hope you can find it easily !
‎2006 Oct 25 9:45 AM
sandeep,
this is my dialog programming, module PAI input is get fire. in this module internal table is blank, but on screen i have entered data.
raj
‎2006 Oct 25 10:01 AM
Hi,
IN the PAI of the screen you should use LOOP ENDLOOP to copy the data from the table control to internal table.
This code is must for the table control data to reflect in the internal table. There is not done by the program you have to do it your self.
Check out some example programs(RSDEMO02) for table control.
Regards,
Sesh
Message was edited by: Seshatalpasai Madala
‎2006 Oct 25 10:21 AM
ONCE AGAIN I AM ASKING SAME QUESTION
MY I/O FIELD NAME IS I_ZESP-SALESPERSON.
I AM ENTERING DATA IN THIS FIELD. THEN PRESS SAVE.
NOW WHEN PAI FIRED I WRITE CODE FOR COMMIT_DATA.
HERE I AM APPLYING (LOOP/ENDLOOP) LOGIC FOR DATA INSERTION FROM I_ZESP INTERNAL TABLE TO ZTABLE.
<b>IN COMMIT_DATA I FOUND THAT I_ZESP IS BLANK.</b>
HOW TO RECTIFY IT.
RAJ
‎2006 Oct 25 10:24 AM
try this code in pai.
in screen.
loop with control <control name>.
module modify_itab.
endloop.
in abap.....
module modify_itab input.
move-corresponding <screen table name for table cntrl> to itab.
modify itab index <control name>-current_line.
endmodule.
‎2006 Oct 25 10:26 AM
demo_dynpro_tabcont_loop
demo_dynpro_tabcont_loop_at
Please check thru these SIMPLE standard programs related to Table Control.
Regards
- Gopi
‎2006 Oct 25 10:39 AM