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

Understanding key figure authorizations

$
0
0

I've read some posts in this forum about key figure authorizations saying that they follow the usual "all or nothing" rule. That would mean I have to activate 0TCAKYFNM and then explicitly authorize every single key figure used in a query.

 

However, the BW365 learning materials list two exceptions to this rule: Hierarchies and Key Figures. For key figures, SAP writes:

 

"Key figure values are not displayed if the key figure is not authorized. You don't get a blank screen if you don't have access to one or two key figures;

you will still see the key figures you are authorized to see."

 

Well, I tried it and it doesn't seem to work. I get an authorization error and the log complains about missing authorizations for some of the key figures.

Who's lying?


Change Log Deletion

$
0
0

Hi sapian,

 

i have a BW system on HANA i am going to delete the requests from Change Log Table for Older than 3 days ...I have checked with all the check boxes which are available in the menu, the process chain is executing successfully , but the contents of the change Log are not deleted..

              

                    Can you suggest me whether it is possible to delete the contents of Change Log using process chain, if yes explain me the steps with screenshots.

 

 

 

Thanks in advance

Kishor

Problem with currency translation at query runtime

$
0
0

Hello, experts!

 

I have the following question - I've set up a currency translation in BW and it works fine when applied at BEX query level, but for some reason I can't apply in at report level in BEX Analyzer (which is a required functionality). In query definition options screen radio button for currency translation is simply grayed out. Can anyone tell me what might be the problem? Thanks!

 

My translation type settings:

1.png

2.png

3.png

 

Translation type works fine when applied at query level:

4.png

 

But I'am unable to apply this translation type at runtime:

5.png

 

P.S. System version is 7.3 SP12

rfc issue when activating DSO

$
0
0

Hi guys

 

I am trying to activate a DSO. This is the error I am getting:-

 

Error when opening an RFC connection (CP IC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=2

 

Has anyone come across this before? What could be the issue?

 

Thanks!

Connecting ECC Dev and QA to 1 BW Server

$
0
0

Hi All,

 

We are planning to use just 1 BW server for development and QA testing ( and other connection in the future). due to no budget to buy a new BW server.

 

We do have ECC Dev ,QA, and sometimes Project Dev and QA servers.

 

Is there a way where we can have multiple clients in BW to support data coming from ECC Dev and QA servers. i read sapnote 522569 indicates BW can't create a new source system outside the BW standard client, and administrator workbench will only be executed in bw client only.

 

we are currently doing disconnection on Dev and reconnection to QA server and reloading of data everytime. this cause delay in other projects that are still under development everytime we do disconnection. are there other ways if multiple clients is not allowed in BW?

 

Thanks,

Module pool programming for ABAP Beginners

$
0
0

Module Pool Programming

 

 

Introduction to MPP

  • A module pool is a collection of screens, flow logic, menu bars and ABAP code that when linked together build an application.
  • Through MPP there is a two way communication with the database.
  • Typically the transaction code that calls the application will refer to the module pool and the initial screen number.
  • These are the type M programs in SAP.
  • Also referred to as Dialog Programs as they cannot be executed in background.

Reports Vs Dialog Programs


          Reports

            Dialog Programs
A report is a program that typically reads and analyzes data in database tables without changing the database.A dialog program allows you to work interactively with the system and to change the contents of the database tables. Each dialog program has a certain sequence of screens that are processed by the system one after the other.
A report could run directly as well as by creating a transactionFor executing dialog programs we need to create a z transaction.
Reports are type ‘E’ (Executable) SAP ABAP ProgramsDialog Programs are type ‘M’ (Module) SAPPrograms
The screen sequence is controlled by events, which occur in a fixed order.We can program screens to appear in any sequence we want

Dialog Program Components

SAP Transaction

  • The transaction code starts a screen sequence.
  • Transaction codes could be created in the Repository Browser in the ABAP Workbench or using Transaction SE93.
  • A transaction code is linked to an ABAP program and an initial screen.
  • We can start a screen sequence from any ABAP program using the CALL SCREEN statement.

Screens

  • Each dialog in an SAP system is controlled by one or more screens.
  • You create screens using the Screen Painter in the ABAP Workbench through transaction SE51
  • Each screen belongs to an ABAP program.
  • These screens consist of a “screen mask” or “layout” and its flow logic. The screen has a layout that determines the positions of input/output fields and other graphical elements such as checkboxes and radio buttons. A flow logic determines the logical processing within screen.

Flow Logic

  • Process Before Output After it has processed all of the modules in the PBO processing block, the system copies the contents of the fields in the ABAP work area to their corresponding fields in the screen work.
  • Process After Input(PAI) Before it processes the first module in the PAI processing block, the system copies the contents of the fields in the screen work area to their corresponding fields in the ABAP work area.
  • Process on help request (POH) It is processed when F1 key is pressed. It is used to provide the documentation help to the user. 
  • Process on value request (POV) It is processed when F4 key is pressed. It is used to provide the value input help to the user for entering data on screen.

ABAP Program

  • Each screen and GUI status in the R/3 System belongs to one ABAP program.
  • The ABAP program contains the dialog modules that are called by the screen flow logic, and also process the user input from the GUI status.
  • ABAP programs that use screens are also known as dialog programs.
  • —In a module pool (type M program); the first processing block to be called is always a dialog module. However, you can also use screens in other ABAP programs, such as executable programs or function modules. The first processing block is then called differently; for example, by the runtime environment or a procedure call. The screen sequence is then started using the CALL SCREEN statement.

GUI Status

Each screen has a GUI status. This controls the menu bars, standard toolbar, and application toolbar, with which the user can choose functions in the application. Like screens, GUI statuses are independent components of an ABAP program. You create them in the ABAP Workbench using the Menu Painter(SE41) .

 

Dynpro

  • A screen together with its Flow logic is called a Dynpro (“Dynamic Program” since the screen flow logic influences the program flow).
  • —Each dynpro controls exactly one step of your Dialog Program.
  • The screens belonging to a program are numbered. The screen flow sequence can be either linear or cyclic. From within a screen chain, you can even call another screen chain and, after processing it, return to the original chain. You can also override the statically-defined next screen from within the dialog modules of the ABAP program.

ABAP Module Pool

  • On a PBO or PAI event a Dynpro calls an ABAP dialog program. Collection of such programs is called the ABAP module pool.
    —For example modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
  • —All Dynpro to be called from within one transaction refer to a common module pool.

User Input Checking

  • Using FIELD Statement: If you want to check input values in the module pool and start dialog in the event of a negative result, you use the FIELD statement with the addition MODULE.If the module results in an error(E) or warning(W) message, the screen is redisplayed without processing the PBO modules. The message text is displayed and only the field being checked by this module becomes ready for input again.
    Eg. FIELD MATNR MODULE user_command_0100
  • Using Chain Statement: If you send a warning or error message from a module <mod> that you called using a FIELD statement as follows:
    —CHAIN.
    FIELD: <f1>, <f 2>,...
    MODULE <mod1>.
    FIELD: <g1>, <g 2>,...
    MODULE <mod2>....
    ENDCHAIN.

    All of the fields on the screen that belong to the processing chain (all of the fields listed in the field statements) are made ready for input again. Other fields are not ready for input. Whenever the MODULE statement appears within a processing chain, even if there is only one FIELD attached to it, all of the fields in the chain (not only the affected field) are made ready for input again, allowing the user to enter new values. If the fields in the processing chain are only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again.

    SAP Standards for MPP

    • All MPP program names should start with SAPMZ

    Leaving a Screen from a Program

    In a program, you can use one of the two following ABAP statements to leave a screen:
    LEAVE SCREEN.
    or
    LEAVE TO SCREEN <next screen>.

    The LEAVE SCREEN statement ends the current screen and calls the subsequent screen. The next screen is either the static next screen or a dynamic next screen. In the second case, you must override the static next screen using the SET SCREEN statement before the LEAVE SCREEN statement.

    SET SCREEN <next screen number>.
    LEAVE SCREEN.

    The LEAVE TO SCREEN statement exits the current screen and calls the dynamic next screen, which you specify as part of the statement. The LEAVE TO SCREEN statement is no more than a contraction of the two statements —These statementsdo not end the screen sequence. They merely branch to another screen in the same sequence. The screen sequence only ends when you leave to next screen 0.

    Call Screen:- This statement calls the dynpro with the dynpro number specified in dynnr. For dynnr, a data object of type n and length 4 is expected. The call starts a new dynpro sequence, which is embedded into the current dynpro sequence. The dynpro with dynpro number dynnr is the initial dynpro of the dynpro sequence. In a dynpro sequence started by a transaction code, you can nest up to 50 other dynpro sequences.
    Syntax
    CALL SCREEN dynnr [STARTING AT col1 lin1 [ENDING AT col2 lin2]].

     

    • —Include TOP:- Include type program where all the data declaration is made.
    • —Include 001:- Include where all the PBO Modules are declared.
    • —Include I01 :- Include where all the PAI Modules are declared.
    • —Include F01 :- Include where all the Form routines are declared.

Data Package processing terminated

$
0
0

Hi Experts,

 

   I am trying to load master data in BI 7.3 using a flat file(.xls).  I was able to load text data, but while loading attribute date, getting below error

"Data Package processing terminated "

 

It would be great some one could help me in fixing this issue.

user date format and analyzer

$
0
0

Hi everybody.

 

My user date format settings is Iranıan Date.

 

1.jpg

 

so i can see 0calday in iranian calendar in my cube

 

2.jpg

 

 

but here is my analyzer output;

 

3.jpg

 

My windows in gregorian date but there is no jalali calendar in windows.. so is there a way too see data jalali format in my bex output?

 

Thanks.


Replacing the existing SAP Source System with a New Upgraded System

$
0
0

Hello Everyone,

 

We have a business case where we are replacing the existing SAP SRM Source System with a new upgraded system

 

I understand it is possible to create two source system on BW for each of these clients but what will be the procedure to migrate the data sources once we have new upgraded system available?

 

If Old SRM system XYZ200 and New upgrade box in ABC200 then will the data sources have two instances 0BBP_TD_SC_1 - (Source system XYZ200) & 0BBP_TD_SC_1 - (source system ABC200)? If yes then how do we achieve this

 

My idea is to retain the old system till the date of go live and execute the batch run, then change the source system of all the existing data sources from old to new system. Till the data of go live data will be extracted from old system and after go live data will be extracted from new system

 

Thanks.

Abhishek Shanbhogue

process chain question

$
0
0

Hi, I want to give my user access to run only 2 process chains. This user works in operations and can not wait for us to execute those process chains. Can some body please tell me the roles that we will need to run these process chains. I don't want to give him exposure to all the process chains.  Only two of his process chains.

 

Thanks

what is the t code to set off ABAP debugger in sap BW?

$
0
0

what is the t code to set off ABAP debugger in sap BW?

Change Log Deletion

$
0
0

Hi sapian,

 

i have a BW system on HANA i am going to delete the requests from Change Log Table for Older than 3 days ...I have checked with all the check boxes which are available in the menu, the process chain is executing successfully , but the contents of the change Log are not deleted..

              

                    Can you suggest me whether it is possible to delete the contents of Change Log using process chain, if yes explain me the steps with screenshots.

 

 

 

Thanks in advance

Kishor

SAP First Guidance - SAP-NLS Solution with Sybase IQ

$
0
0

This “SAP First Guidance” document should help to quickly implement the new released option to store historical BW data on an external IQ Server for System Performance of Preparation of a migration to BW powered by HANA. Please Note that the SAP-NLS Solution can be used with all supported Database Versions supported by SAP NetWeaver BW 7.3x. The Existence of SAP HANA is not necessary. The document is “work in progress” and not intended to be exhaustive, but it contains everything to successfully implement the SAP-NLS Solution with Sybase IQ. For more Information please contact roland.kramer@sap.com.

View this Document

Implementation - BW on HANA Export/Import

$
0
0

This First Guidance document should help to quickly implement either a fresh SAP NetWeaver BW on SAP HANA installation or an export of an existing system with any DB export. As the technical installation steps are the same the guidance should make an own created customer specific documentation obsolete and is the complementary documentation to the existing e2e guide for migration SAP NetWeaver BW on SAP HANA. This Version adds a Chapter for the System Export Preparation and Reflects the latest Changes for BW 7.30/7.31, HANA 1.0 SP05 and the SL toolset 1.0

View this Document

Upgrade Issue in SAP BW

$
0
0

Hi All

We upgraded from SAP BW 7.0 to 7.4 sp5..[Oracle DB]

When we ran the report ANALYZE_RSZ_TABLES we got  errors like

Missing Queries

Missing CKF's

Missing RKF's

Can some one please advice the best approach  to get rid of those errors

Thanks

Raj


Unable to get the custom generated SQL code

$
0
0

How to know what custom generated sql code is generated when a query is executed?When using Query summary function it shows default sql.

Transport Request returned code 12

$
0
0

Hi,

 

One of our Transport Request returned code 12 in Q system. It contained 1 Tranformation and 5 routines.

Also our BI version is 7.3.

 

Could you please advice the reason for this?

 

Here is info on ABAP Dump

 

Category               ABAP Programming Error

Runtime Errors         UNCAUGHT_EXCEPTION

Except.                CX_RS_PROGRAM_ERROR

ABAP Program           CL_RSO_TLOGO_PERSISTENCY======CP

Application Component  BW-WHM-MTD

SAP BW Authorization - InfoObjects level authorization

$
0
0

I have seen recently several issues and doubts from customers and colleagues by setting the authorization profiles to his users. Therefore I decided to create this blog, for describe a little how BW authorization concept works. With SAP BW Authorization concept, you are allowed to restrict data access on Key figure, Characteristic, Characteristic value, Hierarchy node, and InfoCube levels. That provides you more flexible data access management.

 

Now at this point I will show you how you can restrict access to SAP BW reports on InfoObjects level.

 

Initial settings

 

At the beginning activate business content objects (TCode RSORBCT) related to authorizations:

InfoObjects 0TCA*

InfoCubes 0TCA*

and set the following InfoObjects as Authorization-Relevant:

0TCAACTVT (activity such as Display)

0TCAIPROV (InfoProvider authorization)

0TCAVALID (validity period of authorization)

0TCAKYFNM (if you want to restrict access to key figure)

 

Characteristics authorization

 

Use TCode RSA1, go to Modelling -> InfoObjects. Display properties of the characteristic to which you want to restrict access and set it as Authorization-Relevant.

1.png

Characteristics values authorization

 

To authorize characteristics values you need to create new authorization object through TCode RSECADMIN. The following pictures show how allow users to access to specific sale organization (e.g., New York, San Francisco, Dallas).

1. Create new authorization object (e.g., Z_SORG_B).

2.png

 

2. Choose characteristic and press Details button.

3.png

 

3. Select sales organization (e.g., 1612 - New York, 1614 - San Francisco, 1615 - Dallas). Available operators: EQ - single value, BT - range of values, CP - pattern ending with (*) (e.g., abc*). You have also option to Include (I) or Exclude (E) values

4.PNG

 

Attributes authorization

 

To authorize navigational attributes, set them as Authorization-Relevant.

 

5.png

 

Hierarchies authorization

 

To grant authorization on hierarchy level edit or create authorization object (e.g., Z_SORG_B), add hierarchy and nodes, and choose type of authorization.

 

6.png

Key figure authorization

 

To grant authorization to particular key figure, add special object 0TCAKYFNM to authorization object (e.g., Z_SORG_B), and choose the key figure to be authorized.

 

7.png

 

Summary

 

InfoObject level authorization gives you a great flexibility, but keep in mind system limitations. Avoid setting too many characteristics as authorization relevant (more than 10 in a query). All marked characteristics are checked for existing authorization if they are in a query or in an InfoProvider that is being used. Too much authorization objects may slow query execution. Exception are characteristics with all (*) authorization. If you want to check which InfoObjects are authorization relevant in your BW system, use TCode RSECADMIN -> Authorization Maintenance and display 0BI_ALL authorization.

 

Remember that authorization do not work as a filters do. It means that the user who is executing the query, where characteristics are authorization relevant, must have sufficient authorization to the characteristics ("all-or-nothing" rule). Exceptions are hierarchies in the drill down and variables which are dependent on authorization.

SM58 Idocs stuck

$
0
0

Hi,

 

My Data load from ECC to BW 7.3 is taking long time. After looking at SM58 in ECC i found some errors as in below screen shot. What is the possible solution to this errors and reasons for this.. Please help.

 

Thanks

 

 

SM58.png

Push data from Informatica 9.5.1 to SAP BW 7.3

$
0
0

Hi Gurus,

 

We have a requirement in which needs to push data from Informatica powerexchange to SAP BW system.

I have searched in scn.sap.com but couldn't get relevant informaion/document.

 

Please share if you have information/document on this.

 

Thankyou & Regards,

Pavan

Viewing all 5981 articles
Browse latest View live


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