Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to debug a function module that is written to extend a datasource

Former Member
0 Likes
396

Hi all -

this is BW related question.

I have a datasource that I extended but instead of writing the code in the user exit, I created a function group and a function module to populate the custom fields. My problem is - I want to debug the function module and when I do that, I have to give datasource, infosource and update mode as input parameters. There is no data in the internal table C_T_DATA, how can I debug to get data into this table.

please let me know.

thanks,

Sabrina.

2 REPLIES 2
Read only

Former Member
0 Likes
355

Keep the Break point Before Updating.

just click on the table c_t_data .or choose the internal table and say CTRL+F4, you can internal table content

you can find change, append ,delete options.

just select the row and click append they one blank row will appear. just add entries to that , and enter

the record will be appended, do in the same way if you need more records to add...

regards

vijay

Read only

athavanraja
Active Contributor
0 Likes
355

did you try to test it using transaction RSA3 . place a break point inside the FM and run RSA3

Regards

Raja