cancel
Showing results for 
Search instead for 
Did you mean: 

RSR_BAD_CODING during query generation

Former Member
0 Kudos

Hi,

I am getting the error RSR_BAD_CODING while generating my query. Upon syntax check, it gives he error - "The data object 'G_S_Q' does not have a component called XXXX."

It started when I included some calculations involving formula variables in my query. The query works fine if I -

- remove these calculated key figures

- keep only these calculations and take everyting else out.

I searched SCN but could not find the issue similar to my problem. Please suggest how it can be resolved, any note etc?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182470
Active Contributor
0 Kudos

Hi,

Check these SAP Notes to resolve your issue. I guess your user exit codes have to be reviewed again to pinpoint the issue.

1039985

1042893

1049209

1047237

Regards,

Suman

Former Member
0 Kudos

Thank you Raman and Suman!

My issue is slightly different- I am not using virtual key figures or characteristics and hence have not written any code. I am using formula variable via replacement path and using that in my calculation.

RamanKorrapati
Active Contributor
0 Kudos

Hi Jain,

please check your calculations again with  syntax check and check the query once again. in calculations there might be wrong(syntax).

Thanks

former_member182470
Active Contributor
0 Kudos

Perform an OLAP check for your Query in RSCRM_BAPI t-code.

I feel your KF's(with Formula Variables) and the other KF's are conflicting each other. That's why your Query is displaying result when either of those KF's exist but not for all at a time.

Please check your query definition thoroughly.

RamanKorrapati
Active Contributor
0 Kudos

Hi Jain,

This kind of error occurs due to CMOD code which your were written for variables. The code may not be compatible with your present patch. i think you may need oss note. please check the blow links.

http://www.stechno.net/sap-notes.html?view=sapnote&id=1133267

https://scn.sap.com/thread/432901

Thanks