Total Pl. costs are different compare to table RPSCO and CN52N report.
Hi folks,
for project CP00949 activity 0120 and 0220 table RPSCO (zet003) gives 338.094 and 49.401, where as CN52N gives as total resp 337.612 and 39.118
Any kind of suggestions arr welcome and will be rewarded well.
Thanks in advance,
regards,
Harisha
Hai Harisha
The cost which seen in Table RPSCO(zet003) and in CN41 /Cn41N (not in Cn52N)
is not matching.
Check in report S_ALR_8701352 which gives at each individual activity level and at WBS level.
check the entries once again.
ENJOY SAP PS
Regards
PP
Similar Messages
-
Number of records are different in database table and select statement
Hi All,
i need to fetch data from table BSID for the customer 0010000145
if i am writing the code like -
SELECT bukrs kunnr umskz shkzg dmbtr zfbdt zbd1t kkber
FROM bsid
INTO TABLE it_bsid
FOR ALL ENTRIES IN it_kna1
WHERE kunnr = it_kna1-kunnr
and bukrs = pa_bukrs.
no. of records are 130 in the internal table it_bsid
and actual records are 200
but when i am hardcoding the customer no.
i am getting the exact records
SELECT bukrs kunnr umskz shkzg dmbtr zfbdt zbd1t kkber
FROM bsid
INTO TABLE it_bsid
FOR ALL ENTRIES IN it_kna1
WHERE bukrs = pa_bukrs
AND kunnr = '0010000145'.
records in internal table = records in the database = 200.
how it is possible.
why the first code is not giving the correct no. of records.
please reply asap.
thanks in advance,
madhuMadhu,
You need to use the conversion routine...before u pass KUNNUR.
CONVERSION_EXIT_ALPHA_RANGE_I
CONVERSION_EXIT_ALPHA_RANGE_O
Hope this helps..
Chandra. -
Hello,
I set the retention period to 7 days (1 week)
I also set the default ARCHIVE and DELETE jobs and ALL are working fine.
However, messages with OLD dates are NOT deleted from the tables XI_AF_MSG and XI_AF_MSG_AUDIT.
These tables 32GB in the DBD table space.
I tried to use the URL:
http://<host>:<port>/MessagingSystem/archiving/reorgdb.jsp
BUT to NO avail.
How do I DELETE or ARCHIVE these messages ?
============================================
Here are some more details on the content of the tables (I took into account 1 MONTH retention):
db2 "select count(*) from sapxi3db.XI_AF_MSG_AUDIT where STATUS='SUCC' and TIME_STAMP < '2007-09-10 00:00:00'"
28947
1 record(s) selected.
db2 "select count(*) from sapxi3db.XI_AF_MSG_AUDIT where STATUS='ERR' and TIME_STAMP < '2007-09-10 00:00:00'"
13243
1 record(s) selected.
db2 "select count(*) from sapxipdb.XI_AF_MSG where PERSIST_UNTIL < '2007-09-10 00:00:00' and STATUS='NDLV'"
1048
1 record(s) selected.
db2 "select count(*) from sapxipdb.XI_AF_MSG where PERSIST_UNTIL < '2007-09-10 00:00:00' and STATUS='DLVD'"
0
1 record(s) selected.Hi,
First, thank you VERY much for answering.
Now to your questions:
1. When using the URL:
http://<host>:<port>/MessagingSystem/archiving/reorgdb.jsp
I did NOT get any ERROR messages.
Thousands of messages where DELETED successfully.
However, the number of rows in XI_AF_MSG_AUDIT did NOT reduce.
2. I used the default archiving and deletion customizations and jobs.
However, I ran them manually a few times a day with NO change in the
number of rows in XI_AF_MSG_AUDIT
What do you mean by "customized any Archiving for adapter Engine" ?
. In RWB, I do see the default job is running
Have you customized any Archiving for adapter Engine or You are using default arciving which runs every 24 hrs.
3. I did ser the retention period for the adapter engine messages in visual admin in seconds...
Please, advise further.
Kind regards,
Gil -
I was about to transfer some music from a reel-to-reel machione to my Mac. There are different sound recordings on the left and right channels. When I connect with RCA cables and Y-connector, I hear one recording from the left speaker, another from the right side. How do I record only one side, but hear it from both speakers?
DetlefYou don't say what end, or connectors are plugged into what. I'm assuming the RCA connectors are on the reel-to-reel end. Since the tape has two different mono recordings, one on each track, you of course only want one at a time during playback. Otherwise, the Mac (or any recording setup) can only treat it as a stereo recording with the standard Left-Right tracks.
1) There are multiple ways to connect different types of cables to get a mono signal down to a stereo output at the Mac. Here's one way.
2) Plug any RCA cable (single cable or stereo) into only the right or left RCA output of the reel-to-reel.
3) On the other end of the RCA cable, plug in an adapter like this. That will feed the single RCA output into a mono 1/8" plug.
4) Then plug that adapter into this. That turns the 1/8" mono signal into a "stereo" output with the same single track audio being fed to the Mac on both the left and right channels.
5) Record either the left or right output of the reel-to-reel. Rewind the tape and switch the RCA connector on the reel-to-reel to the right channel (if you started with the left) and record that mono signal as stereo.
Or, avoid all of this hardware mumbo-jumbo in the first place and do this:
1) Record the audio just the way you have it. Two different recordings, one on each channel.
2) Copy the audio recording to a new name and open it in your editor.
3) Highlight the left track and copy/paste it into the right track. Presto! Mono recording of the left track on both channels. Save the recording.
4) Repeat, only copy/pasting the right track into the left track and save the second recording. -
Compares two tables S780 and S720 by material , Print the Difference value
Hi abapers,
Report which compares the two tables S780 and S720 by material
the Statistic currency value of these two tables if show the differences
the report should display only Diffrece value:
The selection should be by
Revenue country, Salesorganisation , month and version
output like this
Material Value S720 / Value S780 / currency difference should be print out.
Regards
RajHi
Use join or for all entries
then move the records into a final table
loop at itab
then get the difference.
modify the itab by transporting the difference.
Regards
Shiva -
What are the uses of table control and tabstrip control
can anyone tell me the uses of table control and tabstrip control
Hi,
table control is more comfortable for customizing.scroll bars all possible in this.where as it is not possible in step loops.
check this example.
PROGRAM ZBHTCTRL.
TABLES: LFA1, EKKO.
DATA: OKCODE1 LIKE SY-UCOMM,
OKCODE2 LIKE SY-UCOMM.
CONTROLS TABC TYPE TABLEVIEW USING SCREEN 1001.
DATA: BEGIN OF ITAB OCCURS 0,
MANDT LIKE EKKO-MANDT,
EBELN LIKE EKKO-EBELN,
BSTYP LIKE EKKO-BSTYP,
BSART LIKE EKKO-BSART,
END OF ITAB.
MODULE USER_COMMAND_1000 INPUT.
CASE OKCODE1.
WHEN 'BACK'.
SET SCREEN 0.
WHEN 'NEXT'.
SET SCREEN 1001.
SELECT * FROM EKKO INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE
LIFNR = LFA1-LIFNR.
ENDCASE.
ENDMODULE. " USER_COMMAND_1001 INPUT
MODULE MOVE_DATA OUTPUT.
EKKO-MANDT = ITAB-MANDT.
EKKO-EBELN = ITAB-EBELN.
EKKO-BSTYP = ITAB-BSTYP.
EKKO-BSART = ITAB-BSART.
ENDMODULE. " MOVE_DATA OUTPUT
MODULE USER_COMMAND_1001 INPUT.
CASE OKCODE2.
WHEN 'BACK'.
SET SCREEN 1000.
ENDCASE.
ENDMODULE. " USER_COMMAND_1001 OUTPUT
MODULE STATUS_1001 OUTPUT.
SET PF-STATUS 'MENU'.
SET TITLEBAR 'TIT'.
ENDMODULE. " STATUS_1001 OUTPUT
MODULE STATUS_1000 OUTPUT.
SET PF-STATUS 'DMENU'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_1000 OUTPUT
FORM ON_CTMENU_FORM1 USING CMENU TYPE REF TO CL_CTMENU.
CALL METHOD CMENU->LOAD_GUI_STATUS
EXPORTING
PROGRAM = ' ZBHTCTRL'
STATUS = 'CMENU'
MENU = CMENU.
CALL METHOD CMENU->ADD_FUNCTION
EXPORTING
FCODE = 'RX'
TEXT = 'RECIEVE'.
ENDFORM.
FLOW LOGIC:
PROCESS BEFORE OUTPUT.
MODULE STATUS_1000.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1000.
PROCESS BEFORE OUTPUT.
MODULE STATUS_1001.
LOOP AT ITAB WITH CONTROL TABC CURSOR TABC-TOP_LINE.
MODULE MOVE_DATA.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1001.
LOOP AT ITAB.
ENDLOOP.
for more info check this link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm
thanks
Ashu. -
Results are different when printing from CS5 and CS4
A file that printed fine with Photoshop CS 4 printed very dark when printed with CS5, with no changes made to the settings. Has anyone else had this problem?
RE: "You don't indicate what Xerox printers you have"
In my first post I named it, is that the information you need?
Docucolor 3535 using Splash 3535
That's interesting, so I have to find a way to turn off the printer's Color Management function? I mailed them, hope they can tell me how to do it easily. They usually just tell me to not use any profiles and so on, but that's the general rule in this area, I'm really tired of hearing it. Everybody seems to think profiles and LAB mode are nuclear science and I should stay away from it.
Anyway, the test image I'm using is a simple photograph (size A3, 300dpi), so no transparencies at all. I'm placing this image into an equally large ID file and print it from ID, then export it to PDF-X/3 and print it from Acrobat. Hope that helps. -
What are different between software VM-FEX and hardware VM-FEX?
Hi everybody,
I am confuse software VM-FEX and hardware VM-FEX.
Does the software VM-FEX is Emulated mode and hardware VM-FEX is VMdirectpath mode?
If i design a VM-FEX, is there must have nexus 1000V or not ?
Is Nexus 1000V and VM-FEX must work together or select one of them?Have a look at http://keepingitclassless.net/2013/06/cisco-vm-fex-and-the-nexus-1000v/
VM-FEX in hardware requires on the host side a VIC adaptor, and a UCS FI or N5k as a switch (and control plane)
VM-FEX in hardware has 2 submodes (PTS = Emulated Mode) and UPS (path Through)
VM-FEX makes use of the VEM module (same as N1K; it is operated in a different mode however)
VEM can do N1k local switching or VM-FEX path through, but not both ! -
Total actual cost for a given PM Order
hello all,
how do i get total actual cost for a given PM order (in IW33 under cost tab we have total actual cost)..
is stored in table or do i need to use any function module.....
thanks in advance....Hi Vinay,
You can use the following logic for extracting the Actual cost of a PM order.
Pass the Order No (AUFNR) in Table AUFK and fetch the Object number (OBJNR).
Pass OBJNR value in table COEP.
You can get the actual cost of the order in COEP table.
Please mark this as correct if it resolves your issue.
Regards,
Joydeep -
Tables TCURM and T001K inconsistent Error While Creating Materials by BAPI
Hi I am Using the BAPI
BAPI_MATERIAL_SAVEDATA to create Material Masters I am creating all views for a Material.
When I repeatedly run the BAPI for Multiple runs to create the Materials for Multiple plants and multple sales Views
I get an Error Message when it is tryng to create accounting and costing View
The error is Tables
TCURM and T001K inconsistent; notify your systems administrator
I dont get this message if I create one Material.
I get this error message only when I repeat the loop and try to create Materials for different valvation areas..
Please some one give ur views ..
I promise All replies will be rewarded..
Thanks
MartinRob,
This is the peculiar behavious of SAP.
As i am trying to create the materials by using the BAPI with in Visual Basic.
The error can be simulated by using online data entry
i did a research on it and i found that the error can be overcome if we create the accouting view first and later oher views and this occurs if we try to create accouting views for other valuation areas are plants when we set the MRP_VIEW = "X" and ACCOUNT_VIEW = "X" and COST_VIEW = "X"
i dont know the exact reason for all this...
Thanks
Martin -
Problem linking A/R invoice table INV1 and Credit memo table RIN1
Hi Experts,
I have developed a sales report by picking data from the A/R invoice table INV1, BP partner table OCRD and Charts of accounts table OACT and the report is working fine. The only problem is I am having a challenge linking the above tables with the A/R Credit memo table RIN1. I want the linkage that is in case an A/R invoice is cancelled by raising an A/R credit memo, the same is not reflected on the sales report, kindly help.
PatrickHi Gordon,
Sorry, I did both the report and relationships in crystal but if I do a query in a view it is something like
SELECT dbo.OACT.AcctCode, dbo.OACT.AcctName, dbo.INV1.ItemCode, dbo.INV1.Dscription, OCRD_1.CardCode, OCRD_1.CardName
FROM dbo.OCRD CROSS JOIN
dbo.OACT INNER JOIN
dbo.INV1 ON dbo.OACT.AcctCode = dbo.INV1.AcctCode INNER JOIN
dbo.OCRD AS OCRD_1 ON dbo.INV1.BaseCard = OCRD_1.CardCode
the problem is incorporating the credit memo table coz if i include it I end up with wrong figures, hope this will help you guide.
Patrick -
Compare tables, find rows that are "different"
A common problem in replication/query-extract-load scenarios is comparing two sets of data, and finding the rows that have changed or are different. A clean solution to this is less obvious than it sounds, because "different" can involve nulls (love them!/hate them!).
Consider two structurally identical tables with all data linked by a common PK:
Snapshot A Snapshot B
PK First Last State PK First Last State
1 Bob Smith AZ 1 Bob Smith AZ
2 Louise Jones FL 2 Louise Brown FL
3 Joe Jones NULL 3 Joe Jones CA
4 Joe NULL GA 4 Joe Celko NULL
5 Phill NULL AL 5 Phill NULL AL
If we are interested in tracking or processing any changes in our data, we would agree that only Rows 1 and 5 are "the same" in both sets A & B.
Because of null logic, this sql only gets me row 2 (besides being syntactically miserable with a wide table) :
select A.PK from A inner join B on A.PK = B.PK
where (A.First <> B.First) OR (A.Last <> B.Last) OR (A.State <> B.State);
So how can I select rows 2, 3, and 4? (Extra credit for for a query I can type in less than two minutes with a pair of tables that have 42 columns)
Thanks much,
Steve Pence
DBA
Wycliffe Bible Translators
Orlando
[email protected]Sorry, my post got mangled by the white space deleterer...
A common problem in replication/query-extract-load scenarios is comparing two sets of data, and finding the rows that have changed or are different. A clean solution to this is less obvious than it sounds, because "different" can involve nulls (love them!/hate them!).
Consider two structurally identical tables with all data linked by a common PK:
Snapshot A
PK First Last State
1 Bob Smith AZ
2 Louise Jones FL
3 Joe Jones NULL
4 Joe NULL GA
5 Phill NULL AL
Snapshot B
PK First Last State
1 Bob Smith AZ
2 Louise Brown FL
3 Joe Jones CA
4 Joe Celko NULL
5 Phill NULL AL
If we are interested in tracking or processing any changes in our data, we would agree that only Rows 1 and 5 are "the same" in both sets A & B.
Because of null logic, this sql only gets me row 2 (besides being syntactically miserable with a wide table) :
select A.PK from A inner join B on A.PK = B.PK
where (A.First <> B.First) OR (A.Last <> B.Last) OR (A.State <> B.State);
So how can I select rows 2, 3, and 4? (Extra credit for a query I can type in less than two minutes with a pair of tables that have 42 columns)
Thanks much,
Steve Pence
DBA
Wycliffe Bible Translators
Orlando
[email protected] -
CUIC-Total Answered Call in Peripheral Skill Group are different with Skill Group Abandon-Answer
Hi UCCE/CUIC Expert,
I have CUIC 9.1(1). Now I am trying to access Cisco Historical Report (Stock).
When I accessed Peripheral Skill Group Historical All Fields, I found total "Answered" are different when I produced using Skill Group Abandon-Answer Distribution Historical.
My question is:
- What kind of call will produce symptom above?
- Is there any miss step in ICM Script so that CUIC will produce this report?
Thanks in advance,
HeribertusHi
Some, but not all, Half_Hour tables now have an equivalent Interval table. The Half_Hour tables still appear in the database, but are no longer populated. For CUIC only (and not for WebView) the equivalent Interval tables are populated by either half-hour or fifteen-minute data, based on configuration. WebView uses “half-hour views” to pull 30-minute data from the Interval tables.
While configuring the PG, you will give whether the Reporting interval should for 15 minutes or 30 Minutes, If you have 15 minutes selected then will see 15 minutes Interval in the Agent_Skill_Group_Interval Table.
Regards,
Senthil -
How to compare two tables data...need sql report or utility to find differe
Hi,
We have a requirement where we are asked to find data differences between two tables and one of the tables reside on remote database. The database version is same ( 10g ) and datatypes for the tables are similar.
The client is looking for a sql report or kind of utility to display the data differences for each column ( if possible count differences ) with some meaningful error messages.
Could anyone let me know the best possible way of doing it..?
Thanks
HitarthHi,
I found something for tables comparison but getting one error...can you check this please and let me know what is wrong
Here is the function:
CREATE OR REPLACE FUNCTION compare_query_results (
p_query1 IN VARCHAR2
, p_query2 IN VARCHAR2
, p_raise_error_if_not_equal IN BOOLEAN DEFAULT FALSE
, p_raise_error_if_no_rows IN BOOLEAN DEFAULT FALSE
RETURN NUMBER
IS
-- Constants
c_query_results_equal CONSTANT PLS_INTEGER := 0;
c_query_results_not_equal CONSTANT PLS_INTEGER := 1;
oracr CONSTANT VARCHAR2 (1) := CHR (10);
-- Variable Declaration
v_sql_stmt VARCHAR2 (32767);
v_record_count PLS_INTEGER;
v_return_code PLS_INTEGER;
v_record DUAL.dummy%TYPE;
v_result_set_has_rows BOOLEAN;
-- Ref Cursors
v_cursor sys_refcursor;
-- Custom Defined-Exceptions
result_sets_do_not_match EXCEPTION;
query_returns_no_rows EXCEPTION;
BEGIN
-- Get the count of differing records between p_query1 and p_query2
dbms_output.put_line('Start-1');
v_sql_stmt :=
' (SELECT /*+ materialize */'
|| SUBSTR (p_query1, INSTR (UPPER (p_query1)
, 'SELECT'
, 1
, 1
) + 6)
|| ')
, (SELECT /*+ materialize */'
|| SUBSTR (p_query2, INSTR (UPPER (p_query2)
, 'SELECT'
, 1
, 1
) + 6)
|| ')
SELECT ''X''
FROM (
(SELECT * FROM test1 MINUS SELECT * FROM test2)
UNION ALL
(SELECT * FROM test2 MINUS SELECT * FROM test1)
dbms_output.put_line('Start-2');
OPEN v_cursor
FOR v_sql_stmt;
dbms_output.put_line('Start-3');
FETCH v_cursor
INTO v_record;
dbms_output.put_line('Start-4');
v_result_set_has_rows := v_cursor%FOUND;
dbms_output.put_line('Start-5');
CLOSE v_cursor;
dbms_output.put_line('Start-6');
-- If there are rows - the result sets do NOT match...
IF v_result_set_has_rows
THEN
v_return_code := c_query_results_not_equal;
IF p_raise_error_if_not_equal
THEN
RAISE result_sets_do_not_match;
END IF;
-- If there are no rows - the result sets do match...
ELSIF NOT v_result_set_has_rows
THEN
IF p_raise_error_if_no_rows
THEN
-- Check to make sure that the queries contain rows if desired...
v_sql_stmt := 'SELECT ''X''
FROM (' || oracr || p_query1 || oracr || ')';
OPEN v_cursor
FOR v_sql_stmt;
FETCH v_cursor
INTO v_record;
IF v_cursor%NOTFOUND
THEN
CLOSE v_cursor;
RAISE query_returns_no_rows;
END IF;
CLOSE v_cursor;
END IF;
v_return_code := c_query_results_equal;
END IF;
RETURN v_return_code;
EXCEPTION
WHEN result_sets_do_not_match
THEN
raise_application_error (-20101, 'The Queries'' result sets do NOT match. Error returned
as requested.');
WHEN query_returns_no_rows
THEN
raise_application_error (-20102, 'The Queries'' result sets match, however they contain no
rows. Error returned as requested.');
WHEN OTHERS
THEN
-- Raise the error
raise_application_error (-20103
, 'There is a syntax or semantical error in one or both queries
preventing comparison.'
|| oracr
|| 'Error Stack :'
|| oracr
|| DBMS_UTILITY.format_error_stack ()
|| oracr
|| 'Error_Backtrace:'
|| oracr
|| DBMS_UTILITY.format_error_backtrace ());
END compare_query_results;
I have created two tables ( test1 and test2 ) with few columns and with the same datatypes and executed the above function...I am getting error as folliowing:
DECLARE
ERROR at line 1:
ORA-20103: There is a syntax or semantical error in one or both queries
preventing comparison.
Error Stack :
ORA-00900: invalid SQL statement
Error_Backtrace:
ORA-06512: at "ORAOWNER.COMPARE_QUERY_RESULTS", line 53
ORA-06512: at "ORAOWNER.COMPARE_QUERY_RESULTS", line 121
ORA-06512: at line 12
Could someone please help me fixing this error..It would be really appreciated
Thanks
Hitarth -
I have a few hundred duplicates in my iPhoto library, but the file sizes are different. So one is 1.3mb and one is 567kb. I want to delete the smaller ones, but short of comparing each duplicate, is there a way to do this? I've been looking at Duplicate Annhilator but I don't think it can do it.
Thanks!I just ran a test with iPhoto Library Manager, Duplicate Annihilator, iPhoto Duplicate Cleaner, Duplifinder and Photodedupo. I imported a folder of 5 photos into a test library 3 times, allowing iPhoto to import duplicates. I then ran the 5 photos thru resizer to reduce their jpeg compression but all other aspects of the file the same.
None of the duplicate removal apps found set that was reduced in the file resizer. That's probably due to the fact that the file creation date was being used as a criteria and the resized photo would have a different file creation date even though the Image Capture date was the same.
They all found the 3 regular duplicates and some of them would mark two and leave the 3rd unmarked. iPhoto Duplicate Cleaner can sort the found duplicates by file size but if the file was edited to get the reduced file size it might not be found as it would have a different file creation/modification date.
iPhoto Library Manage was able to find all duplicates and mark them as such if the file names were the same the the filename option was selected. Otherwise it also missed the modified, resized version. It allowed one to select the one photo to save before going to work on the library.
So if a photo has been reduced in image quality or pixel size it will not be considered a duplicate.
OT
Maybe you are looking for
-
Where did the Quicktime streaming server go??
It looks as if the Quicktime streaming server is gone for good - apparently it is not part of the Lion server install, and it can't be found on the Apple web site either. There is a page for it, but it doesn't actually provide any useful information.
-
Cp7 YouTube Widget - Stop at a particular time
I realize the YouTube widget can be set for the video to start at a particular time. Is there also a way to "stop" at a particular time in the video? For instance, there's a long video I'd like to use, but I'm only interested in the first few minutes
-
Having problems with the app store
Hi my brother has a 8gb 4th generation iPod touch and everytime we try to download an app, or update a game it says "Your account is not valid for use in the U.S store. You must switch to the Canadian store before purchasing." How do I switch to the
-
Entering numbers on captivate 3
When I run the project in assessment mode Captivate allows me to enter text and it will then move on to the next slide (using mouse clicks or shortcuts). However, when I do this with numbers it sticks and will not move forward. When i click back into
-
Does it help when I play on my stolen iphone?
Hello, My iPhone got stolen and the phone is off. When i hit play sound does it help?