on 11-20-2009 2:49 PM
Hi,
I created a Generic Extractor on GLPCA and it seems like I have the code working fine for either a full or an Init/Delta. Now I'd like to know what I might have to do to code for an Init without data? Surely someone must have done this?
**** FULL LOAD
IF ENDDATE = '00000000'.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT * FROM GLPCA
WHERE RYEAR IN LR_RYEAR
AND POPER IN LR_POPER.
ELSE.
**** DELTA LOAD
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT * FROM GLPCA
WHERE RYEAR IN LR_RYEAR
AND POPER IN LR_POPER
AND ( ( CPUDT = STARTDATE AND CPUTM >= STARTTIME ) OR CPUDT > STARTDATE )
AND ( ( CPUDT = ENDDATE AND CPUTM <= ENDTIME ) OR CPUDT < ENDDATE ).
ENDIF. "First data package ?
No coding was required for init w/o data. The FM is not called for simulation, but the date stamps are updated...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check the SAP standard FM to create generic extractors using FM . Have used it multiple times and it works fine.
rsax_biw_get_data_simple
Thanks,
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.