2007 Jan 16 7:34 PM
Hi All,
I have to develop a custom screen which has a table control on the first screen.
The user enters the data on the table control and presses enter.
This data should be captured and displayed on the next screen i.e., the user should see the data which he has entered
on the previous screen.
once he presses another button on the second screen, this data should be used to create transfer orders using Tcode LT01.
Can anyone please guide me in doing this?
Helpful answers will be rewarded!
Thanks
Sandeep
2007 Jan 16 8:08 PM
Hi Sandeep,
lets say screen1 where the the user enters and press enters
and screen2 is where user want to see.
in pai
loop
field itab-fld1 module fld1_check.
field--
module update_record_1.
endloop.
in this module
write the following code
insert itab index tab_ctrl-current_line.
let me know if its not clear.Post your code so it would be easier for us to help you out.
it's not all a difficult requirement.
if you haven't started let me because its easier to do with wizard
thanks
venki
Hi All,
I have to develop a custom screen which has a table control on the first screen.
The user enters the data on the table control and presses enter.
This data should be captured and displayed on the next screen i.e., the user should see the data which he has entered
on the previous screen.
once he presses another button on the second screen, this data should be used to create transfer orders using Tcode LT01.
Can anyone please guide me in doing this?
Helpful answers will be rewarded!
Thanks
Sandeep
2007 Jan 16 8:08 PM
Hi Sandeep,
lets say screen1 where the the user enters and press enters
and screen2 is where user want to see.
in pai
loop
field itab-fld1 module fld1_check.
field--
module update_record_1.
endloop.
in this module
write the following code
insert itab index tab_ctrl-current_line.
let me know if its not clear.Post your code so it would be easier for us to help you out.
it's not all a difficult requirement.
if you haven't started let me because its easier to do with wizard
thanks
venki
2007 Jan 16 8:20 PM
Hi Sandeep,
First develop a table control as described in following link using the fields of Tcode LT01 i.e., Warehouse number(LTAK-LGNUM), Movement type(LTAK-BWLVS), Material(LTAP-MATNR), Quantity requested(RL03T-ANFME), Plant/storage location(LTAP-WERKS) which seems to be mandatory fields in the creation of transfer order.
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tchome.htm
or post your email-id where i can send couple of documents as how to start developing dialog programs using table control.
Once you do that i.e., in the PAI event of first screen when user press enter, you will call second screen which shows the above entered details according to your design as table or line by line. If the user feels good, in the PAI event of second screen you will call Tcode with above values(just wondering how you pass this values)...
Regards,
Vivek
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |