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

Errors while Installing BI Content

$
0
0

Dear Experts,

 

I have been trying to install BI Content Transfer Rules for the PM Notifications Datasource 2LIS_I7_I0NOTIF. I keep getting some errors related to certain infoobjects. I do not actually need these Infobjects and dont have a clue how to proceed.

 

Note: The specified LO Datasource is enhanced and activated in the source system.

 

 

Please find some screenshots below which highlight the problems! Request your assistance and valuable advise!

 

 

 

ERRORS:

 

 

The affected Infoobjects:

 


Windows 7 to Windows 10: What to check?

$
0
0

Hi experts

 

We are going to change our operating system from Windows 7 to Windows 10.

Where can you find relevant documents for SAP BW / BI (Business Objects), Portal, etc. to us as guideline for pre-checks?

 

Thanks

T.

Process chain steps take time to trigger next step

$
0
0

Hi,

 

recentlyI have been monitoring some process chains in our QA box and observed that sometimes some steps in the process chains take a while to trigger the next step even when the earlier one is successfully completed.

 

There is no issue caused as such due to delay and as its a QA box no flags are raised on it yet.

Prod box works fine and no such delay spotted in Prod.

Mostly the time taken varies between 5 - 30 mins and the steps taking time are typically DTP's. I have not seen any other type of steps taking time to trigger next.

 

My question is, if there a setting or configuration that I should look into for this? why would it wait to trigger next step when in process monitor and batch monitor I can see the status as successfully completed/green.

 

The step in process chain too remains in yellow status and does not change to green, but eventually becomes green after a while. 

 

 

- swati.

End Routine Navigational Attribute

$
0
0

Dear All,

 

I have a requirement to compare a navigational attribute field in the end routine. But it is not showing in RESULT_PACKAGE structure.

 

I could not able to see "plant__0region" which is navigational attribute. In my logic I have to compare the region to plant-region. So could you please do let me know any other alternative to have a customized coding.

 

Regards,

Jo

is it possible to have minus sign before the amount not behind ?

$
0
0

Hi all,

Could you please tell me how to change the minus sign before the amount field.

 

Thanks in advance.

 

Reddy

VDKON cmod user exit - extraction issue with lookup

$
0
0

Dear Gurus,

 

When we execute an infopackage, how is the process of the user exit in Cmod (ZXRSAU01 function) ?

 

I hope I can explain it clearly, our problem is as following:

 

There is totaly 23 million records in Ct_data of Vdkon, but in ct_data there is special records (60.000 of them) that we need to make a lookup from Konv table.

 

We have 2 choices for making this database lookup:

 

1- using an internal table which is filled in 10 mins with 300.000 records of Konv.

2- Executing select single code for each 60.000 record from database in the loop at...endloop section

 

 

Which one do you recommend?

 

 

Normally, Vdkon was executed in 4 second for 67 records, and 1,3 hours for 23 million  record.

 

With the user exit we applied, it takes 10 mins for 71 records (we are adding new row for Vdkon). Because the filling of the internal table takes time.

 

 

If the internal table filling processs will work for one time, it is okay.

But, if during the infopackage execution the filling process will repeat for each data package (I mean 50.000-100.000 blocks of data), the performance can be worse.

 

Thanks.

Connect MSSQL Database with UD Connect

$
0
0

Hello all,

 

i tried to connect a MSSQL 2012 Database to SAP BW. Because of the fact that SAP is running on a UNIX System the DB Connect cannot used.

 

So i followd this HOW to (http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/58f4db47-0501-0010-a2bf-ff01b150fdff?overridelayout=t…) to connect through the Java Stack. The RFC works fine (Connection test passed without problems). 

 

When i'm triying to create a Datasource, i cannot select a UDC-Sourceobject and the following error appers: UDCADAPTERROR::RSSDK|100|while trying to invoke th.

 

If i connect to the sql database with my client everything works fine --> The problem is the Javastack or SAP itself.

 

Whats the problem ?

 

 

 

Thanks for your help.


Email Notification from DTP loading

$
0
0

Hi Experts,

 

I just like to ask if there are standard programs or function modules that could trigger an error notification if a DTP had error? What settings could be done on this?

 

Thank you

Your help is very much appreciated


how to setup BW queue destination

$
0
0

Hi experts,

I have some delta queues in my EWM system, from transaction SMQ1 I find: WMBB, WMDB, WMOB, WMTB

All these queues point to the same destination, different than "NONE".

 

When I run transaction /SCWM/BW10 to transfer the delta queue in RSA7, I get no message and nothing happens.

 

In debug mode I noticed that the system searches for queues with destination "NONE", in fact this is the standard destination for a delta BW queue.

 

How and where can I setup destination for delta queue? When I active the data sources I cannot find a place to setup the queue destination.

Thank you very much.

Rule group depending on source field value

$
0
0

Hi,

 

i have a requirement where i need to do a transformation from column based data model to row based data model (DSO to DSO),so i tried to avoid reading the target dso in the transformation and i tried to use group rules to solve this but the problem is that all the rules are executed for every row and the DSO fields get overwritten, so i am wondering if it is possible to execute a rule group depending on the value of a source field.

 

 

Exemple

 

source

Doc num (key)Doc item (key)process key (key)value
100112100
100113200

 

target should be

Doc num (key)Doc item (key)gr valueir valuegr flag
10011100200x

 

Any ideas ?

 

Thanks

How to incorporate "Long text extracted by READ_TEXT FM" into InfoCube...

$
0
0

Dear Experts,

 

I'm working on SAP NetWeaver BW 7.3 . I have successfully extracted data from FM READ_TEXT into Custom DataSource (Text DataSource)  based on this FM and as we know this FM has decrypted the text stored in various objects of SAP stored in encrypted format in tables STXH and STXL.


I have a requirement to pull the data of "QM Module" Inspection Lot rejected with Rejection Reason stored into "Cluster Table". After successfully created "Extract Structure" and "Function Module". I created "Master Data Text" DataSource based on this FM and got my desired data into this DataSource. See below screen shot:


RSA3.gif

Following is my InfoProvider: Screen Shot:

infoProvider.gif

Following is my Data Flow:

DataSource 1 and DataSource 2 and DataSource 3---->  DSO--->InfoCube


1. How can I incorporate my new "Master Data Text" DataSource into my InfoCube?

2. Should I create new Custom InfoObject and load "Master Data Text" into it with "Inspection Lot" as its ID/Code and then assign Inspection code ID/Code from DSO Transformation to this new Custom InfoObject while loading transaction data?

3. How should I approach this scenario for loading this "Master Data Text" for analysis purpose into InfoCube?


I will appreciate your reply.


Many thanks!!!


Tariq Ashraf

transport release error

$
0
0

Hi All,

 

I am getting below error while trying to release a transport request

error.png

We are on BW 7.3 SP 9, I have seen on document it says to upgrade to SP9. Any other idea?

regards,

ray

material consumption in BW

$
0
0

Hello,

 

We are using the data source 2lis_03_bf/bx. Now we want to implement the material consumption without a reengineering of the stock data.

We found the note 80478. Is there an alternative way to implement the material consumption?

 

Thanks in advance and kind regards,

Christopher

SAP SPP - DATA LOAD

$
0
0

Hi

 

We are getting errors while updating the sales order data from ECC R3 to APO - BI.

 

The ECC data never getting tallied with the SAPAPO/SPPDMDH data

 

----Getting negative values at DMDH

-----Getting values without plant at DMDH showing ----

-----Getting some more values at DMDH

 

Can anyone help what would have went wrong

 

Regards

SRS Kannan

BEx Query Designer - Automatically Hide a specific Unit of Measure

$
0
0

Good Day Experts!

 

We currently have a report that is displaying Sales Quantities by Products.

But there is one specific product which doesn't have the same Unit of Measure as the other products.

 

Is there a configuration in BEx Query where in we can automatically hide a Value that doesn't have the required Unit of Measure?

For example, our Target unit is Cases, but one product is only available in Pounds, is there a way to automatically hide values that are not in Cases?

query lb vs cs.PNG

 

Thank you in advance.


BW74 ODP - Replicate Meta Data error -No BAdI for subscriber type 'SAP_BW'

$
0
0

Hi

 

RSA1 Source system for ODP- SAP extractors.

 

Click on "replicate master data"  . receive error message     "No BAdI implementation for subscriber type 'SAP_BW'"

 

 

Is any config required on ECC for this ? 

 

 

ECC Plug in is     SAP_BW              701         0013       SAPKW70113     SAP Business Warehouse

 

 

 

Thanks

 

 

Tony

Problem in Importing

$
0
0

Dear All,

 

I have two key figures in existing infocube and trying to transport it to quality.

 

Here while importing it is getting problem.

 

It is saying "The data archiving process for Info Provider xxxx has not been activated yet or the active version was deactivated because of a change to the Info Provider."

 

Check the properties of the data archiving process and activate it.

 

So how to perform this. on this infocube in production system already data archiving is happening daily.

 

Regards,

Jo

InfoPackage of DataSource based on FM is stuck on yellow status...

$
0
0

Dear All,


I'm working on SAP NetWeaver BW 7.3 . I have successfully extracted data from FM READ_TEXT into Custom DataSource (Text DataSource)  based on this FM and as we know this FM has decrypted the text stored in various objects of SAP stored in encrypted format in tables STXH and STXL.


When I check its "Extractor" in RSA3 it has been working fine and fetched about 17,408 in SAP ERP PRD. But when I replicated it into BW and create an InfoPackage it shows about 17,408 records and it got stuck on "Yellow" status and do not end with "Green" traffic light. I have asked my BASIS team to check different settings and also requested ABAPer to re-look into the logic/code of FM.


1. Following is the FM code:

FUNCTION YRSAX_BIW_GET_DATA_SIMPLE.

*"----------------------------------------------------------------------

*"*"Local Interface:

*"  IMPORTING

*"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR

*"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL

*"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL

*"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL

*"     VALUE(I_READ_ONLY) TYPE  SRSC_S_IF_SIMPLE-READONLY OPTIONAL

*"     VALUE(I_REMOTE_CALL) TYPE  SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF

*"  TABLES

*"      I_T_SELECT TYPE  SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL

*"      I_T_FIELDS TYPE  SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL

*"      E_T_DATA STRUCTURE  ZQMLONG_TEXT OPTIONAL

*"  EXCEPTIONS

*"      NO_MORE_DATA

*"      ERROR_PASSED_TO_MESS_HANDLER

*"----------------------------------------------------------------------

 

 

* Example: DataSource for table SFLIGHT

*  TABLES: SFLIGHT.

  TABLES: ZQMLONG_TEXT.

 

 

*BREAK-POINT.

* Auxiliary Selection criteria structure

  DATA: L_S_SELECT TYPE SRSC_S_SELECT,

I_T_DATA1 TYPe STANDARD TABLE OF ZQMLONG_TEXT,

wa LIKE LINE OF i_t_data1,

lt_text_lines TYPe STANDARD TABLE OF TLINE,

lr_text_lines TYPE TLINE.

 

 

FIELD-SYMBOLS: <FS_ZDS_TEXT_ORDER> TYPE ZQMLONG_TEXT.

 

 

* Maximum number of lines for DB table

  STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,

 

 

* counter

          S_COUNTER_DATAPAKID LIKE SY-TABIX,

 

 

* cursor

          S_CURSOR TYPE CURSOR.

* Select ranges

          RANGES: SDNO FOR ZQMLONG_TEXT-VBELN.

 

 

  RANGES: L_R_CARRID  FOR SFLIGHT-CARRID,

          L_R_CONNID  FOR SFLIGHT-CONNID.

 

 

* Initialization mode (first call by SAPI) or data transfer mode

* (following calls) ?

  IF I_INITFLAG = SBIWA_C_FLAG_ON.

 

 

************************************************************************

* Initialization: check input parameters

*                 buffer input parameters

*                 prepare data selection

************************************************************************

 

 

* Check DataSource validity

    CASE I_DSOURCE.

*      WHEN '0SAPI_SFLIGHT_SIMPLE'.

      WHEN 'ZQM_UD_TEXT'.

 

 

      WHEN OTHERS.

        IF 1 = 2. MESSAGE E009(R3). ENDIF.

* this is a typical log call. Please write every error message like this

        LOG_WRITE 'E'                  "message type

                  'R3'                 "message class

                  '009'                "message number

                  I_DSOURCE   "message variable 1

                  ' '.                 "message variable 2

        RAISE ERROR_PASSED_TO_MESS_HANDLER.

    ENDCASE.

 

 

    APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.

 

 

* Fill parameter buffer for data extraction calls

    S_S_IF-REQUNR    = I_REQUNR.

    S_S_IF-DSOURCE = I_DSOURCE.

    S_S_IF-MAXSIZE   = I_MAXSIZE.

 

 

* Fill field list table for an optimized select statement

* (in case that there is no 1:1 relation between InfoSource fields

* and database table fields this may be far from beeing trivial)

    APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.

 

 

  ELSE.                 "Initialization mode or data extraction ?

 

 

************************************************************************

* Data transfer: First Call      OPEN CURSOR + FETCH

*                Following Calls FETCH only

************************************************************************

 

 

* First data package -> OPEN CURSOR

    IF S_COUNTER_DATAPAKID = 0.

 

 

* Fill range tables BW will only pass down simple selection criteria

* of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.

*      LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'CARRID'.

*        MOVE-CORRESPONDING L_S_SELECT TO L_R_CARRID.

*        APPEND L_R_CARRID.

*      ENDLOOP.

*

*      LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'CONNID'.

*        MOVE-CORRESPONDING L_S_SELECT TO L_R_CONNID.

*        APPEND L_R_CONNID.

*      ENDLOOP.

*BREAK-POINT.

LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'VBELN'.

MOVE-CORRESPONDING L_S_SELECT TO SDNO.

APPEND SDNO.

ENDLOOP.

 

 

 

 

* Determine number of database records to be read per FETCH statement

* from input parameter I_MAXSIZE. If there is a one to one relation

* between DataSource table lines and database entries, this is trivial.

* In other cases, it may be impossible and some estimated value has to

* be determined.

 

 

SELECT MANDT TDNAME TDSPRAS TDID

FROM STXL

into table I_T_DATA1

 

 

where TDOBJECT = 'QPRUEFLOS' and TDID = 'QAVE'.

LOOP AT I_T_DATA1 into wa.

wa-QPRUEFLOS = wa-VBELN+3(12).

modify i_t_data1 from wa.

endloop.

 

 

LOOP AT I_T_DATA1 ASSIGNING <FS_ZDS_TEXT_ORDER>.

 

 

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT                  = <FS_ZDS_TEXT_ORDER>-MANDT

*ID                      = 'QAVE'

ID                      = <FS_ZDS_TEXT_ORDER>-TDID

LANGUAGE                = <FS_ZDS_TEXT_ORDER>-TDSPRAS

NAME                    = <FS_ZDS_TEXT_ORDER>-VBELN

OBJECT                  = 'QPRUEFLOS'

TABLES

LINES                   = lt_text_lines

EXCEPTIONS

ID                      = 1

LANGUAGE                = 2

NAME                    = 3

NOT_FOUND               = 4

OBJECT                  = 5

REFERENCE_CHECK         = 6

WRONG_ACCESS_TO_ARCHIVE = 7

OTHERS                  = 8.

 

 

READ TABLE lt_text_lines INTO lr_text_lines INDEX 1.

<FS_ZDS_TEXT_ORDER>-TXTLG = lr_text_lines-TDLINE(132).

ENDLOOP.

SORT I_T_DATA1.

E_T_DATA[] = I_T_DATA1[] .

 

 

*      OPEN CURSOR WITH HOLD S_CURSOR FOR

*      SELECT (S_S_IF-T_FIELDS) FROM SFLIGHT

*                               WHERE CARRID  IN L_R_CARRID AND

*                                     CONNID  IN L_R_CONNID.

    ENDIF.                             "First data package ?

 

 

* Fetch records into interface table.

*   named E_T_'Name of extract structure'.

*    FETCH NEXT CURSOR S_CURSOR

*               APPENDING CORRESPONDING FIELDS

*               OF TABLE E_T_DATA

*               PACKAGE SIZE S_S_IF-MAXSIZE.

*

*    IF SY-SUBRC <> 0.

*      CLOSE CURSOR S_CURSOR.

*      RAISE NO_MORE_DATA.

*    ENDIF.

 

 

    S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.

 

 

  ENDIF.              "Initialization mode or data extraction ?

 

 

ENDFUNCTION.

 

2. Following is the InfoPackage "Monitor"

 

FirstScreenShot.gif

 

3. Following is the Background Job Status in Source System:

                   

SecondScreenShot.gif

4. Following is the Background Job Log Overview:


ThirdScreenShot.gif


1. What should I do to load the records successfully into BW from this DataSource based on FM?

2. Do I need to ask my BASIS team to check certain settings in SAP ERP or BW?

3. DO I need to ask my ABAPer to re-visit the code/logic?

4. Have I missed something that is causing an issue for job not being finished in source system?


I will appreciate your reply.


Many thanks!!!


Tariq Ashraf

Process chain last run time

$
0
0

Hi Experts,

 

With RSPCPROCESS LOG i could find all the timings for each process but i want only the process chain name and its last run time. is there any table for that? how can i view only the process chain name and its last run time???

How to create an End Routine in a BW 3.x DataFlow?

$
0
0

Hello,

 

Im a newbie in ABAP and I need to create an End Routine in a DSO transformation, but since i'm working with a 3.x DataFlow, i do not have the option (button) to create an end or expert routine...the only button shown is 'Change Start Routine'.

 

The requirement is to calculate the time difference between three infoObjects (each mapped in the DataSource) and store the result in a key figure that is mapped only in the DSO.

 

This is the code i'm using; but since the key figure is not mapped in the DataSource, the Start Routine shows that it doesn't exist... so i came up with the idea of the End Routine and now i don't know what to modify in my code for it to work. I hard coded it and it works as it should, the problem is when i start mapping within DATA_PACKAGE, etc.

 

Thank you!

 

DATA:

   str(50) TYPE c,

   dat TYPE d,

   hora TYPE t,

   dat2 TYPE d,

   hora2 TYPE t,

   time_stamp2 TYPE timestamp,

   dst TYPE c,

   tz  TYPE ttzz-tzone,

   x type i,

   y type i.

   tz = 'PST'. "End of Global Declaration

 

tz = ''.

 

 

    str = DATA_PACKAGE-/BIC/PMMITTEXT.

    dat = DATA_PACKAGE-/BIC/PMMDOCDAT.

    hora = DATA_PACKAGE-TIME.

 

 

      dat2 = str+15(8).

      CONCATENATE str+24(2) str+27(2) str+30(2) into hora2.

 

 

      CONVERT DATE dat2 TIME hora2 DAYLIGHT SAVING TIME 'X'

            INTO TIME STAMP time_stamp2 TIME ZONE tz.

 

 

clear: dat2 , hora2.

 

 

 

 

      CONVERT TIME STAMP time_stamp2 TIME ZONE tz

        INTO DATE dat2 TIME hora2 DAYLIGHT SAVING TIME dst.

 

 

 

 

         CALL FUNCTION 'SWI_DURATION_DETERMINE'

            EXPORTING

                start_date = dat

                end_date = dat2

                start_time = hora

                end_time = hora2

            IMPORTING

                duration = x.

                y = x / 60.

 

 

         DATA_PACKAGE-PMMTIMDIF = y.       (This is the key figure)

 

 

clear: dat, dat2, hora, hora2, x, y, str, time_stamp2.

Viewing all 6437 articles
Browse latest View live


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