Quantcast
Channel: SCN : All Content - SAP BusinessObjects Dashboards
Viewing all articles
Browse latest Browse all 3196

Passing value to Input parameter from Calculation view in XML

$
0
0

Hello guys,

 

I have a development in Crystal dashboard design, version 4.1 SP2, and I will publish it in Business One powered by hana , version 9.1.

This dashboard will connect with a calculation view in HANA with xml connection.I created an input parameter in my calculation view.

All my development and connection are working good in dashboard , but i am not able to pass a dynamic input parameter in xml.

I put a fixed value ("201601" instead '''<Enter Value>''') only to see if my dashboard would run and it was sucessfull, but i was not able to pass it dynamically.

See bellow my xml file:

 

<?xml version="1.0" encoding="utf-8"?>

<Package>

  <Code>Qtde_Itens_NF_Grupo_Cliente</Code>

  <Name>Quantidade de itens NF por grupo de cliente</Name>

  <Description>Demo Dashboard Package - Quantidade de itens NF por grupo de cliente</Description>

  <Author>xxx</Author>

  <Version>1.0</Version>

  <IsIMDB>Y</IsIMDB>

 

 

  <DashboardGroup>

    <Dashboard code="DAB001" name="Qtde_Itens_NF_Grupo_Cliente" note="Qtde Itens NF Grupo Cliente">

      <Query category="Dashboards_Demo" name="Qtde_Itens_NF_Grupo_Cliente" />

    </Dashboard>

  </DashboardGroup>

 

 

  <UserQueryGroup>

    <Query category="Dashboards_Demo" name="Qtde_Itens_NF_Grupo_Cliente">

SELECT  "AnoMes", "GroupName",sum("Quantidade") AS "Quantidade" FROM "_SYS_BIC"."Homologacao.Consultas.Vendas/CA_F_NOTAS_FISCAIS"('PLACEHOLDER' = ('$$P_ANO_MES$$', '''<Enter Value>'''))

GROUP BY "AnoMes","GroupName"</Query>

  </UserQueryGroup>

</Package>

 

 

 

How can i pass a value from dashboard to "<Enter Value>" in input parameter?

If i execute the dashboard with "<Enter Value>"  in xml as input paramenter, it does not appear any error but it does not return any data.

 

Regards


Viewing all articles
Browse latest Browse all 3196

Trending Articles



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