Quantcast
Viewing all articles
Browse latest Browse all 5414

Not able to Retrieve Transaction Data based on the property of master data

Hi,

 

I am trying to retrieve transaction data based on property of Master Data for ACCOUNT (property  ACCTYPE = ‘EXP’)

in BPC 10 version for netweaver.



 

 

Image may be NSFW.
Clik here to view.
issue1.jpg
Image may be NSFW.
Clik here to view.
issue2.jpg

 

Transaction data is present at backend, But I am not getting data in Internal table after running RSDRI Query.

 

Image may be NSFW.
Clik here to view.
issue3.jpg

 

I am using this code.

 

DATA: lt_sel TYPE uj0_t_sel,
ls_sel
TYPE uj0_s_sel.

ls_sel
-dimension = 'ACCOUNT'.
ls_sel
-attribute = 'ACCTYPE'.
ls_sel
-sign = 'I'.
ls_sel
-option = 'EQ'.
ls_sel
-low = 'EXP'.
APPEND ls_sel TO lt_sel.

 

 

 

lo_query = cl_ujo_query_factory=>get_query_adapter(
i_appset_id
= lv_environment_id
i_appl_id
= lv_application_id ).
lo_query
->run_rsdri_query(
EXPORTING
it_dim_name
= lt_dim_list " BPC: Dimension List
it_range
= lt_sel" BPC: Selection condition
if_check_security
= ABAP_FALSE " BPC: Generic indicator

    IMPORTING
et_data
= <lt_query_result>

    et_message = lt_message

    ).


Image may be NSFW.
Clik here to view.
issue4.jpg


Image may be NSFW.
Clik here to view.
issue5.jpg


Data is coming if i use ID of ACCOUNT directly, for e.g.

ls_sel-dimension = 'ACCOUNT'.
ls_sel
-attribute = 'ID'.
ls_sel
-sign = 'I'.
ls_sel
-option = 'EQ'.
ls_sel
-low = 'PL110.

APPEND ls_sel TO lt_sel.

so in this case data is coming , but it is not coming for property.

 

So Please can you help me on this.


Thanks,

Rishi


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>