Database changes between data records of PSA
Hi all,
Does anybody know a way, how to flush or commit database change between processing each data record from PSA by transfer rules?
I have some routines in transfer rules (updating attributes of master data from datasource), where I need values from exactly previously processed data record. But SELECT from /BIC/Q... table gives me no changes of these values
Command of selection is written correctly, because it gives me new values in next run of DTP process.
And little explanation, what I'm trying to achieve:
In PSA I have account, date and value and I need count, how this value changed for a concrete day and store this value to time-dependent attribute of master data. All data records with the same key (duplicate record) overwrite the result of previously one, so only last one is stored in master data.
Shortly, I need something like aggregation ADDING of routine in transfer rule detail, but able to catch duplicate records.
Thank you for any idea.
Regards, Filip
Some note about investigation process.
I tried change my data flow and made the same transfer rules from data source to ODS, if it will behave in different way.
I have found data records correctly collected (agregated) in New data of ODS, but EMPTY in active data! So I think, the something similar happend in case of updating master data, and that's why I didn't saw any agregation.
There is no need to call-out database changes, but this problem is kind od anythink else
This shoud be for a new thread, but how can keyfigures become empty after activation?? I've searched forum and found only a case, when End routines are implemented and they skip update rules, whitch are initial. This is not my case.
Nice to hear from you any ideas. Thankx for reading.
Filip
Similar Messages
-
Hi all,
How can i check data record in PSA. I know how to do it in 3.5 but not in 7.0, that little colorful chart button is now where to be found. Any help would be greatly appreciated
ThanksHi
RSA1 -> Datasource -> Right click on the datasource and click on manage. You should be able to see PSA data.
Alternatively, you can see it though InfoPackage also.
Regards,
Praveen -
How to know the database changes between different releases
Where can I get the information of database changes, like for example new columns new tables, etc, between different releases?
My goal to try to determine the current version, or is there a better way?
Thank youFor JD Edwards World or for JD Edwards EnterpriseOne - you can go to upgradejde.com Once this screen comes up, pick Resources. You will then have an option to take JD Edwards EnterpriseOne or JD Edwards World. On the next screen, you can select the tab Compare Releases. This will allow you to enter the release that you are currently on and enter the latest GA release of software. You will then see all the differences between your current release and the release you should upgrade to. You can also format this into a printed report.
-
Query to calculate chg & precent change between current record & record b4
Greetings SQL Guru's
I know that Oracle has analitical functions that can produce the results I need.
I have a view that will return four rows. I need to find the change and precent change between
the current number and the number before it.
The following is a example:
Year EndOfYearRSF ProjectedRent Change %change
2006 70000 1179226 - -
2007 75000 491015 -688210 41%
2008 80000 1188947 697931 42%
2009 90000 198502 9554 .6%
[pre]
The operation is being performed on the ProjectedRent Column. I'm currently using Oracle 9.2
Thanks in advancemay be somthing like this
1 WITH t AS (SELECT 2006 year,70000 EOFYear, 1179226 rent from dual
2 union all
3 SELECT 2007 year,75000 EOFYear, 491015 rent from dual
4 union all
5 SELECT 2008 year,80000 EOFYear, 1188947 rent from dual
6 union all
7 SELECT 2009 year,90000 EOFYear, 198502 rent from dual)
8 select year,EOFYear,rent,rent-lag(rent,1,null)over(order by year )Change
9* from t
10 /
YEAR EOFYEAR RENT CHANGE
2006 70000 1179226
2007 75000 491015 -688211
2008 80000 1188947 697932
2009 90000 198502 -990445 -
Changing master data record while loading Transaction data
Hello All,
We have a requirementt to change one of the master data field(FLAG) while loading on the transaction data.
we get the material info in the Master data. and in the sales order item data also we get the material.
While loading the Transaction data, I have to set a FLAG field has "s" in the Master data material based on the Key selection:
Master data - MAterial = Tramsaction - Data Material.
I have written the code.. and implemented.. i get the correct records but i face huge performance issue. can any one guide me please
DATA: itab1 TYPE STANDARD TABLE OF /bi0/pmaterial,
wa_itab1 TYPE /bi0/pmaterial,
w_tabix TYPE sy-tabix.
IF itab1 IS INITIAL.
SELECT * FROM /bi0/pmaterialINTO TABLE itab1.
ENDIF.
LOOP AT result_package ASSIGNING <result_fields>.
READ TABLE itab1 INTO wa_itab1 WITH KEY
material = <result_fields>-material.
IF sy-subrc = 0.
w_tabix = sy-tabix.
IF <result_fields>-/bic/paa1c2033 IS NOT INITIAL.
wa_itab1-FLAG = 'S'.
MODIFY itab1 FROM wa_itab1 INDEX w_tabix TRANSPORTING FLAG .
ENDIF.
ENDIF.
ENDLOOP.
IF itab1 IS NOT INITIAL.
MODIFY /bi0/pmaterial FROM TABLE itab1.
ENDIF.Here are some performance tips:
Add FOR ALL ENTRIES IN result_package WHERE material = result_package-material to your select statement
After your select statement, add IF SY-SUBRC = 0. SORT itab1 BY material. ENDIF.
In your read statement, add BINARY SEARCH to the end of it
At the end of your end routine, make sure to CLEAR itab1.
You can also increase the number of parallel processes for your DTP, and DSO activation (assuming your target is DSO). -
Case (Sensitivity) changes between Data Mart and Tabular Model
DM.Team.TeamName = "testTeam"
Run Full Process to Tabular DataModel
Tabular.Team.TeamName = "Testteam" (or sometimes "TestTeam")
Notice that the case on the first T is changing from lower case to upper case between the DM and the tabular model. Why? I've searched for an answer on this forum and elsewhere but other users problems are with duplicate entries with different
casing, but in my situation, I DON'T have duplicate entries in the tabular model. It's the same entry from the DM but the case has changed. Why? It's almost as if it's trying to "fix" the casing. After several more tests I've
found that if I have a mixture of upper & lower case characters, the tabular load changes the case to either all lower or camel case. What is causing this behavior?
I've checked the language collation on both the DM Server and the SSAS Tabular Server and they are identical: SQL_Latin1_General_CP1_CI_AS
I also checked the columns in the DM, specifically - the TeamName column contains the same language collation as the servers
This is occurring on one of our lab servers, but the same scenario works fine on my dev box - I've compared the 4 machines and they all appear identical. Only difference is my dev box has sql server 2012 sp2 developer edition and the lab box has sql
server 2012 enterprise. Also my dev box contains windows 8.1 and the lab box windows server 2012 R2 Standard.
Any help would be most appreciated. Thanks.Thanks. I did look at the above post prior to submitting my question but my problem is different:
Notice that the case on the first T is changing from lower case to upper case between the DM and the tabular model. Why? I've searched for an answer on this forum and elsewhere but other users problems are with duplicate entries with different
casing, but in my situation, I DON'T have duplicate entries in the tabular model. It's the same entry from the DM but the case has changed. Why? I've checked all the other solutions to the duplicate problem and my configuration (as explained
in original post) appears to be correct to avoid duplicates due to case. So, I'm stumped. -
How to rectify the error message " duplicate data records found"
Hi,
How to rectify the error "duplicate data records found" , PSA is not there.
and give me brief description about RSRV
Thanks in advance,
Ravi AlakunltaHi Ravi,
In the Info Package screen...Processing tab...check the option Do not allow Duplicate records.
RSRV is used for Repair and Analysis purpose.
If you found Duplicate records in the F fact table...Compress it then Duplicate records will be summarized in the Cube.
Hope this helps. -
Access error when changing Account data
Several users with same role (inside sales) are getting same error (Access Denied - SBL-DAT-00278) when trying to change account owner info or converting a lead and associating it with an existing account.
The roles and access profiles are correct and have not been changed. Could this be the result of specific field changes?
Any ideas?
ThanksYou have implemented the BADI HRXSS_PER_BEGDA which results in this error
ESS scenario's will allow data creation/modification starting
from a Default Start Date. By default this Default Start Date
is set to Today's date. To further explain, when the Default
Start Date is set to Today's date ESS User can create or
change a data record valid starting from Today's date
or future date.
It is possible to customize this behaviour. Business Add-in
HRXSS_PER_BEGDA is available. Parameters like molga, pernr,
infty, subty and begda can be used in different combinations
for customization. For further informatio, please
refer to IMG:
Personnel Management -> Employee Self-service -> Own Data ->
Change Default Start Date.
Check your use case subtypes as well -
Error message when changing personal data
Whenever a user tries to change personal data in ESS, the system returns an error message "Start date should be after 12.01.2012 or later." (or whatever the current day is...)
I can't find a note or whatsoever to solve it. Is this a known error in ESS?You have implemented the BADI HRXSS_PER_BEGDA which results in this error
ESS scenario's will allow data creation/modification starting
from a Default Start Date. By default this Default Start Date
is set to Today's date. To further explain, when the Default
Start Date is set to Today's date ESS User can create or
change a data record valid starting from Today's date
or future date.
It is possible to customize this behaviour. Business Add-in
HRXSS_PER_BEGDA is available. Parameters like molga, pernr,
infty, subty and begda can be used in different combinations
for customization. For further informatio, please
refer to IMG:
Personnel Management -> Employee Self-service -> Own Data ->
Change Default Start Date.
Check your use case subtypes as well -
Unable to change the data in PSA
Hello All,
I have a delta failure because of invalid characters in one of the field and now i wanted to change the PSA. I have deleted the request from all data targets and started changing the error record, it is not showing all columns from PSA hence i am unable to change the data in required field.
Could you please let me know how will i see all columns from PSA. Thanks
Regards,AshokHi Ashok,
To increase/decrease the number of columns that are displayed on the menu from the Settings option select Change display variants
Also if you want to see say all the failed records you can sort the order of the data using the Status column -
We are upgrading from 8.3 to 9.2. How can i get the table(record) structure changes between these 2 versions. I am not able to find it in Oracle support.
My guess is you want to upgrade HR8.3 to 9.2 - and that is not one jump upgrade. You will need to go HRMS 83 to 90
(PeopleSoft Enterprise HRMS 8.3x to 9.0 Upgrade (Doc ID 747333.1) and then 90 to 92 (PeopleSoft Human Capital Management 9.0 to 9.2 Upgrade Home Page (Doc ID 1536087.1)
Each these MOS pages contains the Demo to Demo Compare Reports that show the data structures changes between the releases.
Hope it helps. -
Data Records are missing in between while loading from R/3 (ECC) to BI.
Dear Experts,
I have created a custom DataSource on Custom Function Module. This datasource contains 600 fields. (I know its a monster and splitting options are thinner).
1) Validate the data using RSA3 in R/3 and showed the correct record count.
2) Validate the data by debugging the FM, still showed the correct record count.
But while loading from R/3 to BI, records are missing.
Various Scenarios load from R/3 to BI:
1a) Loaded full load (78000 records) with all default data transfer settings. PSA showed up with 72000 records (missing 6000) only. Compared the Idocs vs data packets, both reconciled.
1b) Loaded full load (78000) with modified settings (15000 KB / data packet). PSA showed up with 74000 records (missing 4000) only.
2a) Loaded with selection parameters (took a small chunk) (7000 records) with default data transfer settings. PSA showed up only 5000 records (missing 2000).
2b) Loaded with selection parameters (7000 records) with modified settings (15000 KB / data packet). PSA showed up all 7000 records.
3a) Loaded with selection parameters (took further small chunk) (4000 records). PSA showed up all records regardless data transfer settings.
Also please look at this piece of code from the function module,
IF l_wa_interface-isource = 'ZBI_ARD_TRANS'.
l_package_size = l_wa_interface-maxsize DIV 60.
ENDIF.
I really appreciate your advise or help in this regard.
Thanks much,
AnilHi,
Which module u want?
if its SD(for example)
steps>>
1>In AWB goto "business content"
2> goto "Info provider"
3>Under infoarea select SD cubes
4> Drag related cubes and ODS to right panel
5> Set the grouping option "In Data flow before&afterwards"
6>Install the collected objects
Go to R/3
7> Use Tcode RSA5 Transfer all regarding SD module datasources
Goto BW
8> Right click on the source system "Replicate datasources"
[DataSources|http://help.sap.com/saphelp_nw70/helpdata/en/3c/7b88408bc0bb4de10000000a1550b0/frameset.htm]
Edited by: Obily on Jul 10, 2008 8:36 AM -
Difference between "Database Variant To Data" and "Variant To Data"
Can anyone tell me the differnce between the 2 VI's "Database Variant To Data" and "Variant To Data"?
I am using the database connectivity toolset and making a query.
I have tried using both, but the give me the same result.
Attachments:
Variant to Data.JPG 45 KBYou won't see a difference between these two functions with just a string or other simple data types. Where you'll see a difference is with clusters and more complex data types that come from the database. The variants returned by databases can be slightly different than the standard variant. That is where the Database Variant To Data is needed. Otherwise, if you are just reading string information, either function will work fine.
Crystal -
Change the data in fieldcat and update the database table in alv oops
Hi,
my requirement is i have displayed a fieldcat in change mode and when i change the data and click on save it has to be updated the database table..
this has to be done using alv oops...Hi,
This code will reflect all the changes into the internal table that is being displayed.
* to reflect the data changed into internal table
DATA : ref_grid TYPE REF TO cl_gui_alv_grid. "new
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref_grid.
ENDIF.
IF NOT ref_grid IS INITIAL.
CALL METHOD ref_grid->check_changed_data.
ENDIF.
Now after this code is executed the internal table is modified as per the changes done in alv output.
Now you can use this internal table to update the database table.
Hope this helps you.
Regards,
Tarun -
Data Record Number Field in PSA
Hi,
There is a field " Data Record Number" in every PSA. This field is howeven not part of the DataSource.I need to bring a counter like this into the Cube that counts all unique records (i need to setup a COUNTER using a unique key). Is there a way of doing that?
ThanksHi davy,
To get counter of records,
you have to write a routine.
so for this make an infoobject of name counter and add this field to your cube.
then go to update rule and write update routine for the above infoobject like
if condition is true
result = 1
else
result = 0.
the sum of all 1s will give the no. of records.
Hope this will help you.
thanks.
Saurabh Jain.
Maybe you are looking for
-
How to create a field with 1200 chars length
Hi, Will anybody let me know how to create a field with length 1200 in a table. Regards, Madhavi
-
Hi, I'm using JBuilder to interact with a ms access 2003 database. The problem I'm having is when I insert values into a table in the database from my java application, and then query the table to ensure that those values were entered, it appears as
-
Labview 2011 64-bit install problem
I'm trying to install the 64 bit version of LabView onto a win7 64 laptop. The install seems to go ok. When I try to run it, it crashes with this exception 0xC06D007E$r. I've tried uninstall/reinstall and I still get the same error. I have the 32 bit
-
Hi, I'm kinda new to this stuff... i wanna print a puzzle ... here is the code... basically it prints all the lines beside the first line (top line) ... is there any way of printing the top line without creating a new method, which has to draw this l
-
can some one help me out with a sample bex project or specs which i could practise on plz.... thanks in advance radha chandrashekharan