10-22-2007 1:52 PM
Hi,
there is user exit that bring table i_t_data with org.unit and dates ,
the problem is that the table dont bring all the org units we have, my qustion is how i now where this table become filled ?
i new in this topic i give more details maybe it helps,
ZXRSAU02 the name of user exit and inside i have this call
WHEN '0ORGUNIT_ATTR'.
LOOP AT I_T_DATA INTO LW_T_DATA_0ORG
......
and when i go to tables in EXIT_SAPLRSAP_002
the table I_T_DATA dont have type or associated type just short text of
Transferred Data
thankes
10-22-2007 4:07 PM
Hi,
Please check these FM documentation.
Transfer Parameters:
I_CHABASNM: Name of the basic characteristic.
I_T_FIELDS: List of the transfer structure fields. Only these fields are actually filled in the database table and can be used in any meaningful way in the program.
I_T_DATA: Table - with the data contained by the API - in the format of source structure entered in the RODCHABAS table (field RODCHABAS-STRUCTURE).
I_UPDMODE: Transfer mode, as requested in the scheduler of the Business Information Warehouse. This is not usually required.
I_T_SELECT: Table with the selection conditions that are stored in the scheduler of the Business Information Warehouse. This is not usually. required.
Perhaps you can declare something like this.
DATA: LW_T_DATA LIKE RODCHABAS.
WHEN '0ORGUNIT_ATTR'.
LOOP AT I_T_DATA INTO LW_T_DATA.
...
ENDLOOP.
Regards,
Ferry Lianto
10-22-2007 2:04 PM
Hi,
I think this routine will get executed while extracting the data from R/3 to BW.
the internal table I_T_DATA will carries the values of extract structure from R/3 to BW.
you keep a break point at endloop in that when statement, when the pointer stops over there check the values of I_T_DATA. these values will get transfered to BW, they will not get stored any where in R/3.
Hope you got some useful info.
<b><REMOVED BY MODERATOR></b>
Satish
Message was edited by:
Alvaro Tejada Galindo
10-22-2007 2:11 PM
hi satish
you right the data is going to bw but the problem is that in the user exit after <u>when 'org... '</u> i have loop for i_t_data and i search in all the code there is not append or insert or modify to this table where it filled ?
i put break point after when and run rsa3 and the table is full
Regards
10-22-2007 2:35 PM
i think there must be some thing wrong in the code then.
before doing endloop there should be modify i_t_data statement.
10-22-2007 3:37 PM
hi,
there is not place like that if it was it was easy to debug
thankes
10-22-2007 3:46 PM
Hi,
in the code
When '<your Data Source name>'.
data:....
loop at i_t_data into ...
- -
-
endloop.
with in <b>loop</b> and <b>endloop</b> there should be a <b>modify</b> statement.. keep the break point over there and check whether the data is getting popoluated into i_t_data.
<b><REMOVED BY MODERATOR></b>
Satish
Message was edited by:
Satish Panakala
Message was edited by:
Alvaro Tejada Galindo
10-22-2007 4:04 PM
hi satish
thankes for your replay.
the table in loop is already full .
Regards
10-22-2007 2:08 PM
It is called from BIW Data Transfer Subroutine Pool GP5UY1VK and
GP77YEBK. The internal table - I_T_DATA is of runtime type - BIW_MVKE_S
10-22-2007 2:13 PM
hi nilesh
but where i can fid the place that the table is filled ?
becouse it miss org.unites
thankes
10-22-2007 4:07 PM
Hi,
Please check these FM documentation.
Transfer Parameters:
I_CHABASNM: Name of the basic characteristic.
I_T_FIELDS: List of the transfer structure fields. Only these fields are actually filled in the database table and can be used in any meaningful way in the program.
I_T_DATA: Table - with the data contained by the API - in the format of source structure entered in the RODCHABAS table (field RODCHABAS-STRUCTURE).
I_UPDMODE: Transfer mode, as requested in the scheduler of the Business Information Warehouse. This is not usually required.
I_T_SELECT: Table with the selection conditions that are stored in the scheduler of the Business Information Warehouse. This is not usually. required.
Perhaps you can declare something like this.
DATA: LW_T_DATA LIKE RODCHABAS.
WHEN '0ORGUNIT_ATTR'.
LOOP AT I_T_DATA INTO LW_T_DATA.
...
ENDLOOP.
Regards,
Ferry Lianto
10-22-2007 4:26 PM