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

SAP Bex: How to calculate formula variable, without dragging corresponding date in the row

$
0
0

Hi Experts,

 

In my requirement, we should not do any changes in the BW system. I need to create a Bex query on the existing Info-set, KPI need to be calculated from the date objects.

 

e.g

 

Delivery date - Order date - which has been done with the formula variable in the bex, I'm getting exact value. the  problem is if I'm not dragging the Delivery date or order date in the Bex ROW, its not populating value. I'm expecting consolidated value for a month.

 

It has an impact in the BOBJ system. since i'm not getting consolidated value, the number of data which is coming in BOBJ system is very huge. Hence doing calculating in the bobj will affect performance.

 

Regards

 

Vijaykumar


DataSource Attributes: 0HRPOSITION_TMC_ATTR

$
0
0

Hello Gurus,

 

I am looking to extract Job-Family related Master Data, I checked and there are no Application component under PA(Personal Management) or data source with name "0HRPOSITION_TMC_ATTR" to extract this data. Do you have any idea how can I get/extract this data in bw?

The document I referring to extract data is pasted below

 

Talent Management and Talent Development - SAP Library

 

 

Sam

SAP Business workplace Control the type of files that can be uploaded (white list definition)

$
0
0

Hi Guru's,

 

Can you guys help me?

I have to make some "rules" in the way the emails are sent within sap, because of the size and type of files.

 

So I have 2 things I wanna do:

 

1- Control the type of files that can be uploaded (white list definition);

 

2- Control the size of the files that can be uploaded;

 

 

Can you guru's please help me to achieve this topics?

 

Thanks in advance

Pass Key date from Sender to Receiver Query

$
0
0

Hi,

 

We have a requirement to pass key date from the sender query to receiver query.

 

In our sender query we derive the key date based on the calendar month value entered by the user on the variable screen and this is used to determine the hierarchy structure to be used for report.

 

The user have the option to drill down to detailed query (using RRI) from the context menu option. We would like to use the same key date in the drill down query as the sender query. The drill down query does not have any variable selection.

 

In RRI settings I can not see the way to pass on the key date.

 

Any help is appreciated.

 

 

Thanks,

Ankit

Customer exit in BEx Query

$
0
0

Hi,

 

I've created a BEx query and added a variable MCE9004 in field Ref.org.unit and this variable is mapped to a customer exit code via CMOD step 2 (post_popup).

 

Basically how I want it to work is, I will select an org.unit value e.g. org.unit = A1 in tcode RSRT variable selection screen and this value will be passed in the customer exit code as shown below and retrieve the look up values and pass it to the field ref.org.unit via e_t_range.

 

CASE i_vnam.

     WHEN 'MCE9004'.

****      IF i_step = 2.

       READ TABLE i_t_var_range INTO LS_T_VAR_RANGE

       WITH KEY IOBJNM = '0CALMONTH'.

       l_date = LS_T_VAR_RANGE-low.

 

       IF l_date IS NOT INITIAL.

         CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'

           EXPORTING

             day_in            = l_date

           IMPORTING

             last_day_of_month = ld_last_day

           EXCEPTIONS

             day_in_not_valid  = 1

             OTHERS            = 2.

       ENDIF.

 

       READ TABLE i_t_var_range INTO LS_T_VAR_RANGE

       WITH KEY IOBJNM = '0ORGUNIT'.

       SELECT /BIC/ORGUNT_PR FROM /BIC/AMPA5AX0000 INTO lv_org "l_s_range

         WHERE ORGUNIT = LS_T_VAR_RANGE-low

         AND DATETO LE ld_last_day.

 

         l_s_range-SIGN = 'I'.

         l_s_range-OPT = 'EQ'.

         l_s_range-LOW = lv_org.

*          l_s_range-HIGH =

 

         APPEND l_s_range TO e_t_range.

       ENDSELECT.


***** To clear value of org.unit field

****      READ TABLE i_t_var_range INTO LS_T_VAR_RANGE

****      WITH KEY IOBJNM = '0ORGUNIT'.

****      IF sy-subrc EQ 0.

*****        CLEAR LS_T_VAR_RANGE-low.

****        DELETE i_t_var_range index sy-tabix.

****      ENDIF.

 

 

   ENDCASE.

 

ENDFUNCTION.


Once this code has been executed it goes back to the selection screen and there is still an org.unit value on the screen even though I have removed it in my code in red above in i_t_var_range.


Therefore when I execute the query, the value for org.unit field is not emptied.


Can you please teach me how to clear that value of org.unit field?


Let me know if you need further details.



Thanks,

Rebekah

To get count of Perchase Requisition based conditions

$
0
0


Hi Experts ,

 

I need count of Perchase Requisitions ,

 

Report Format is

 

In rows , have created Selections based (material , Item categoty , material type ),  in Column I need count of Perchase Requisitions .

 

I have created Formula variable on purchase requisition but to get the result  i had to put  purchase requition which is not in scope .

 

Kindly suggest .

calculate no of days at report and calculations required more than 180 will be 0 for next year

$
0
0

I am receiving start date and End date from source system.  I
need to calculate number of days. ?

 

 

 

Formula for No. Days as follows

 

 

 

  1. No. Days = End Date – Start Date (If the end date
    value is available),  else last day of the current month – Start Date (If end
    date values is blank).

 

                      If the number of days > 180 ( I need
to show 180 days only for that year), if the year is changing then number of
days should be zero.

BEx WAD Javascript repository

$
0
0

Hi all,

 

While working on a JavaScript item within a Web Template (7.x), I've somehow managed to break the link to the actual code. Now when I launch the javascript editor on my item all the code has gone, and it just shows the biLargeData id which you normally only see on the XHTML view. See attached screen grab.

 

Does anyone know where the javascript code is saved? As I have the script reference I'm hoping I might be able to find it somewhere rather than starting from scratch.

 

Any help much appreciated!Capture.JPG

 

cheers

Guy


Subtotal by attribute

$
0
0

Hi Gurus,

 

Here'a a begginer question related to subtotals:

I cannot make a subtotal based on an attribute wich is not 1:1 with the dimension key.

What do you suggest to do next ?

 

Thanks,

Markus

Key Figure Values

$
0
0


Hi All,

 

We have a manual input CSV file having some KPI Nos (chars) and a KPI value (KF) and loading it to cube. For certain KPIs we are getting '0' values, for certain KPIs blank (i.e., no value) and for certain KPIs 999999.

Now, here is the user goes. When ever the user execute a query, it should show '0' values as 0 and blank as blank and 999999 as NA.

 

ex CSV file:

 

 

KPI NOKPI value
1456872
2
3999999
41456478
545465
6465487
7
8999999
9465465465
10999999
11

 

Having only two concerns. 1 is with balnk value and 2 is with 999999. Here the query is showing blank value as '0' and of course 999999 as it is.

 

Is there any work around to convert that 999999 to NA and blank as blank (in query level) or any easy solution in modelling part itself. Could any one share your valuable experinces and suggestions please...

 

 

Best Regards

Venkat...

Sum of values in rows counted by BEx (displayed in result row) differs from the one counted by MS Excel SUM() formula.

$
0
0


Hi Gurus,

 

I have very strange situation

 

BEx Analyser in result row displays: 31 716 247 295.5500
MS Excel formula (set on the range of cells that contain values  summed by BEx Analyzer, inserted in the same BEx Analyzer spreadsheet) displays: 31 716 247 295.5635
The value shown in FAGLB03 (on the ECC side) is 31 716 247 295.56 so the value displayed in MS Excel formula is correct, the value generated by BEx is wrong.  Values differ just 0,01


Number of rows that is displayed is approx. 175000.

The query is very simple:
Filter: 0PSTNG_DATE=variable; 0comp_code=1000
Rows: 0AC_DOC_NO (Result Rows = Always display)
Columns: 0CREDIT_LC and 0DEBIT_LC (number of decimal places is set to 0.00)

 

The table looks like this:

Doc no                       Ct. amt. in LC      Dt. amt. in LC
------------------------------------------------------------------
0AC_DOC_N             0CREDIT_LC       0DEBIT_LC
…   …  …
------------------------------------------------------------------
BEx Summation          0CREDIT_LC  0DEBIT_LC (wrong)
MS Excel summation  0CREDIT_LC  0DEBIT_LC (correct)

 

How is that despite my rounding values in key figures (0CREDIT_LC and 0DEBIT_LC - number of decimal places is set in BEx Query Designer to 0.00) sum of values shows .5635
  
My Query Designer is:
BI AddOn 7.x (based on 7,20)
Support Package 6
Revision 678.

 

My BEx Analyzer is
BI AddOn 7.x (based on 7,20)
Support Package 6
Revision 1820.

 

Regards,

Leszek

BWoH 7.4 new Bex Feature

$
0
0

Hi All,

 

Any one of you worked on any of the following new topics:

 

Multidimensional Exception Aggregation

Current Member variable

 

 

Please let me know where can I find these options, I tried but don't see these options it the respective places. A screen shot would help me to locate these options. Please do not suggest to look into help.sap.com, I already have gone through them and would like to see them in the system. If any one you already used these options please post your experiences.

 

Regards

Rama

Export to Excel file takes long time to open - WAD 3.X

$
0
0

Hi All,

 

I am using SAP WAD 3.x. When I try to open the query result using Export to Excel option it takes very long time for the Excel file to open up. If the number of records is less than 100 the excel file opens up within 2minutes but if the records are more it takes more time around 20minutes for the excel file to open up. Kindly give your valuable inputs to reduce the timing.

 

 

Request you all to kindly help regarding the same.

 

 

Thanks

Jayasri

SUMCT & SUMGT & SUMRT not working properly

$
0
0

Hello Gurus,

 

I am trying to divide the Totals at region level with Profit Center Level. For


Produced MH % = Profit center Volume / Region Total Volume

 

Region

Department

Profit Center

Jan

Feb

Mar

Apr

MXN1CHRYSLERP105010Volume per Month Total GUM450450450450
MXN1CHRYSLERP105010Produced MH %0.300.300.300.30
MXN1CHRYSLERP105020Volume per Month Total GUM1050105010501050
MXN1CHRYSLERP105020Produced MH %0.700.700.700.70
Total at Region Level1,500.001,500.001,500.001,500.00
MXNWCOMBUP105022Volume per Month Total GUM800800800800
MXNWCOMBUP105022Produced MH %0.620.670.620.67
MXNWCVGP105035Volume per Month Total GUM500400500400
MXNWCVGP105035Produced MH %0.380.330.380.33
Total at Region Level1,300.001,200.001,300.001,200.00

 

For example -  Produced MH % = 450 / ( 450 + 1050 ) = 450 / 1500 = 0.30 for Jan Month.

 

I am applying formula = Volume Per month Total GUM / SUMGT ( Volume Per Month Total GUM )

 

Above formula is working correct if User Selects One Region MXN1, But If user selects More than One Region, SUMGT is add all regions and dividing based on the formula....

 

I tried Aggregation by Region and Calculation, but no luck.

 

Please any once can share how to resolve if user enters more than one region in the selection.

 

Thanks

Ganesh Reddy.

Broadcasting fails with more than X variables in variable screen

$
0
0

Hi all,

 

We have a few reports which have a variable screen with 10+ variables, mostly 3 mandatory and the rest is optional.

Normally a pop-up appears in which you can select which type (HTML, PDF, Portal etc.) and fill in the recipients. But for the reports I'm talking about, the pop-up stays blank or give an error "page not found"

 

First I thought it was an iView setting but I've compared all iviews and the settings are all the same.

 

Then I thought the webtemplates could have wrong parameters, but the LAUNCH_BROADCASTER settings are the same for 0ANALYSIS_PATTERN and custom templates.

 

Now I'm testing at query level and I found out that when I cut some optional variables, at some point it works and I'll get the pop-up I want.

 

So I wonder if there's a restriction in the maximum number of variables in the variable screen, which has impact on broadcasting? In one query it fails with 11 or more variables, but in another query it fails with 13 variables. It doesn't matter which variable I erase, as long as I stay under the mentioned number of variables, the broadcaster works for that query.

 

Is there a parameter or something which can be set?

 

We are on:

BW 7.31 SP9.30

 

Thanks for your help!

 

Regards,

Daan Boon


determine calmonth based on 0calday

$
0
0

we have a requirement where the user will enter the calmonth and cal year variable in the user input, and need to get the amount for top 10 customer's on sales, in the report. The problem is we dont have calmonth in the infocube. we have only fiscalyear and fiscalperiod, and -0calday which is mapped to sales date.

The columns we need in the report are

 

customer              YTD amount                 calmonth ( which the user will enter along with the year).

 

 

In brief, user will enter fiscal year and calmonth. We need to get the YTD amount and amount of that month entered by the user. There is no calmonth in the infocube. Please advise how do we achieve this. key date is 0calday in the infocube from which we need to get the top 10 customer with amount values give above columns.

Broadcasting with portal - dynamic variables

$
0
0

Hi,

 

I have question on use broadcasting with portal.

 

The variables are stored in table RSRD_SETT_NOTE_A in XML format. How to read an update the values of every Variables ?

 

I have used also the report Z_UPDATE_BROADCST contained in the document "How to Dynamically Update Broadcast Setting Variables" but for variables in format XML don't work.

 

The contentis as follows:

 

PR_VARIABLE_STRING       |       1 |<?xml version="1.0" encoding="UTF-8"?><VARIABLES>  <VARIABLE name="ZZ1" type="INFO_OBJECT_MEMBER" isStateVariable="false">    <SELECTIONS>      <SELECTION type="SINGLE_MEMBER">        <MEMBER name="201101" type="MEMBER"/>      </SELECTION>    </SELECT|

 

How can I do ?

 

Many thanks.

Charly

how to determine 0calday from 0fiscper field ?

$
0
0

we have a requirement where the user will enter the calmonth variable in the user input, and need to get the amount for top 20 customer's on sales, in the report. The problem is we dont have calmonth in the infocube. we have only 0fiscper and 0fiscalyear , and -0calday.

 

0calday is mapped to the transaction date. No calmonth in the infocube and we cannot add it now. its too late.

 

 

The columns we need in the report are ( orange color are column names)

 


customer        YTD           DEC 2012 ( sales amount) ....for top 20 customers. like


customer 1      99999            900

customer 2      55555             200


...................................

......

customer 20      11111             234

 

sample data is as follows: ...what I want is user will input 0calmonth and 0fiscalyear. and I need to display the data for that month . Please advise how to achieve it. YTD - is 1st of jan of the current year till today's date right ? Irrespective of the user entry variable. Is that right ?

 

Capture2.png

how is YTD calculated in bex ?

$
0
0

we have a requirement to calculate YTD for revenue in a report. Just want to understand if YTD is always the current year restricted to KF or we need to consider the value from the user like 0fiscper and adjust YTD, as per the user input. I mean for example if user enter input 002.2013, then the YTD will have 2013 value or still 2014 value because YTD is current year to date.

 

My reporting requirement is as below. red are colmns.

 

customer           YTD revenue              Feb 2013 ( user input value- revnue will be fetch based on user input).

 

But YTD will be always for current year right ? Does it depend on the user requirement ? Should I ask user or its generic, Please confirm.

 

Thanks

DR

Inventory days of supply bex report

$
0
0

Hi experts,

 

I am working on inventory days of supply bex report which i would like some help on. I do know that we have a standard query for this,however i feel standard wont fit the requirement completely. We have around 3-4 plants. Each plant will have list of material codes which will be maintained in its inventory. These material code are not unique to a plant i.e one material can be stocked for multiple place at various storage locations.

 

Now where this gets tricky is that material have been classified based on their criticality. for Ex M1001 is classified non critical for plant1001,however this same material code  m1001 can be classified as non critical for plant 1002.

 

I was wondering if any one could help me in the changes i would need to do in my standard inventory flow to incorporate this requirement. The user requirement is that he should have plant and material classification in the drilldown .

 

Any help would be highly appreciated.

 

Thanking you in advance.

Viewing all 4032 articles
Browse latest View live


Latest Images

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