End of table in table interface
Hi ,
I have a scenario, where I want to add some rows to HTML table. I can do this by table inerface, but how do I know that I have reached end of the table .
Regards
MB
Hello,
unfortunately this is not possible via table interface, you can only change (or hide) the value of existing cells.
Can you give us a example what you want to add, maybe we can find a solution.
Regards Marcus
Similar Messages
-
Join multiple tables in odi interface
Hi All,
I am new member to Oracle to Data integrator. This is a simple question but i haven't figure out.
I have four source tables and i need to apply joins (left, right and inner)between the table s and use some operators like(and,or) but i am unable to find the this option in odi. I have written a query in SQL Developer and executed it is working fine but when i paste the query in ODI it is showing Missing Expression error.
Thanks for your help,
MadhavaHi - If you have your four source tables in your interface source your neally there, just drag a column from one table to another to create a join (any columns will do) - Then change the join properties to specify the colum = column and the join type, simple as that.
You can build your operators either into the joins (e.g AND) or you can create a filter on that column for any predicate , just drag that column from the table onto the canvas to create the filter object, then change the properties of the filter to suit your needs.
Out of interest - Where are you pasting the query into ODI? -
Tables in form interface in Smartforms
Hi
Generally for creating Tables in Form Interface in smartform , We have to create a Zstructure Or ZTable Type in SE11 and then we refer this structure in form interface. My requirement is how can we create Tables In Form Interface in smartforms
without creating Zstructure In se11. Can you please tell me is it possible , If possible then how can i do it.
Thanks & Regards
GirdhariHi friend,
If you have a driver program and you need to pass data from the driver program to the smartform then during Form interface declaration you need to specify a global parameter. Which you will be creating using SE11.
With out creating a global structure or global table type we cannot declare it. If you have all the logic with in the smartform then you can declare the table type or structure with in the form then declare it.
But once if data comes from outside then we should go for global.
So i hope you will be clear and got the answer for your question.
Thanks,
Sri Hari
Edited by: srihari.kumar on Feb 8, 2012 12:06 PM -
Incorrect End dates in WRF_HIER_NODES table
Dear SAP Gurus,
We are facing an issue where there are incorrect end date in the table WRF_HIER_NODES (Tcode WRFCHVAL) For some of the nodes, the end date showing it as 12.31.9999 instead of 31.12.9999. This is causing an issue in downstream system. Please see the screenshot below
th
Could you please share how to correct the date to 31.12.9999.
Thanks in Advance,
Regards,
Kevin EasawAny help please???
Thanks
Kevin Easaw -
Hi all,
i am facing problem while generating Test Result word document after successful execution of TestStand.
The Problem is :
i want to add rows Formatted as table headings, table headings are repeated when a table spans more than one page(marked as Red).
Example:
Page No. 1
| Test case Number | Test Step number |
| 100 | 100 |
Page No. 2
| Test case Number | Test Step number |
| 200 | 300 |
Test Result word document should generate with Table headings(marked as Red) in every pages of the document, but i am not getting as per above example.
Please through light on this.
Regards,
Susa.Hi Santiago,
Thank you very much for your valuable reply.
i want to generate MS-word report for TestStand after successful testing using MS-word2000.
Test report contains Actual values, Expected values and Pass/Fail status.
In my program i have customized all fields i can able to generate test report which contains Verification engineer name , test mode, test date, start time, end time Actual values, Expected values and Pass/Fail status.etc....
To put all values of test case number, Test step number, Actual values, Expected values and Pass/Fail status in to table for each time, i will
insert a row into table every time values arrives, once the table exceedes its page size it moves to the next page, next page should start with table row header but it start with values of above said parameters.
so i'm not able to repeat table row header for each page.
Please find the attached file for your reference.
Attched file expected.doc : This file contains what i wanted to generate MS-word report. Here table row header "Test Case Number and Test Step Number " is repeated in second page.
Attached file Actual output from source code.doc : This report generated from the source code. Here table row header "Test Case Number and Test Step Number" is not repeated in second page.
Do you know any property to set "repeat as header row at the top of each page" using MS-word ActiveX in CVI/Labwindows.
i think this information is sufficient for you,
Still if you need some information please ask me.
Thanks
Susa.
Attachments:
Actual output from source code.doc 25 KB
expected.doc 26 KB -
How to design a smartform with below tables and table-fields??
How to design a smartform and driver program using this tables and table fields
FIELD DESCRIPTION TABLE-FIELD
Tax Invoice No: vbrk-vbeln
Code vbpa-kunnr where parvw = RG
Ship To vbpa-kunnr where parvw = WE
PAN No J_1IMOCUST-J_1IPANNO for WE
ECC ,,
Range ,,
Div ,,
Excise Reg No ,,
LST No ,,
CST No ,,
Invoice No: vbrk-vbeln
Do No: vbfa-vbelv where vbeln = inv no and vbtyp_v = C get the vbeln where vbak-auart = 'ZDO'
Sales Doc Num: vbfa-vbelv where vbeln = inv no and vbtyp_v = C get the vbeln where vbak-auart = 'ZSO'
PO: vbkd-bstkd where vbeln = sales doc no
Delivery No: select vbelv from vbfa where vbeln = inv no and vbtyp_v = J
Goods Removal Dt&Time: select vbeln from vbfa where vbelv = dlv no and vbtyp_v = R Put this vbeln in mkpf and get BUDAT and CPUTM
Selection screen parameter should be : vbrk-vbeln.Hi,
First design your form interface, this is the set of fields that you need to display in your form and create this as a structure in SE11. In your print program code the logic to extract the data into this structure, this is just regular ABAP, nothing special here.
When you have your data call function module SSF_FUNCTION_MODULE_NAME to determine the name of the generated smartform function module. Then call this function module, passing the data collected into your structure. If necessary you will need to find the print parameters required and pass these too.
In your smartform you will need to use the data structure you created in SE11 as the smartform interface and design the layout required to display these fields.
Regards,
Nick -
Smartform Table; Internal table to work area
Hi,
I have created smartform with one table,in that internal table values are not moving into workarea,can anyone solve my issue.Hi Bose,
If you are populating internal table values in progarm and passing this internal table to smartforms
here is the syntax and declaration to follow
data : itab_final type standard table of type_final (some type) with header line .
Pass this under tables in your Z program,
CALL FUNCTION 'smartform name'
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
vbdkl = vbdkl
vbdpl = vbdpl
makt = makt
qals = qals
vbco3 = vbco3
TABLES
g_final = g_final
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
In Smartforms,
Declare this internal table in form interface under tables as,
G_FINAL TYPE Z_TT_FINAL_COA(table type)
And work area in global data as,
WA_G_FINAL TYPE ZFINAL_COA (structure)
Now it can be used used in table control under data column as
G_FINAL INTO WA_G_FINAL
Regards,
Sagar. -
DIFFERENCE BETWEEN TWO INTERNAL TABLES,THESE TABLES HAVE SAME FILEDS
TYPES: BEGIN OF
TY_AS_UP,
WERKS LIKE
MARC-WERKS,
MATNR LIKE
MARC-MATNR,
LGORT LIKE
MARD-LGORT,
LABST(13) TYPE C,
(MARD-LABST)
END OF TY_AS_UP.
TABLES:
1) FLAT FILE DATA.:
DATA: WA_FILEDATA
TYPE TY_AS_UP,
I_FILEDATA TYPE STANDARD TABLE OF TY_AS_UP INITIAL SIZE 0.
2) SAP DATA (SELECT QUREY)
DATA: WA_SAPDATA
TYPE TY_AS_UP,
I_SAPDATA TYPE STANDARD TABLE OF TY_AS_UP INITIAL SIZE 0.
NOTE:
I brought data to above table(2) from two internal tables I_MARC and I_MARD .
My requirement is to display difference between tables 1) and 2) based on quantity field(MARD-LABST)..
report layout:
top-of-page
plant diff qty distri.qty sap
01 -20 30 50
end-of-page
page no 1.
Kindly help me,it is urgenthi micky,
thanks for your solution.
another problem:
I could not understand below
requirement, could you please
explain me.
8) Format the report based on the display options specified in the selection screen.
a) Display option EQUAL IN QTY show report lines where the difference is between the distributor file quantity and the SAP quantity is 0.
b) Display option DIFFERENCE IN QTY show report lines where the difference between the distributor file quantity and the SAP quantity is not 0.
c) If both options are selected, show report lines where the difference is both 0 and not 0.
d) Display SKUs in the distributors file not found in SAP as Missing SKUs
regards,
saritha. -
How to create a transparent table(z table) dynamically
Hi,
Can anyone explain me how to create a transparent table(z table) dynamically in the program.
Any function module or suggestions welcome.Hi Mithun
we will not create transparent table in the program . you could do it by using native SQL in the ABAP Program . the sample is show in below .
This is a sample that show how to connect to Database directly and can use the native SQL to select , create or delete table.
PARAMETERS dbs TYPE dbcon-con_name default 'SDB'.
DATA carrid_wa TYPE scarr-carrid.
DATA lv_int TYPE i.
*Types
data: begin of ty_equi,
equipment(25) type c,
SERIALENERGY(25) type c,
end of ty_equi.
*Internal Tables
data it_equi like table of ty_equi.
data wa_equi like line of it_equi.
DATA dbtype TYPE dbcon_dbms.
SELECT SINGLE dbms
FROM dbcon
INTO dbtype
WHERE con_name = dbs.
IF dbtype = 'ORA'.
TRY.
EXEC SQL.
CONNECT TO :dbs
ENDEXEC.
IF sy-subrc <> 0.
RAISE EXCEPTION TYPE cx_sy_native_sql_error.
ENDIF.
EXEC SQL.
OPEN dbcur FOR
SELECT
EQUIPMENT,
SERIALENERGY
FROM emd.meter
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT dbcur INTO :wa_EQUI
ENDEXEC.
IF sy-subrc <> 0.
EXIT.
ELSE.
WRITE: /
wa_equi-equipment,
wa_equi-SERIALENERGY.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE dbcur
ENDEXEC.
EXEC SQL.
DISCONNECT :dbs
ENDEXEC.
CATCH cx_sy_native_sql_error.
MESSAGE `Error in Native SQL.` TYPE 'I'.
ENDTRY.
ENDIF.
Regards
Wiboon -
Do you can hel me , please?
I have a table of tables, my function is: the blak is my problem:
CREATE OR REPLACE FUNCTION DPEFN_IDENTIFICA_TABLAS
(as_cod_nivel IN varchar2,as_cod_cargo IN varchar2) Return
varchar2
IS
BEGIN
DECLARE
ls_nom_tabla varchar2(15);
ls_campo_bs varchar2(15);
ls_campo_cd varchar2(15);
valor varchar2(30);
BEGIN
Select NOM_TABLA,CAMPO_BUSCADO,CAMPO_CONDICION
into ls_nom_tabla,ls_campo_bs,ls_campo_cd
FROM pru_parametros
WHERE COD_NIVEL = as_cod_nivel and
COD_CARGO = as_cod_cargo;
Select NOM_COMER into valor
from ls_nom_tabla
where COD_DIV_DREG='6';
return ls_nom_tabla ||','|| ls_campo_bs ||','|| ls_campo_cd;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETURN 'No data';
when others then
return 'Otros';
END ;
END ;
in other case , my query, maybe:
Select (select CAMPO_BUSCADO FROM pru_parametros
WHERE COD_NIVEL = '30' and
COD_CARGO = 'no')
from (select a1000701 FROM pru_parametros
WHERE COD_NIVEL = '30' and
COD_CARGO = 'no')
where (select COD_DIV_DREG FROM pru_parametros
WHERE COD_NIVEL = '30' and
COD_CARGO = 'no') ='10'
Sorry.....I not speak english very well!!Lidia, no entendi muy bien tu caso, pero quiza un compaqero de
Titulacion te pueda auxiliar, su correo es [email protected]
el se llama Oscar Ortiz, esta realizando reportes que parecen
ser tu caso...
Por otra parte, Podrias decirme si sabes o conoces alguien que
sepa acerca del Project builder, una Herramienta de Oracle para
crear aplicaciones ejecutables o de entrega, osea, el archivo
final que se entrega para que el usuario instale la aplicacion
desarrollada. Como se realiza este proceso ?
Saludos !! -
Table/tree table refresh issue
I create a table and tree table, we see the refresh happen when adding or deleting a row. We are trying to reach the following behavior:
1) when adding a row, it should add (before or after or END) and scroll to that location and put focus on that row. In a simple case where we do not have to scroll down to some page, this should present minimal refresh
2) Deleting a row or multiple rows, should present minimal refresh
3) we don't want to fetch at all for ADD and delete rows. Only in pagination scrolling we should fetch.
Does anyone have the similar requirement for the behavior of Table /Tree table?
how do you achieve that ?Hi KRISHNA,
there is no other way as a complete page refresh with the normal APEX trees. But you could use an javascript library instead like JQuery or ExtJS.
More details here: [http://apex-at-work.blogspot.com/2009/08/apex-navigation-concepts.html|http://apex-at-work.blogspot.com/2009/08/apex-navigation-concepts.html]
or here: [http://www.e-dba.com/uk/f?p=105:1|http://www.e-dba.com/uk/f?p=105:1]
or here: [http://bassistance.de/jquery-plugins/jquery-plugin-treeview/|http://bassistance.de/jquery-plugins/jquery-plugin-treeview/]
Best regards,
Tobias -
In Smartforms can i use table type which has table inside table
Hi ,
I would like to know whether in Form Interface can we declare table type which has a table and one of its field is again a table( Nested tables)..
Can we declare like that ?? Need your suggestions please...
Rgds.,
subashYes, we can.
Check Smartform LB_BIL_INVOICE
Importing parameter IS_BIL_INVOICE TYPE LBBIL_INVOICE
Regards,
Naimesh Patel -
Very urgent: reterving data from table MKPF table
hi,
i am facing a problem in adding a code i.e. i am having a select statement which use to reterive data from MKPF but i am not able to fetch it as there,i had written code for the RSEG from where i get the Material Document No..
but now i have to take the value from the MKPF as well as it is the requierment of the code.
here is the following code which i am using right now is to reterive data from RSEG :-
SELECT BUKRS BELNR GJAHR AWKEY BUDAT XBLNR
AWTYP FROM BKPF
INTO (ITBKPF-BUKRS,ITBKPF-BELNR,ITBKPF-GJAHR,
ITBKPF-AWKEY,ITBKPF-BUDAT,ITBKPF-XBLNR,ITBKPF-AWTYP)
WHERE AWTYP EQ 'MKPF' OR AWTYP EQ 'RMRP'.
**BEGIN OF TRY CODE FOR A MATERIAL DOCUMENT**
ITDEMO-BELNR = ITBKPF-AWKEY(10).
ITDEMO-GJAHR = ITBKPF-AWKEY+10(4).
ITDEMO-XBLNR = ITBKPF-XBLNR.
SELECT LFBNR FROM RSEG INTO
(ITDEMO-LFBNR) WHERE
BELNR EQ ITBKPF-AWKEY(10) AND
GJAHR EQ ITBKPF-AWKEY+10(4) AND
XBLNR EQ ITBKPF-XBLNR AND LFBNR > 0.
CHECK SY-SUBRC EQ 0 AND ITDEMO-LFBNR IN P_LFBNR.
**END OF TRY CODE FOR A MATERIAL DOCUMENT**
Edited by: abaper2008 on Jun 10, 2008 7:42 AMhi,
i had deveoped a code for it,is correct or not?
DATA: BEGIN OF ITBKPF OCCURS 0,
BUKRS LIKE BKPF-BUKRS,
BELNR LIKE BKPF-BELNR,
GJAHR LIKE BKPF-GJAHR,
AWKEY LIKE BKPF-AWKEY,
BUDAT LIKE BKPF-BUDAT,
XBLNR LIKE BKPF-XBLNR,
AWTYP LIKE BKPF-AWTYP,
END OF ITBKPF.
DATA: BEGIN OF ITDEMO OCCURS 0,
BELNR LIKE RSEG-BELNR,
GJAHR LIKE RSEG-GJAHR,
LFBNR LIKE RSEG-LFBNR,
XBLNR LIKE RSEG-XBLNR,
END OF ITDEMO.
*******TABLE MKPF - FOR MATERIAL DOCUMENT*********
DATA: BEGIN OF ITDEMO1 OCCURS 0,
MBLNR LIKE MKPF-MBLNR,
MJAHR LIKE MKPF-MJAHR,
XBLNR LIKE MKPF-XBLNR,
END OF ITDEMO1.
START-OF-SELECTION.
BKPF
SELECT BUKRS BELNR GJAHR AWKEY BUDAT XBLNR AWTYP
FROM BKPF
INTO (ITBKPF-BUKRS,ITBKPF-BELNR,ITBKPF-GJAHR, ITBKPF-AWKEY,ITBKPF-BUDAT,ITBKPF-XBLNR,ITBKPF-AWTYP)
WHERE AWTYP EQ 'MKPF' OR AWTYP EQ 'RMRP'.
MKPF
*BEGIN OF TRY CODE FOR A MATERIAL DOCUMENT*
**begin- for bsis to be reterived**
IF ITBKPF-AWTYP EQ 'MKPF'.
ITDEMO1-MBLNR = ITBKPF-AWKEY(10).
ITDEMO1-MJAHR = ITBKPF-AWKEY+10(4).
ITDEMO1-XBLNR = ITBKPF-XBLNR.
SELECT SINGLE MBLNR FROM MKPF INTO (ITDEMO1-MBLNR)
WHERE MBLNR EQ ITBKPF-AWKEY(10)
AND MJAHR EQ ITBKPF-AWKEY+10(4) AND XBLNR > 0.
CHECK SY-SUBRC EQ 0 AND ITDEMO1-MBLNR IN P_LFBNR.
**end - for bsis to be reterived**
ELSE.
ITDEMO-BELNR = ITBKPF-AWKEY(10).
ITDEMO-GJAHR = ITBKPF-AWKEY+10(4).
ITDEMO-XBLNR = ITBKPF-XBLNR.
SELECT LFBNR FROM RSEG INTO
(ITDEMO-LFBNR) WHERE
BELNR EQ ITBKPF-AWKEY(10) AND
GJAHR EQ ITBKPF-AWKEY+10(4) AND
XBLNR EQ ITBKPF-XBLNR AND LFBNR > 0.
CHECK SY-SUBRC EQ 0 AND ITDEMO-LFBNR IN P_LFBNR.
END OF TRY CODE FOR A MATERIAL DOCUMENT**
APPEND ITDEMO1.
EXIT.
ENDSELECT.
ENDIF.
APPEND ITDEMO.
EXIT.
ENDSELECT.
APPEND ITBKPF.
ENDSELECT.
Edited by: abaper2008 on Jun 10, 2008 10:19 AM -
Using extend option with PL/SQL table of tables
Hi,
I have a PL/SQL table of tables sructure on which I want to use extend option available with PL/SQL tables.
But I am not able to do so. Could anyone help?
Below is sample code given.
Type RA_TABLE is table of CALL_DETAIL_EXCEPTION.IC_CIRCT_GR_CD%TYPE;
TYPE tab_of_RA_TABLE IS TABLE OF RA_TABLE;
for idx in 1..cnt_interval Loop
query1:='select Trunk_info from dbl.vw_cgi v where not exists (select 1 from dbl.varun f
where f.ic_circt_gr_cd= v.TRUNK_INFO and f.call_gmt_dnect_dt_time between
to_date('''||stime||''',''yyyymmddhh24miss'') and to_date('''||etime||''',''yyyymmddhh24miss''))';
execute immediate query1 bulk collect into Outer_table(idx);
ra_cnt_1:= Outer_table(idx).count;
diff:= max_cnt-RA_CNT_1;
dbms_output.put_line('idx: '||idx);
dbms_output.put_line('diff: '||diff);
if diff>=1 then
Outer_table(idx).extend( Diff);
end if;
end loop;
The extend doesnt work.
Please help!!Hi,
I have a PL/SQL table of tables sructure on which I want to use extend option available with PL/SQL tables.
But I am not able to do so. Could anyone help?
Below is sample code given.
Type RA_TABLE is table of CALL_DETAIL_EXCEPTION.IC_CIRCT_GR_CD%TYPE;
TYPE tab_of_RA_TABLE IS TABLE OF RA_TABLE;
for idx in 1..cnt_interval Loop
query1:='select Trunk_info from dbl.vw_cgi v where not exists (select 1 from dbl.varun f
where f.ic_circt_gr_cd= v.TRUNK_INFO and f.call_gmt_dnect_dt_time between
to_date('''||stime||''',''yyyymmddhh24miss'') and to_date('''||etime||''',''yyyymmddhh24miss''))';
execute immediate query1 bulk collect into Outer_table(idx);
ra_cnt_1:= Outer_table(idx).count;
diff:= max_cnt-RA_CNT_1;
dbms_output.put_line('idx: '||idx);
dbms_output.put_line('diff: '||diff);
if diff>=1 then
Outer_table(idx).extend( Diff);
end if;
end loop;
The extend doesnt work.
Please help!! -
in the previous version of Number, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?
Hi silvano,
If you use a regular pattern when entering values, press enter (return) after entering the last value in a row. That will take you to the first Body Cell of the next row.
Start in Cell B2
1 Tab 2 Tab 3 Enter
4 Tab 5 Tab 6 Enter
7 Tab 8 Tab 9 Enter
Now you are ready to type into B5 .
Another way that some people find easier is to enter one column at a time
Start at B2
1 enter
4 enter
7 enter
etc.
Now start with C2.
Use whatever suits your work flow.
Regards,
Ian. -
Dear All,
I created one table like
create table cls_lrn_tab_unique (F_no number unique UK_F_NO );
after performing some operations I want to delete the same.
At that time i got following error. Please help me and tell what is the reason for the error.
ORA-00604 error occured at recursive level1
ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,
ORA-06512 at line no 2
Thanks and Regards
Prasad26bffcad-f9a2-4dcf-afa0-e1e33d0281bf wrote:
Dear All,
I created one table like
create table cls_lrn_tab_unique (F_no number unique UK_F_NO );
after performing some operations I want to delete the same.
At that time i got following error. Please help me and tell what is the reason for the error.
ORA-00604 error occured at recursive level1
ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,
ORA-06512 at line no 2
Thanks and Regards
Prasad
ORA-20123 is a localized/customized error code & message; therefore any solution depends upon what is unique inside your DB now.
I suspect that some sort of TRIGGER exists, which throws posted error, but this is just idle speculation on my part.
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002
Maybe you are looking for
-
Need to find pro tax prep software compatible w/Macs. My software maker, Drake, does not have Mac version. I've checked Pro-Series (no) and maybe 1 other. I don't want to spend Lacert kind of $$ (neither do the majority of longtime Lacert users appar
-
the URL in question has been allowed in Pop-up blocker. This is a major problem as I am trying to access Contract Notes and it is therefore extremely important that i get a very quick solution to this problem.
-
Sap Makit Chart Data Plotting Issue
Hello All, I have been facing an issue while plotting data in Sap Makit Chart, As the number of data to be plotted is very large i.e around 300 values. This is how it plots.... But unfortunately all data are not getting plotted although the width of
-
Javac 6.0 too slow using mapped network drive
Hi. I think that this may be a bug, but may be someone here could help me first. I have one class repository in my network with about 30,000 classes, all in same package. This repository is used as a network mapped drive in all developers machines. T
-
I installed JDeveloper323 and Oracle9i Management Pack on my Window2000 PC. All database connections using OCI8 in the JDeveloper projects failed, and got the error messages such as "oracore8.dll not found in the path...". But I can get them to work