The retrieval function of Table
Hi,
The method is not understood though I want to apply
the retrieval function to Table.
Could you teach the method of putting the retrieval function on Table?
If the sample code etc. can be obtained if possible,
I am glad.
My best regards.
Hello BESS,
// Iterate through the table node
int size = wdContext.node<nodeName>.size();
for (int i = 0 ; i < size ; i++ )
IPrivate<viewName>.I<nodeName>Element element =
wdContext.node<nodeName>().get<nodeName>ElementAt(i);
* Get the values from each row
element.get<attributeName1> ;
element.get<attributeName2> ;
Balakrishnan
Similar Messages
-
What is the main function of table S866
Hi all,
Does anybody know the function of table S866?
Regards,
LukeDear Julius,
These Evaluations/ Evaluation structure will be used only for LIS Reportings , like Report Painters/writers Of FI. Generaly we use these Evalucations for Flexible Analyses of S&D.
by using Where_userd list we cannt find out its usage.
Thanks and Regards
Prabhu -
Hello,
I am a novice with respect to spreadsheet functions and needed a a cashflow spreadsheet. I found this one (Download Cashflow Tracker for Numbers (iWork 09).) which is perfect but the author, I suspect, has not updated his website in years. I attempted contacting him and received no reply.
I receive an error with the following function:
=SUMIF(Table 1::$Month, COLUMN()−1, $Cost)
This occurs when I enter a date in the expense or income table. Entering the date is required to make the spreadsheet work but when I do I receive an error that a number is expected when a date is entered.
Can anyone give me some advice? I would really like to use this spreadsheet.
Thanks!
SteveWhat I have found the simplest approach has been:
1. Cut the Summary by Category table and paste it into the Transaction sheet, giving something like this (after rearranging renaming, etc, as desired):
2. Make sure the links between the two table are still working, make their appearance the way you like, then duplicate that sheet for the other months. Each sheet will then have its separate set of two interconnected tables.
3. Copy paste one of the Summary tables back to the Summary sheet, rename it as desired, and set it up with formulas referencing the tables in the monthly sheets you have set up, something like this:
If you want your summary by month you would set up 12 columns in the main 'Summary by Category' table, with each column referencing a different sheet. Your Budget could be a row above each Actual figure, if you like, with difference in a row below that.
This approach keeps the formulas simple and avoids having to set up fancy SUMIFS extracting data for each month from one big Transaction table.
SG -
How to delete the data in a table using function
hi all,
i need to delete the data in a table using four parameters in a function,
the parameters are passed through shell script.
How to write the function
Thanks>
But the only thing is that such function cannot be used in SQL.
>
Perhaps you weren't including the use of autonomous transactions?
CREATE OR REPLACE FUNCTION remove_emp (employee_id NUMBER) RETURN NUMBER AS
PRAGMA AUTONOMOUS_TRANSACTION;
tot_emps NUMBER;
BEGIN
SELECT COUNT(*) INTO TOT_EMPS FROM EMP3;
DELETE FROM emp3
WHERE empno = employee_id;
COMMIT;
tot_emps := tot_emps - 1;
RETURN TOT_EMPS;
END;
SQL> SELECT REMOVE_EMP(7499) FROM DUAL;
REMOVE_EMP(7499)
12
SQL> SELECT REMOVE_EMP(7521) FROM DUAL;
REMOVE_EMP(7521)
11
SQL> SELECT REMOVE_EMP(7566) FROM DUAL;
REMOVE_EMP(7566)
10
SQL> -
How to retrieve the values from a table if they differ in Unit of Measure
How to retrieve the values from a table if they differ in Unit of Measure?
If no data is read
- Insure that you use internal code in SELECT statement, check via SE16 desactivating conversion exit on table T006A. ([ref|http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa0122493111d182b70000e829fbfe/frameset.htm])
If no quanity in result internal table
- There is no adqntp field in the internal table, so no quantity is copied in itab ([ref|http://help.sap.com /abapdocu_70/en/ABAPINTO_CLAUSE.htm#&ABAP_ALTERNATIVE_1@1@]).
- - Remove the CORRESPONDING, so quantity will fill the first field adqntp1. ([ref|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_WA.htm])
- - Then loop at the internal table and move the quantity when necessary to the 2 other fields.
* Fill the internal table
SELECT msehi adqntp
INTO TABLE internal table
FROM lipso2
WHERE vbeln = wrk_doc1
AND msehi IN ('KL','K15','MT').
* If required move the read quantity in the appropriate column.
LOOP AT internal_table ASSIGNING <fs>.
CASE <fs>-msehi.
WHEN 'K15'.
<fs>-adqnt2 = <fs>-adqnt1.
CLEAR <fs>-adqnt1.
WHEN 'MT'.
<fs>-adqnt3 = <fs>-adqnt1.
CLEAR <fs>-adqnt1.
ENDCASE.
ENDLOOP.
- You could also create another table with only fields msehi and adqntp and then collect ([ref|http://help.sap.com/abapdocu_70/en/ABAPCOLLECT.htm]) the data to another table.
Regards,
Raymond -
I have downloaded IOS7 on my iPhone and all calendar events have disappeared. The general functions of the calendar have changed and are definitely not 'user friendly'. How can I retrieve my calendar events. Will Apple improve the calendar function or revert to the previous system. Even the typing function on IOS 7 is faulty - very slow to respond to the keyboard. I no longer enjoy using my iPhone. Can anyone assist. Thank you
Very strange! All of my calendar events have reappeared. This has happened one week after downloading iOS 7
The calendar however, is not easy to use.
The typing function on the phone has become even slower. Have to wait for each letter to show on screen. -
No data Exists error while retrieving the data from a table
Hi Everyone!
I am getting "No Data Exists" error while retrieving the data from a table....where i need to check...if possible please give me example link.....please help me regarding thisHi !
thanks for ur response...
I have written vo.executeQuery for the table...My page is running but i m not getting the data....I have to select two LOV's and when I click on Go button the data has to display in the table...After the selection of LOV's when I click on Go in the table "No data exists" message is appearing...the table has the data and the query is also executing...please give info where i did the mistake.... -
What are the functions of tables in ods
Hi,
what are the functions of tables in ods.
new data table
change log table
active data table.
How 0recordmode work with these 3 tables.
and how sid will work with ods?
can anyone give detailed explanation.
please do not give sap help links.
Thanks,
madhu
ThanksHi,
new table holds the "new" loaded data in ODS. If you start a new request to load data in your ODS, it firstgoes to table new data. Then you normally activate data either manually or by process chain. Then the daa will be copied over from new to active table. The change log table holds the delta information, what will change during activation or which records will be overwritten with new data or which data is new at all.
With recordmode you can specify which update mode will be used or more excalty which delta mode will be used. SID is necessary for master data, because ODS will only hold the SID values of the used characteristivcs and not the characteristic values itselfs. It's part of normalization used in BI.
For more details I recommend to look here in SDN, go to a class or read help.sap.com pages.
Regards,
Juergen -
Function module to get the details (WTGBTR) from table COEP
Hi all,
I have to select the data from COEP table based on OBJNR, KSTAR and KOKRS.I want WTGBTR from COEP Table.
Right now Iam using select query.But i want to use function module.
Can any one please tell me is there any function module to get WTGBTR from COEP table.
Thanks.This'll work:
SELECT objnr bukrs wtgbtr
INTO CORRESPONDING FIELDS OF TABLE gt_coep
FROM coep
WHERE lednr = '00' "<========
and kokrs = '1000'
AND kstar IN ('0000810001' , '0000830001')
AND objnr IN s_objnr
AND bukrs IN s_bukrs.
Rob -
To know the functionality of table control in ABAP Objects
Hi,
Is there any technique to achieve the functionality of table conrol in ABAP Objects?
Thanks.Hello Raja
If you are using an editable ALV grid then you have the functionality of a table control and much much more.
ABAP-OO based ALV grids are much more powerful (and easier) than simple table controls.
Regards
Uwe -
Needs to have a specific table for the F4 functionality
Hi Gurus,
I have created a parameter which uses the F4 functionality.
I have used
PARAMETER: P_PARAM like T001-BUKRS.
What I need is the F4 should call a custom table and not the default search help that is being called.
Thanks in advance.
BenedictHi,
Use the below code
DATA: BEGIN OF it_bukrs OCCURS 0,
bukrs LIKE t001k-bukrs,
END OF it_bukrs.
SELECTION-SCREEN: BEGIN OF BLOCK main WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS: p_bukrs(4) TYPE c.
SELECTION-SCREEN END OF BLOCK main.
Validation Section
INITIALIZATION.
SELECT DISTINCT bukrs FROM t001k INTO TABLE it_bukrs.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BUKRS'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_BUKRS'
value_org = 'S'
TABLES
value_tab = it_bukrs
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. -
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: 37000 code: 8180 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.. [nQSError: 16001] ODBC error state: 37000 code: 1033 message: [Microsoft][ODBC SQL Server Driver][SQL Server]The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.. [nQSError: 16002] Cannot obtain number of columns for the query result. (HY000)
I have already tried to follow this thread below, but no change.
HI
In this specific report ran above the offending sql uses a CTE.
I am on 11.1.1.6.1, Windows Server 2008
Currently in testing phase in migration from 10g.
I know what the error means, just not how to resolve it or what setting may be causing this.In Physical layer, go to specific database(Physical layer's) properties, database features tab -> Un check the EXPRESSION_IN_ORDERBY_SUPPORTED.
For that failed report, go to Answers-> advance tab-> Look for 'Advanced SQL Clauses'
Check this box to issue an explicit Select Distinct
Let me know updates
If helps Pls mark correct or helpful -
Function module or BAPI that is used to update the records in RBKP table.
Hello All,
Can anybody please give me the name of any Function module or BAPI that is used to update the records in RBKP table.
Please help me
I need to change the fiscal year in RBKP table
Thanks in Advance,
Regards,
LIJOHi,
You can use the BAPIs,
BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
BAPI_ACC_INVOICE_RECEIPT_POST Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
Hope this helps.
Regards,
Renjith Michael. -
Dimension table to support Hierarchy and the aggregation functions
Hello expert,
Now I seem to know why those aggregation functions e.g. SUM, COUNT failed whenever the report is executed.
I have a fact table REJECT_FACT contains all the information of rejects:
Reject ID
Reject Category
Reject Code
Reject Desc
Site Desc
Site Code
Region Desc
Age Group
Reject Date
So I created a alias REJECT_DIM based on REJECT_FACT. After several trials, I think that the aggregation functions do not work with alias because after I remove the REJECT_DIM, the aggregation seem working.
Is my concept right? Or I am missing something? I don't understand that the data model for datawarehouse should be simple, why do we need to create many dimension tables to support the hierarchy?Hello expert,
Thank you very much for your reply.
Actually the data model is very simple. There is only one physical table REJECT_FACT. The structure is as follows:
Reject ID (NUMBER)
Reject Category (VARCHAR2)
Reject Code (VARCHAR2)
Reject Code Desc (VARCHAR2)
Site Desc (VARCHAR2)
Site Code (VARCHAR2)
Region Desc (VARCHAR2)
Age Group (VARCHAR2)
Reject Date (DATE)
The hierarchy required is as follows:
Reject Category -> Reject Code Desc -> Site Desc -> Region Desc -> Age Group -> Reject Date.
I want to produce count on each hierachy level.
How to populate the hierachy structure effectively?
Thanks...... -
Please explain what is the functionality of TABLE()
Hi all,
My name is Suman. Engg Grad 2006 passed out and now working with Microsoft.
I am new to PL/SQL. Not aware of the exact usage of TABLE().
Could any of you kindly explain me ( if possible with an implementation).
My situation : Recently when i planned to use explain plan for a query, I happened to come across this query
select * from TABLE(DBMS_XPLN.DISPLAY('PLAN_TABLE','STATEMENT_ID);
I would be grateful if you could explain me what TABLE() does generally and what it does in the above Query.
Regards,
SumanVery simplistically, it allows one to call a PL/SQL function (returning a collection), and pivot the contents of that collection into rows.
An example:
SQL> create or replace type TMyRow is object
2 (
3 object_id number,
4 object_path varchar2(4000)
5 );
6 /
Type created.
SQL>
SQL> create or replace type TMyCollection is table of TMyRow;
2 /
Type created.
SQL>
SQL>
SQL> create or replace function MyFunc( cUser varchar2 ) return TMyCollection is
2 collection TMyCollection;
3 begin
4 select
5 TMyRow( object_id, owner||'\'||object_type||'\'||object_name )
6 bulk collect into collection
7 from all_objects
8 where owner = UPPER(cUser)
9 order by
10 object_type,
11 object_name;
12
13 return( collection );
14 end;
15 /
Function created.
SQL> show errors
No errors.
SQL>
SQL> select MyFunc(USER) from dual; -- output formatted for readability
MYFUNC(USER)(OBJECT_ID, OBJECT_PATH)
TMYCOLLECTION(
TMYROW(68776, 'BILLY\FUNCTION\COUNTTYPE'),
TMYROW(92945, 'BILLY\FUNCTION\FORCECOLUMNS'),
..<snipped>..
TMYROW(61478, 'BILLY\VIEW\VTEST')
SQL> -- change the collection into a SQL type table with rows and columns
SQL> select * from TABLE( MyFunc(USER) ) where rownum < 11;
OBJECT_ID OBJECT_PATH
68776 BILLY\FUNCTION\COUNTTYPE
92945 BILLY\FUNCTION\FORCECOLUMNS
69689 BILLY\FUNCTION\FUNCTEST
63225 BILLY\FUNCTION\GETSEQUENCE
55818 BILLY\FUNCTION\HORSENAME
68782 BILLY\FUNCTION\LIST
72644 BILLY\FUNCTION\MAKESET
93331 BILLY\FUNCTION\MYFUNC
69200 BILLY\FUNCTION\PL_NVL
69476 BILLY\FUNCTION\SIEMENSDEVICETABLE
10 rows selected.
SQL>
Maybe you are looking for
-
I cannot send email in hotmail account and insert buttons dissapear after 4 seconds
I am able to receive emails in hot mail account but cannot send. This has been the case for the last two days. Have the same problem in IE. Noticed insert buttons disappear when I click on new Same in IE
-
Which is better software for brochures and PDF forms ? Photoshop or InDesign ?
Which is better software for brochures and PDF forms ? Photoshop or InDesign ? and why ?
-
View not updating in event receiver
I have created a C# SharePoint 2010 Non-sandboxed project that implements the ListAdded event receiver. What I want to do is to check the new document library and add a number of site columns to it depending on the template. (I have discovered that t
-
Basic doubt about XML file generation
Hi, I am new to Java. I am facing some trouble designing and implementing a particular problem involving XML files. Problem: I have an XML file which contains a set of properties and their default value. What I need to do is to read another file/stre
-
Out of Memory Error in Discoverer Plus
Has anyone run into and found a solution for 'OutofMemory error occured'? The java console shows - java.lang.OutOfMemoryError <<no stack trace available>> I've done some searching on Metalink and have opened an SR which pointed us to a general w