‎2008 Jan 09 5:40 AM
hi
i need to update a table (ITAB) taking date from a standard table )STANDARD_ITAB
in my program
Loop at internal_standard_table
i need to fill in a field with = sy-uzeit (but at commit)
can you please advise can i simply do
internal_standard_table-field1 = sy-uzeit
‎2008 Jan 09 5:57 AM
Hi Newbie,
After all the statements are completed and once u r ready to commit, u once again modfiy each record and update the table. The Difference between assigning the user time and updating that record in the table (commit time) would be so less that it may not be recorded by uzeit.
So u can proceed with ur logic and for a small change keep updating (committing) only single record at a time to get the very latest update time for each record.
awrd points if helpful
Bhupal
‎2008 Jan 09 5:44 AM
write ur all code in one subroutine.
for eX. FORM ABC.
Ur Code here.....
ENDFORM.
then call subroutine with following syntax.
PERFORM ABC ON COMMIT.
Reward points if useful........
‎2008 Jan 09 5:58 AM
on the selection screen there will be 2 check box
i) to update my table
ii) to test only (view result but do not update)
then there another 2 radio button
i) rb_first (update table specific to certain conditon)
i)rb_second (update table specific to certain conditon)
the structure of my program is as follow
if rb_first
perform select (common to both rb_first and second)
perform processing (where i am doing my Loop at internal_standard_table )
endif
if rb_second
perform select (common to both rb_first and second)
perform select for second radion button only)
perform processing (where i am doing my Loop at internal_standard_table )
endif
Note: user can choose either one of the radio button
‎2008 Jan 09 5:57 AM
Hi Newbie,
After all the statements are completed and once u r ready to commit, u once again modfiy each record and update the table. The Difference between assigning the user time and updating that record in the table (commit time) would be so less that it may not be recorded by uzeit.
So u can proceed with ur logic and for a small change keep updating (committing) only single record at a time to get the very latest update time for each record.
awrd points if helpful
Bhupal