on 04-03-2007 1:32 PM
Hi,
I have a requirement where I have to design one table control on ITS template with one
field in which user can fill n umber of fields .
I have to capute these values in internal table in sap gui .
Is there any idea for this ?
Thanks,
SS
Hi,
In your ABAP screen you have two statements:
- PBO - Process before output - in this statement you generate all information to table control
- PAI - Process after input - in this statement you catch all values from users imput
If you want to capture values you must program PAI statement for example:
process after input.
loop.
chain.
field:
zbbps_bid_ui_item_first-guid,
zbbps_bid_ui_item_first-contact_guid,
zbbps_bid_ui_item_first-description,
zbbps_bid_ui_item_first-quantity,
zbbps_bid_ui_item_first-start_price.
module gt_item_bidder_first_update on chain-request.
endchain.
endloop.
in process after imput I capture 5 fields from table control: guid, contact_guid, description, quantity and start_price.
module gt_item_bidder_first_update updates my internal table in PAI.
or you can do like this:
process before output.
module prepare_personlist_tc.
loop at gt_personlist
into gs_personlist
with control tc_personarea
cursor tc_personarea-current_line.
endloop.
module web_transport.
process after input.
loop at gt_personlist.
module update_sel_person_from_tc.
endloop.
In this code I fill table with values (module prepate_personlist_tc).
Module web-transport is responsible to transfer values to the ITS.
in PAI I loop on all table control and update values in internal table.
PS: search for any solution in ITS forum
Regards,
Marcin Gajewski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.