How to call dynamically TablerowCount using Table view
Please help me urgent
I have one abc.htm view
==================
<htmlb:group>
<htmlb:groupBody>
<htmlb:tableView
id = "tv1"
columnHeaderVisible = "TRUE"
design = "alternating"
fillUpEmptyRows = "TRUE"
footerVisible = "TRUE"
headerVisible = "TRUE"
table = "<%= t_maintain %>"
iterator = "<%= iterator %>"
visibleRowCount = "<%=model->G_NO_SIMILARSUBNO%>"
width = "100%"
selectionMode="singleSelect"
filterButtonText = "Go"
filterButtonTooltip = "Filter content"
tableLayout = "AUTO"
/>
In this view i want to call visibleRowCount = "12".. User is going to give this rowcount dynamically through his page textbox.. How can i do this ?How can i paas the counting variable here..
Similar Messages
-
How to Create Dynamic form using table data
Dear All,
I have one Table called PRODUCT_MASTER where product details are stored. Say product A,B,C,D are stored in the table. Another table called SUB_PRODUCT_MASTER, which contains sub product details.Say A1,A1,B1,B2, B3,C1, C2, C3, D1,D2,D3.
Now, I want to create a dynamic form based on product,sub product. for a whole month. For better under standing here is the format.
PRODUCT A B C D
SUB_PROD A1 A2 B1 B2 B3 C1 C2 C3 D1 D2 D3
Days
1 x x x x x x x x
2
3
4
5
6
7
Now whenever I add one row in the PRODUCT)MASTER table and SUB_PRODUCT_MASTER table, Form should add one column in the form automatically. e.g. If I add Product E with two Sub product E1 and E2 then form should add ptoduct E column in the form with sub products E1 and E2 as per above format. Here days are fixed to 31. This forms should accept product wise daily despatch entry. For
storing despatch entry another table is created.
Please help to create this type od forms.You want I believe to create Croos-Table(Matrix) form. Visit Cross-table (matrix) forms layout and add "Please Send me too".
-
How to create dynamic screen using module pool programming
Hi,
Could anybody help me how to create dynamic screens?
I am developing a screen with HR Person with assignment info. If PERNR have multiple assignments, i need to show all the details one by one. How to show the details on screen. I need to call one by one assignment information dynamically.
Please suggest me how to do, apart from using table controls.
Thanks,
KamalYou may have the below options:
1) Table Control
2) Individual fields
3) ALV
4) pop-up screen -
How to create dynamic nested internal table
Hi Experts,
Pleae tell me or give sample code, how to create dynamic nested internal table ?
I have seen threads saying creation of dynamic internal tables using some table structure only. But now the requirement is to create dynamic nested internal table.
For example the internal table contains two fields viz., one is field1 of dynamic internal table and other is normal field2 and values as shown below:
Nested internal table:
field1 | field2 ...
<table content1> | value2..
<table content1> | value2..
Here the [table content] should also a dynamic internal table.
Let me know if you need any other info.
regards
Saravanan Rsee the complete code..i am currently working in ECC6.0 EHP4. just check which version you are using..
REPORT yst_test_000.
DATA:
lt_comptab TYPE cl_abap_structdescr=>component_table,
ls_comp LIKE LINE OF lt_comptab,
lref_newstr TYPE REF TO cl_abap_structdescr,
lref_tab_type TYPE REF TO cl_abap_tabledescr,
lt_fcat TYPE lvc_t_fcat,
ls_fcat TYPE lvc_s_fcat,
ls_dd03p TYPE dd03p,
lt_data type ref to data.
field-symbols: <fs_table> type standard table.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'SCARR'
CHANGING
ct_fieldcat = lt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT lt_fcat INTO ls_fcat.
IF ls_fcat-ref_table IS NOT INITIAL.
CLEAR ls_dd03p.
CALL FUNCTION 'BUS_DDFIELD_GET'
EXPORTING
i_tabnm = ls_fcat-ref_table
i_fldnm = ls_fcat-fieldname
IMPORTING
e_dd03p = ls_dd03p
EXCEPTIONS
field_not_found = 1
OTHERS = 2.
IF sy-subrc EQ 0.
ls_comp-name = ls_fcat-fieldname.
ls_comp-type ?= cl_abap_datadescr=>describe_by_name( ls_dd03p-rollname ).
APPEND ls_comp TO lt_comptab.
CLEAR ls_comp.
ENDIF.
ELSE.
ls_comp-name = ls_fcat-fieldname.
ls_comp-type ?= cl_abap_datadescr=>describe_by_name( ls_fcat-rollname ).
APPEND ls_comp TO lt_comptab.
CLEAR ls_comp.
ENDIF.
ENDLOOP.
*Now for the Field which you want deep table then you can do like this
ls_fcat-fieldname = 'NESTED_TABLE'.
ls_fcat-inttype = 'C'.
ls_fcat-intlen = '000006'.
ls_fcat-rollname = 'SFLIGHT_TAB1'. "For SFLIGHT
APPEND ls_fcat TO lt_fcat.
ls_comp-name = ls_fcat-fieldname.
ls_comp-type ?= cl_abap_datadescr=>describe_by_name( ls_fcat-rollname ).
APPEND ls_comp TO lt_comptab.
CLEAR ls_comp.
lref_newstr = cl_abap_structdescr=>create( lt_comptab ).
lref_tab_type = cl_abap_tabledescr=>create( lref_newstr ).
create data lt_data type handle lref_tab_type.
assign lt_data->* to <fs_table>.
break-point.
Edited by: Vijay Babu Dudla on Apr 28, 2009 8:05 AM -
By using Table view , Disply Coloumn Total
Hi,
I am displaying data by using table view, now i need to display total amount for particular currency column,
right below that column.
pls reply on this regard, if possible send me code...
Thanks in Advance
SHi Srinivas,
For this you need to use iterator....
Go through this Weblog on how to use the iterator...
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
Hope it helps you.
Regards,
Maheswaran.B -
How to create dynamic connection in business view manager.
Hi Sir,
Can u explain how to create dynamic connection in business view manager.
Thanks
Vishali Raghava RajuHI Vaishali,
Can you please elaborate your requirement ?
-Regards
B -
Hi Folks,
I m getting this problem frequently when i m using table view in reports. Im using SQl server2008 and working on BIApps.
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
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: 28000 code: 18456 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'DWH'.. (HY000)
SQL Issued: SELECT 0 s_0, "Financials - AP Overview"."Time"."Fiscal Quarter" s_1, "Financials - AP Overview"."Time"."Fiscal Year" s_2, "Financials - AP Overview"."Facts - AP Turnover"."Days Payables Outstanding" s_3 FROM "Financials - AP Overview" FETCH FIRST 65001 ROWS ONLY
Thanks in advance.
Raghava.Hi,
As per you query shown above, I am assuming that the query limit exceeds the maximum number of rows to show in your result. because it showing only 65001 rows fetched but your data may be more than that.
So try to extend the maximum rows for table view in instanceconfig.xml file.
Regards,
Pandian -
How to implement "SelectAll" function in table view?
hi, experts
i want to implement "SelectAll" function in table view, just like the SelectAll function in ALV,how to do?
and, can table view has it's tool bar ,may be on top of it.
pls help and thanks a lot!!Search this forum. You will find plenty of threads on the same...
Raja -
Migration from Designer: wrong alias for used table/view in views
Hello,
I am using SQL DM version 3.3.0.744.
when importing a view from Designer, a query is build with aliases for the used tables/views which are the same as the table/view name. When using a where clause in Designer, you refer to the alias of the table/view, like t1.col1= t2.cola. Here t1 and t2 are the aliases of the underlying tables.
In Designer the following DDL is generated:
CREATE OR REPLACE FORCE VIEW VIEW5
(COL2
,COL1)
AS SELECT T2.COLA COL2
,T1.COL1 COL1
FROM TAB2 T2
,TAB1 T1
WHERE t1.col1= t2.cola
After importing the view in Data Modeler, the following DDL is generated:
CREATE OR REPLACE VIEW VIEW5 ( COL2,
COL1 )
AS SELECT
TAB2.COLA COL2,
TAB1.COL1 COL1
FROM
TAB2 TAB2,
TAB1 TAB1
WHERE
t1.col1= t2.cola ;
So by using the wrong alias, the where clause is invalid and the query builder doesn't show the joins.
The solution for this is to use the alias of the used table/view instead of the table/view name. Can you raise a bug for this?
Thanks in advance,
JoopThanks for your time. I did all possible way, but still the same problem. I mean
EXP 8... IMP 8
EXP 8... IMP 9
EXP 9... IMP 9
Today I found that, NLS_LANG of two databases are different. Oracle 8i is : WE8ISO8859P1
AND Oracle9i is : WE8MSWIN1252
So I created a new database from scratch with Oracle 8i character set :WE8ISO8859P1 and then use imp9i to import the file. Still the same problem.
Thanks,
Arash -
How to call driver program internal table in a form
how to call driver program internal table in a form? Given below is my code
TABLES: VBRK,VBAK,ADRC,KNA1,VBRP,VBAP,J_1IMOCOMP.
DATA: BEGIN OF IT_CUST_ADD OCCURS 0,
STREET LIKE ADRC-STREET,
NAME LIKE ADRC-NAME1,
POST_CODE LIKE ADRC-PSTCD1,
CITY LIKE ADRC-CITY1,
CUST_TIN LIKE KNA1-STCD1,
END OF IT_CUST_ADD.
DATA: BEGIN OF IT_IN_DA OCCURS 0,
VBELN LIKE VBRK-VBELN,
FKDAT LIKE VBRK-FKDAT,
END OF IT_IN_DA.
now suppose these are my internal table. what should i write in FORM INTERFACE (associated type)Hi Sashi, this will solve ur problem.
Check the below link.
REG:PEFORM IN SCRIPT
kindly reward if found helpful.
cheers,
Hema. -
How to call web-service using only java code
Hello, how to call web-service using only java code. I can call it from BPM process or Web Dynpro Java Application, but if I need to call it from ejb component?
I'm found answer:
Java and SAP Portal blog: How to call web service from java code example -
How to call a method of one view in other view
Hi
could any one suggest "how to call a method of one view in other view "
thanks
kaushikHi Kausic,
Its not possible to call a method from view to View.
Since view is private entity we can not pass the data directly.
I suggest you to declare the method in Component/Custom controller and call.
the code is,
wdThis.wdGet<Component/Custom Name>Controller().<methodName>();
Regards,
<b>Ramganesan K</b> -
How to write SELECT statement using tables ekko,ekpo and eket?
Hi,
I got a problem in performance tuning using below tables?
how to write SELECT statement using tables EKKO,EKPO and EKET and in conditon ( WHERE clause) use only fields
ekko~ebeln IN ebeln
ekko~loekz EQ ' '
ekko~lifnr IN lifnr
ekko~ekorg IN ekorg
ekko~ekgrp IN ekgrp
ekpo~werks IN werks
ekpo~pstyp EQ '3'
ekpo~loekz EQ space
ekpo~elikz EQ space
ekpo~menge NE 0
eket~rsnum NE space.
Thanks in Advance.
bye.Hi,
ekko~ebeln IN ebeln
ekko~loekz EQ ' '
ekko~lifnr IN lifnr
ekko~ekorg IN ekorg
ekko~ekgrp IN ekgrp
ekpo~werks IN werks
ekpo~pstyp EQ '3'
ekpo~loekz EQ space
ekpo~elikz EQ space
ekpo~menge NE 0 " Remove this from where clause
eket~rsnum NE space. " Remove this from where clause
' instead delete the entries after fetching into the table
DELETE it_itab WHERE menge EQ '0' AND rsnum EQ ' '.
Regards
Bala Krishna -
About how to build dynamic maps using jdeveloper 10g and mapviewer
i follow the guidance (about how to build dynamic maps using jdeveloper 10g and oracle application server mapviewer) to write a jsp file,but error take palce ,i get information "Project: D:\jdev1012\jdev\mywork\WebMap\ViewController\ViewController.jpr
D:\jdev1012\jdev\mywork\WebMap\ViewController\public_html\WebMap.jsp
Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
Error(12,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
Error(12,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
Error(12,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
Error(12,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
Error(13,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
Error(13,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
Error(14,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
Error(14,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
Error(14,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
Error(15,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
Error(15,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
Error(15,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found"
can you help?
greetingsI found a lot of information in document 133682.1 on metalink.
step by step example how to deploy a JSP business component application. -
How to call java method using jsp
how to call java method using jsp.....
anyone can help me.....i having problem here...coz i very new in java and jsp.....
thanks.....keep an eye on this person's thread...they have code there and everything.
http://forum.java.sun.com/thread.jspa?threadID=777263&tstart=0
Maybe you are looking for
-
How can I share a Creative-Cloud-FOLDER with my client?
I need to show my client a set of Illustrator Files (about 30) and it is very exhaustive (as well for me as for my client) to share one file after another. He must have about 30 links now... Is it possible to share a complete folder, and if yes, how
-
Setting up the HR-PDC interface to ext. system without direct RFC
Hello, Setting up the HR-PDC interface to external system without direct RFC - Uploading time events Following note number 647145, I tried to set up connection to external time collection system. As the external system isn't able to work with RFC, I
-
Saving values in parameters while Navigation
Hi, Can I save the value of the dimensions in some parameter while navigation. Means If I click on some value in a table which has navigation enabled, I want to store corresponding dimensions values in some parameters. How can we achieve the above re
-
Pages iOS says document unavailable
Dear all, I recently created a document in pages for iOS on my ipad 2 on a cross-country flight. I just tried to access the document on my iPad 2 in pages and the document is unavailable with a message that an internet connection is required. I'm fig
-
Stop billing(sales) for a particular storage location.
Dear experts, How can we stop billing to the customers completely for a particular storage location. please suggest... thanks in advance. Regards