Skip to Content
author's profile photo Former Member
Former Member

Call BI report passing parameters

Good morning, I have a trouble to pass parameters to BI report. I'm able to call BI report, but not to pass the BP number. 1) In the table CRMV_BI_REPORTS i defined the key ZTEST that call the BI QUERY. 2)In the table CRMV_UI_LLINK I defined the menu, TYPE: D REPORT BI ID DEST: DISPLAY Parameter ZTEST (my link to query) Class CL_CRM_GEN_UI_BI_UTIL Now in the menu, I'm able to call the query BI. If in the class CL_CRM_GEN_UI_BI_UTIL method CREATE_BI_ENTITY i put an break point, I can set the field lv_struct_ref->*-addparameter. So, I need to pass the BP number, as test case I tried to valorize the field lv_struct_ref->*-addparameter with the value: &VARIABLE_SCREEN=X&VAR_NAME_1=Z0BPARTNER_SO_001&VAR_VALUE_EXT_1=11&VAR_NODE_IOBJNM_1=0BPARTNER or with the value: &VAR_NAME_1=Z0BPARTNER_SO_001&VAR_VALUE_EXT_1=11 without success, the variable Z0BPARTNER_SO_001 of the report BI is not valorized.. How I can pass a value to the BI report? Many thanks Marco
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 30, 2013 at 06:42 AM

    Hello, Marco.

    Have you checked wiki page SAP Community Network Wiki - CRM - Context Specific display of BI Reports on Account Assignment B...?

    PS: Also wondering is the SAP CRM Interaction Center space an appropriate space for your question?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks you Andrei,

      I resolved my self using the parameters:

      &BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=13&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=Z0BPARTNER_SO_001

      Regars

      Marco

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.