Quantcast
Channel: SCN: Message List - Business Content and Extractors
Viewing all 5631 articles
Browse latest View live

Re: COPA datasource - populating append fields

$
0
0

Hi,

 

How Ramanjaneyulu Korrapati says, COPA is not similiar like LO datasources enhancement.

 

My suggestion, is regenerate your COPA datasource.

  - Delete your current datasource (ECC KEB0)

  - Create it again (ECC KEB0)

  - Replicate this datasource (BW)

  - Copy the transformations (BW)

 

 

 

 

Thanks


the Delta has issues in 0FI_GL_20.

$
0
0

If compare data of delta with data in tcode faglb03, then debit column is empty, but for credit all ok, and the balance does not converge.  This is for delta.

But for full update all ok.

Can anyone help?


tcode.PNG

delta.PNG


Re: How to Delete All data from E Fact Table Inventory through program

$
0
0

Hi,

 

Are you trying this activity in Dev or Prod?

 

Right click on cube and click on delete data. if this wont work follow below steps

 

If it is dev try to delete using Se14 and give E tables there. There you can be able to delete.

 

you need to be very careful because sometimes when you delete data using SE14 it will corrupt.

 

Thanks

Re: Runtime Error after trying to generate the DataSource in LBWE

$
0
0

Hi all,

 

we have changed the table entries of ROOSFIELD-SELECTION (change 0 to blank, P, X, etc.) for the relevant DataSource. Now we were able to generate the DataSource per LBWE.

 

Best regards,

Michael

Re: COPA datasource - populating append fields

$
0
0

hello,

 

Let me clarify further, My COPA datasource was already enhanced 2 years ago.  I recently made a change by including more fields from selection and that was september. After september, Shipping types became blank even though I could see values in KE24 report and CE1* table.

 

in the user exit, there is a logic to do a lookup when shipping type is blank.  currently some rows are populated and this is because the logic reads from TVRO table.  I want the rows to be populated with values from as in KE24 report or CE1* table.

 

My question are:

- if I need to write logic to populate the field with values from CE1* table

- if regeneration is needed after I added new fields for selections.

- the logic below only populates when shipping type is blank hence I should be able to see the values that have shipping types but so far they are all blank.

 

when '1_CO_PA_DATASOURCE'.



    loop at c_t_data into it_trct.



      w_tabix = sy-tabix.



*--- If shipping type is missing ,
then fill


      data: it_vsart
type tvro-vsart,

            it_route type vbap-route.



      if it_trct -vsart
is initial and

         not t_trct-kaufn
is initial.

        select single route into it_route fromvbap

          where vbeln =it_trct -kaufn and

                posnr = it_trct -kdpos.

        if sy-subrc
= 0.

          select single vsart into it_vsart fromtvro

            where route =it_route.

          if sy-subrc
= 0 and

            not it_vsart is
initial
.

            it_trct -vsart = it_vsart.

          endif.

        endif.

      endif.

Re: Enhance 0FI_TV_01 to add fields from table PTRV_SREC

$
0
0

Hi Phani,

 

As Ram said, you need to add a custom append structure from RSA6 and then write a ABAP code to populate the fields in CMOD/BADI.

Changing a standard view will not suffice your requirement as in extractor code the fields will not be handled even if you add those in standard view. So create custom and add ABAP code in exit.

 

Thanks

Amit

0HR_PT3 standard extractor config

$
0
0

Hi,

 

At my current client we are having some issues with the 0HR_PT3 standard extractor.

 

In ECC we've defined a date range for the current fiscal year. In BW we've run the delta initialisation job using the same data range, which means that the delta job also runs using this range.

 

Our issue is when we need to change the date range, we also have to create a new delta init. This init runs for almost 30 hours and is causing big headaches since the extract locks employee records and HR can't update these records and we cannot load any time sheet data during this time.

 

So we got 2 issues:

 

1. Why does the standard extractor lock employee records when loading data to BW?

2. Is it normal that we need to rerun the init when we change the date range?

 

On the second point, I would have thought that we didn't have to specify a date range in BW since we set it in ECC and when we change the ECC date range the delta would automatically adjust to this new date range without having to rerun the init.

 

Anyone with experience in this?

 

Cheers,

Josh

Re: COPA datasource - populating append fields

$
0
0

Hi Bhat,

 

I agree with Vitor and Rama, its like restarting...we cant enhance it the way we do it for LO.

 

Its as good as creating a NEW Datasource and Reloading the data...the other way is to populate the same Value KF/Char in an existing Char which is unused..say a Dummy Object/Field thru CMOD.

 

Rgds

 

SVU


Problem with 2LIS_11_VAITM extractor

$
0
0

Hi

 

I done :

1. Extend the 2LIS_11_VAITM extractor (structure and user-exit) adding new fields for user specific partner roles

2. Added code in RMCSUZ10 as described

 

But when I change ONLY partner in sales order (z- role) there is no record in LBWQ. But when I change standard partn role (ex. RE) system generate record in queue.

 

What should I do more?

 

Thanks!

Re: BW Broadcast to File

$
0
0

Can the download using RSRT be automated and put the csv file to a specific location?

Variable in DTP to get current and previous period

$
0
0


I have a DTP to open hub where I am trying to get current period and current period - 1 data into the open hub.  I am using value in table TVARV as a starting point.

The value in TVARV field LOW is 12/31/2014 which controls how we report.  For us 12/31/2014 translates to Period 09 and we are actually in period 10 now. So my code thinks the current period is 09 because of the 12/31/2014 date.

How can I make the code that thinks currend period is 09 make it so current period is 10?  Thanks

 

   REPORT  ZBWV_ZVR_FISCPER_LAST2MONS.

TYPE-POOLS: RS, RSR, RSDS, RSSM, RSARI, RSD, SBIWM, RSA, RSODS, RSDU,
            RSARR, RSDM, RSS2, RRS0.

DATAWA_RANGESID    TYPE RRRANGESID,
       WA_VAR_RANGE   TYPE RRRANGEEXIT.

*&---------------------------------------------------------------------*
*&      Form  DOZBWV_ZVR_FISCPER_LAST2MONS
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      -->I_VNAM         text
*      -->I_VARTYP       text
*      -->I_IOBJNM       text
*      -->I_S_COB_PRO    text
*      -->I_S_RKB1D      text
*      -->I_PERIV        text
*      -->I_STEP         text
*      -->I_T_VAR_RANGE  text
*      -->E_T_RANGE      text
*      -->E_MEEHT        text
*      -->E_MEFAC        text
*      -->E_WAERS        text
*      -->E_WHFAC        text
*      -->E_S_CUSTOMER   text
*----------------------------------------------------------------------*
FORM DOZBWV_ZVR_FISCPER_LAST2MONS
             USING    I_VNAM        LIKE  RSZGLOBV-VNAM
                      I_VARTYP      LIKE  RSZGLOBV-VARTYP
                      I_IOBJNM      LIKE  RSZGLOBV-IOBJNM
                      I_S_COB_PRO   TYPE  RSD_S_COB_PRO
                      I_S_RKB1D     TYPE  RSR_S_RKB1D
                      I_PERIV       TYPE  RRKB1F-PERIV
                      I_STEP        TYPE  I
                      I_T_VAR_RANGE TYPE  RRS0_T_VAR_RANGE
             CHANGING E_T_RANGE     TYPE  RSR_T_RANGESID
                      E_MEEHT       LIKE  RSZGLOBV-MEEHT
                      E_MEFAC       LIKE  RSZGLOBV-MEFAC
                      E_WAERS       LIKE  RSZGLOBV-WAERS
                      E_WHFAC       LIKE  RSZGLOBV-WHFAC
                      E_S_CUSTOMER  TYPE  RRO04_S_CUSTOMER.


  DATA: WA_LOW(45),
        WA_PERIV(2) TYPE C,
        WA_DATE TYPE D,
        WA_PER(3) TYPE N,
        WA_PREV_PER(3) TYPE N,
        WA_YR(4) TYPE N,
        WA_PYR(4) TYPE N,
        WA_FISCPER(7) TYPE N,
        WA_PFISCPER(7) TYPE N.

  SELECT SINGLE LOW
    INTO WA_LOW
    FROM TVARVC
    WHERE NAME = 'BWREPORTDATE'.     "this date in TVARVC is 12/31/2014. I want it to think the date is 1/31/2015
  IF SY-SUBRC <> 0 .
    WA_DATE = SY-DATUM.
  ELSEIF WA_LOW IS INITIAL.
    WA_DATE = SY-DATUM.
  ELSE.
    WA_DATE = WA_LOW+0(8).
  ENDIF.

  SELECT SINGLE LOW
    INTO WA_PERIV
    FROM TVARVC
    WHERE NAME = 'VOUGHT_FISCVARNT'.
  IF SY-SUBRC <> 0.
    WA_PERIV = 'K9'.
  ELSEIF WA_PERIV IS INITIAL.
    WA_PERIV = 'K9'.
  ENDIF.


  CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    EXPORTING
      I_DATE  = WA_DATE
      I_PERIV = WA_PERIV
    IMPORTING
      E_BUPER = WA_PER
      E_GJAHR = WA_YR.

*  CONCATENATE WA_PYR WA_PER INTO WA_FISCPER. (prior year low range)
  WA_PREV_PER = WA_PER - 1.
  WA_PYR = WA_YR.
  if WA_PREV_PER = 0.
    WA_PREV_PER = 12.
    WA_PYR = WA_YR - 1.
    IF WA_PYR = '2011'.
      WA_PYR = '2000'.
    ENDIF.
  endif.
* If the previous year is 2011, set the previous year to 2000 so that the
* periods 4 through 12 will not through a period error since FY 2011
* is a short year due Triumph.



  CONCATENATE WA_PYR WA_PREV_PER INTO WA_PFISCPER.
*  CONCATENATE WA_YR WA_PER INTO WA_FISCPER. (current year high range)
  CONCATENATE WA_YR WA_PER INTO WA_FISCPER.

  WA_RANGESID-LOW = WA_PFISCPER.
  WA_RANGESID-HIGH = WA_FISCPER.
  WA_RANGESID-SIGN = 'I'.
  WA_RANGESID-OPT = 'BT'.

  APPEND WA_RANGESID TO E_T_RANGE.

  CLEAR WA_RANGESID.

ENDFORM.

Re: BW Broadcast to File

Re: Variable in DTP to get current and previous period

$
0
0

Hi Keith ,

 

SELECT SINGLE LOW

    INTO WA_LOW

    FROM TVARVC

    WHERE NAME = 'BWREPORTDATE'.     "this date in TVARVC is 12/31/2014. I want it to think the date is 1/31/2015

  IF SY-SUBRC <> 0 .

    WA_DATE = SY-DATUM.

  ELSEIF WA_LOW IS INITIAL.

    WA_DATE = SY-DATUM.

  ELSE.

    WA_DATE = WA_LOW+0(8).

  ENDIF.


As per your requirement if WA_LOW LE '12/31/2014' then we can assign wa_date = '1/31/2015' this temporary how about feature for example 12/31/2015 then again we need to change '1/31/2016' which is not correct as per my knowledge.


There is something different requirement, if 12/31/2014 comes as per logic it giving 09, its correct, either you need to change date from 12/31/2014 to 1/31/2015 in TVARVC table or ask business people what exactly requirement.


Thank you,

Nanda


Re: Problem with 2LIS_11_VAITM extractor

$
0
0

Hi Grzegorz,

 

Can you share your code of include RMCSUZ10? Are you taking care of field SUPKZ which will give you before and after image of your field change?

Can you put break point in your code and then try to change the sales order and see if this include is called twice?

 

Thanks

Amit

Re: No data shown in the in 0IC_C03 for DTP Load from 2LIS_03_BX to 0IC_C03

$
0
0

are you able to see the request in manage tab of the info provider? please post the screenshot to have better understanding.

 

regards,

anil


Re: No data shown in the in 0IC_C03 for DTP Load from 2LIS_03_BX to 0IC_C03

Re: No data shown in the in 0IC_C03 for DTP Load from 2LIS_03_BX to 0IC_C03

$
0
0

2LIS_03_BX  was successfully loaded to DTP but when right click display data(below the manage option), no data shown in the 0IC_C03.

 

Why no data shown?

 

Thanks for help

Re: Activation of M Records from DataStore Object Terminated

$
0
0

Hello Keith,

 

It worked for me, My activation related error got resolve.

 

Thanks

 

 

BR

Omkar

Re: Setup Tables not filling for 2lis_03_BX?

$
0
0

Hi,

 

above setting is correct and check the one movement type run the data source in RSA3.

check the KF values for the movement types.

 

 

Thanks,

Phani.

Re: Setup Tables not filling for 2lis_03_BX?

$
0
0

Hi Pani,

 

There is no data coming in RSA3 it is showing 0 records. i deleted setup tables and loaded but still the data is not coming

 

 

Thanks

Viewing all 5631 articles
Browse latest View live


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