Select Tables for reduction
Hi ,
in step "Select Tables for Reduction" , each table has to be selected one- by- one for reduction.
Is there any functionality to select more than ONE tables starting with Custom Name Space and mark them for "NO Transfer" ?
Possibly with help of maintenance view, table behind above logic can be used...
any input appreciated...let me know if need more explanation...
thank you !
Regards, Santosh
Hi,
This functionality was developed in order to cater to all 3 requirements i.e.
a. The customer may choose to transfer some tables in full -> There are some tables which cannot be set to Full Transfer. So in order to do this verification, it becomes necessary to run a check on the chosen table when the user selects that table which is only possible on choosing one table at a time.
b. Change the reduction criteria for a table -> Now, here we may have differnet reduction criterias / Selection Groups for a single table. This identification of selection groups too is only possible on a table to table basis.
c. Set a table to No Transfer -> Let us assume a situation where we have parent - child relationship between 2 tables. In case the parent was set to "No Transfer" via a maintainence view, then it would result in no data being transferred for the child table either. This inturn might lead to further inconsistencies. Thus, in order to be on the safe side, we have to do it one table at a time currently.
So keeping in mind all the 3 requirements and to maintain simplicity, this was the approach chosen.
Also, we would also like to inform you that this requirement has been taken up with high priority for the new release of TDMS (i.e. TDMS 4.0 which is scheduled to be released next year) and have already started working on arriving at a solution keeping in mind all the above limitations.
Thanks & Regards,
Suman
Similar Messages
-
How can Select tables for master item
Hello
We have EBS R12
and i have reports builder, i just want to view all master items using reports builder since many tables are in the database
how can check or select exact tables
thanksIf you tried to make a purchase from Apple.com, they offer you the opportunity to add a second credit card if you have one. If you do not have one, then you need to contact the back or institution that handles your credit card for them to approve the purchase.
Just so you know, you are not addressing Apple here, we are users like you. -
ABAP: create Popup for Input in selection Table for longer strings
Hello,
I am new in ABAP programming.
I have created an application with SE38, in this application I call a table from an selection-screen. I pass a variable which I got from the selection-screen and call data from an InfoProvider that I have created.
Now in this table the user has to enter some data into certain fields.
There is a character field with a length of 60. This is not enough.
I know that it is possible to have an InfoObject with attributes and split a string into the attributes to transport string with a longer length than 60.
But my inputfield in the table doesn't give me the possiblity to enter data that is longer.
So I am asking here if it is possible to access that field and call an inputfield somehow?
I need an inputfield where I can enter data that is longer than 60 characters (maybe about 600) and after submitting it has to be splittet into several hidden fields. After saving of the table I will call a process-chain which will transfer the data from the table back into the InfoProvider.
If you need any more informations about my application please let me know, I don't know if my question is clear enough..
Regards
MartinYou posted at wrong forum. please repost your issue at below forum.
ABAP Development -
Use of selection table with 4 fields
Hi everyone
Can someone please explain to me what is the use of the seltab 4 fields, how they are used and provide an example, cos Im kinda struggling understanding them...
Thanks in advance
AdamHi,
Explicity there is a selection table for select-options that is seltab and it have sign, low, high, and option.
Actually these values are also available in ranges.
Just to explain you go through this info.
What are the difference between SELECT-OPTIONS & RANGES?
Here both SELECT-OPTIONS & RANGES works for the same purpose. They both are used for the range selection from selection screen. The main diff. between them is, while we use SELECT-OPTIONS system implicitly creates the select options internal table which contains the fields of SIGN,OPTION,LOW & HIGH. But in case of RANGES, this internal table should be defined explicitly.
Eg. to SELECT-OPTIONS :
REPORT YARSELECT.
TABLES YTXLFA1.
SELECT-OPTIONS : VENDOR FOR YTXLFA1-LIFNR.
INITIALIZATION.
VENDOR-LOW = 1000. " It specifies the range starting value.
VENDOR-HIGH = 2000. " It specifies the range ending value.
VENDOR-OPTION = 'BT'. " specifies ranges value is in between.
VENDOR-SIGN = 'I'. "specifies both inclussive.
APPEND VENDOR.
SELECT LIFNR LAND1 NAME1 FROM LFA1 INTO TABLE ITAB
WHERE LIFNR IN VENDOR.
Eg. to RANGES:
REPORT YARRANGE.
TABLES YTXLFA1.
RANGES: VENDOR FOR YTXFLA1-LIFNR.
SELECT LIFNR LAND1 NAME1 FROM LFA1 INTO TABLE ITAB
WHERE LIFNR IN VENDOR.
Here with RANGES user has to design an internal table with fields -
SIGN,OPTION,LOW and HIGH EXPLICITLY.
>
Example:
select-options: bukrs for zstock-bukrs.
Should the user fill in 'ABFI' in BUKRS on the selection screen, BUKRS will look like this:
IEQABFI
This is because BUKRS is set as a table as follows:
begin of bukrs occurs 0,
SIGN(1) type c,
OPTION(2) type c,
LOW like bukrs,
HIGH like bukrs,
end of bukrs.
Now, when you create the following range, it will have the exact same fields set inside its table:
Ranges: bukrs for zstock-bukrs.
The difference is, because ranges doesn't show on the selection screen, you will have to fill it yourself, meaning you will have to fill bukrs-sign, bukrs-option, bukrs-low & bukrs-high all manually.
Some tips:
Sign is always I (for Include) or E (for Exclude)
Option can be a whole range, which includes:
EQ (Equal)
BT (Between))
CP (Contain Pattern)
So let's say you want to have the range check for all company codes not starting with AB, you will set your code as follow:
ranges: bukrs for zstock-bukrs.
bukrs-sign = 'E'. "Exclude
bukrs-option = 'CP'. "Pattern
bukrs-low = 'AB*'. "Low Value
bukrs-high = ''. "High Value
append bukrs.
Always remember to APPEND your range when you fill it, as the WHERE clause checks against the lines of the range table, not against the header line.
Hope this explains it well enough.
>
What does SIGN "I" & "E" mean?
The "I" stands for Include, and the "E" for Exclude.
The easiest way to learn how the range selections work is, create the following dummy program:
report dummy.
tables: mara.
select-options: matnr for mara-matnr.
start-of-selection.
loop at matnr.
write: / matnr-sign,
matnr-option,
matnr-low,
matnr-high.
endloop.
Run this program, and fill in a lot of junk into MATNR. Fill in some includes, some excludes, some ranges, etc., and you will soon realise how the system builds ranges (select-options). Once you know that, you can fill your own ranges quickly and efficiently.
Hope this info helps.
Regards,
Kumar. -
HRESS Pay Statement - Add new Column in Overview and Selection table
Hello,
I want to add a column in the "Overview and selection" table for a pay statement service. I want to add field called "off-cycle reason" (OCCAT field from pay result).
Is there any work around to do the same?
I feel we may need to implement a BADi to do so.
Thanks,
BhushanHi Bhsuan,
Please refer to the below link.
http://scn.sap.com/thread/1486215
The badi XSS_REM_INTERFACE needs to be implemented.
Regards,
Ananth -
USING WITH SELECTION-TABLE rspar
Hi,
I want to Submit a report via selection screen filling the selection screen values.
Do let me know how to fill the selection-table and pass it.
Thanks & Regards,
SPHi,
SAP keyword docu explains it clearly.......
... WITH SELECTION-TABLE rspar
Effect
If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
SELNAME (length 8),
KIND (length 1),
SIGN (length 1),
OPTION (length 2),
LOW (length 45),
HIGH (length 45).
To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
Cheers,
jose. -
While selecting Frame for Table in Smartform
hi
While i am selecting Frame for Table in Smartform , it displaying very Bold frame.
wat is the reason,
guide mehi,
do this steps,
->first in the shading of the table select white color
->provide the saturation as 100
->select the pattern and select any one of the pattern
->and then check the output
you will get the required do this in the same fashion i explained
Thanks,
Nethaji. -
"Dependecies" tab doesn't show any information for a selected table version 4.0
Hello,
I work with SQL Developer 4.0.0.13. I can see 20 tables in the list. When I select one table, in the tabs on the right side I can see information for "columns" and "data" and "constraints" and "indexes"... but the tab "Dependencies" doesn't show any information about references between this table and other tables in the schema.
Oracle database is v11.2
Can you please tell me what do I need to do in order to see information on "Dependencies" tab for a table?
Thank you,
MilanHi, here is my example of XML extension showing referencing tables:
Save the following XML to a file.
<items>
<item type="editor" objectType="TABLE">
<title><![CDATA[*Referencing Tables]]></title>
<query>
<sql><![CDATA[SELECT
cfk.owner "OWNER",
cfk.table_name "TABLE NAME",
cols.column_name "COLUMN",
cfk.constraint_name "CONSTRAINT NAME",
cfk.delete_rule "DELETE RULE",
'SQLDEV:LINK:' || cfk.owner || ':TABLE:' || cfk.table_name ||
':oracle.dbtools.raptor.controls.grid.DefaultDrillLink' "LINK"
FROM
sys.all_constraints cpk,
sys.all_constraints cfk,
sys.all_cons_columns cols
WHERE
cpk.owner = :OBJECT_OWNER AND
cpk.table_name = :OBJECT_NAME AND
SUBSTR(cpk.table_name, 1, 4) != 'BIN$' AND
SUBSTR(cpk.table_name, 1, 3) != 'DR$' AND
cpk.constraint_type in ('P', 'U') AND
cfk.r_owner = cpk.owner AND
cfk.r_constraint_name = cpk.constraint_name AND
cfk.constraint_type = 'R' AND
cols.owner = cfk.owner AND
cols.constraint_name = cfk.constraint_name
ORDER BY
cfk.owner, cfk.table_name, cfk.constraint_name,
cols.column_name]]>
</sql>
</query>
</item>
</items>
In SQLDeveloper select Preferences -> Database -> User Defined Extensions and click <Add Row>.
In the "Type" field enter "EDITOR" and in the "Location" field enter the path to the file with XML.
After restarting SQLDeveloper You should see a new tab "*Referencing Tables" for tables. -
I've been utilizing the below script (thank you so much Ramkumar. P!) to set column widths throughout a sizable InDesign book with tables on every page and it is truly a time saver. At this point in time, I have three versions of it because there are different column widths throughout the book. Is it possible to augment the script to run only on a selected text frame (containing a table)? If so, would someone be kind enough to share the augmented script with me? I've been trying to figure out this seemingly simple change through trial and error with no success as yet. I realize this is a totally newbie request and I'm entirely at the mercy of the kindness of the Javascript gods that contribute within this forum. Seeing that in a different post related to this script, one such guru responded to a request as simple as "Where do I put the scripts in InDesign" gave me enough courage to ask for some help! Thank you in advance to anyone willing to provide a solution.
var myDoc = app.activeDocument;
var myWidths = [100, 100, 150, 150];
for(var T=0; T < myDoc.textFrames.length; T++){
for(var i=0; i < myDoc.textFrames[T].tables.length; i++){
for(var j=0; j < myWidths.length; j++){
myDoc.textFrames[T].tables[i].columns[j].width = myWidths[j];
alert("Table width updated successfully...");Hello all
I have the same problem in that I'm not a scripting person, but was able to get the above script working without problem, and it does set irregular table column widths perfectly, so thanks to Ramkumar. P for that.
BUT, it changes the column width for ALL tables in the document, whereas I would like to just target the selected table.
Any ideas as to how I might amend this script to achieve this?
Thx, Christian -
Querying many tables at once from a select statement for specific values
Hi all,
I'm very new to PL/SQL and have a daunting task ahead of me. I'm pretty sure our database normalization scheme is all out of whack, which I dont have the experience to fix yet, but this is the task ahead of me without getting to change or fix our structure:
in the universe has 1000+ tables.
need--> Some of those tables have fields that contain a value that has to be changed.
The only thing I have to go on is the column name will contain 'EMP'... but there is no specific naming convention for the column names.
When I search on:
select * from all_tab_columns where column_name like UPPER('%EMP%')
It returns 750 rows. (So 750 rows = 750 columns in 500 different tables (some tables have 2 or more columns in it))
tables names are random (table1, table2, etc).
columns names are random with EMP in it (column1,column2,etc).
I have 75 possible field values that I need to check each of those 750 columns for.
Maybe this is too messy, but I'm looking at subqueries, joins, arrays, cursors, etc, anything to minimize the amount of work I have to do.
I think this is too much to do a join with, but that seems to be what all the documentation is pointing me to.
can you point me to a simple example of what i could
write?
the logic i see it would be
run the select statement to grab the column names that meet EMP.
one at a time, search each column in the corresponding table for the 75 values.
return the results of rows for each column/table that meet one of the 75 unique values.
I'll have to also update each of the 75 values to (used to be values 1, 2, 3 ... to new values X1, X2, X3, etc.)
Any help at all would be very helpful,
aspiring pl/sql programmer but having a rough time of itI think you're looking to do something like the following pseudocode:
BEGIN
FOR tblrec IN (SELECT table_name, column_name
FROM all_tab_columns
WHERE column_name LIKE '%EMP%')
LOOP
FOR rec IN (SELECT ROWID
FROM tblrec.table_name
WHERE REGEXP_LIKE(tblrec.column_name, '(expr1|expr2|...)')
LOOP
DBMS_OUTPUT.PUT_LINE(
'Found expression on ROWID ' || rec.rowid
|| ' in column ' || tblrec.column_name
|| ' on table ' || tblrec.table_name);
END LOOP;
END LOOP;
END; -
Select query for fetching from 3 tables.
Can we have a single Select query for fetching same fields (kappl,kschl,vkorg,vtweg,spart,kunwe,datbi,knuma,datab,knumh)
from 3 tables >> KOTE707,KOTE708 and KOTE709 into an internal table for a particular KUNNR?
Regards,
Shashank.Hi,
If you have kunnr field in all the 3 tables then it is possible. use inner join as below
PARAMETERS: p_cityfr TYPE spfli-cityfrom,
p_cityto TYPE spfli-cityto.
DATA: BEGIN OF wa,
fldate TYPE sflight-fldate,
carrname TYPE scarr-carrname,
connid TYPE spfli-connid,
END OF wa.
DATA itab LIKE SORTED TABLE OF wa
WITH UNIQUE KEY fldate carrname connid.
SELECT c~carrname p~connid f~fldate
INTO CORRESPONDING FIELDS OF TABLE itab
FROM ( ( scarr AS c
INNER JOIN spfli AS p ON p~carrid = c~carrid
AND p~cityfrom = p_cityfr
AND p~cityto = p_cityto )
INNER JOIN sflight AS f ON f~carrid = p~carrid
AND f~connid = p~connid ).
LOOP AT itab INTO wa.
WRITE: / wa-fldate, wa-carrname, wa-connid.
ENDLOOP.
<b>Reward Points if this helps,</b>
Satish -
Creating a generic selection listener for af:table
Hi,
I'm using JDeveloper 11.1.1.5.0, and I have a simple requirement to set up a custom selection listener for an af:table component.
So far, I was doing this by using a custom function to invoke the EL to perform the makeCurrent operation. However, I came across Frank Nimphius' PDF on how to build a generic selection listener, and this seemed like a better way to go about it. The problem is, the CollectionModel class used in the sample code is now deprecated. Is anyone aware of the currently supported way to implement a generic selection listener?
Thanks,
Gillthis snap shot of the code i write it to get the current employee id whcich is selected
public void select(SelectionEvent selectionEvent) {
// Add event code here...
RichTable _table = (RichTable)selectionEvent.getSource();
CollectionModel _tableModel = (CollectionModel)((RichTable)selectionEvent.getSource()).getValue();
JUCtrlHierBinding _adfTableBinding = (JUCtrlHierBinding)_tableModel.getWrappedData();
DCIteratorBinding _tableIteratorBinding = _adfTableBinding.getDCIteratorBinding();
//Acess the ADF iterator binding that is used with ADF table binding
Object _selectedRowData = _table.getSelectedRowData();
JUCtrlHierNodeBinding _nodeBinding =
(JUCtrlHierNodeBinding)_selectedRowData; //get the row key from the node binding and set it //as the current row in the iterator
Key _rwKey = _nodeBinding.getRowKey();
_tableIteratorBinding.setCurrentRowWithKey( _rwKey.toStringFormat(true));
DCIteratorBinding it = _adfTableBinding.getDCIteratorBinding();
System.out.println( it.getCurrentRow().getAttribute("EmployeeId"));
}this code i written 11.1.2 -
How to set BDCDATA table for a SELECT-OPTIONS object?
Dear experts,
I have a transaction with PARAMETERS and SELECT-OPTIONS objects. This transaction will be called by another program by using CALL TRANSACTION 'mytransaction' USING mybdcdata statement. Below is some of the called transaction's source code:
DATA:
date TYPE sflight-fldate.
PARAMETERS:
p_carid TYPE sflight-carrid,
p_conid TYPE sflight-connid.
SELECT-OPTIONS:
so_date FOR date.
This is what I wrote in the calling program to define the values of the called transaction PARAMETERS fields:
DATA:
wa_bdcdata TYPE bdcdata,
it_bdcdata TYPE TABLE OF bdcdata.
wa_bdcdata-program = 'MYPROGRAM'.
wa_bdcdata-dynpro = '1000'.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'P_CARID'.
wa_bdcdata-fval = 'AA'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'P_CONID'.
wa_bdcdata-fval = '017'.
APPEND wa_bdcdata TO it_bdcdata.
CALL TRANSACTION 'MYTRANSACTION' USING it_bdcdata.
Unfortunately, I don't know how to set the values for the SELECT-OPTIONS screen fields. How to do this?
I've Googled this and tried several guesses but none was found or successful. Thanks in advance.
Regards,
HarisHi ,
Better go for SUBMIT report instead of CALL transaction ...
find the name of report being called on that transaction which you will be calling . Use that report name in SUBMIT
Just take help from below code .
Before using do please read by pressing f1 on SUBMIT syntax .
data:seltab type table of rsparams,
seltab_wa like line of seltab.
move: 'LANGU' to seltab_wa-selname,
'S' to seltab_wa-kind,
'I' to seltab_wa-sign,
'BT' to seltab_wa-option,
'D' to seltab_wa-low,
'I' to seltab_wa-high.
append seltab_wa to seltab.
clear seltab_wa.
move: 'E' to seltab_wa-sign,
'EQ' to seltab_wa-option,
'F' to seltab_wa-low,
space to seltab_wa-high.
append seltab_wa to seltab.
clear seltab_wa.
move: 'AUFNR' to seltab_wa-selname,
p_aufnr to seltab_wa-low.
append seltab_wa to seltab.
clear seltab_wa.
submit rkaep000 using selection-set 'VARIANT1'
with aufnr = p_aufnr
with selection-table seltab
exporting list to memory
and return .
regards
Deepak. -
How to make select-option for one inner table
Hi,
Who can teach me to make select-option for a inner table, which let select-option display data from this inner table.
Thanks in advance.Is this what you are looking for?
report zrich_0002.
data: begin of itab occurs 0,
matnr type mara-matnr,
spras type makt-spras,
maktx type makt-maktx,
end of itab.
select-options: s_matnr for itab-matnr.
select-options: s_spras for itab-spras.
start-of-selection.
select mara~matnr makt~spras makt~maktx
into corresponding fields of table itab
from mara
inner join makt
on mara~matnr = makt~matnr
where mara~matnr in s_matnr
and makt~spras in s_spras.
check sy-subrc = 0.
Regards,
Rich Heilman -
Selection groups for tables and header tables
A couple of questions or rather observations around Selection Groups for tables and conversion objectu2026
1) For tables that do not really have a date field, for instance table PDSNR, it appears that you cannot specify a selection group. Consequently, you have to transfer the table in its entirety. Is this something that can be modified via customizing?
2) And what about the header tables, for example, X_ANLC, I have tried but not able to change the selection groups on these objects.
Thanks!
HarmeetHi Harmeet.
Since you mention you can only filter by date I am assuming you are using TDTIM.
How would you want to filter PDSNR, for example? Would it want to filter all entries >= a given sequence number?
The only way I know to do that is to work directly with the configuration tables. In your case you will need to use CNVMBTSEL* tables. Check how the standard selection groups are configured, and it should not be too difficult to follow the same logic and create your own selection groups.
CNVMBTSELGRP MBT PCL Selection groups (main table to create the selection group)
CNVMBTSELMEMTYPE MBT PCL Selection group member types (main table to define members => fields for the selection group)
CNVMBTSELGRPDEF MBT PCL Selection group definition (definition of the fields in that selection group)
CNVMBTSELGRPVAL MBT PCL Selection group values (values for each field; you can use GE for >=)
CNVMBTSELCLAUSE MBT PCL Selection group clause (should also be straightforward if you are using only one field)
CNVMBTSELVAR MBT PCL Selection group variants (configure the same variant for your selection group as for the others)
CNVMBTSELREF MBT PCL Selection group reference (assignment of selection group to conversion object)
Hope this helps,
Rui Dantas
Maybe you are looking for
-
Formatting first-paragraph indent in Pages for iPad
I've read the instructions in Pages for iPad's help, which instructs users to highlight a paragraph or paragraphs and then drag the first-line indentation symbol to the desired indent. However, I'm unable to get the first-line indent symbol to move i
-
Is there a way in which I can run the following program from within an HTML web site. The code is from /* From http://java.sun.com/docs/books/tutorial/index.html */ However I have changed some of it and wish to run it from within a web-site I am buil
-
Hi, I have a java mail program to send mail containing images.Requirement is the images in the mail should be shown in the body ,but not as an attachment. Mails sent to gmail shows up the image in the body ,but mails sent to yahoo shows them as attac
-
Confirmation control (PO) Mandatory: exemption
Hello, We have made the 'Confirmation control' mandatory in PO (create/change). But is it possible for few users able to process the PO without 'Confirmation control'. Actually these users, usually take the ConfContK out u2013 to raise the invoice. R
-
ME21N-ME51N - change value of field at item level
Hello All, We create a purchase requisition from a sales order and after a purchase order in reference to the purchase requisition. We would like to have the sales order number in the EBAN-BSTNR and/or in EKPO-BEDNR. We found some user-exits but it s