cancel
Showing results for 
Search instead for 
Did you mean: 

c_t_data table

Former Member
0 Kudos

hey guys !!

I am small doubt ..

what is the significance/use of table C_T_DATA..

In one of the document i read that "it houses all extracted data during the extraction process ".but I didn't quite get it .

Could anyone explain this.

thanks in advance

SS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

1. If you check the Edwin´s post you can find:

"c_t_data is specific to this program, not just a variable, it's a parameter. actually zxrsau01 is an include program from function module EXIT_SAPLRSAP_001 (transaction se37), you can see parameter c_t_data in tab 'tables', and I_DATASOURCE also a parameter, see tab 'import'. so you have to use exactly 'c_t_data'."

In the user Exit for the enhacement the C_T_DATA is a parameter withour defined structure...in other words....this variable have not a static structure and can be used with any table structure that is passed as parameter....

2. If you check the Edwin´s post you can find:

"case i_isource.

when '0CO_OM_CCA_1'.

...."

Every Datasource that is enhanced has a own section of code and the name of the datasource define the limits of every section....if you have many executions in the same time different sections of the code are executed and different table parameters should be set...

Regards

Former Member
0 Kudos

thanks Oliver..

so it , means apart from looping we are also passing structure of table i_abc as a parameter when we write following code in user exit...

loop at c_t_data into i_abc .

Please clariy

Message was edited by:

BW FirstStep

Answers (4)

Answers (4)

Former Member
0 Kudos

Yes if you want to change some values you need to move the data to an internal table with the structure of your extraction structure....this assure that the data will be in the right fields....

Regards

Former Member
0 Kudos

i have further doubts

Former Member
0 Kudos

Hi,

when extracting, SAP stores the data in an internal table.

As you probably know SAP lets us enhance the data extracted via so called user-exits which are nothing else than function modules.

When your user exit is called, SAP passes the data to the internal table C_T_DATA of your exit (code included in the exit function module).

As you said C_T_DATA holds the extracted data. You can now work with this internal table (modify records and so on).

After the exit, SAP will pass C_T_DATA to the transactional RFC module which will take care of sending this data to BW.

hope this shed light

Olivier.

Former Member
0 Kudos

thanks Oliver ..

i have further doubts ..

for every enhancement in user exit we use same C_T_DATA internal table.. and SAP stores the data in this internal table...

1. Every datasouce had different structure ,then how is the structure of C_T_DATA table changes to hold the data from different datasource .

2.How does it work if there are more than one extraction going on at the same time and all of them has enhancement in user exits ..

thanks

edwin_harpino
Active Contributor
0 Kudos

hi SS,

check if helps

Former Member
0 Kudos

thanks

Edwin