Question:
Could anyone give a simple code example of start routine? I am new in this area with limited ABAP skills.
Appreciate your correspondance.
Shurti.
Answer:
Hi, I made a start routine for Master data from transactional data using an example from SapNet. It works fine. Check sapnet if you have any problem I can send you.
Sergio
Answer:
a start routine is generally code you wish to run before an update routine starts. for instance you don't want to read 10 external tables for every record load as this will degrade performance.
there really is no concrete example since update routines depend on your use...the best thing to use is a good ABAP book but i supplied one we use for our CO cube.
eg.
tables: /bic/azhr0100.
data: wa_hr type /bic/azhr0100.
select single * from /bic/azhr0100 into wa_hr
where zactnum = '1'
and zptype = '9'.
if sy-subrc = 0.
/bic/azhr0100-0acttyp = 'LAB11'
endif.
Answer:
examples-
1. You want to perform mass modification/insersion/deletion of one or more fileds
2. You want to delete 'all open items' or 'cleared items from the datapacket (incase you are using FIAP which has both open and cleared items)
-Ravi.