Quantcast
Channel: SCN : Discussion List - SAP Business Warehouse
Viewing all 6437 articles
Browse latest View live

How to replace hard-coded ABAP in BW with a data lookup?

$
0
0

I'm new to BW and am taking over maintenance of some existing BW code.  I have one data load where there is hard-coded ABAP logic in an Update Rule, in the form of a large CASE structure that does a translation based on the incoming values.  Similar to the following

 

"conversion for 2014

CASE COMM_STRUCTURE-/bic/zinfield

  WHEN '1'.

    RESULT = 'MELANIE'.

  WHEN '2'.

    RESULT = 'ERRICK'.

  WHEN OTHERS.

    RESULT = 'KAREN'.

ENDCASE.

 

I am now faced with updating this logic for the new year, where the business wants the conversion above to be in effect for last year's records, but for there to be a new conversion mapping for this year's records, such as

 

"conversion for 2015

CASE COMM_STRUCTURE-/bic/zinfield

  WHEN '1'.

    RESULT = 'KIRON'.

  WHEN '2'.

    RESULT = 'MIHKEL'.

  WHEN '3'.

    RESULT = 'LENA'.

  WHEN OTHERS.

    RESULT = 'MAHTAB'.

ENDCASE.

 

I don't know why this logic was hard-coded in the first place.  The mapping for each year will be maintained in a custom Z table in an R/3 system.  If I was writing ABAP code on that R/3 system, I would just SELECT against that table to do the conversion.

 

What I'd like to know is what would be considered the best practice for doing this conversion in BW? 

 

My first instinct is to create a Z table in the BW system that is a copy of the R/3 table, populate it with the same data, and use a SELECT against it in the update rule.  That table would change very rarely, so the maintenance burden for keeping that BW table in sync with R/3 is much lower than the maintenance burden from the hard coding.  But I imagine there are better ways to accomplish the same thing, without defining a new Z table in BW. The BW system that I am on uses very few Z tables, so I assume they are a last resort.

 

Do the gurus out there have any recommendations for how to replace this hard coding?   Preferably without defining a hierarchy characteristic - I am new to BW, and defining a time-dependent hierarchy characteristic seems a little sophisticated for my first work in BW....

 

Thanks

 

Gord


XXL Attribute

$
0
0

Hello Gurus

 

We recently upgraded our system to 7.4 SP09 mostly to use XXL attribute technology. However, we are not yet able to use it in report.

Below are the steps i followed ::

 

- I marked my characteristic as "Supports XXL Attributes" (ZCHAR)

- I created a new XXL Characteristic  (ZXXL)

- I added ZXXL to XXL Attributes tab of ZCHAR

- Saved and activated ZCHAR and used it in a cube.

 

Now what i expect is, either to be able to see ZCHAR in Navigational Attributes part of cube, or display it in query as Display Attribute.

But both is not possible, so i can not use this ZXXL field in my query in any way.

 

Can you please tell me if i am missing something?

 

Thanks

Budget Variance Report

$
0
0

I need to create a new report for Budget and Actual expenses by month and year. Business has provided the budget for the entire year divided into 12 months as an excel file. I get the actual expenses from APGL report. Now, need to create a DataSource & DSO for the budget file and combine that with the actuals to generate the variance report. Please help me with the design of the datasource and dso, with details of what fields to create in DS and DSO. Here is the output requirement.

 

Report Output

Vendor #|Cost Center|GL|Jan budget|Jan actual|Jan Variance|Feb budget|Feb actual|Feb variance Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec|Yearly Budget|Yearly Actual|Yearly variancel

 

 

Here is the flat file fields of budget

 

Vendor #|Cost Center|GL|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec|Year Total

DTP takes 1 hour everyday to run but loads 0 records

$
0
0

Hi gurus,

 

A dtp runs almost 1 hour 13 mins everyday and fetches 0 records from cube(source) to dso(target) and it is delta. When checked in the cube with the filter selections in dtp it has got 0 records. But when checked in the details tab of dtp monitor it is taking 1 hour at "start of extraction" step. Why is it taking so long when it has got no records in source only.

 

Since it is taking long in the extraction step I checked if the indexing isn't existing on the cube. But there is indexing on the cube.

 

Help will be appreciated and points given.

 

 

Regards,

Praveen.

0RecordMode in ODS when deleting records in ERP side

$
0
0

Hi Experts,

 

I created an ODS in BW to put order items using 2LIS_11_VAITM data Source. I laod data from ERP to the OSD, I changed some records in ERP side and I loaded the new Data to ODS. everything works fin.

 

The issue I have is when I delete Items in ERP side, I get wrong result when I load data to the ODS.

 

Let me explain:

 

I had an order whith two items 10 and 20. and I deleted the Item 10. In RSA7 I got:

 

RSA7.PNG

When I load data to the DSO and Activated it, I got in the log table:

log table.PNG

 

and in the DSO I got:

ODS.PNG

 

What I expect is getting 0 in the 0gross_WGT and Poids net for the item 10 !!!

 

Am I missing something?

 

Thank's a lot for your support.

Abdess,

Delta for 0FI_AP_50

$
0
0

Hi All,

 

 

I want to run delta info package for the data source 0FI_AP_50, But in ECC system there is no delta enabled for this data source.. I have seen in the internet....saying that If we use DSO for this data source we can run the delta info package also.

 

Can anybody help me on this ....

v.JPG

Thanks& Regards,

G S Ramanjaneyulu.

infoobject 0WBS_ELEMT transport issue after adding new display attribute

$
0
0

Hi,

We added one custom infoobject as display attribute to 0WBS_ELEMT. While  importing Infoobject 0WBS_ELEMT from Dev into Quality system, transport import job is running forever with statement "insert into /BI0/XWBS_ELEMT " in Quality system.  When checked in SE14, it is observed that Attribute SID Table  /BI0/XWBS_ELEMT has become inconsistent and indexes are dropped.  The master data volume for 0WBS_ELEMT in Quality system is only 35000 records. Pl. suggest solution.

Multiple InfoObjects for one Hierarchy in BW 7.0

$
0
0

Hi,

 

I would like to copy a Hierarchy to in another InfoObject under BW 7.01.

 

What I've treid so far:

 

- I've switched the source InfoObject  to "Characterist. is data Soruce"

- I've genererated the Export Data Source

- I've copied the source InfoObject

- And I've created the transfer rule to the source InfoObject Hierarchy by using the BW as a source system

 

But when I try to load the data I get no result.

 

Is ther any other way to use an Hierarchy DataSource for Multiple Targets since I've no transformations for Hierarchies in BW 7.0

 

Thanx for any hint


problem in deleting PSA requests in process chain

$
0
0

Hi BW gurus,

 

I have a problem in a process chain where I can't delete PSA requests . The datasource is custom, it's based on a R/3 table (VIBDROOCC) and it's loaded in full mode.

In the process chain I inserted the "Deletion of Requests from PSA" step with Successful and incorrect flags but it doesn't works.

In the same step I inserted antoher 2 custom datasources that the 1st is based on a custom Function Module and the 2nd is based on a database view: with these datasources the deletions work correctly.

 

Do you know is there a limitiation or a error with this process chain step while using datasources based directly on database tables? I'm 7.02 BW release.

 

Thanks for any help.

 

SB

DTP - locking issue

$
0
0

Hi,

Our process chain got failed due to DTP locking issue, as per error message of Locked.

This DTP is running one time / daily into the target in process chain. No where is used this DTP,

So it should not locked as understanding if some one not open this DTP.

 

I have deleted & repaired it, completed successfully.

How can I define this DTP was locked & who locked ?

 

Regards,

Kamruz

Reason to get Error while writing master record "..." of characteristic " "

$
0
0

Hello Guys,

 

I am getting the error like Error while writing master record "..." of characteristic "     " while running the infopackage. I have fixed the issue through RSRV transaction by running report "Compare Characteristic Values in SID-, P- and Q- Tables" and correct error.

 

But I would like to know the resaon behind why this type of inconsistent master data error we get normally. Could you share your inputs.

 

Thanks,

Saravanan

Data size in MB/Kb for Cube and BW analysis in DB02 SAP BW 7.3

$
0
0

Hi,

 

I am trying to find the size of cube in Mb and also the no. of rows.

 

I can not find BW analysis in transac DB02-->Space--> Additional Functions in BW 7.31. Does anyone have idea how can i check the table size in Mb or Kb.

 

database.jpg

SAP CRM - BW quote extractor

$
0
0

Hi All,

 

We are facing a wired experience with SAP standard extractor 0CRM_QUOTA_ORDER_I . In this exactor we have bunch of standard fields which provide data based on quotation for a contract. We are facing issue with PARENT GUID which is coming from table CRMD_ORDERADM_I.

 

For a particular OBJECT ID we can find PARENT GUID in  table CRMD_ORDERADM_I , but when extract the same OBJ ID then no PARENT GUID is visible. We know that this extract fetches data only when item quote is available.

 

Do we need to do any settings to fetch parent guid , please suggest if we are missing any step.

 

Thanks

Rohith

Delete&Create Index

$
0
0

Hello Experts,

 

Delete & Create Index processes in cubes are taking too long time, regardless of data valume (near 2 hours)

 

Thanks & Regards

Engin Tuncer

Stop/Pause InfoPackage Jobs on source ECC system from BW

$
0
0

Hello, please forgive my ignorance as I am not a BW person but I am interested in stopping the BIREQU jobs in my source ECC system from being created/scheduled.They are causing performance issues in ECC. For now I have been cancelling them manually in ECC via SM37 and SM51. I wanted to find a way to put them on hold or stop them completely for now. After some quick SCN search they look to be created/scheduled from BW via the InfoPackage. Not being a BW person I am not sure the location or terminology to properly stop/pause these jobs from being created in ECC.

 

BW version 7.30

 

Any help would be very much appreciated.


info package failure due to BW Remote

$
0
0

Hi guys,

 

we have one info package with full load, it got failed due to BW Remote lock. status turned Red. Among several data packages in that load, 2 were failed. Pls suggest me how to resolve this issue.

Building a multiprovider over an infoset

$
0
0

I was looking at a case study where the company in discussion had created a process chain where they created an infoset on a DSO and then a multiprovider on top of that infoset.

 

Considering that multiprovider is very efficient than an infoset, why not remove the infoset and directly create a multiprovider on top of the DSO?

Refresh BW Query using VBA

$
0
0

Hi, I need to refresh BW query using VBA. To refresh ALL queries in the active workbook I am using code:(Run "SAPBEX.XLA!SAPBEXrefresh", True).

But later it ask to update the date and execute. Is it possible to auto update dates and using VBA to select execute button

XXL Attribute

$
0
0

Hello Gurus

 

We recently upgraded our system to 7.4 SP09 mostly to use XXL attribute technology. However, we are not yet able to use it in report.

Below are the steps i followed ::

 

- I marked my characteristic as "Supports XXL Attributes" (ZCHAR)

- I created a new XXL Characteristic  (ZXXL)

- I added ZXXL to XXL Attributes tab of ZCHAR

- Saved and activated ZCHAR and used it in a cube.

 

Now what i expect is, either to be able to see ZCHAR in Navigational Attributes part of cube, or display it in query as Display Attribute.

But both is not possible, so i can not use this ZXXL field in my query in any way.

 

Can you please tell me if i am missing something?

 

Thanks

DOS active and Change log tables are empty

$
0
0

Hello Experts,

 

I have checked some of the links mentioned below, could not get the solution.

BW 7.3 - DSO After Activation is empty

 

Issue details: In DSO maintenance screen, transferred records are 7 and added records are 2. Unfortunately, no data is available in both active & change log tables. Data is coming from 2lis_11_vaitm to this DSO. In PSA, we have images (After, Before and Reverse). Functional team has cerated 1 sales order with 1 item and deleted that item immediately. So, as per the action in ECC, the PAS is correct as we got all the images where as DSO is empty after activation. No idea, how this is behaving like this (empty).

 

Dataflow: 2lis_11_vaitm to InfoSource to DSO.

Mappings: ROCANCEL to 0STORNO in InfoSouce level and  "0STORNO" to 0RECORDMODE in DSO transformation.

 

Could you please share your thoughts/experiences on this kind of scenario ever experienced. Many thanks in advance!

 

Best Regards

Venkat...

Viewing all 6437 articles
Browse latest View live


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