Recording Routine for Tables
Hi ,
Can you please explain me about Recording Routine for Tables..
I came to know that we can get do it via SE55 tcode..
Can you please explain me the process to do this..
Regards
Parnith..
Hi Raj,
Thanks for your solution..
Can please suggest how can i solve following requirement..
I had to update the Recording Routine for one my custom tables from 'Standard recording routine' to 'No,or user,recording routine'.
I need to update and transport this..
When i went via SE55..
There are four Radio button..
Can you please let me know the exact steps to solve the above problem..
Regards,
Similar Messages
-
Using user-defined transport recording routine with table maintenance view?
Hi,
I have a table that is maintained through a maintenance view. I need to record the changes to a dedicated transport object (not TABU) with my own recording routine instead of teh standard recording routine.Could someone tell me which/how the events can be used to achieve this?
Regards
RachanaHi Rajeev,
I have changed TMG to choose the option - User defined routine. And I have created a new transport object in SOBJ for the table. Is this enough to record the object to the transport as the object i defined instead of TABU? Do I need to write some subroutine for any view event to achieve this? Do you mean to use the menu option to include the object to a request?
I have a bigger problem where this view is actually part of a view cluster. Even in that case is teh above steps enough?
Regards
Rachana -
"Recording Routine" in Table maintainance generator
Hi All,
I have a problem with View J_3RFV_F4VERS. Currently i am not able to change the entries in this View through SM30. Currently in the Table maintainance generator of this view "Standard recording Routine" is selected as Recording Routine.
But when i change this to "no, or user, recording Routine", i am able to change the entries of this view through SM30.
I would like to know the impact of selecting the alternative Recording Routine.
Please throw some light on this issue.
Regards,
Navin.You can simply press F1 on the radiobuttins in the table maintanence of a table.
It is all explained there.
Basically it normally follows the mandant settings, so if the setting in your mandant is, no changes allowed, then you can't change it.
The normal route for updating this table is to change it in your DEV system transport and test it in QA and finally transport it to PRD.
Regards, rob -
Routines for table 56 and D1555
Dear All,
We are in implementation of IS-Oil-Downstream.
Need your help on the follwoing items.
1.0 There are couple of products whcih are subjected to aromatic conversion. e.g. Benzene. for thsi product we use the Table D1555 for correcting the volume. For thsi table there is not API routines available. We have serached SAP note on this but there is no clarity on this. We would like to know is there any API routines available as distributor for API has said that there is no such routines for D1555. Does any one has an idea on this ? Can we configure going into node aromatic convserion and amina product, temp and VCF factor ? If yes then which conversion group need to be used ? Can calculation will happen correctly ?
2.0 We belive that Air boyancy factor in Materials Master can take care of Table 56. Pls. correct wheather understanding is correct.
Will appreciate your help asap.
Thanks and Regards,Probelm solved
-
Which table include duration&data records number for each nodes in PC?
Hi Experts,
Now I am on Process Chains maintenance work, I need daily record a very huge infopackage process chain's each nodes more then 50 infopackage, record something like duration ,data records nubmer for each infopackage. I need check this one by one in process chain, and my question is do you know this infomation record in which table in BW system? if i know it I will write a program to get it in one time.
Thanks in advance!Hi,
You can find the information about the process[as you said nodes] in his tables ,
RSPCPROCESSLOG - Stores complete information about the finished process
RSPCPROCESSINSTANCE - Stores the meta data for the successor process..it also has the runtime
RSPCVARIANT and RSPCVARIANTATTR - the succesor process reacts to the event
Process chain related tables are start with RSPC*.
under Settings ® Maintain Process Types (table RSPROCESSTYPES).
Pls chk this link;
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
Other tables used for Process chains:
http://wiki.sdn.sap.com/wiki/display/BI/ProcessChainTables
Thanks
Hemav
Edited by: hemav on Aug 4, 2010 7:38 AM -
Dynamic call for records in a table
hI,
Im having a ztable, the structure is as follows:
tabold fldold tabnew fldnew
The records in this table is are:
1.yvbap posnr xvbap posnr
2.yvbak auart xvbak auart
3.yvbak augru xvbak augru.
Now, i have to use this table dynamically to check each and every record in the program:mv45afzz.
So, my problem is that, i have to dynamically pass these records which contains table name and its field name.
i can write as: xvbap-posnr = yvbap-posnr for all the three records (the values will come from sales order tranx, report: mv45afzz)
but in future if the records are added then i have to again change the code, so this shouldn't happen.
It should dynamically call all the records in this table and check the condition.
Thanx
RohithHello Rohith
What is your question???
You described a few ingredients of your scenario (not all of them) and do not really explain your requirements.
Given the descriptions of the Z-table fields I assume you need to check whether OLD values are equal to NEW values.
If this assumption is correct then the solution is quite simple (except for XVBAP / YVBAP: Does this mean single entries or looping over all entries?)
DATA:
lt_ztable TYPE STANDARD TABLE OF zstructure,
ls_ztable TYPE zstructure.
FIELD-SYMBOLS:
<lt_tab> TYPE table,
<ls_struct_old> TYPE any,
<ls_struct_new> TYPE any,
<ld_old> TYPE any,
<ld_new> TYPE any.
" Read entries from z-table
SELECT * FROM ztable INTO table lt_ztable.
LOOP AT lt_ztable INTO ls_ztable.
ASSIGN (ls_ztable-tabold) TO <ls_struct_old>.
ASSIGN (ls_ztable-tabnew) TO <ls_struct_new>.
ASSIGN COMPONENT (ls_ztable-fldold) OF STRUCTURE <ls_struct_old> TO <ld_old>.
ASSIGN COMPONENT (ls_ztable-fldnew) OF STRUCTURE <ls_struct_new> TO <ld_new>.
IF ( <ld_old> = <ld_new> ).
" do something...
ENDIF.
ENDLOOP.
For the sake of simplicity I did not add the required statements for checking successful ASSIGN's.
Regards
Uwe -
How to call webservice for each record in a table using ODI
Hi
I am new to ODI and Webservice. I want to invoke a scenario in ODI using web service. I hava a weblogic application server with axis 2 deployed.
But I want call webservice for each record in a table
For eg: "EMP" table have 50 records, for each record web service should invoke
Can any one help me on it.
Thanks,
phani
Edited by: user12774166 on Jun 6, 2010 11:16 PMIf your goal is "call" a web service, Jason's Straub's [flex-ws-api|https://flex-ws-api.samplecode.oracle.com/] is by far the best I've seen. You might want read more about it on [his blog|http://jastraub.blogspot.com/search?q=+flex_ws_api+].
Tyler Muth
http://tylermuth.wordpress.com
[Applied Oracle Security: Developing Secure Database and Middleware Environments|http://sn.im/aos.book] -
How to create a record for table PLAF with order type 'NB'.
How to create a record for table PLAF with order type 'NB'(standard purchase order).
who can tell me the T-code or some usefull information?
Thanks.Hi
This will be updated automatically when generate planned orders thru MRP. (MD02)
regards
Srinivas -
To Get the earlier records in a table for a particular id neglecting the newer ones
Hi All,
I need to get the older records for a particular id rejecting the newer ones..My Scenarios is as follows..
ID Result Date
1 Pass 2015-01-01
1 Fail 2015-03-05
2 Pass 2014-06-07
2 Fail 2015-02-02
My Output will be
ID Result Date
1 Pass 2015-01-01
2 Pass 2014-06-07
How can i achieve this....Thanks in advancePlease follow the basic Netiquette of all SQL forums for the past 35+ years on the Internet. Post DDL that follows ISO-11179 rules for data element names. You have no idea; you do not even know that DATE is a reserved word in SQL! Use industry standard
encodings (ISBN, UPC, GTIN, etc) and avoid needless dialect. Give clear specifications. Give sample data. Web need to see the keys and constraints, the DRI, etc. 80-95% of the work in SQL is in the DDL.
If you do not know that rows are not records, fields are not columns and tables are not files, then you should not be posting. If your tables have no keys, you should not be posting. If you have not tried any DML yourself, you should not be posting.
>> I need to get the older records [sic] for a particular product_id, rejecting the newer ones..My Scenarios is as follows.. <<
Now we have to do all your typing because of your bad manners. Thanks a lot. Here is a repair job.
CREATE TABLE Inspections
(product_id CHAR(5) NOT NULL,
inspection_date DATE NOT NULL
PRIMARY KEY (product_id, inspection_date),
inspection_result CHAR(4) NOT NULL
CHECK (inspection_result IN ('pass', 'fail'))
INSERT INTO Inspections
VALUES
('prod1', '2015-01-01', 'pass'),
('prod1', '2015-03-05', 'fail'),
('prod2', '2014-06-07', 'pass')
('prod2', '2015-02-02', 'fail');
Here is one way to do this:
WITH X(product_id, inspection_date, inspection_result, first_inspection_date)
AS
(SELECT product_id, inspection_date, inspection_result,
MIN(inspection_date) OVER (PARTITION BY product_id)
FROM Inspections)
SELECT product_id, inspection_date, inspection_result
FROM X
WHERE first_inspection_date = inspection_date;
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
How to get count as 0 for records not in table
Hi All,
I have requirement where I need count of records in the table based on ids. Example query below
SELECT empid ,
nvl(COUNT(id), 0) empcount
FROM employee
WHERE empid IN(1, 2, 4, 5)
GROUP BY empid
In the table only record for "empid=2" is present so I get count 1 for it. But with it I should get count as 0 for non existing records. Expecting below output
empid | empcount
1 | 0
2 | 1
4 | 0
5 | 0
Appreciate your help and Thanks in advance.
Regards.
Ashishe.g.
SQL> select column_value deptno, count (deptno)
from emp, table (sys.odcinumberlist (10, 20, 100))
where deptno(+) = column_value
group by column_value
DEPTNO COUNT(DEPTNO)
10 3
20 5
100 0
3 rows selected. -
Checking for every record in a table using PL/SQL
Hello Gurus,
I would need your help in finding the best approach to tackle the below analysis using PL/SQL.
I have a table which contains two columns
UserID and Month
I want to find out the users who made orders every month for the first half of 2012.That is the User ordered on Jan 2012, Feb2012 ... and June 2012.
The Table is huge and has more than a million records. How do I approach this in PL/SQL.
JoeHi Justin,
Thanks for the quick response. This is helpful.However my Intention is to do it using PL/SQL for learning purposes. I am new to PLSQL.
I wanted to do something like looping through each records in the table for every user ID and If I find orders for six consecutive months for a particular user, I will insert the user id to a temp table.
Any hints on how can I use this? I heard about cursor. Can I use it. If so how should I approach.
--Joe -
How to fire a query for every record in a table, pass values in a loop
Hi,
For each record in a table, I want to loop through each record and then fire a query by passing acct, product and date from this table to the where clause of the query. I would have to create a pl/sql block..The output of the query I want to spool from sql developer.
I need the exact syntax please for doing this.. since i am new to Oracle. Just the template will be enough. I will fill in the query.
Any help is appreciated as always..
Regards,
hena904385 wrote:
Hi,
For each record in a table, I want to loop through each record and then fire a query by passing acct, product and date from this table to the where clause of the query. I would have to create a pl/sql block..The output of the query I want to spool from sql developer.
I need the exact syntax please for doing this.. since i am new to Oracle. Just the template will be enough. I will fill in the query.
Any help is appreciated as always..
Regards,
henaHave you ever considered using a JOIN ? It does the same thing as looping through a table and applying that to the where clause of a select on a query, only much, much, much faster and without the need to write any code. SQL is a declarative language, so you specify what you want and not how to do it. It can be bit of a journey to change your thought process if you come from a procedural or object world, but once you get there it's a beautiful view. -
BDC Recording for Table Control
dears,
I am using BDC for posting payments by TCode FP05.
after processing two payment items i am getting the following error.
"Runtime error SAPSQL_ARRAY_INSERT_DUPREC has occurred"
but when i repeat the same recording in foreground it processes the payment sucessfully.
wht could be wrong with the recording?
how to record for table control?
ByeHi Syed,
I could find few notes for the array insert duplicate runtime error.
136433
191544
You can find may in OSS.
Cheers
Vinod -
Two billion record limit for non-partitioned HANA tables?
Is there a two billion record limit for non-partitioned HANA tables? I've seen discussion on SCN, but can't find any official SAP documentation.
Hi John,
Yes there is a limit for non-partitioned tables in HANA. In the first page of this document says: SAP HANA Database – Partitioning and Distribution of Large Tables
A non - partitioned table cannot store more than 2 billion rows. By using partitioning, this
limit may overcome by distributing the rows to several partitions. Please note, each partition must not contain more than 2 billion rows.
Cheers,
Sarhan. -
Start routine for insert a record by each day in a range of dates
Hi all,
I need create a start routine for insert 1 record by each day in a range of dates:
example:
Actual.
DATE_I DATE_F TIME_I TIME_F TIME_minutes
04/04/2008 05/04/2008 13:40:00 23:00:00 2000
Result:
DATE_I DATE_F TIME_I TIME_F TIME_minutes
04/04/2008 04/04/2008 13:40:00 24:00:00 X
05/04/2008 05/04/2008 00:00:00 23:00:00 Y
I thanks any help.
regards.
Alberto.Hi Alberto,
What I understood from your requirement is that you want to split the record into 2 since you have 2 dates coming from the source.
In the transformations you will have to create new rule group one for each of the dates.
You can create the new rule group by clicking on the 'Rule Group' button and then clicking on the 'New Rule Group'.
In the newly created rule groups take care to distribute data for each date separately.
Hope it is clear.
All the best...
Regards,
Krishna
Maybe you are looking for
-
What exactly is the process that syncs address book and calendar to google?
I have been syncing with google somewhat successfully for the past 6 months or so, but I am still confused about exactly how it's working. I have my calendar set up as a caldav account, and it appears to be working fine. I would like to know if cal
-
Whenever i download iTunes 11 it downloads but while installing it comes either "invalid drive G:/" or "the folder iPod 5 contains an ivalid character " i have downloaded and iTunes but dosen't get instaleed so please help me
-
Unable to edit instantpage in GoDaddy domain website
trying to edit instantpage/temporary webpage for a website domain. unable to edit. the picture is only part showing - too big, zooming in and out does not help, trying another browser doesn't either. No sidebar or bottom bar, I notice, on this page.
-
Can anyone help me on this error: Serverjava.lang.ClassCastException: com.evermind.server.jms.EvermindConnectionFactory I got the above exception while trying to connect to JMS server (in OC4J 9.0.4) with the following code: ctx = new InitialContext(
-
DUMP while running the program RSAR_RSISOSMAP_REPAIR
Hi Experts, I am facing the dump while executing the DTP. the dump is ITAB_DUPLICATE_KEY.to fix the error ITAB_DUPLICATE_KEY I am referring to the below link : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a04c82eb-ec7c-2c10-7fae-ca6e764c48