04-18-2006 6:30 AM
Hi Guys
I have a requirement like this
i have to create a z* table similar to mara and i will take 5 fields of mara.
Suppose there is two sreens designed using SE51
1- one contain three buttons as CREATE,DISPLAY,CHANGE
2- second contain 5 text fields to enter the value and one save button.
now if i will click on the create button it will display the second screen where after entering the appropriate data if i will press save than it would save in the ztable.
again if i will press the display button it will go to the second screen and display the data in the text fields.
Any kind of suggestion is welcome.If anybody have face such kind of issue than he can share with me.
Thanks a lot to all
Mrutyun
04-18-2006 7:08 AM
Hi Mrityunjaya,
I think this would help.
On user command of the first screen..(PAI)
module user_command_1200 input.
case ok_code_1200.
when 'CREA'.
call screen 1201.
when 'DISP'.
call screen 1202.
when 'SAV1'.
insert zmara
endcase.
endmodule. " USER_COMMAND_1200 INPUT
Hope I understood the issue correct.
If it helps then good otherwise plz state the issue once again, focussing on what exactly is the issue.
Regards,
Suruchi
04-18-2006 6:33 AM
Hi,
I think you also need to place an input field for Material in first screen along with three buttons...
I did not get your problem? whats the problem with this requirement?
Thanks,
Rashmi.
04-18-2006 6:34 AM
04-18-2006 6:42 AM
Whatz the problem in that??
simply you want to display , edit or chnage the records
That can be done by passing ABAP editor fields to screen fiedlds and vice-versa
Thanks
04-18-2006 7:08 AM
Hi Mrityunjaya,
I think this would help.
On user command of the first screen..(PAI)
module user_command_1200 input.
case ok_code_1200.
when 'CREA'.
call screen 1201.
when 'DISP'.
call screen 1202.
when 'SAV1'.
insert zmara
endcase.
endmodule. " USER_COMMAND_1200 INPUT
Hope I understood the issue correct.
If it helps then good otherwise plz state the issue once again, focussing on what exactly is the issue.
Regards,
Suruchi
04-18-2006 7:26 AM
HI
THANKS TO ALL OF YOU GIVEN THE REPLY ,ITS A VERY EASY AND SMALL REQUIREMENT THAT I HAD POST BUT SOME OF YOU GIVEN THE NICE ANSWERS ALSO,
CARRY ON.
THANKS AGAIN
MRUTYUN