cancel
Showing results for 
Search instead for 
Did you mean: 

JavaScript:SAPBWOpenWindow ??

Former Member
0 Kudos

Hi,

i want to use a link or a button to open a second window where i can select the calender day month in a formular. JavaScript:SAPBWOpenWindow is that what i am searching for but i dont know how to use it?

Regards,

Memoli!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Adem,

should i use it in a web template?

Regards,

Memoli!

Adem_Baykal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Memoli,

use this HTML-Code and adapt it to your needs.



<HTML>
<!-- BW data source object tags -->
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="SET_DATA_PROVIDER"/>
         <param name="NAME" value="DATAPROVIDER_1"/>
         <param name="QUERY" value="0D_SD_C03_Q009"/>
         <param name="INFOCUBE" value="0D_SD_C03"/>
         DATA_PROVIDER:             DATAPROVIDER_1
</object>

<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="SET_PROPERTIES"/>
         <param name="TEMPLATE_ID" value="ZTMP_B_FILTER"/>
         TEMPLATE PROPERTIES 
</object>

<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE>BW Web Application</TITLE>
      <link href="https://answers.sap.com/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
</HEAD>
<BODY>
<P><object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="GET_ITEM"/>
         <param name="NAME" value="TABLE_1"/>
         <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
         <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
         ITEM:            TABLE_1
</object></P>
<A href="JavaScript:SAPBWOpenWindow(SAP_BW_URL_Get() +'&amp;CMD=PROCESS_HELP_WINDOW&amp;HELP_SERVICE=DP_VIEW_FILTER&amp;DATA_PROVIDER=DATAPROVIDER_1&amp;IOBJNM=0CALMONTH','FILTER',800,6);" >Filter Formular Calendar year month</A>
</BODY>
</HTML>

Best regards,

Adem

Answers (1)

Answers (1)

Adem_Baykal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Memoli,

use following link:

<A href="JavaScript:SAPBWOpenWindow(SAP_BW_URL_Get() +'&amp;CMD=PROCESS_HELP_WINDOW&amp;HELP_SERVICE=DP_VIEW_FILTER&amp;DATA_PROVIDER=DATAPROVIDER_1&amp;IOBJNM=0CALMONTH','FILTER',800,6);" >Filter Formular Calendar year month</A>

Be sure to use a Query with calenderyear/month init.

Regards,

Adem