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

Trigger Process Chain through emails

$
0
0

Dear Experts

 

I have a requirement of executing process chains after getting approvals through mail. And this process i have to automate. So, is there any way to trigger a process chain through mail directly.

 

Thanks in Advance.

 

Regards

Anuja


Strategy to handle Historical data in SAP BW

$
0
0


Hello Gurus,

 

I have a question @ strategy level what is the approach to handle Historical data in SAP BW.

 

  1. How do we plan to store historical data in BW. For example do we keep 1 year data in each DSO and 10 years in Inforcube?
  2. How do we will achieve the data for more than 3 year?
  3. How easy is to retrieve the data for reporting?

 

Could you please help me to provide some Best practices and Guidelines what is the approach and steps to be followed ?

 

Thanks,

HA

SAP BW DATA LOADING

$
0
0

Hi BW Experts,

 

I wants load data from ewm to bw. 

please explain to how to delete and fill the setup tables in SAP EWM

 

 

Regards

Srinu

Need standard DS name

$
0
0

Hi friends,

 

I have a requirement to develop a query using the combination of below tables:

 

AFUR,CRHD,CRTX,AFKO,MARA,T023T. (PP,PM,MM)

 

can anyone provide me standard DS for this combination.

 

I searched the forum but i couldn't find any proper answers for this.

 

please help me

 

Regards,

Kavitha

Dynamic Security Using OrgUnit Hierarchy

$
0
0

1       Objective

Maintaining security roles for large group of end users is always a challenging task. Hence it is required to develop solution with dynamic reporting security. In this case security requirements are based on OrgUnit hierarchy hence solution is for BW reports based on OrgUnit hierarchy.

Main idea is if A OrgUnit is assigned to user U1, then he should be able to access data of this OrgUnit & all child OrgUnits.

 

2       Brief Overview of Solution

Following are the parts of solution for making reporting security dynamic:

Z Table in ECC

This is required for maintaining ad-hoc OrgUnit assignments for accessing data for additional OrgUnits temporarily. This Z table will be loaded in a DSO in BW via table based datasource.

Extractor for OrgUnit Assignments

This extractor will bring OrgUnit assignments from HRP1001 & PA0001 for two type of users. HRP1001 will give OrgUnit assignments of users who are chief or manager of specific OrgUnits & PA0001 (Only specific designations will be considered based on requirements) will provide OrgUnit assignments of specific employees.

DSO in BW

This DSO will store data from two datasources mentioned above. This DSO will be referred by BW queries on run time to manage security.

 

BEx Variables

For making this dynamic security work, 2 Variables are added on OrgUnit:

       Input Ready

This variable V1 is used in “Default Values” section in filter pane. For this variable we have implemented a standard BADI for restricting F4 help values based on security.

       Customer Exit (No Input Ready)

This variable V2 is used in “Characteristic Restrictions” section of filter pane. It is customer exit variable, non-ready to input and to be processes in i_Step = 2. This variable will read values from other OrgUnit input ready variable and following is its logic flow:

If V1 variable is kept blank, this customer exit will be populated with authorized values of OrgUnit for the current user. Else if something is selected in V1, it will be validated in V2 and processed accordingly. More details in following sections of the document.

 

3 Z Table in ECC

This Z table is required to maintain ad-hoc OrgUnit assignments for reporting data at higher levels. For e.g. an end user may need to report data to (C level or Partner level) sometimes, for that he may need access to reports on OrgUnits which are not assigned to him in actual OrgUnit hierarchy in ECC, in these cases that user will be assigned required OrgUnits for specific period of time.

Maintenance generator is created for the table and table will be maintained via tcode and tcode will be assigned in security roles of specific people of application support team only.

Following is the structure of the table:

  Ztablw.png

Here, start & end date will restrict the access to specific ad-hoc OrgUnit assignment to specific period of time.

 

 

3.1 Tcode for table maintenance

Maintenance Generator Created for table for maintenance followed by creation of tcode for its maintenance in SE93:

  3_1.png

 

There is a table based generic datasource on this table.

4       Extractor for OrgUnit Assignments

This is a function module based generic datasource, based on client specific OrgUnit configuration it queries on HRP1001 table with filters on otype, sclas, rsign & relat to bring one set of users & corresponding OrgUnit assignments. Second set of reporting users is derived based on PA0001 based on senior executives or partners.

4.1 Extract structure for this datasource

4_1.png

 

 

4.2 Code Snippets

Attached ds code.

 

5 DSO in BW

DSO in BW is mapped from both the datasources discussed in sections 3 & 4.

5.1 DSO Structure

  5_1.png

 

6 BEx Variables

6.1 Input Ready Variable

We have implemented BADI for restricting F4 help values of this variables based on current user executing the report via look up on security DSO. This variable is used in “Default Values” section of filter pane.

6.1.1 Location of BADI

SPRO >> SAP NETWEAVER >> Business Warehouse >> Enhancements >> BAdI: Restricting the Value Help in the Variables Screen


6.1.2 Process of Implementing BADI for F4 Help Restriction

 

6_1_2.png

Clicking on highlighted part of above screen shot will take you to following screen:

6_1_2_b.png

 

Hit create button in above screen & then enter first two parameter (Name of new object) following pop-up-

6_1_2_c.png

 

Enhancement Implementation will be created:

6_1_2_d.png

 

Click on highlighted area in screenshot above “Implementing Class”-

  6_1_2_e.png

 

Since we need to apply F4 help restriction on Hierarchy Node variable, we need to select second method in screenshot above (*_NODE).

  1. Code

Attached file.

 

6.1.3 Expected output of F4 Restriction based on Sample Values

  6_1_3.png

Blue colored OrgUnits are assigned to user in BW DSO. Hierarchy shown on left side is main OrgUnit hierarchy and the one on right side is after applying code.

Using F4 help restriction, user cant make selection on those strands of hierarchy which doesn't have any of assigned OrgUnits, but he can still select OrgUnit which is parent of OrgUnit(s) assigned to him. To take care of this scenario, we created customer exit variable (i_step = 2), more details in next section.

 

 

 

6.2 Customer Exit (No Input Ready)

This is non-input ready customer exit variable to be processed in i_step = 2. This variable is used in “Characteristic Restrictions” section of Filter pane.

As discussed in last part of previous section, even after applying F4 help restriction, user can still select OrgUnit which is parent of OrgUnit he is assigned to. These kind of scenarios are handled in this customer exit code. Basically following are two reasons of having this additional variable on OrgUnit:

  1. a)     If user selects nothing in “input ready variable”, then this customer exit will pass all OrgUnits from security DSO in BW in second Variable V2. Which means, user will see data only for the OrgUnits assigned to him.
  2. b)    Validate selection made by user in variable V1. If user has selected something he is not authorized for then pass error.

6.2.1       Code of the Customer Exit (Class --> Method)

Code is not written directly in CMOD, but instead using interface class in CMOD, code is written in class specific to the variable V2.

Attached file.

 

 

7 Conclusion

7.1 Dynamic Security for BW Reporting

  1. Simple roles are required for users restricting them to specific Infoarea, Infoproviders & BEx queries (using Wild Characters).
  2. In security roles need not maintain OrgUnit values, which may change based on employee’s position changes.
  3. If a User is moved in OrgUnit hierarchy in ECC based on HR actions (Promotion or Transfer), this change will come to BW DSO automatically and end users reporting authorizations are automatically taken care of.
  4. If any user needs ad-hoc OrgUnit assignments, just need to maintain Z table with validity dates for ad-hoc assignment and rest all taken care post loading the table in BW.

7.2 Brief of Functioning

If user doesn't enter anything in input ready variable, second customer exit variable will filter report based on OrgUnits assigned to the user.

If user selects something in first input ready variable (where F4 help restriction is applied), second variable will validate security based on OrgUnit assignments.

 

8 References

F4 Help Restriction

http://wiki.scn.sap.com/wiki/display/BI/F4+BADI+RESTRICTION+NODE

http://wiki.scn.sap.com/wiki/display/BI/F4+BADI

http://scn.sap.com/community/data-warehousing/bw/blog/2010/09/30/howto-restrict-f4-help-values-for-hierarchies-in-bex-variable-screen

How to transport Index creation in table level.

$
0
0

Hi All,

 

In our project, we have lot of end routines written for LooK-up some other DSOs. Intially the data load took lot of time. Then we analyzed the select statements in the end routine.  We started creating the Index in the table level of the DSO. After doing this, the data loads is taking very less time. We created the Indexes in table level directly by opening the production system. I just want to know, instead of creating the indexes directly in production. I want to transport the indexes from development. Can you please guide me how to transport the indexes from development.

 

Thanks.

Mass maintenance of analysis authorizations in BW 7.0

$
0
0

I know, the mass maintenance tool was introduced in 7.3. However, is there any workaround e.g. for mass deletion of AAs in 7.0? Any simple implementation?

Thanks in advance!

Key figure Type Date Data type DEC and delta handling 0Recordome

$
0
0

Hi All,

 

I have keyfigure of type Date Data type DEC in my Cube. When I do delta loads it does not receive negative value in record Before Image (0Recordmode = X). In this particular situation when The record is changed (one of the data field), I cannot perform zero suppression in BEX and compress Cube with "zero elimination". Here is the changelog for DSO:

 

aaa.JPG

Any input how to overcome this issue?

 

Thanks,

 

Radek


Message no. RSDS016 - error overflow

$
0
0

Hi experts,

 

I have an error while pulling data from flat file to data source.

 

Error 'Overflow converting '900660'' when assigning application structure, line 1, contents

 

Message no. RSDS016.

 

what is the cause of this error

 

thanks

Indexing taking long, how to reduce the time

$
0
0

Hi Gurus,

 

The indexing for an infoprovider is taking for around 3 hours. The indexing happens daily by process chain. But after the indexing there is no compression step in the process chain. There are around 435876,345 records in the ftable and 0 records in the e table. Can you clarify , if the compression  gets done the indexing time might get reduced?

 

Does indexing happen on both ftable and etable?

 

Regards,

Rajesh.

Process chain status Email message without technical details

$
0
0

Hi All,

 

How can we purge the Email notification message of process chain?

 

Currently we have email messges maintained for processes at the end of process chain and the functionality is working fine,

we receive the message that is set up in the variant for that process.

 

But the message that we are getting is comes with additional details like the whole status of the chain, process names, event names, times ......

 

My plan is to exclude all these technical details and receive only the message that is set up in the variant.

 

 

Regards,

Rob.

 

 

 

Example:

                                                                                                                                                         
Process BW Chain Complete Of Type AND (Last) Has Status Completed
(Process Chain Rob_test)                                                                                                                                                                   

It is now 16:37:18 on 2014-03-03 (time zone UTC+2)  

 

Current Process Chain Run: 4X2KTN6JXWJ6598F762DF7MLW in System BP1 (Host sapprdbw)

Log for the Current Process:                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                     ------------------------------                                                           

 

Event
RSPROCESS 4X2E13CKSN5F40100ZSOIOR3O received on 2014-03-03 at 16:37:17                                                                                                                                                                                                                                                                                                                                                                                                                                                  ------------------------------                                                              

Log
of Respective Background Job:                                                            

Job
started                                                                                   

Step
001 started (program RSPROCESS, variant &0000000609711, user ID
ALEREMOTE)    

Start
process AND EVEN_4X2CMY1D6OCLZMXEWZQFW0ZSK in run 4X2KTN6JXWJ6598F762DF7MLW of
chain ROB_TEST

UJS_ACTIVATE_CONTENT fails with dump

$
0
0

Hi Experts,

 

We have completed the installation of NW74SR2 and BPC10.1 on HANA. As part of postinstall UJS_ACTIVATE_CONTENT fails with dump.

Please let me know if you have seen this issue before and steps to resolve.

================================

dump details:

 

Category              ABAP Programming Error

Runtime Errors        RAISE_EXCEPTION

ABAP Program          CL_UJE_BUI_AUTH===============CP

Application Component  EPM-BPC-NW-ADM-SEC

Date and Time          06.01.2015 09:36:19

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|Short Text                                                                                        |

|    Exception condition "BUI_ERROR" triggered                                                    |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|What happened?                                                                                    |

|    The current ABAP program has encountered an unexpected situation.                            |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|What can you do?                                                                                  |

|    Note down which actions and inputs caused the error.                                          |

|                                                                                                  |

|                                                                                                  |

|    To process the problem further, contact you SAP system                                        |

|    administrator.                                                                                |

|                                                                                                  |

|    Using Transaction ST22 for ABAP Dump Analysis, you can look                                  |

|    at and manage termination messages, and you can also                                          |

|    keep them for a long time.                                                                    |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|Error analysis                                                                                    |

|    A RAISE statement in program "SAPLUJE_10_API_SECURITY_MGMT" has raised                        |

|    exception condition "BUI_ERROR".                                                            |

|    Since the exception was not caught by a program higher up in the call                        |

|    hierarchy, processing was terminated.                                                        |

|                                                                                                  |

|    Short text for exception condition:                                                          |

|    You can find detailed documentation about the exception condition in                          |

|    transaction SE37 (Function Library). You can find the name of the                            |

|    function module called from the display of active calls.                                      |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|How to correct the error                                                                          |

|    If the error occurs in a non-modfied SAP program, you might be able to                        |

|    find a solution in the SAP Notes system. If you have access to the SAP                        |

|    Notes system, check there first using the following keywords:                                |

|                                                                                                  |

|    "RAISE_EXCEPTION"                                                                            |

|    "SAPLUJE_10_API_SECURITY_MGMT" bzw. LUJE_10_API_SECURITY_MGMTU04                              |

|    "UJE_UPDATE_BUI_FOLDER"                                                                      |

|    or                                                                                            |

|                                                                                                  |

|    "SAPLUJE_10_API_SECURITY_MGMT" BUI_ERROR                                                      |

|                                                                                                  |

|    or                                                                                            |

|                                                                                                  |

|    "UJS_ACTIVATE_CONTENT" "BUI_ERROR"                                                            |

|                                                                                                  |

----------------------------------------------------------------------------------------------------

 

 

----------------------------------------------------------------------------------------------------

|System environment                                                                                |

|    SAP Release..... 740                                                                          |

|    SAP Basis level                                                                              |

|                                                                                                  |

|    Application server... sapbwdi00                                                              |

|    Network address...... 10.101.30.162                                                          |

|    Operating system... Linux                                                                    |

|    Release.............. 2.6.32-431.23.3.el6.                                                    |

|    Hardware type....... x86_64                                                                  |

|    Character length..... 16 Bits                                                                |

|    Pointer length........ 64 Bits                                                                |

|    Work process number... 9                                                                      |

|    Shortdump setting. full                                                                      |

|                                                                                                  |

|    Database server... hanadb00                                                                |

|    Database type..... HDB                                                                        |

|    Database name..... BD1                                                                        |

|    Database user ID SAPBD1                                                                      |

|                                                                                                  |

|    Terminal.......... MW737J1J9BPCO5                                                            |

|                                                                                                  |

|    Character set C                                                                              |

|                                                                                                  |

|    SAP kernel....... 742                                                                        |

|    Created on....... Sep  2 2014 15:05:39                                                        |

|    Created at....... Linux GNU SLES-11 x86_64 cc4.3.4 use-pr140815                              |

|    Database version SQLDBC 1.00.82.00.0394270                                                    |

|    Patch level....... 17                                                                        |

|    Patch text.......                                                                            |

|                                                                                                  |

|    Database............. HDB 1.0                                                                |

|    SAP database version. 742                                                                    |

|    Operating system... Linux 2.6, Linux 3                                                        |

|                                                                                                  |

|    Memory consumption                                                                            |

|    Roll.... 0                                                                                    |

|    EM...... 18174024                                                                            |

|    Heap.... 0                                                                                    |

|    Page.... 40960                                                                                |

|    MM used. 9922760                                                                              |

|    MM free. 1669360                                                                              |

----------------------------------------------------------------------------------------------------

Delta capability for enhanced standard master datasource

$
0
0

Hi All,

 

I read many docs regarding delta functionality for standard enhanced extractors. But i could not get a clear view of it.

 

I have a datasource 0VENDOR_ATTR where i enhanced it with email id field and that data for enhanced field is coming from ADR6 Table. I have a couple of questions. Please guide me.

 

1) Will the delta's work properly for the enhanced field after the full load by doing a normal enhancement using CMOD?

2) If an email id is modified, will it update in BW, as i will be doing a delta load.

 

Thanks,

 

Karthik

BW Query issue

$
0
0

Dear Experts,

 

Results not coming in Pre-Prod system, but was correct in QA system. Please see below explanation.

 

Recently we added new DSO 2 fields from that DSO into Multi Provider, Same fields we added into BW Query.

 

Now test in QA is successful (DSO,MP Data and Query Data matches).But in Pre-Prod system Multi Provider (data comes) and BW query data not matching. Recently added fields bring ' # " data only in BW Query

 

Why ? it is working good in QA, we did not change anything. just transported changes.

 

Experts please advice. Thanks in Advance .

Issue :DTP data not delivered to ETL tool

$
0
0

Hi Friends,

 

I faced an issue in my project .Request your suggestions in this scenario.


Due to the memory issues many of the DTP got aborted in the system during regular load timings in production.

 

In some of the DTP aborts whole data package got aborted for which we did complete rerun of the DTP
But in some DTP cases only one some of the data package got failed.

 

So I have a example to share for the fix I did to the correct the DTP in my project.


This DTP loads data from a DSO to Openhub .This openhub deliveres data directly to ETL.

This DTP had 15 data packages and only one datapackage was in error(having 50000 records) rest all data pacakges were green (time 21:36).

So as we were facing memory issues in the system, instead of repeating the whole DTP; I repaired only the failed datapackage using the ''Post processing error data packages manually'' option in DTP which we get only if there is any failed datapackages.


As soon as I did it, it the failed datapackage was green and the whole DTP went successful.

 

But next day ETL reported saying that thy received only the last datapackage containing 50k records which I get corrected last night (time 21:39).

 

So my question is why did ET(Informatica)L receive only the last data package from BW even though all datapackages were green and DTP was competed successfully at 21:39 in SAP BW.

Is the post processing option provided in the system by SAP is not fit to use.?

 

One more point I like to share is the DTP I repaired by deleting the bad request and repeating the whole DTP step was successful and all data records were delivered to ETL, then what would have went wrong in this case.??

 

Thanks,

Jini


Cannot find BI Content Infoproviders listed under namespace /PKG/

$
0
0

Hello Experts,

 

I'm using the building block configuration guides, required for Business Intelligence Adaption RDS, I'm currently configuring the building blocks for the Financial Analytics, using "Financial Analytics Configuration (B48)" configuration file, everything went fine until I had to activate these info provides:


Capture.PNG

I searched in BI CONT, By Type, I can't find all the infoproviders, whatever their type are, listed after the namespace /PKG/

 

The configuration file "BW1", mentioned that I had to create the Namespace /PKG/ and S Gen /754/, it's already done, I looked for anything to be activated in the business functions screen (SWF5) for this namespace and found nothing...I searched in the SAP notes and on SCN and found nothing.

 

Am I missing some steps related to activating those infoproviders in BI CONT?

 

Thanks in advance.

Exception currencies TCURX table, R3 -> BW loading issue

$
0
0

Hello Friends,

 

I am facing issue in report values for amount in local currency key field. Its value not matching with R3 values. Decimal places are shifted in report.

We are on BI7 (RSDS data source).

There is data coming from R3 into one DSO from different different data sources (Sales, Billing, Purchasing etc) and then getting loaded to cube for reporting.

Few data sources are standard like LIS and few are Z data sources.

 

This issue must be related to exception currencies maintained in TCURX table. Becauase we are getting issues only for those currencies.

 

For Ex: See R3 and report value is different.

 

R3 value:71.230,00 KWD

Cube value:71.230,00 KWD

Report value: 7.123,000 KWD


BW report is showing discrepancy for KWD, CLP (TCURX) currencies for Actual amount in LC key figure.

 

Can you please explain how to handle fix here?

I have heard that the ECC to BW the respective customization needs to be considered into account in the source system itself.

So can we ask our R3 team to fix this issue for exceptional currencies on R3 side. And any particular information that we will have to share with R3 team to get this corrected?

 

Please share your inputs on this.

 

 

Thank You.

SAP Business Warehouse 7.4

$
0
0
Picture2.jpg
This page provides  information,  about the new functionalities provided with SAP  Business Warehouse 7.4 in general and the new functionalities of SAP  BW powered by SAP HANA provided with SAP Business Warehouse 7.4 - SP 08/09.

 

 

 

SAP BW 7.4 on SAP HANA / The  In-Memory Data Fabric

 

Release of SAP BW 7.4 SP8/9

SAP BW 7.4 SP8/SP9  powered by SAP HANA is the next milestone for enterprise data warehousing with BW on HANA and provides

Major enhancements in the area of running BW on HANA as the Virtual Data Warehouse with the next level of Open ODS Views

and additional CompositeProvider scenarios.

In order to provide further simplification the Advanced DataStore object will consolidate DataStore Objects and InfoCubes.  Data modeling as well as query design will be

Supported via a common user experience. Big Data scenarios will be supported by SAP HANA dynamic tiering and performance enhancements will be provided for data staging as well as for OLAP analysis. Customers focusing on the planning capabilities will benefit from the enhanced Planning application Kit  and FOX usability.

 

 

Extended Storage and Dynamic Tiering

In his blog Thomas Zurek resolves the confusion around the terminology of extended storage and dynamic tiering within HANA. Further details can be found in the presentation attached to SAP Note 1983178.(SMP Login required)

 

 

 

 

Additional Information:

  • Upgrade to SAP Business Warehouse 7.40

    SAP NetWeaver Business Warehouse (not only on SAP HANA) continues to be the  cornerstone of SAP's strategic vision for enterprise data warehousing providing organizations a solid data foundation to capture, store, transform and manage data in a scalable, enterprise-ready data warehouse. See this presentation to understand the mayor steps for a successful upgrade to SAP Business Warehouse 7.40 SP06 and higher

  • BW-IP/PAK Enhancements with SAP NetWeaver 7.40 SP8

This presentation mainly lists the removed limitations of the PAK by revision, explains the FOX enhancements for IP, shows how the support of the CompositeProvider in addition to the MultiProvider works, and describes the new master data maintenance UI based on WebDynpro.

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

Setup automatic requirements between two WH locations

$
0
0

We have a plant with one storage location 0001 (WM)  when its requested WH personal transfers bin to bin material from the warehouse to the storage
bins on production floor. The plan is to have an external warehouse that can supply our internal warehouse with automatic transfer requerimients, like a
kanban with an empty or full signals.

 

How can I set up the system to generate automatic requirements from these two warehouse? The idea is when the internal warehouse is running low in components
a kanban card can be scan an this will trigger a automatic transfer requeriment to the external warehouse to supply material.

 

 

thanks.

Viewing all 5981 articles
Browse latest View live


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