Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

getSelectedMember lost

$
0
0

Dear Guru’s,

 

I have a question regarding  passing the data selection from one report to another. At first sight, everything is working fine, but in exceptional cases the second report shows unexpected (all) results.

 

The first crosstab is a comparison of turnover per creditor for the selected and previous fiscal year. For this first crosstab, selection is enabled.

 

Screenshot 1.

 

On select, both selected creditor and segment and the selected fiscal year are passed to the second crosstab.

 

Screenshot 2.

 

In the coding above DROPDOWN_2 determines the segment. This results in:

 

Screenshot 3.

 

This works fine, except when a creditor, for which no turnover is present in the selected fiscal year, is selected. In that case, the selection on creditor appears to have disappeared and all creditors are displayed.

 

Screenshot 4.

 

To ‘debug’ the issue, I inserted an alert (on select)  in the second crosstab, showing me the creditor number that was passed from the first to the second crosstab. If a ‘correct’ creditor is selected the popup shows the creditor number:

 

Screenshot 5.

 

However, if no data is available for the selected creditor, the system ‘dumps’ with the following error:

 

Screenshot 6.

 

To complete my investigation, I also ‘debugged’ the first crosstab, also showing met the creditor number that will be passed to the second crosstab. In both cases, the selected creditor is passed. Somewhere between jumping from the first to the second crosstab, the creditor gets lost, causing the second crosstab to show all data.

 

My conclusion is that this concerns a bug/error , but need a workaround to prevent showing all creditors. Does anybody have a proper solution? Thanks in advance.


Viewing all articles
Browse latest Browse all 4216

Trending Articles