How to genrate Table Dynamicaly using ALD(PDF) in web dyn pro
Hi....
How to genrate a table dynamicaly in a PDF(am usiing ALD 7.0/NWDS7.0).
In my case am desinging a table in PDF using ALD statialy, n am executing the RFC n am binding the data to table cells.
But some times i will get mulitiple rows of data from RFC that time i need to show that data in table with multiple rows , so here i need to genrate Table dynamically as per Node size.
If anybody any Idea Pplz share with me
Regards
Rajesh
Hi,
Handling Dynamic Length Tables in Adobe Forms
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669
Regards,
ramesh
Similar Messages
-
hello,
how to refresh table display using slis and 'reuse_alv_grid_display method'.
when i'm refreshing table display it performs once again reuse_alv_grid_display.and when i back the previous value appear.how to solve it?
neonare you chaning any value in the gird if so use this..
Pass the user_command form name to the Import parameter
I_CALL_BACK_USERCOMMAND .
and have the Dynamic form implementation..
FORM user_command USING ucomm TYPE sy-ucomm
selfield TYPE slis_selfield.
"The below is important for Editable Grid.
DATA: gd_repid LIKE sy-repid, "Exists
ref_grid TYPE REF TO cl_gui_alv_grid.
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref_grid.
ENDIF.
IF NOT ref_grid IS INITIAL.
CALL METHOD ref_grid->check_changed_data .
ENDIF.
CASE ucomm.
WHEN 'REFRSH'.
ENDCASE.
selfield-refresh = 'X'.
ENDFORM. "user_command -
How does one continue to use Mail on the early MacBook Pro, Model 1,1, that is not upgradable to Lion? I have been running iCloud on my iPhone (OS5) and iMac (Lion) along with the MacBook Pro (OS Version 10.6.8) since November until now. Mail will no longer download on the MacBook Pro and keeps asking for my password.
Mail should still be usable with your machine - but you'll need to update the settings to conform to the requirements of your system. Check with your ISP (like ATT, etc.) for the settings that will work with your Mail. Once you've updated this, you should be able to email like before.
For example, my ISP required that I go to Mail Preferences/Accounts and make sure the details conform to your email settings.
I have no idea of what your ISP is or what the settings might be, but this is likely the source of the problem. -
How to create table in interactive form via Java Web Dynpro
Hi,
How to create table in interactive form via Java Web Dynpro ?
Any online tutorial / example ?
Thank you.
Regards,
EricHi Eric,
Just choose the UI element Table from Form Library and drag and drop it on the form. now choose the no. of rows and columns and other settings you want about table from the wizard initiated through this process. This all is what you have to do to create the table. Now to bind it to the fields of the data source bind the individual colums to individual attributes of the node in the datasource.
Hope it will solve your query.
Regards,
Vaibhav Tiwari. -
How do you create an interactive Keynote PDF on a MacBook Pro that can be downloaded and manipulated on an iPad?
File > Export > PDF
-
Is Auto-refresh feature available for tables in web dyn pro???
Hello Experts,
I have a requirement as explained below..
There is a table which has few rows, which are populated on launch of a particular screen..now table needs to be refreshed without reloading of page or press of a button (i.e without any user action)..
is there any fearure in Web dyn pro which facilitates this requirement???
Thanks in advance..
thanks & Regards,
Hampanna KamatarHi Hampanna,
I guess you can use the TimerTrigger. This will be useful in your case.
The TimedTrigger UI element is used to execute a controller action periodically with a defined delay.
TimedTrigger is currently invisible (like InvisibleElement), thus it ignores both its tooltip and its visibility. Nevertheless it occupies a cell in certain layouts like MatrixLayout. To use a timed trigger, you have to assign an action to the onAction event and set the delay property to the desired delay in seconds.
There are several ways to turn off a timed trigger. The most convenient way is to disable the assigned action (like you would do with a button). Other possibilities are setting the delay to 0 or disabling the timed trigger like any other UI element.
Caution: Triggering the action rudely interrupts user interactions!
So what you can do is asign a action and write the code to reload teh data in that action. Set the delay you require in seconds. In case later you want to switch of the timer you can easily do that.
Check these API:
http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDTimedTrigger.html
I hope this will solve your issue.
Thanks and Regards,
Pravesh -
How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??
Hi Experts,
How to reschedule a Back ground job in Normal ABAP from Web Dyn Pro abap application??Can you give us some more information? Background jobs primarily don't have anything to do with Webdynpro.
-
How to handle exceptions in web dyn pro
Hi Frndz....
Can any one kindly xplain how to handle exceptions in web dyn pro..like we hav exceptionhandling in java ....so is there any for NWDS
THANKS & REGARDS
RajeshHi,
Web Dynpro Java is basically java only.i.e You program in java. Hence exceptions are supported in the same way as in java i.e. via try,catch and finally block.
Additionally,
In 04/04s if you create a method in any controller in web dynpro you cann't specify exception that can be thrown in the method. This is now possible in new programming web dynpro model in CE.
Hence when creating a method you can also specify custom or core java (lib)excetions.
Regards,
Ashwani Kr Sharma -
How to specify table name using xdoclet
Hi
I'm trying to specify a table name using xdoclet 1.2.
I've tried the @sql.table, but that ain't working (no table mapping name is
writen to the *.jdo)
I've tried using the @jdo.class-vendor-extension with key=table and
value=tablename, but that ain't working either.
I guess number two approach ain't working because kodo want table name
extension inside another extension like this:
<extension vendor-name="kodo" key="jdbc-class-map" value="base">
<extension vendor-name="kodo" key="table" value="tablename"/>
</extension>
But, how do I specify the above using xdoclet?
Regards
JesperOk.
Is it possible somehow to just tell kodo to use another table name without
having to create mapping extensions for collections and stuff. Even better
if one could specify a table name prefix to be used on all tables.
My problem is that I need use kodo on an existing database having tables
names that conflict with kodo's auto-generated tables names. The schematool
will then try alter these tables :-(
Regards
Jesper
"Stephen Kim" <[email protected]> wrote in message
news:[email protected]...
When you use metadata mapping extensions, you should not generate
.mapping files as all that info is stored in the .jdo file. You should
instead set kodo.jdbc.MappingFactory to metadata.
Jesper Ladegaard wrote:
Thanks.
However, I still can't get it to work.
I've created a java class named Role with xdoclet like this:
* @jdo.persistence-capable
* @jdo.class-vendor-extension
* vendor-name="kodo" key="jdbc-class-map" value="base"
* @jdo.class-vendor-extension
* vendor-name="kodo" key="jdbc-class-map/table" value="BW_ROLE"
* @jdo.class-vendor-extension
* vendor-name="kodo" key="jdbc-class-map/pk-column" value="JDOID"
Xdoclet generates a jdo file like this:
<jdo>
<package name="dk.pine.users.services.model">
<class name="Role"
identity-type="datastore"
<!-- end class tag --><extension vendor-name="kodo"
key="jdbc-class-map"
value="base">
</extension>
<extension vendor-name="kodo"
key="jdbc-class-map/table"
value="BW_ROLE">
</extension>
<extension vendor-name="kodo"
key="jdbc-class-map/pk-column"
value="JDOID">
</extension>
<field name="users"
default-fetch-group="true"
<!-- end field tag --><collection
element-type="dk.pine.users.services.model.User"
embedded-element="false"
<!-- end collection tag --></collection>
<extension vendor-name="kodo"
key="inverse-owner"
value="roles">
</extension>
</field>
</class>
</package>
</jdo>
Now I run the mappingtool (with option refresh) and it generates a
mapping
file like this:
<mapping>
<package name="dk.pine.users.services.model">
<class name="Role">
<jdbc-class-map type="base" pk-column="JDOID"
table="dbo.ROLE0"/>
<jdbc-version-ind type="version-number"column="JDOVERSION"/>
<jdbc-class-ind type="in-class-name" column="JDOCLASS"/>
<field name="description">
<jdbc-field-map type="value" column="DESCRIPTION"/>
</field>
<field name="name">
<jdbc-field-map type="value" column="NAME0"/>
</field>
<field name="systemRole">
<jdbc-field-map type="value" column="SYSTEMROLE"/>
</field>
<field name="users">
<jdbc-field-map type="many-many"
element-column.JDOID="JDOID" ref-column.JDOID="ROLES_JDOID"
table="dbo.USER0_ROLES"/>
</field>
</class>
</package>
</mapping>
I expected it to create a BW_ROLE, but it create a ROLE0 table????
"Stephen Kim" <[email protected]> wrote in message
news:[email protected]...
You can use slashes to denote sub extensions.
See the example near the bottom of this link:
http://solarmetric.com/Software/Documentation/3.0.3/docs/ref_guide_integrati
on_xdoclet.html
Jesper Ladegaard wrote:
Hi
I'm trying to specify a table name using xdoclet 1.2.
I've tried the @sql.table, but that ain't working (no table mapping
name
>>
is
writen to the *.jdo)
I've tried using the @jdo.class-vendor-extension with key=table and
value=tablename, but that ain't working either.
I guess number two approach ain't working because kodo want table name
extension inside another extension like this:
<extension vendor-name="kodo" key="jdbc-class-map" value="base">
<extension vendor-name="kodo" key="table" value="tablename"/>
</extension>
But, how do I specify the above using xdoclet?
Regards
Jesper
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com -
How to transfer tabl content using ALE
Hi All
I need to to transfer the content of a HR table (T526) using an ALE scenario. However I have not found a way to do this. I stumpled over CONDA2 but not quite sure if this suits the bill. Anybody out there who can help.
I am not an HR wiz so bear with me if this is dead obvious.
Hope somebody can help
CheersHello Bowie,
Could you please help in how to use CONDA2 message type in ditributing HR Configuration data like data from following tables..
T001P Personnel Area/Subarea
T500P Personnel Areas
T503 Employee Group/Subgroup
T511 Wage Types
T512T Wage Type Texts
T512Z Permissibility of Wage Types per Infotype
T528B Positions
T554S Attendance and Absence Types
T554T Attendance and Absence Texts
Thaks,
Venkat -
Sending Table data using RFC as a Web services
Hi guys,
I want to send ztable data from CRM system using RFC as a web service , but i want to read records only for a particular date and time , so how can i go about this scenario.
regards;Keith.Hi Keith,
for that scenario you need two RFC adapter. Of course you can use as well proxies as dicussed before. Forget about webservices.
You told me above that you have z-table? add a date/time field and if a set will be inserted fill those fields with sy-datum / sy-uzeit.
Your CRM select can now easy select only the actual data.
Because of performance i would recommed a asynchron scenario, for example:
A ABAP programm is selecting the data and is calling a module like
CALL function 'myFunction'
DESTINATION 'mySM59'
IN BACKGROUND TASK
This function module is build anywhere and imported into Repository and is working a outbound interface. Inbound interface is a second function module, which is imported from R/3. The ABAP source code of that module put the data to SAP system.
The CRM ABAP programm will be called periodicly by a job.
But!! I dont know ur requirements. Unfortunately you are one of thesse persons, who are asking without giving details. I'm not the prophet...
Regards,
Udo -
How should i start with web dyn pro abap
Hi,
I have been working on webdynpro java now i would like to start working on webdynpro abap
could any one tel me how should i start with it.. pdfs, blogs would surely help??
i do have sufficient knowledge of abap too..
some brief idea about what is "web dynpro for abap" would surely help me
Thank u in advance...hi,
please do a search before posting for basic questions, i searched the same and got around 700 hit.
any ways check these links.
As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
The following r excellent websites containing PDF & PPT docs on ABAP Web Dynpro:
Web Dynpro for ABAP in SDN
https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9
Developing ABAP Applications Using Web Dynpro
http://help.sap.com/saphelp_nw2004s/helpdata/en/42/d41b25d2216babe10000000a1553f6/frameset.htm
Web Dynpro ABAP: Development in Detail
http://help.sap.com/saphelp_nw2004s/helpdata/en/03/0048413e466e24e10000000a155106/frameset.htm
WDA Sample programs & tutorials
https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
Web Dynpro ABAP Demonstration Videos
Web Dynpro ABAP Demonstration Videos
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11
SAP Web Dynpro Overview
http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/12-WebDynpro-Overview.ppt
Web Dynpro General Concepts
https://admin.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/30ea953b-8e57-2910-4e85-f7be60b00407
Web Dynpro
http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
Web Dynpro for ABAP: Tutorials for Beginners
Web Dynpro for ABAP: Tutorials for Beginners
Developing ABAP applications using Web Dynpro Configuration Scenario
http://www50.sap.com/businessmaps/8729920B31E343F099B71340B15F06DB.htm
Web Dynpro for ABAP
http://www.vnsg.nl/temp/508773747/A1-WDA_Themadag.pdf
Yogesh N -
How to group table rows using GroupedColumn?
Hi all,
i know by binding the grouping value to a context, it can merge rows into one. but this only works if the two rows are adjacent.
if the context looks like this:
value 1
value 2
value 1
value 2
it can not group them together
how to group them together and merge the rows?
thanks.Hi erv,
U need to use the TableSorter class for this.
You can download the TableSorter.java class from the tutorial Working with Tables in Web Dynpro.
Here you can select the project A) Creating Tables and download the Ready-to-use project. The lick to download project is:
[/docs/DOC-8061#46|/docs/DOC-8061#46]
Once you have downloaded the tutorial, you can find the TableSorter.java class in this path
TutWD_Table/src/packages/com/sap/tc/webdynpro/tests/utils
For more information refer to this blog:
[Enhanced Web Dynpro Java TableSorter for SAP NetWeaver 04s|/docs/DOC-8061#46]
Regards,
Sayan Ghosh -
Query tuning and how to force table to use index?
Dear Experts,
i have two (2) question regarding performance during DRL.
Question # 1
There is a column name co_id in every transaction table. DBA suggest me to add [co_id='KPG'] in every clause which forces query to use index, resulting immediate processing. As an index was created for each table on the co_id column.
Please note that co_id has constant value 'KPG' through out the table. is it make sense to add that column in where caluse like
select a,b,c from tab1
where a='89' and co_id='KPG'
Question # 2
if i am using a column name in where clause having index on it and that column is not in my column list does it restrict query for full table scan. like
select a,b,c,d from tabletemp
where e='ABC';
Thanks in advance
Edited by: Fiz Dosani on Mar 27, 2009 12:00 PMFiz Dosani wrote:
Dear Experts,
i have two (2) question regarding performance during DRL.
Question # 1
There is a column name co_id in every transaction table. DBA suggest me to add [co_id='KPG'] in every clause which forces query to use index, resulting immediate processing. As an index was created for each table on the co_id column.
Please note that co_id has constant value 'KPG' through out the table. is it make sense to add that column in where caluse like
select a,b,c from tab1
where a='89' and co_id='KPG'If co_id is always 'KPG' it is not needed to add this condition to the table. It would be very stupid to add an (normal) index on that column. An index is used to reduce the resultset of a query by storing the values and the rowids in a specified order. When all the values are equal and index justs makes all dml operations slower without makeing any select faster.
And of cause the CBO is clever enough not to use such a index.
>
Question # 2
if i am using a column name in where clause having index on it and that column is not in my column list does it restrict query for full table scan. like
select a,b,c,d from tabletemp
where e='ABC';
Yes this is possible. However it depends from a few things.
1) How selective this condition is. In general an index will be used when selectivity is less than 5%. This factor depends a bit on the database version. it means that when less then 5% of your rows have the value 'ABC' then an index access will be faster than the full table scan.
2) Are the statistics up to date. The cost based optimizer (CBO) needs to know how many values are in that table, in the columns, in that index to make a good decision bout using an index access or a full table scan. Often one forgets to create statistics for freshly created data as in temptables.
Edited by: Sven W. on Mar 27, 2009 8:53 AM -
How to handle table controls using LSMW
Hi All,
how to use LSMW to handle table control like header and item details eg. VA01 , ME21 etc. To handle these kind of trnasactions can we use LSMW instead BDC to upload data. Please let me know.
Thanks in advance.
Regards,
KalpanaHi Kalpana,
You can have your own custom programs for LSMW if the standard DI/BI IDOC , BAPI dont meet your requirements.
Its little bit complex. You need to register you custom program in table through SM30.
SDX0 - Program Definition ( BI or DI )
SDX1 - Program Assignment
SDX2 - Declaring Structures
SDX3 - Declaring field identifiers for structures
You can goto SM30 and can view the standard BI/DI programs definition by using the four digit Obejct Number...
<b>AS</b>
Maybe you are looking for
-
Hello! I have a pure JSP-project using tiles. Now I want to migrate to JSF and find some problems. When I use my existing layout and include the different JSPs I have no problem as long I have a single f:view in every jsp file is used. When I try to
-
Data_length of number data type
when I checked for the columns with data type as number in dba_tab_cols it is showing 22 for all the columns irrespective of the precision and scale. why is it so? also can you tell what data length exactly means? Edited by: user12288160 on May 19, 2
-
Hi, I have data as below MS DATE A1 1.1.2010 A2 1.1.2010 And i need the result as below A1 A2 1.1.2010 1.1.2010 Please help..................urgent!!!!!!!!!!!! P kar
-
Why does it take iTunes along time to imports CD'S ?
Hi I was wondering why does it take iTunes along time to import CD's I am using iTunes version 7.02 . Does anyone else have this problem and how do I fix it? I would appreciate any help, lizabler Fifth Generation iPod Windows XP
-
Hi, I am wondering when the new Canon 30D (RAW) will be supportet within the new OS ? We know that Apple do periodically updates and implement new cameras into the OS - but I need to know if there already plans or timeframes ? Thanks and cheers MacBo