on 05-23-2006 10:21 AM
Hello
I want to understand how transfer routine (General-Transfer routine) for characteristic works. Any examples?
Hi Aleksandrs
This is simple code
Read table VIT_NUM_DEN with key /BIC/WDW_MATL =
TRAN_STRUCTURE/BIC/WDW_MATL.
If Sy-subrc = 0.
RESULT = VIT_NUM_DEN-den.
endif.
2)
loop at l_dpak_GU.
Read table l_dpak_SU with key /bic/wdw_matl =
l_dpak_GU-/bic/wdw_matl.
If sy-subrc <> 0.
VIT_DPSAVE = l_dpak_GU.
Append VIT_DPSAVE.
else.
delete table l_dpak_SU from l_dpak_SU.
endif.
endloop.
Append lines of l_dpak_SU to VIT_DPSAVE.
Hope the above helps you..
bye
Shu Moh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aleksandrs,
Here an example of a routine where I fill 0DISTR_CHAN (not in DataSource fields) starting from 0PLANT Master Data (in DataSource fields):
select single distr_chan into RESULT
from /bi0/pplant
where plant = TRAN_STRUCTURE-werks
and objvers = 'A'.
If you want to use Start Routine remember that the field needs to be also in DataSource, not filled but necessarly in DataSource.
Ciao.
Riccardo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.