cancel
Showing results for 
Search instead for 
Did you mean: 

Execute BW query in BSP?

Former Member
0 Kudos

Hello all,

I have a BSP in a BW system and I want to execute a BW query and get the result back in an internal table or similar.

Anybody knows how to do this?

Is there a function module, object, or other that I can call?

Regards,

Leif

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

Hi Leif,

you can use CL_RSR_REQUEST and CL_RSR_DATASET classes to execute BW queries from an ABAP program. I have given a sample code in ABAP forum. You may want to check out the following link.

Regards

Raja

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Raja,

Can u please give the complete code to parse the dataset.

Thanks & Regards,

Kartheek

athavanraja
Active Contributor
0 Kudos

Hi ,

Check out the ABAP forum, i have posted the answer there.

Regards

Raja