Quantcast
Channel: SCN : Discussion List - SAP Business Explorer (SAP BEx)
Viewing all 4032 articles
Browse latest View live

Customer exists in BEX

$
0
0

Hi Experts,

 

Can you please explain step by step the detail meaning of the below abap code used for a customer exists.

 

"

DATA: l_s_range TYPE rsr_s_rangesid,

      loc_var_range LIKE rrrangeexit.

DATA: wf_fday TYPE sy-datum.

DATA: wf_lday TYPE sy-datum.

DATA: wf_year TYPE /bi0/oifiscyear.

 

 

DATA: wf_flag TYPE c VALUE 'X'.

 

 

 

 

IF i_step = 1.

 

 

  CASE i_vnam.

    WHEN 'ZT_CALMTH'.

* Fill the value for User and he can change the same. Here it gets current month and year

      l_s_range-low = sy-datum+0(4).

      l_s_range-low+4(2) = sy-datum+4(2).

      l_s_range-sign = 'I'.

      l_s_range-opt = 'EQ'.

      APPEND l_s_range TO e_t_range.

 

 

  ENDCASE.

 

 

ELSEIF

i_step = 2.

  CASE i_vnam.

    WHEN 'ZT_CALMONTH_1'    .

* based on the value entered by User the value for this variable is derived. Value filled as

* get the priviouse year of the user entered and month.

 

 

      READ TABLE  i_t_var_range INTO loc_var_range WITH KEY  vnam = 'ZT_CALMTH'.

 

 

      IF sy-subrc = 0.

 

 

        l_s_range-low+0(4)  = loc_var_range-low+0(4) - 1.

        l_s_range-low+4(2)  = loc_var_range-low+4(2).

        l_s_range-sign = 'I'.

        l_s_range-opt = 'EQ'.

        APPEND l_s_range TO e_t_range.

 

 

 

 

      ENDIF.

  ENDCASE.

ENDIF.

 

"

 

Thanks,

Thilini


Customer exit Charecteristic value for date range

$
0
0

Hi Experts,

 

I wanna know how to get the current and previous month/year for a interval variable.

 

ex: user input date range: 004.2013 - 004.2014 and I wanna get " 004.2012 - 004.2013"

 

How to write a customer exits to get the above values?

 

(am using infoobject 0FICPER for the date variables)

 

Thanks,

Thilini

Using an InfoCube's calculated key figure from a Multiprovider

$
0
0

Hi,

 

We are on Bi 7.0 and as far as I know, it's not possible to use an InfoCube's calculated key figure from a MultiProvider.

Does anyone know if this is possible in 7.0 or a higher version of Bi?

 

BTW - I know you can copy RKF and CKF using T-code RSZC.

 

Thanks

BEX query to display Trading partner based on GL account

$
0
0

Hi all,

 

I have a requirement where in report I want to display profit center, Gl account and Trading partner name in rows.

GL account is restricted with third party and intercompany, now if account is intercompany then only Trading partner name should display.

 

Profit center1      account third party1                    500

                               account intercompany 1            300

                                           Partner1 name

 

Profit center2     account third party2                    400

                               account intercompany 2             200

                                           Partner21 name               100

                                           Partne22r name                  50

                                            Partner23 name                  50


the above is the demo layout of the report.


please help me in how can this be done.



Thanks.        

will be possible to give authorization with Hierarchy node variable

$
0
0

Hi

 

I have 1 Hierarchy

 

corporate

   Region

    country

     Site

      Plant

 

 

This is single Hierarchy

 

There are 80 sites and 16 countries and 4 regions available in my hierarchy

 

now I can activate hierarchy at bex for this infoobject

 

for site level users I need to give access only Site and bwlo nodes

for country level I need to access country and below levels

 

If I create hierarchy node variable, how the solution is possible.

 

in RSECADMIn I can select Hierarchy and node physically for each site  88 times I need to control for 88 sites?

 

is there any other solution to do better authorization in my case?

Help with specific query requirement

$
0
0

Hi, I have a query that just generates a list of customers and the managers.  Sometimes the manager and the customer are the same number.   Can anyone think of a way to configure the query to exclude lines where the customer and the manager are the same?

 

Thanks for any ideas on this one!


Bex Monthwise percentage calculation (Column wise)

$
0
0


Dear All,

 

I need to get the % month wise that appears in a report.

For selected characteristic monthwise  % share required   .

At present I am getting below result  but my expected or desire result is different.

 

Month1Month1Month2Month2
Month =>13-Nov13-Nov13-Dec13-DecOverall Result
CityCustomer CountCount %Customer CountCount %Customer CountCount %
Mumbai521.74%626.09%1147.82%
Delhi313.04%417.39%730.44%
Chennai28.70%313.04%521.74%
Total1043.48%1356.52%23100%

 

 

Expected /Desire Result :

 

Month1Month1Month2Month2
Month =>13-Nov13-Nov13-Dec13-DecOverall Result
CityCustomer CountCount %Customer CountCount %Customer CountCount %
Mumbai550%646.15%1147.82%
Delhi330%430.77%730.44%
Chennai220%323.08%521.74%
Total10100%13100%23100%

 

Any help will be appreciated.

Thanks in Advance

Girish

I am getting Short dump while activating DSO

$
0
0


Hi Experts,

 

I am getting short DUMP while activating the DSO.

 

  Exception 'CX_PARAMETER_INVALID_RANGE' was raised, but it was not caught
   anywhere along the
  call hierarchy.

  Since exceptions represent error situations, and this error was not
  adequately responded to, ABAP program 'CL_ABAP_STACK_TEMPERATURE=====CP' had
   to be terminated.

 

Please suggest me where to correct.

 

Thanks

Sunil


Issue in Precalculation Workbook

$
0
0


Hi All,

 

We are broadcasting workbooks  to Sales Specialists based on the area they belong to.Broadcasting works with out any issues except if the Sales Rep has no sales in that case a default workbook  is going out to him.

 

While executing the workbook, we have to set ourself as a sales member (we have an authorization exit here) and in case this , if a Specialist has 0 data , default values are going out to him.

 

Our Workbooks have multiple sheets with the Pivot Tables and Lookup info.Any light thrown as to how to broadcast blank workbook  in case of no data in the main report is highly appreciated,

 

Regards,

Sasidhar

BEx Error - No value could be determined for variable

$
0
0

Hi Experts,

 

Please find the Image attached.

 

I have created a variable for authorization for a query. While executing the query, it causes this error.

 

And also I have created WAD template with 3 queries, Since this query causes error, all the query results the error though other queries results fine while executing independently.

 

Please advise me how to resolve this error.

 

 

Thanks

 

Sankar

Bex workbook title dynamically from selection input

$
0
0

Hi Guys,

 

I have a requirement to show the report title in two lines based on the Input Selection screen .

 

title would be:                     text of WBS element

                                      progress report   start date  and enddate.

 

End date and Start date are too input selection  on the bex query.  Please let me know can we do this is BEX Query designer or need to develop in Workbook.

 

Thanks in advance.

Conversion not available in query

$
0
0

Hi all,

 

I've created conversion to convert document currency to fixed one based on date variable in query.

 

Problem is that I can see conversion in one query only. I don't see in even in queries which are totally the same, with minor differences in format only...

 

 

Regards

BEX Query: GL account to appear at the bottom of the report

$
0
0

Hi all,

 

I have a BEX query requirement where my report layout is :

 

In rows there is Profit center, in columns the  keyfigure Amount is restricted with GL account .

but the problem I am facing user wants the few  GL accounts to be shown at the bottom of the report also.

 

for example; the report layout like this below:

 

Rows                         Amount (for XX GL account)       Amount (for XY GL account)     Margin (column 1+column 2)

Profit Center 1          100                                                                 50                                             150

Profit Center 2               300                                                            100                                             400

 

AA                                                                                                                                                           500

AB                                                                                                                                                         1000

              

here AA and AB are the GL accounts.

the above is the report layout that I want to achieve .

 

Please help me how can I do this.

 

Thanks,
Ambika

I am getting below error in rich client while using Bex query as a source.I am not able to fetch the query. Please submit any solution you have

Value '#' is invalid for property 'Change Data' of element

$
0
0

Dear All,

 

I am getting this error in my query built on a MP & the cube is not a real time.

 

Value '#' is invalid for property 'Change Data' of element .

 

When I create a new  query  every thing seems to be ok , but since this query is exposed to BO and many reports are based on this, I have to correct this one...

 

The Value # for 'Change Data' in Planning Tab of object properties is checked automatically & i don't have option to change it...

 

Any suggestions on how to remove this setting ?

 

Besides the other unusual thing that I observe is that the the 'Display as' properties of objects  changes to 'No Display' automatically...

 

Any help is highly appreciated.

 

Thanks

Ankit


BEX Broadcast: text variable issue

$
0
0

Hello,

 

I encounter a new issue after a BW upgrade from 7.0 to 7.31:

some text variables stay blank in mail sent by Bex Broadcast.

 

 

We send workbook attached in mails and we use text variable as <DATE> or <WEEK> in mails fields like object.

 

I said some text variable stay blank because it still work for DATE but not for WEEK.

I asked to upgrade java patch corresponding to my support package but it doesn't fix my issue.

My system is SP 5 java patch 22.

 

Do you have any idea?

 

Nicolas

Using RRI to drill down to detail report

$
0
0

Hi,

 

I have set up an RRI in RSBBS and have assigned an infoobject on the sender report to pass into a variable on the receiver report.

 

When the variable screen on the receiver report is displayed it is populated correctly with the passed over value and description. However, if you click on OK to run the report, "Value XXXX for variable XXXX is invalid" is displayed. If the value is selected in the variable screen, the report is able to be run and displays

 

Does anyone know what is causing this issue?

 

Thanks

Sally

 

 

Hierarchy node not available in Query Designer

$
0
0

Hello Gurus,

 

I can find the hierarchy node variable in BW but it is not available in query designer. Does anyone know what might be the problem and a solution?

 

Thanks,

Mark

calculate previous year column in Rolling 12 months query

$
0
0

Hi experts,

 

 

 

 

I have a rolling 12 months query with the following things


In Rows
structure with calmonth year restriction values so that first row is current cal month, 2nd is (current calmonth - 1offset) so on.

In columns
Gross profit(Curr Year) gr0ss profit(Prev Year) Net profit(Curr Year) Net profit(Prev Year)

 

 

Rows                                        Columns
                  Gross profit(CY)       gr0ss profit(PY)       Net profit(CY)       Net profit(PY)
1curmnth        1000                                                        2000
2curmnth-1     2000                                                        4000
3curmnth-2     3000                                                        8000
4
5
6
7
8
9
10
11
12


How to calculate the previous columns in this query without using cell definitions

 

 

 

Thanks & regards,

Mohammed Naveed.

standard SAP Variable

$
0
0

Hello Experts,

 

Is there any SAP EXIT variable on fiscper - fiscalyear/period which sums up all the previous periods values leaving the current month.

 

for ex- I have values say period wise

 

2010007 - 2000

2011004 - 1000

2012006 - 500

2013010 - 100

2013011 -  100

2014002    500

 

I have display a KF value- if the user enters the period 2013011 then I need to display 2000+1000+500+100 Sum leaving the current period which user enters which is 011.2013

 

I need to show the closing balance till previous period in the current period under one column.

I need to show the current month balance under another column which is 100 if its 011.2013

 

Can any one pls advise how Can I achieve this.

 

Thanks,

Santhosh

Viewing all 4032 articles
Browse latest View live


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