Adding a 4th table (RDR1)
I would like to add a fourth table to the report below as there is a user defined field in it that I need to use, the table to be added is RDR1 - can anyone help? (This thread will get a lot more interesting but I am growing it one step at a time)
SELECT
t0.father as 'Parent Code',
t2.itemname as 'Parent Description',
cast(t3.onhand as int) as 'In Stock',
cast(t3.iscommited as int) as 'Committed Stock',
(cast(t3.onhand as int) - cast(t3.iscommited as int)) as 'Available Stock'
FROM
itt1 t0
inner join oitm t1 on t0.code = t1.itemcode
inner join oitm t2 on t0.father = t2.itemcode
LEFT JOIN OITW T3 ON T3.WHSCODE = T0.Warehouse AND T3.ItemCode = T0.Code
Where T3.WHSCODE Like '[%0]%' and t0.comment = 'MASTER' and t2.frgnname = 'CURRENT' and t2.validcomm = '2011'
ORDER BY
t0.father, t0.code
Many thanks,
Robin
Adrian,
I have added the joins for RDR1 and ORDR..........this now reports 3 lines against a single item code when in fact there is only one purchase order open for that code.
I have not introduced anything else
Any further ideas.....? For the record I am trying to reproduce the output below i.e. p/o qty & date going across against each item number
Cheers,
Robin
Master Description P/Order Qty P/Order Date P/Order Qty P/Order Date P/Order Qty P/Order Date
Log Panel 150mm
Log Panel 225mm
Log Roll 150mm
Log Roll 225mm
Log Roll 300mm
Log Roll 375mm
Log panel 300mm
Vulcan Multiplay Red/Silver Box 1
Marmoset Hardware 385 18/02/2011 300 18/03/2011 300 15/04/2011
Gibbon Hardware 200 17/12/2010 48 28/01/2010 250 18/02/2011
Orang Utan Hardware 200 17/12/2010 40 17/12/2010 60 18/02/2011
Meerkat Hardware (Box 3)33 17/12/2010 51 18/02/2011 80 18/03/2011
Lemur h/w 100 17/12/2010 68 18/02/2011 70 18/03/2011
Colobus Hardware Pack 6 17/12/2010 1,064 28/01/2010 750 18/02/2011
Uakari Rock Face Pack (inc 6 Legs) 75 14/01/2011 75 18/02/2011 60 18/03/2011
Similar Messages
-
Error while updating Sales Order : Another user Modified Table (RDR1 )
Hi All,
I am getting an error message while running the following steps.
Steps
1) Pull an entry from sales order.
2) Add new data to line.
3) Update the sales order.
a) Sap updated the data.
b) Through code using DI API we updated some UDF.
4) With out closing / Pressing OK button
5) We added new data to line.
6) Then Press update.
An Error will through by B1 as Another user modified the table(RDR1 ). Before going to the code where we are handling the update of UDF.
But after the 3rd step above when we do
4) Close the window or pressed ok
5) take the sales order window again pull the data
6) Add new Data to line.
7) Update sales order then it will go smoothly.(Updating by B1 and from code )
Can anybody tell me why this happens?And any workarounds to solve this?
Deepeshare u adding a matrix row thru the code? I get this error when I am adding rows and I get the rownumber out of sync.
if so get the max (lineid) from rdr1 and then check against the matrix.rowcount before adding a row. if lineid is greater that matrix.rowcount take lineid + 1 and assign it to the matrix.row, else take the rowcount + 1
if not, and as a workaround, then you can try using the SBO_SP_transactionnotification stored procedure. -
Nothing added to the table of contents
I'm using the "Biography" template (portrait only) in iBooks Author. According to Help,
"By default, the table of contents includes all paragraphs in the book that use the Heading 1 and Heading 2 style, but you can include whichever styles you like."
So I paste some text into the first two pages of my new book. I select a line of text, show the Styles drawer, and click Heading 1 or Heading 2.
I choose Table of Contents from the sidebar, and there's nothing added to the table of contents. I preview it on my iPad. Same problem.
Am I doing something wrong?Hello Nick,
Jquery may be help you to create own TOC and add custom links into it. Here is some ref for you:
http://tommdaly.wordpress.com/2013/06/27/customize-table-of-contents-remove-libraries-navigation-headers/
http://sharepointsharpener.wordpress.com/2011/09/27/quick-fix-remove-libraries-lists-from-toc/
You may also create one custom list and add link to this list. Then get link from this list and place in webpart wherever you want.
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Another User Modified Table RDR1(-2039)
Hi
I got error "Another User Modified Table RDR1(-2039)" sometimes when i update Sales Order. Since I m doing customization on Sales Order form, <b>i m unable to proceed with my code since it run on ActionSuccess</b>.
What could be the reason ..
Plz helpHi Pankaj,
Firstly make sure that you don't hold references to objects that you don't use. If you have reference to an order and maybe update the order and later again use another object to access the same order this might happen. Create and release objects as you use or don't use them. You can release the objects with
System.Runtime.InteropServices.Marshal.ReleaseComObject(x)
Hope it helps,
Adele -
Hi Folks,
I have a requirement of adding a field in Table control of Standard SAP transaction also updating the same in standard SAP database table.
The field is also not existing in the table, it is also added to the table using Append Structure.
Will this be possible using some Screen Exit?
Thanks in Advance.
PunitHi Poorna,
Thanks for the reply.
I have to add field to the txn QM02. User will specify the value for the custom field in this txn and the same should be updated in the database table.
The field is not a std SAP field, it is added to the table using append structure.
Thanks,
Punit -
Adding field to Table Control using screen exit
Hi Folks,
I have a requirement of adding a field in Table control of Standard SAP transaction also updating the same in standard SAP database table.
The field is also not existing in the table, it is also added to the table using Append Structure.
Will this be possible using some Screen Exit?
Thanks in Advance.
PunitHi Punit,
There are various screen user exits(QQMA0001,QQMA0008,QQMA0010,
QQMA0011,QQMA0012) available for this transaction but all are related to adding a subscreen.So, I am not very sure whether we can modify a table control for this transaction. So, If possible if u r requirement still can be acheived with creation of a subscreen then it would do only if the exits which were mentioned above belongs to u r main screen..
Regards,
Swaroop -
Extend dynamic selection for a field added on PRPS table
Hi Gurus,
I want to see the field that I've added in PRPS table as part of dynamic selection on the reports like S_ALR_87013542/ S_ALR_87013532. The LDB for project systems is PSJ. How do I make it appear as a dynamic selection on the selection-screen criteria for these reports?
Thanks...Hi,
We have done this a lot on my project. Follow these steps:
(1) Transaction SE36 for logical database PSJ
(2) Choose menu path Extras -> Selection views (Ctrl+F7)
(3) Change the "Origin of view" to SAP
(4) Find the PRPS_R node in the top, right "Tables/nodes" view.
(5) Double-click PRPS_R.
(6) Find your custom field that you added in PRPS (in the bottom "Table fields/node fields" view.
(7) Choose and enter a 2-character Function Group ID (see the top, left view) next to the new field.
(8) Save and transport...
Best Regards,
James Gaddis -
Hi,
A table is altered to add some new information (columns, or constraints etc).
Is there a way to check what all new columns are added to the table and at what date?
Does Oracle Keep track of this activity some where in its Data Dictionary?
Version od the Oracle is - 9.2.0.6.0
Thanks,
VineetLAST_DDL date will also be updated if i do the analyze on the table.No it won't.
SQL> create table t (n number);
Table created.
SQL> alter session set nls_date_format = 'yyyy-mm-dd hh24:mi:ss';
Session altered.
SQL> exec dbms_stats.gather_table_stats(user, 't');
PL/SQL procedure successfully completed.
SQL> select o.last_ddl_time, t.last_analyzed
2 from user_objects o, user_tables t
3 where t.table_name = 'T'
4 and t.table_name = o.object_name
5 and o.object_type = 'TABLE';
LAST_DDL_TIME LAST_ANALYZED
2007-02-25 16:21:41 2007-02-25 16:22:25
SQL>I once had a Re: ddl about whether this implied gathering statistics should not be considered DDL. -
"Program terminated in remote system NONE: Logon failed" when adding a new table
Hello,
I set up a replication flow from a SAP ERP 6.0 EHP7 with SAP ASE 16.0 source to SAP HANA 1.0 rev 82 target
I am using a standalone SLT system NetWeaver 7.0 with DMIS 2011_1_731 (with SP 1 to 7).
I have 100 tables to replicate.
I succeeded to set up replication for 57 tables. These tables are replicating properly.
Whenever I try to add a new one (with LTRC transaction, Data Provisioning -> Start Replication), the new table is marked as 'Failed' after a little while.
When I press 'Show Error Log' button I got an obscure error message:
"Program terminated in remote system NONE: Logon failed "
I do not understand this message. I checked both on SAP ASE source and SAP HANA target. I am still able to connect against both source and target.
Can you please tell how to troubleshoot this error.
Thanks in advance,
ChristianFirst thank you for answering my questions. I really appreciate your answers.
I rechecked the documentation.
"Application Operations Guide SAP Landscape Transformation Replication Server Document Version: 2.3 – 2014-07-08"
Page 29 - 30
3.5.2.2 Data Transfer Jobs
This section explains the relationship between the number of data transfer jobs and the number of available background work process.
Data transfer and data transformation processing on SLT server system is accomplished by the background work processes of the underlying SAP NetWeaver ABAP application server. Each job occupies 1 background work process in the SAP LT Replication Server system. For each configuration, the parameter Data Transfer Jobs restricts the maximum number of data load job for each mass transfer ID (MT_ID). In total, a mass transfer ID (MT_ID) requires at least 4 background jobs to be available:
One monitoring job (master job)
One master controller job
At least one data load job
One additional job either for the migration objects definition, access plan calculation or to change configuration settings in the Configuration & Monitoring Dashboard
Example
If you set the parameter Data Transfer Jobs to 04 in a configuration “SCHEMA1”, a mass transfer ID 001 is assigned. As a result, the following jobs should be in the system:
1 Master controller job: /1LT/IUC_REP_CNTR_001
At most 4 parallel jobs for MT_ID 001: /1LT/IUC_LOAD_MT_001_001/~002/~003/~004
When configuring your data load or replication scenario, consider the following:
Do not define more data transfer jobs than the number of available application server background work processes. If all available background work processes are already occupied by jobs, any other job will have to wait until a free work process becomes available. This can lead to long wait times until a new activity (for example creating triggers) can start, and can also result in significantly increased latency times for data replication.
The number of dialog work processes in the source system corresponds 1:1 with the number of data transfer jobs in the SAP LT Replication Server system.
Besides the work processes allocated by the data transfer jobs you need to provide additional available work processes for controller and monitoring jobs, the migration objects definition, access plan calculation or to perform configuration changes, and so on.
Sizing for SAP LT Replication Server involves determining how many work processes are required to perform the initial load of data into the target system within an acceptable timeframe, and accomplish the change capturing and the transfer of data changes to the target system within expected latency times.
Ensure that you add enough additional work processes to allow other required SAP LT Replication Server jobs to run.
Finally, you map the number of required application server work processes to their system resource consumption (CPU, memory, disc space) using the formulas provided by the SLT Sizing Guide.
With the simple formula below, you can calculate the number of required application server work processes (WPs) on the SLT Server for each active SLT configuration.
The number of required work processes can be determined by adding
The Number of required data transfer jobs ,
plus one background work process for Central Master (Monitoring) Job (only one per system!),
plus one background work process for Master Controller Job,
plus 3-5 additional empty background work processes (recommended per configuration),
plus approx. 3 dialog work processes (recommended for each configuration).
Note: A lack of available free application server work processes can negatively affect the data load or data replication processes.
To summarize everything, the number of 'Data Transfer Jobs' must be set depending of the number of source tables, it is not the actual number of tables.
Assume that for my 100 tables I use 10 'Data Transfer Jobs' :
- The number of work processes on the SLT server would be 20. I took the simple formula of the documentation:
10 data transfer jobs ,
+ 1 background work process for Central Master (Monitoring) Job (only one per system!),
+ 1 background work process for Master Controller Job,
+ 5 additional empty background work processes (recommended per configuration),
+ 3 dialog work processes (recommended for each configuration).
- The number of dialog processes on the source server would be 10 ( equal to the number of 'Data Transfer Jobs')
Am I correct ?
Regards,
Christian -
Adding an interactive table to a form?
Okay, I am really new to using Adobe Pro and kind of brain dead with JavaScript. I'm using the LiveCycle Designer to create a form and I want to add a table that expands as data is entered, or create a button that allows additional rows to be added as needed. I was trying to follow a little how-to-guide I found, but after I follow the instructions my codes don't work for the buttons I created to add a row. Please help
Just a couple of minor changes ......I attached the updated version.
1. The page subform that will house the table must be set to flowed ...otherwise when it reaches the bottom it will not create a new page for you.
2. Your Table was named Table1 but you referenced it as Table in the commands hence th eobject could not be found.
3. I moved the add row button outside of the table so that it woudl not repeat for each row.
4. I updated the code on the delete row button to delete the row that you are on ...otherwise it woudl take the 1st occurance out.
Let me know what you think
Paul -
Creating a new schema or adding some more tables in existing schema ??
Hi All,
We have a new requirement from the client asking us to include a few new functionalities(pages--- all together a new application has to be embedded into our application) in our application. By adding these new functionalities, the number of hits to our application can be doubled.
As per the above requirement, I would like to know that whether to create a new schema or to create some new tables in the existing database for the new functionalities.
By what way, can I handle the number of requests in a better way? by creating the new schema or by creating the new tables for the new functionalities.
Also I would like like to know what kind of factors will differ between creating a new schema or creating new tables for the new functionalities in the existing schema.
FYI... We are using Cold Fusion as front-end and Oracle 9i for back-endThis the forum for Oracle's SQL Developer tool. You will get better answers in the Database - General forum.
The short answer is that from a performance point of view there will be no difference. The issues are more to do with maintenance. -
Is there any way to prevent excess rows from being added to a table on the front panel?
Whenever I programmatically add rows through a property node I can still go into the front panel and keep adding additional rows through the table. Is there any way to prevent this "excess scrolling"? Maybe grey out the rows or something?
At least I have chickenHello Labviewleroy,
You should be able to right click on the table on the front panel and select
Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
You could also consider changing their visibility programmatically using a property node for the control or indicator that you are referencing. You can create the property node by right clicking on the control on the block diagram and selecting
Create>>Property Node>>Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
Cheers,
-Joel
Motion PSE
National Instruments -
Need suggestion on adding Index on table
Hi,
There is table called customer_locations in my database which has records about more then 5000 rows, When we write some select query to fetch data from this table takes too much time to load the data.
Need a suggestion how to add index to increase the performance on this table. also which type of index to be added need a suggestion
table sql script is mentioned below
CREATE TABLE "CUSTOMER_LOCATIONS"
( "LOCATION_ID" NUMBER NOT NULL ENABLE,
"COMPANY_NAME" VARCHAR2(512),
"ADDRESS_LINE_1" VARCHAR2(512),
"ADDRESS_LINE_2" VARCHAR2(512),
"PHONE_NUMBER" VARCHAR2(255),
"FAX_NUMBER" VARCHAR2(255),
"CITY" VARCHAR2(512),
"STATE" VARCHAR2(512),
"ZIP" VARCHAR2(100),
"COUNTRY" VARCHAR2(255),
"CREATED_BY" VARCHAR2(512),
"CREATED_DATE" TIMESTAMP (6),
"MODIFIED_BY" VARCHAR2(512),
"MODIFIED_DATE" TIMESTAMP (6),
"DOMAIN_ID" NUMBER,
"LOCATION_TYPE" VARCHAR2(255),
"STATUS" VARCHAR2(50),
"IB_STATUS" VARCHAR2(100),
"OLD_LOCATION_ID" VARCHAR2(50),
CONSTRAINT "SS_CUSTOMER_LOCATIONS_PK" PRIMARY KEY ("LOCATION_ID") ENABLE
Please suggest
Thanks
SudhirHi Sudhir,
Since you have no predicates it would be unavoidable to have FULL TABLE SCAN. But let me tell you that FULL TABLE SCANS are not bad.
Just to help you with, the below code can enunciate the use of Indexes:
drop table test_table;
create table test_Table as select * from all_objects where rownum < 5001;
select * from user_ind_columns where table_name = 'TEST_TABLE';
--No rows fetched.
explain plan for
select object_name || ' is a ' || object_type as OBJ_DESC, object_id
from test_table;
--5000 Rows fetched
select operation, options, object_name, object_alias, object_instance, object_type, optimizer, depth, position, cost, cardinality, cpu_cost, io_cost
from plan_table;
OPERATION OPTIONS OBJECT_NAME OBJECT_ALIAS OBJECT_INSTANCE OBJECT_TYPE OPTIMIZER DEPTH POSITION COST CARDINALITY CPU_COST IO_COST
SELECT STATEMENT (NULL) (NULL) (NULL) (NULL) (NULL) ALL_ROWS 0 19 19 5000 1698651 19
TABLE ACCESS FULL TEST_TABLE TEST_TABLE@SEL$1 1 TABLE (NULL) 1 1 19 5000 1698651 19
alter table test_Table add constraint pk_object_id PRIMARY KEY (object_id);
explain plan for
select object_name || ' is a ' || object_type as OBJ_DESC, object_id
from test_table
where object_id = 26;
select operation, options, object_name, object_alias, object_instance, object_type, optimizer, depth, position, cost, cardinality, cpu_cost, io_cost
from plan_table
where statement_id = 'WITH_PK';
OPERATION OPTIONS OBJECT_NAME OBJECT_ALIAS OBJECT_INSTANCE OBJECT_TYPE OPTIMIZER DEPTH POSITION COST CARDINALITY CPU_COST IO_COST
SELECT STATEMENT (NULL) (NULL) (NULL) (NULL) (NULL) ALL_ROWS 0 2 2 1 15543 2
TABLE ACCESS BY INDEX ROWID TEST_TABLE TEST_TABLE@SEL$1 1 TABLE 1 1 2 1 15543 2
INDEX UNIQUE SCAN PK_OBJECT_ID TEST_TABLE@SEL$1 (NULL) INDEX (UNIQUE) ANALYZED 2 1 1 1 8171 1Let me know if it help or if you still have any concerns.
Regards,
P
Edited by: PurveshK on May 29, 2012 12:40 PM -
Hi All,
I want to add a footer for table in WDA. I am not using ALV. My footer will give the total of the items in the table. However, i am not able to add a footer. It also doesnt appear if i make footer visible. Please advise.
Thanks,
Prisford Pereira.>It also doesnt appear if i make footer visible.
Are you referring to the footerVisible property of the Table UI element? If so, this property no longer does anything. From the online help:
● footerVisible
This property is presently not evaluated.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/6e/ae0e422dfcdc2ce10000000a1550b0/frameset.htm
There is no built-in footer you can customize in the normal table. You would have to either added a total line to the contents of your table itself or create some UI element that appear separate from and below your Table for the output of such information. -
Can a line be added to a table?
I converted a very large Word document to .pdf, then made it into a Form (adding and editing form fields). In one table, on one page, a single line in the word document table was "greyed" and thus did not appear on the acrobat form. Is there any way of adding that single line to the table rather than go through the entire process of recreating the form after fixing it in Word?
It took more than an hour to do this (custome form fields) and I would hate to have to spend another hour just because a single line on a single table was missed.
Thank You
MogadeetAre you aware that the content, the body text, is on a different layer than the from fields. So if one replaces a page the form fields on that page remain and content behind for the form layer is replaced. Now you only need to realign the form fields as needed and add a row of additional form fields. All of the scripts for the fields. pages, and document remain unchanged.
Maybe you are looking for
-
Hi Guys, I am creating the library using object model with custom content type. When i am opening document from custom content type, the meta data fields are not displaying in the document and throwing below error. The document information panel was
-
How do I import photos from iPhone to computer?
I would like to import the photos taken on my iPhone 3G to my computer, using Windows XP. The computer does not recognize the iPhone as a camera. How do I do it again?
-
Hi I have a daily job, that runs several Warehouse Builder processes, scheduled to run at 2am each day. Normally this should complete by 9am, however if there are any performance issues, there is risk that the job may still be running at 2am the foll
-
Hi, I've got my RSS feed linked to a JPEG image that I know is far larger than 300 x 300 pixels (minimum), but it still doesn't show up when my podcast is downloaded from the iTunes store. How can I get that to work?
-
Have a new Mac Pro for 3 days. When I turn it on it is offline. I have to go in and pick the network and put password in. I have asked it to remember the password, not doing it