Quantcast
Channel: SCN : All Content - SAP Business Warehouse
Viewing all 5981 articles
Browse latest View live

RSECADMIN authorizations not displayed in F4 after transport

$
0
0

Dear experts,

 

I created several authorizations in RSECADMIN and transported them to production.

 

But in production system these are not showing up under RSECADMIN > Authorizations > Maintenance > F4.

 

If I enter the technical name directly I can maintain them.

After maintained once, this very authorization is shown under F4, but only this one.

 

Other authorizations that are generated  are shown all the time.

 

 

 

Any ideas?

 

 

Best regards

 

 

Gregor


compare a field in end routine of different lengths

$
0
0

Hi,

 

I am writing an end routine where I want to compare sales doc in VBAK with the object ket field in NAST.  From this I want to return the date field.  The issue is sales doc is length 10 and object key is 30.

 

Because I am reading the result_package it doesn't look like I can assign a temp field before the select staement.  Is there something else I can do?  or do I read in the table then do the compare.

 

Thanks

 

Denise

Data is missing in PSA

$
0
0

Hi All,

 

We have done enhancement for generic data source which is create based on function module.

 

We have added 3 fields and we are able to see the data in RSA3.

 

But after ran the infopackage we are unable to see the same data for those three fields in PSA.

 

We have replicated the data source and we are using BW version 7.1.\

 

What could be the issue, could you please advice me to resolve this.

 

Thanks in advance,

Ajay

Extracting BFOD_A and BFOK_A

$
0
0

Hello Experts,

 

 

I have a requirement to extract BFOD_A and BFOK_A tables into BW. I know there is no standard datasources for the same and I need to opt for 2 custom datasources.

 

Challenge is in extracting delta. How do I make custom datasources for these 2 tables delta enabled.

 

I searched a lot on scn but couldn't find any solution. Has anybody implemented datasources which are delta enabled for BFOD_A and BFOK_A ?


Regards,

Mihir




Unable to Activate a DTP

$
0
0


Hi Gurus,

 

I have just activated a Datasource but while creating a DTP its giving me an error. Here is the screen shot:-Screen Shot.PNG

Can anyone please help?

Regards

Error in Transformation

$
0
0

Hi Experts,

 

I am getting error in transformation, the mapping is from 4 fields of a data source to one field of DSO, I am doing direct mapping. Please suggest If i want to write any routine?

 

TRFN.jpg

Triggering Remote Process Chains from ECC

$
0
0

Overview

In a previous post, I detailed how to trigger BW process chains upon successful completion of an ECC job, using events, a custom program in ECC that calls a FM in BW that triggers a Raise Event, that calls the process chain in question (Triggering BW Process Chains from ECC)

 

That's a valid scenario when the jobs in question are out of control of the BW team, and are really simply a precursor to the BW process chain. For example, a standard ECC job that needs to run daily, regardless of any dependencies with BW, and the BW team merely requires that data once it has been processed.

 

However, for jobs that are specific to BW, for example a custom ABAP program that needs to be executed to populate a custom Z table which is the source of a custom Z datasource, and which is solely controlled by the BW team, can be encapsulated in an ECC process chain (wait, did he say process chain in ECC? YES I DID), and called via a remote chain in the main BW process chain.

 

It's actually a very simple process, but which is extremely valuable, and provides many advantages, such as scheduling the main process chain in BW, being able to send success/failure emails all through BW using process chain messages, and one single location to view the entire process chain log.

 

Below I'll detail how to do that

 


ECC Setup

Step 1. Create your ECC process chain, by going to tcode RSPC. The interface is exactly the same as what we have in BW. For the purposes of this post, I created a dummy ABAP program that does nothing.

1.png

 

Create your Start Variant, and under Scheduling Options, select Start Using Meta Chain or API, since this ECC chain will be called from the BW Remote Chain:

3.png

 

Add the ABAP program (or whatever ECC process you want to execute remotely) to your process chain

2.png

Save an activate, and your ECC process chain will be ready.

 

BW Setup

Step 2. Create your BW process chain:

4.png

The process chain I'm using is the same as of my previous post, the only difference being that I added a remote process chain immediately after the start variant:

5.png

 

In order to add the Remote Process Chain, go to change mode and into General Services, and double click on Remote Process Chain

6.png


The screen below will appear, and you should click on the New icon to create a new Remote Process Chain variant:

7.png

 

The next screen will allow you to enter the variant technical name and description, as well as the

     - Destination: in this case the target ECC system from which we want to call the ECC process chain;

     - Called in Target System: the process chain in ECC that we want to execute;

     - Destination for Callback: the system that it will report the completion, which is back to our BW system .

 

In my example, ED1CLNT800 is our ECC system, and BWDCLNT001 is our BW system

8.png

 

Once that is done, save and activate your BW process chain, and it will be ready.

 

Execution

You can now execute your process chain, and it will call your Remote Process chain in ECC and execute it, and report the status in your main BW process chain, as well as in ECC:

 

BW Process Chain

9.png

ECC Process Chain

10.png

Notice how it was executed almost immediately after the BW chain.

 

Summary

This is a very simple and easy way to schedule ECC jobs that are solely related to BW processes, and provides a clean interface for integrating jobs between the two systems.

 

Good luck with your remote schedulings, and please provide any comments and tips that can help to expand on this topic.

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

Export Data Source Not Fetching Full Data

$
0
0

Hi Experts,

 

I have BW Over HANA system and I have created an Export data source on an Info-cube to feed data other BW system.

 

I am facing an un-expected behavior of the Export data source. Its not fetching all the Data from the Infocube while trying to Execute the Export data source in RSA3.

 

Test cases:

 

Input:

Material XXXXXXX

Cal Month YYYYMM

 

As per Infocube the value of a key figure for the selection is more  where as its coming fewer in RSA3 for the Export data source.

 

While investigating the same i found that some of the documents are present in the Infocube but its not being fetched by the Export data source.

 

Even I have tried to fetch the data in RSA3 for the respective documents but its fetching ZERO records where as same is available in the Infocube.

 

 

Please share your views/idea on this.

 

Thanks,

prakash

Financial Statement - FSE3 changes in ECC its impact on BW !!

$
0
0

Hello ,

Recently some changes have been done in  ECC  - tcode : FSE3 rearranging some of the accounts to other nodes and some new nodes created.  We have additionals systems linked like BW , BPC , BCS .


Systems :

SAP ECC 6.0 

BW 7.0

 

Can anyone help me understand the impact of this change in BW ?   - datasources , extractors , DSO, cubes , reports

Extractors related to Financial Statement - FSE3


Appreciate your inputs .


Regards

Ram

Routine Question

$
0
0

Hello, Is it possible to send data that is in internal table to another DSO?

 

I have some data in internal table that I have manipulated and i don't want to write that data to my dso.  ok. in my end routine, can I use the INSERT command and send that data in another DSO?

 

Please let me know,

Thanks.

Step by Step Guide to track manual changes via Integrated Planning ( IP)

$
0
0

Scenario :

 

In our project we are using statistical method to calculate number of products left at a customer location considering their past sales( cumulative)  and natural retirement with time.  To calculate the retirement we are using statistical density function to predict retirement over time. To get the current product base we are subtracting predicted retirement from total sales over time.

 

Now, as this prediction might not give 100% correct values ( in fact it will never give ) , business wants to update the "Current Product Base"  in case that information is available via field intelligence i.e. from the sales representative.

 

                        PIC1.png

 

For example  row 1 , our model is predicting "Current Product Base"  for customer C1 as of April-2015 for Product P1 is 50 . However, my sales representative knows it is exactly 60 .  So, he/she updated this value to 60 manually.  We used Integrated Planning functionality in BW to achieve that.  Now, we want to capture who changed the values and when the changes were made.

 


Step By Step Procedure :


1.  Create  Direct Update DSO  to log the changes:


We logged the changes in a Direct Update DSO.  So first we need to create some characteristics relevant for logging and then create a Direct Update DSO.

We have used 0DATE0 , 0TIME , ZUSERNM( to hold user information ) and ZSAVEID to log the changes. Created a DSO with 0DATE, 0TIME,  ZUSERNM , ZSAVEID these as the key fields together with other characteristics relevant for business.

 

        InfoObjects Settings :

pic 2.png

Now , we will create a DSO and change the Type of Data Store Object to " Direct Update" from the settings.  We shall use all our business key and above mentioned 4 characteristics as the key of DSO.

 

    pic 3.PNG

In the Data fields of DSO , you can include all the Key Figures which are supposed to be manually updated. For case our scenario it is actual value of product base.

 

 

2. Create Enhancement Spot Implementation to log the changes in DSO :


Now , we shall implement an Enhancement Spot which will do the job of logging manual update.  Every time user updates the value in real time cube, system will generate an Save Id and push that to our DSO along with user name, date and time.

 

Go to Transaction SE18 , choose Enhancement Spot  RSPLS_LOGGING_ON_SAVEChoose Tab Enhancement Implementation and click on Implement Enhancement Spot  ( highlighted ).

                              PIC 4.png

Put the name of your implementing class and description and then choose OK  . Select suitable Package and then fill the below screen with BAdi name and class name and choose BAdi definition


                      pic 5.png

 

                        pic 6.png

 

    Now we have to work on two things  1 ) Implementation Class and 2 ) Filter

 

    Let us work with implementation class first .  A class will have methods which will do the actual work for us. We have to put our code in those methods.

 

    Double click on the implementation class of the BAdi definition .

                                          pic 7.png

  It shall bring the below screen and you would be able to see the methods for the implementation class. We have to put our code inside these methods.  Please check the attachment for the code with comments.  You need very minimum adjustment to the code to adapt it for your scenario.

                              Pic 8.png

a) IF_RSPLS_LOGGING_ON_SAVE~LOG_DEFINED :

Here we need to define for which Real Time Cube logging is activated . Assign the cube name  to i_infocube_name  parameter.  Additionally I put my name , so that changes by my user id only would be logged as of now.  Later on we shall comment out second statement.

 

      PIC 9.png

 

b) IF_RSPLS_LOGGING_ON_SAVE~LOG_STRUCTURE :

This method will give us the structure of the  data which will be logged.  In our case it will provide me the structure of the  DSO where I am storing the log.  Please check the appendix for code adjustment with all relevant comments for understanding .

 

 

c) IF_RSPLS_LOGGING_ON_SAVE~LOG_WRITE :

This method actually writes the data to Direct Update DSO in a structure defined in  method 2.

Here we need to mention for which Real Time Cube we want to log the changes and where  ( in our case it is Direct Update DSO) . It could also be a DB table.

 

d) IF_RSPLS_LOGGING_ON_SAVE~LOG_DEFINED_DB :

This method you can use to write it the log to Database Table if you are using HANA as DB

 

e) IF_RSPLS_LOGGING_ON_SAVE~LOG_WRITE_DB:

This method you can use to write it the log to Database Table if you are using HANA as DB

For our case , we are tracking the changes in DSO, so , we did not use method 4 or 5 .  Still , we activated these two ( d and e)  method ,otherwise BAdi activation was throwing error.

 

**** Please check attached document for complete code

Once we put all our code in respective method , we need to fill Filter for this BAdi implementation.  Double click on the filter area and put your Real Time Cube name.

 

                    Pic 10.PNG

 

3. Login to Planning workbook and Update Values :

Now, we need to login to our planning workbook and manually adjust the number of Product Base and then save it in real time cube.

                        

PIC11.PNG

Note , we have changed Actual Product Base for first 4 rows and save them in the planning cubes .

 

We will check our Direct Update DSO to see if our BAdi has logged all those changes and the user id who changed it.

 

    PIC12.PNG

 

As we can see , it logged my user id and date, time and save id for the change I did.  If you want to update to some other target only the last changed time and change by user , you can read only the latest record by sorting with time .

 

Please find complete codes in link ( dropbox) , just need to adjust the portion highlighted.

Dropbox - Class Methods.pdf

 

 

Debug Tips :  If you face any problem, please set external breakpoints inside the methods one by one and debug.

 

 

For some more detail, please check How to... Log Changes in Plan Data when using the SAP BW Planning Applications Kit

 

 

 

Cheers

Anindya

Conversion of existing ECC Data Sources to ODP / ODQ

$
0
0

Hi All -


We are preparing to migrate to BW 7.4 on SAP HANA.  I have recently read through all the literature and hype on the  for ODP / ODQ, its ability to allow us to bypass PSA, the data compression, and delta queue control in the source system.  I love the idea of the LSA++ and simplifying our architecture.

 

Most of the documentation is very high level / overview.  What I can't find is some detailed information on implementation / migration / conversion of existing sources.

 

My BW instance currently sources from a 7.3 ECC system using the standard data sources. 

 

My questions...

 

Once I convert to 7.4 SAP HANA, can I convert / migrate my existing data sources to ODP?

If I can migrate / convert - what is the recommended procedure and does it keep my current delta pointer in tact?

Can I use a combination of standard data sources and ODP for the same ECC source system?


If anyone has had any experience in this area, please share!


Thanks.

Copying Data from Cube to Cube (standard)

$
0
0

I am no BW expert.

 

Trying to copy data from one cube IC1 to another cube IC2 using a DTP. Transformation is activate. Technically all is good.

 

It seems that the executing DTP is trying to read the data source and source system of IC1. IC1 already has data. So why does the DTP need to go look for source system of IC1 ? It is another matter that the source system is kaput and hence execution fails. Hence no data in IC2

 

Is this how the DTP is intended to work ? What if I deleted the transformations and DTP on the IC1 ? Should it work ?

 

Thanks

BS

how to cross check values between 0FIGL_O14 and ECC

$
0
0

Hi..All,

 

I send Data to FIGL_O14 DSO's. Now i need to cross check the values from ECC. please let me know how to check. as same like 0FIAP_O03   , and 0FIAR_O03.

 

0figl_o14.png


0TCTPRCSVAR_ATTR Extraction issue

$
0
0

Hello Experts,

 

We are getting a typical dump while extracting data from DS - 0TCTPRCSVAR_ATTR The dump occurs at line number 7 in Class CL_RSPC_VARIANT --> CREATE(Method). The error message says 'INVALID_INPUT'.The load was running fine till last month.

 

Any idea related to this issue would be much appreciated.

 

Regards,

Uthaya

 

 

Extraction Error:

 

Dump Screen shot:

Generated Export Datasource to APO Cube

$
0
0

Hello BW experts,

 

We need to load the newly created delivery order in ECC into our APO cube, the datasource feeding the data to APO cube is generated export datasource i.e starting with 8 (8ZSD_C10)---> ZAPOCube

 

Can someone please guide me the steps to bring the data into this datasource (8ZSD_C10), as per my understanding, I have to create an info package on BW side and run it so the data can be populate into the datasource from ECC and then we will run the DTP on the APO side to more the data into ZAPOCube from this datasource.

I will appreciate if someone please guide me the steps.

Thank you.....

Customer Hierarchy load overwriting manual updates

$
0
0

We presently load the customer hierarchy from our ECC system, but now have a requirement to manually update the customer hierarchy with our non-SAP customers.  This manual update was done, but when the next data extract/load from our ECC system, the manual updates that were done were lost.  How do we prevent the manual updates to the customer hierarchy from being lost each time we update the customer hierarchy from the ECC system?  We are presently running SAP BW 7.4 (without Hana).

How to show Blank values in Bex Report

$
0
0

Hi friends ,

                   In my bex report one of the KF Column having zero's  and Blank values .

 

Ex .   Mat     Price

          A         0

          B        

          C        15

                                when i create a condition  Price > 0 

 

Then the given Out put is    

                                        Mat     Price  

                                         C        15    

                                                                   but the required Out put is 

                                                                                                           Mat     Price

                                                                                                           

                                                                                                            C        15

        

 

I.e  I have to Remove only zeros and i should show blank values. Could you pls give some Ideas on this .

If duplicates are coming as a part of same request does aggregation happen at Activation queue table of standard DSO?

$
0
0

If duplicates are coming as a part of same request does aggregation happen at Activation queue table of standard DSO?

Viewing all 5981 articles
Browse latest View live


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