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

Log to BW using VBA + file with password

$
0
0

Helle everyone,

 

I'm asking your assistance because I have a lot of Excel files using VBA to log into SAP/BW (or BI, I'm not enough expert to know the difference).

The fact is it works well (automatic runs etc ...) but when we have to change the passwords (quite often), I take me a lot of time to change every passwords so I would like to make a file with my password and VBA would find the password into that file so when I have to change my password, I only have to change the password in my file.

 

Is it clear enough ?

 

Thank you for your support,


Need to display data using fisc year for Current and Previous year.

$
0
0

Hi All,

 

In my report rquirement, User is entering the fiscal year. Based on the fiscal year, in report i need to show current year in Monthwise and Previous year as year wise for Debit/Credit amount.

 

I have kept fisc year above keyfigures in Column wise. But the output is not coming as i expected.

 

Can you please help on this issue.

 

Thanks.

F4 help in Bex Analyzer displays values for which there is no data

$
0
0

I encountered a scenario in SAP Bex Analyzer, wherein, when I invoke the F4 help for a characteristic, it displays values, for which there is no data.

 

Below is the detailed explanation for the same:

 

1. Open a Query in Bex Analyzer

 

2. Perform some drill down operation

 

3. Right click on the characteristic X, select filter values. It displays 10 values.

Out of that, I restrict it to 5 values. say X1,X2,X3,X4 and X5

 

4. The result just shows values for X1 and X2. The other three values are not shown in the result.

 

Could someone explain me why it is so?

 

The settings in the Bex Query designer for the characteristic in "Advanced" tab is,

 

"Access Type for Result Values" --> "Posted Values"

 

"Filter Value Selection During Query Execution" --> "Only Posted Values for Navigation"

 

The Query is built on a Multiprovider. The multiprovider contains some 15-20 cubes.

The characteristic in question, is assigned to all the cubes.

 

Points will be awarded for the correct answers.

Count on Sales Document and Item

$
0
0

Hi Experts ,

 

I need some help on the following scenario . I have a report Open Orders , which will be based on Sale Quan greater than Delivered Quan . Data in Backend

 

Comp CodeSales OrderSales ItemDelivery OrderDelivery ItemSales QuanDel Quan
16001001011052
16001001021053
16002001031082
16002001041085

 

As you can see data in backend is at Delivery Order Level (multiple Deliveries for a single Sale Order) . What I need the report to do is it should consider the Sale Order 100 , Sale Quantity as only 5 (though exists as two records) and compare with Delivery Quantity 5(2+3) and decide it as not open order . 

For Order 200 , it should compare Sale Quantity 8 with  Delivery Quantity 7 (2+5) and give it as open order .

Issues I face are only Company Code level of data should be displayed in report . Also sale order quantity should not summarize eg consider Sale Order 100 and Item 10 (first two records) , it should consider only 5 not (5+5) . I tried many ways through codes in backend , but in vain . Please help me out on this .

Display count of created and completed (KPIs) in single month-wise report

$
0
0

Dear Friends,

 

I have a scenario where in a single report I need to display below KPIs month wise (the month range will be entered by user) :

 

1. Number of cases created in a month

2. Number of cases closed in a month (irrespective of in which month the case was created)

 

Data is as below in DSO:

Case No.

(primary key in DSO)

0CALMONTH

(Case Creation Month)

ZCOM_MNTH

(Case Completion Month)

ZCOUNT

(populated as 1 for each record)

C001JAN.2012APR.20121
C002FEB.2012MAY.20121
C003MAR.2012MAY.20121
C004APR.2012JUN.20121
C005APR.2012JUN.20121
C006MAY.2012JUN.20121
C007JUN.2012JUN.20121
C008JUN.2012JUN.20121
C009JUN.2012JUN.20121




 

The report output should be as below:

 

User inputs a month range 04.2012 - 06.2012.

 

(Row)                          (Column)                                            (Column)

0CALMONTH               CASES CREATED                              CASES CLOSED

APR 2012                    2                                                        1

MAY 2012                    1                                                        2

JUN 2012                     3                                                        6

 

In my query 0CALMONTH is mapped to creation date of case. I have added ZCOM_MNTH and it is mapped to completion date for the case.

 

Could you please suggest how I can show the above output based on the sample data shown above.

I tried the below approach:

 

Created a User Input variable(zcreate_month of type interval) on 0CALMONTH. A customer exit variable (zcomp_month ) which is populated with value entered in zcreate_month. Now I added CALMONTH in 'Row' and created 2 RKFs :

 

1.  Cases Created - Restricting ZCount by CALMONTH -> zmonth

2.  Cases Closed - Restricting ZCount by ZCOM_MNTH -> zmonth1

 

But calculation of 'Cases Closed' is incorrect when I include CALMONTH in 'row'... and Calculation for 'Cases Created' is incorrect when I have 'ZCOMP_MONTH' in 'row'...

 

Please share your thoughts...

 

Thanks,

VA

 

Message was edited by: Vishwa Anand

Formula Variable - No applicable data found - SAP BW 7.3

$
0
0

Hi,

 

I have a formula variable based on customer exit for Last Refresh Date. The Bex is based on Multiprovider.

In the layout I have Last Refresh Date, Other keyfigures hidden and No characteristic.

The same bex works fine in BW 7.01 but in BW 7.3 it shows 'No applicable data found'

 

If I unhide the keyfigures then I get data for that variable but my requirement is to have Last Refresh Date, Other keyfigures hidden and No characteristic

 

Please provide your inputs.

 

 

 

Regards,

Sneha

Result row in bex reporting

$
0
0

Hi experts,

 

Good day!

 

 

Can any one please clarify on this issue and i would like to display result on each record .Here  total value  displaying of all records but i want to display each record wise result . highly grateful to you for your inputs on this issue.

 

Regards

RK

Report not displaying in Bex after giving Authorization

$
0
0

Hi,

 

      One user we given "ZREP_PP_Order" report authorization, but after that also he not able to see report in Bex analyzer. Pls help on this.

 

Thanks,

Manjunath.


If Else condition in BEx

$
0
0

Hi,

 

Currently our report has 0LOC_CURRCY & 0DOC_CURRCY in Free characteristics. Now when we drill down,it gets the value as USD,GBP & also '# 'when it is blank. So the now the requirement is to get the 0LOC_CURRCY & 0DOC_CURRCY when it has '#' based on 0CURRENCY.

 

Now the idea is The condition can be like this:

        New LOC Currency field condition = If Local Currency = "#", then use Currency field, Else use Local Currency.

        New DOC Currency field condition = If DOC Currency = "#", then use Currency field, Else use Document Currency.

 

 

 

G/l AccountDescProfit CenterDescLoc CurrencyDescDoc CurrencyDescCurrencyDesc
0001100000TLY Org Level0001380000Landmark OLA#Not Assigned#Not AssignedUSDUS Dollar
0001200000ALU Internally0001410000LIVENoteUSDUS DollarUSDUS Dollar#No Assigned


Suggest if we can proceed with condition to achieve Loc Currency & Doc Currency = 0Currency when Loc Currency & Doc Currency is #. If not let me know the other way around.

 

Thanks,

Kshetra

SAP Gui 7.3 - Bex VBA library missing ?

$
0
0

We are testing SAP-GUI 7.3, and the library file BEXAPI.TLB appears to be missing. This is bad... our range identification VBA program depends on this library being around, so we can use the GetBex function.

 

Does anyone have any ideas where it went ? OSS has no information on it.

Error while executing BEx report - invalid inputs for Posting Period

$
0
0

Hi,

 

In my BEx query, we have the following fields:

 

Year Till date Last Month(Sales Volume), Year Till date Current Month(Sales Volume).

 

For the above two fields, I'm using the following restrictions and key figures:

 

for field: Current Year Last Month Sales Volume:

 

Key figure: 0volume_dl

Posting Period with restriction (1 - 0P_PER3)-1

Fiscal year: 0FISCPER

 

1 - 0P_PER3 means from first of posting period till current posting period subtracting with 1 for showing till last month.

for field: Year Till date Current Month(Sales Volume):

 

Key figure: 0volume_dl

Posting Period with restriction(1-0P_PER3)

fiscal year: 0fiscper

 

Hence when I run the report, the input fields are posting period and fiscal year.

The report executes fine while I give inputs as 2,3,...12 for posting period.  Bex analyzer shows error while I give input for posting period as 1.  The problem is with the restriction which I've marked in Bold.

 

Can you please help me to solve this error to calculate Current Year Last Month Sales Volume?

 

with Regards,

Antony Jerald.

Need help for comparing time(hr:min:secs) variants in Bex Query

$
0
0

Hi,

 

I've been stuck with a requirement for how to proceed with it.  Can you help me out in this?  the following are the bex query i've generated:

 

 

Sales office
Order NumberOrder CountOrder Cycle Time
1500101112:04:09
1501101211:04:55
15011013100:04:34
1503101514:08:08

 

From the above report, I need to add one more column which is Order < 2 Hrs.  i.e., we have order number and order cycle time.  I'll have to generate Orders count less than two hours based on Order number and order cycle time and the following is it's logic:

 

if (Order cycle time < 2 hrs)

then count(Order number)

 

The following is it's output:

 

 

Sales office
Order Number
Order Cycle Time
Order < 2 Hrs
150010112:04:090
150110121:04:551
1501101300:04:341
150310154:08:080

 

Here order number is a dimension.  Order cycle time is a formula variable having formula dispatch time - receipt time.

 

Here, basically I could not set condition for order cycle time.  Because, Bex is not taking up it's time i.e., Order Cycle Time < 2 is not taking in Bex.  Ideally if it's order cycle time < 2:00:00 seems to be accepted in BEx.  But I don't find : option in Bex query.

 

Request you to please help me to do this report.

 

 

 

with Regards,

Antony Jerald.

Slow F4 help in BEx Query

$
0
0

Hi All,

 

I have an issue with F4 help in BEx query.

We are on BI7.0.

When running queries we are getting a very slow response when using the Input Help (F4) option for few navigational attributes on selection screen even though they have very few values (7-10).(rest of the variables work fine)

But, the same looks fine when executed through RSRT transaction.

 

Please provide your inputs in solving the issue.

 

Thanks & Regards,

Lavanya.

legends in BEx

$
0
0

Dear Gurus,

 

We have developed a Payroll report using the data source "0HR_PY_1", the report is fine and in the report we have a column called "other allowances" which includes (HR,Telephone,joining,transport,etc etc some 10 allowances). Now if i include everything in the column heading, the heading becomes too big, so my user want a legend

Ex: in the end of the report he need something like given below,

Other allowances -- HR, Mobile, Transport, Shipment, Joining.

 

Is this possible in Bex?

BEx Variable value passed to Virtual Cube start routine

$
0
0

Hello guys,

 

Is there any way to pass the selection variable values of BEx to the Virtual Provider transformation? I need to use them there for data manipulation.

 

Thank you in advance,

Gabriel


Distributing a workbook to other users - 3.5 verses v 7.x

$
0
0

When I developed Bex workbooks in Bex 3.5 I was able to save the workbook locally on my drive, and then email it out to other users. They were able to open the Workbook, then log into BW and then refresh the data.

 

I have tried to do the same in version 7.x I can save the file locally as a macro enabled excel file. I then send it to another user, when they open it it warns them the file contains macros, and says "unreadable content....do you want to recover the contents of the workbook" I then say yes, it opens the file. But then when I try to refresh the data, it does not recognise there are queries within the workbook.

 

Has anyone else had this problem? and how did you resolve it

 

Many thanks for any help

 

Gareth

Unable to get aggregated data for key figures having time calculation

$
0
0

Hi,

 

In a BEx report there are key figures Order Cycle Time(OCT), Orders < 2 hrs, Orders < 4hrs and following are it's formula:

 

OCT: Time((Receipt date - Order date) * 86400))+ Receipt time - Order Time.  Will returns value in hrs: min: secs format.

Orders < 2 hrs: (Order Cycle Time <= Time(7200)* Order Count + 0.  Will returns 1 if it's true or 0 if it's false.

 

The report is at Sales Office Level.  And I've kept hidden for the dimensional objects Receipt date, Order date, Receipt time, order time in rows.  With out those, bex is not displaying values for OCT, orders < 2 hrs. 

 

The problem is while I execute the report, I'm able to get it's respective key figure values but while I activate Sales Office hierarchy, values for key figures which is having time calculations are displayed as x.

 

Explaining the same with following example:

 

 

Sales Office
OCTOrders < 2 hrs
Orders < 4 hrs.
10102:12:4401
10101:04:2010
10100:50:1210
10103:20:4001

 

 

Like wise for more than 100 Sales offices.  The above sample shows execution of Bex report with out sales office hierarchy.

 

If I activate the sales office hierarchy, I should get the report in the following format:

But I'm not getting in the desired format :-(

 

Sales OfficeOCTOrders < 2 hrsOrders < 4hrs.
North144:29:304920
South90:12:444021
West122:01:126112
East70:34:223111

 

In my report for above report for OCT, Orders < 2 hrs, Orders < 4hrs, I'm getting values as 'x'.  Basically, the data for Order count, OCT has to be aggregated here.  But the same is not happening in my case.

 

Don't know what formula has to apply for achieving the above format. 

Request you to please suggest help and support for achieving the above format.

 

I've already posted in sdn forum.  But I could not find it.  Regret for inconvenience if this posting is a repetition.

 

with Regards,

Antony Jerald.

Standard Reports to the Users

$
0
0

Hi,

 

My client is asking me to explain each and every standard report. i am facing lot of problems in that..like fields, calculations and the logic. i have referred  help.sap.com in this i did not find much explanation for the standard reports. please help how i can explain the standard reports.

 

As a technical consultant its difficult for me to explain the logic.

BEx Query Designer hang on while saving Query...

$
0
0

Hi Experts,

 

Recently we have upgraded from SAP BI 7.01 to SAP BI 7.3, and we facing an issue (the BEx Query designer window will hang on) on saving a Query through BEx Query Designer. does anyone faced this kind of issue, pls give your suggestions to resolve...

 

We are using SAP Front End: SAP BI 7.20, SP 3 (Not yet upgraded to 7.31), will this effect the Query designer features...

 

Thanks in Advance,

Partha.

Need to display data using fisc year for Current and Previous year.

$
0
0

Hi All,

 

In my report rquirement, User is entering the fiscal year. Based on the fiscal year, in report i need to show current year in Monthwise and Previous year as year wise for Debit/Credit amount.

 

I have kept fisc year above keyfigures in Column wise. But the output is not coming as i expected.

 

Can you please help on this issue.

 

Thanks.

Viewing all 4032 articles
Browse latest View live


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