Dynamic serch help in TMG
Hi All,
I have creatred one table maintaince generator for the table with 2 fields.
My equirement is to have dynamic F4 help on the second field.
Dynamic means the values displayed in the F4 help should be depending on the values in the first field.
for this in tmg modification/mainten screens i created on POV and module validate for second fiel. in
that moudule i call fn dynpro_value_read to get the value of first field. its geting empty value.
can any body help me
Hi Thirumala,
Based on what you had created the TMG, means based on the table or a maintenance view. If you had created a maintenance view, then you should be calling the POV based on this field. For example if your table is ZTAB and your maintainence view is ZV_TAB the call from POV should be as follows:
Case-1:
FIELD ztab-field1 MODULE f4_field1. "If TMG is based on table
Case-2:
FIELD zv_tab-field1 MODULE f4_field1. "If TMG is based on maintenance view
Then within the module f4_field1, you should be calling the DYNP_VALUES_READ as follows.
Case-1:
wa_dynpread-fieldname = 'ZTAB-FIELD1'.
APPEND wa_dynpread TO gt_dynpread.
Case-2:
wa_dynpread-fieldname = 'ZV_TAB-FIELD1'.
APPEND wa_dynpread TO gt_dynpread.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = gt_dynpread
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
Now make your selection from the table based on the value that you got in gt_dynpread into table lt_f4_help which will contain value for field2.
IF gt_dynpread IS NOT INITIAL.
READ TABLE gt_dynpread INTO wa_dynpread INDEX 1.
"Make your selection into lt_f4_help
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'FIELD2'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'ZV_TAB-FIELD2' "In case maintenance view
window_title = text-004
value_org = 'S'
TABLES
value_tab = gt_versn_hlp
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
"Implement suitable error handling here
ENDIF.
ENDIF.
Hope this will solve your issue.
Regards,
Abijith
Similar Messages
-
How Can I get multi column values from dynamic search help?
Hi Gurus;
I'm using dynamic search help in my program.
I want to get multi column values from search help. But I dont know solution for this issue.
I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
How Can I get multi column values from dynamic search help?
Thanks.Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
There are like 3 steps.
You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined (just to keep it straight, i will be putting here) data: It_return type standard table of ddshretval.
Next step is to call the function module. Make sure you have values in IT_VALTAB.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'FLD2'
value_org = 'S'
tables
value_tab = It_VALTAB
return_tab = It_return
dynpfld_mapping = It_dynpfld
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.
else.
perform get_selected_fields tables It_return.
endif.
The code within the perform GET_SELECTED_FIELDS - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
I need a internal table as well as a work area here. like,
data: lt_fields type table of dynpread,
la_fields type dynpread.
field-symbols: <fs_return> type ddshretval.
so fill out LT_FIELDS from the IT_RETURN table
loop at lt_return assigning <fs_return>.
la_fields-fieldname = <fs_return>-retfield.
la_fields-fieldvalue = <fs_return>-fieldval.
append la_fields to lt_fields.
clear: la_fields.
endloop.
Call the FM to update the dynpro
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-repid
dynumb = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
tables
dynpfields = lt_fields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
others = 8.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
good luck -
Dynamic value help for a table field to fill two fields, how to?
Hi all gurus,
In SRM 7 I defined a dynamic value help for a single field (ZZ_PROLE_R3) of my header custom table.
That's the code from WDDOMODIFYVIEW in the webdynpro /SAPSRM/WDC_DODC_CT, view V_DODC_CT:
DATA: lo_tabnode TYPE REF TO IF_WD_CONTEXT_NODE.
DATA: lo_tabnode_info TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
DATA: tab_value TYPE WDR_CONTEXT_ATTR_VALUE_LIST,
wa_value TYPE WDR_CONTEXT_ATTR_VALUE.
lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
lo_tabnode_info = lo_tabnode->get_node_info( ).
wd_this->GET_VALHELP_ZZ_PROLE_R3( EXPORTING iv_guid = lv_guid
IMPORTING ZZ_PROLE_R3_VALHELP = tab_value ). "this method returns the dyn value table
lo_tabnode_info->set_attribute_value_set( name = 'ZZ_PROLE_R3'
value_set = tab_value ).
The method GET_VALHELP_ZZ_PROLE_R3 dynamically builds the value help table tab_value; such table is made up by two fields:
value : contains the value of the field
text : contains a description of the value
The above solution works; now I'd like to enhance it. The custom table THCUS contains also a field called ZZ_PROLE_R3_DESC, which represents the description of ZZ_PROLE_R3. It is, exactly, the TEXT field in tab_value.
So I'd like to do as follows:
- the user clicks on the search help for ZZ_PROLE_R3 field of the table;
- the above described value help appears;
- after the selection, both ZZ_PROLE_R3 and ZZ_PROLE_R3_DESC are filled with the selected couple value - text chosen from the value help.
Could anyone help me achieving such a behaviour?
Again, a little request... when I open the above value help dialog box, the window itself has a label "Floorplan Manager application for OIF.." that obviously I'd like to redefine (e.g. "Role selection value help"). Is there any way to do that?
Thanks in advanceChris Paine wrote:
It seems to me - given that your code is in wddomodifyview that you are trying to have different dropdowns per row
- I'm not sure where you are populating lv_guid - but I'd guess it is an attribute of the row selected? If it isn't then I can't see any reason that you would do this code in wddomodifyview and not wddoinit.
Hi Chris and thanks for your help,
lv_guid is the GUID of the document's header; I need to pass it to the method that populates my value help table because the values in it are derived from some fields on the document. (the situation actually is more complex; there's an RFC call on the backend for which the document is intended for to retrieve the data that populate the value help...).
I'm quite unexperienced on webdynpro and terminology; if dropdown menus are fixed selection option that appears on a field, I guess this is not my case. I did a pair of screenshot to provide an idea of what the solution by now is, and what "I would like to have":
[Pre-selection (F4 icon on the field in table)|http://imagebin.ca/view/npIsaqF.html]
[Value Help popup for the field ZZ_PROLE_R3|http://imagebin.ca/view/8fZUh3T.html]
[Result by now |http://imagebin.ca/view/3PaqdvE.html]
[Result I'd like to have.|http://imagebin.ca/view/dExR0J.html]
Chris Paine wrote:
However - by your comment on the "value help dialog box" I am guessing you are using an input field? If this is the case then I would strongly suggest that you change/enhance the structure of the context node THCUS (btw, better coding practise to refer to it as wd_this->wdctx_thcus when using the get child node construct) so that you refer to an actual SAP ddic search help, if you then associate in the structure the value and text fields then populating the text field should happen automatically. Also you'd have the nice side effect that your value help dialog would be named after the associated ddic search help.
Thanks for the code suggestion, I'll apply that. For what concerns the context node THCUS... It is, by standard, a node which I can't explictly find in the context for the view V_DODC_CT. The problem is that ZZ_PROLE_R3 and the corresponding description field ZZ_PROLE_R3_DESC of the table must be filled with data retrieved dynamically @ runtime from the backend. So I guess I can't populate a val help referring to a dictionary table/field; I'd rather do as follows:
- retrieve what's the target backend for the document (to do so, I have to process the document .. that's why the header guid passed to my method);
- RFC call to a custom method that extracts possible values for the specific backend;
- bind the ammissible values to the value help.
Chris Paine wrote:
I realise that this is rather a lot - so if you have any specific question please do respond - hopefully I or someone else will be able to clarify.
Thanks again for your help; additional info as well as code examples would be highly appreciated -
Dynamic Search-help in Selection Screen Parameter
Hi,
Please can you provide some solution for the below requirements.
I have 2 fields ( Organization channel and Team ) in my selection screen. Under one organization channel there can be many teams.
And I am trying a dynamic search help on both the fields using event AT selection-screen on Value request and
FM 'F4IF_INT_TABLE_VALUE_REQUEST'.
But I am facing the below issue .
First I am giving some values in field 'Organization channel' . Then I am clicking on F4 button on my 2nd field 'Team' .
and in debugging mode under the event 'At selection-screen on value request', Select option SO_Team is blank.
The value provided in the Organiozation channel is not being captured in SO_TEAM-Low
Please have a look on the below codes.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .
if not so_orgchannel-low is initial. "Here so_orgchannel-low value is coming as Zeros.
select * from HRP1001 into table GT_HRP1001
where objid = so_orgchannel-low.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ORGID'
value_org = 'S'
dynpprog = 'ZTEST'
dynpnr = '1000'
TABLES
value_tab = gt_hrp1001
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.Hi,
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_team-low .
"Add This Begin
CLEAR t_dynpfields.
REFRESH t_dynpfields.
t_dynpfields-fieldname = 'SO_ORGCHANNEL-LOW'.
APPEND t_dynpfields.
w_repid = sy-repid.
* reading Screen variables and Values
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = w_repid
dynumb = sy-dynnr
TABLES
dynpfields = t_dynpfields
EXCEPTIONS
OTHERS.
READ TABLE t_dynpfields INDEX 1.
so_orgchannel-low = t_dynpfields-fieldvalue.
"Add this End
if not so_orgchannel-low is initial. "Your code is here
select * from HRP1001 into table GT_HRP1001
where objid = so_orgchannel-low.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ORGID'
value_org = 'S'
dynpprog = 'ZTEST'
dynpnr = '1000'
TABLES
value_tab = gt_hrp1001
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
Regards,
Prabhudas -
hello
i am usin serch help in callcontrol = 'DISP'
in this way
LOOP AT GT_IT_ITAB INTO GW_ITAB.
LWA_SELOPT-SHLPNAME = 'ZSDH_FOCUS_LIST'.
LWA_SELOPT-SHLPFIELD = 'AUART'.
LWA_SELOPT-SIGN = 'I'.
LWA_SELOPT-OPTION = 'EQ'.
LWA_SELOPT-LOW = GW_ITAB-PARAM_VALUE2.
APPEND LWA_SELOPT TO LT_SELOPT.
ENDLOOP.
SHLP-SELOPT[] = LT_SELOPT[].
what is missing becouse im getting worg aswer
thank you
for your help
shlomithello
i am usin serch help in callcontrol = 'DISP'
in this way
LOOP AT GT_IT_ITAB INTO GW_ITAB.
LWA_SELOPT-SHLPNAME = 'ZSDH_FOCUS_LIST'.
LWA_SELOPT-SHLPFIELD = 'AUART'.
LWA_SELOPT-SIGN = 'I'.
LWA_SELOPT-OPTION = 'EQ'.
LWA_SELOPT-LOW = GW_ITAB-PARAM_VALUE2.
APPEND LWA_SELOPT TO LT_SELOPT.
ENDLOOP.
SHLP-SELOPT[] = LT_SELOPT[].
what is missing becouse im getting worg aswer
thank you
for your help
shlomit -
Serch help for list of currency key
Hi friends,
Can any budy tells me what is the search help to get list of currency key.
like
INR,
USD,
EUR
Thank you.
Regards,
ViratHi
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
Thanks
Ashu -
Parameters to collective serch help
Hi,
Noe i created a collective serch help , using an elementry serch help with two fields from table QPMK
QPMK-VERSION and
QPMK-MKMNR
In elementry serch help
MKMNR is used as parameter in my module pool screen one field is QPMK-VERSION, I want to select the values in to this serch help based on the value of field QPMK-VERSION
Regards
NausalNot sure what you're asking, or why you need a collective search help. Sounds like you had what you need with the elementary.
But, for a really good how-to, look at how SAP constructs collective search helps, like DEBI, or ASH_VMVA or others. -
Relating to a field inside serch help exit
Hi!
The serchhelp which was created by me has two
fields.
One field is character field (CHAR030). It is not
a dictionary field which is being in any table
or else.
My question is how can I relate to this field
in the serch help exit. For example to check
what a user has input in this field ?
I have to program some abap code inside
of serch help exit.
Regards
ertashi,
how do you bind my mentioned field with this FunctionModule
F4IF_INT_TABLE_VALUE_REQUEST
Rgds
ertas -
Hi,
How can i write a serch help exits.
My requirement is to add a serch help exit for kunnr.Hi Phani,
Goto SE11 create a search help, in the search help exit the search help FM name for example (ZMET_DE_INSP_SHELP_EXIT).
Check the sample code for search help user exit.
FUNCTION zspa_es_insp_shelp_exit.
""Local interface:
*" TABLES
*" SHLP_TAB TYPE SHLP_DESCR_TAB_T
*" RECORD_TAB STRUCTURE SEAHLPRES
*" CHANGING
*" VALUE(SHLP) TYPE SHLP_DESCR_T
*" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
IF callcontrol-step = 'SELECT'.
CLEAR: i_sel, wa_sel, ws_date_from, ws_date_to, ws_year,
r_inspdt, i_inst, i_inst_name, i_final, wa_inst,
wa_inst_name, wa_final.
REFRESH: i_sel, i_inst, i_inst_name, i_final, r_inspdt.
ENDIF.
IF callcontrol-step = 'DISP'.
i_sel[] = shlp-selopt[].
READ TABLE i_sel INTO wa_sel WITH KEY shlpfield = 'DATE_FROM'.
IF sy-subrc = 0.
ws_date_from = wa_sel-low.
ENDIF.
READ TABLE i_sel INTO wa_sel WITH KEY shlpfield = 'DATE_TO'.
IF sy-subrc = 0.
ws_date_to = wa_sel-low.
ENDIF.
READ TABLE i_sel INTO wa_sel WITH KEY shlpfield = 'YEAR'.
IF sy-subrc = 0.
ws_year = wa_sel-low.
ENDIF.
IF NOT ws_date_from IS INITIAL AND
NOT ws_year IS INITIAL.
PERFORM go_back_years USING ws_date_from
CHANGING ws_date_from.
IF NOT ws_date_to IS INITIAL.
PERFORM go_back_years USING ws_date_to
CHANGING ws_date_to.
r_inspdt-sign = c_i.
r_inspdt-option = c_bt.
r_inspdt-low = ws_date_from.
r_inspdt-high = ws_date_to.
APPEND r_inspdt.
ELSE.
r_inspdt-sign = c_i.
r_inspdt-option = c_eq.
r_inspdt-low = ws_date_from.
APPEND r_inspdt.
ENDIF.
SELECT aanlage asparte avstelle bzzinspdt
INTO TABLE i_inst
FROM eanl AS a INNER JOIN zeanl AS b
ON aanlage EQ banlage
WHERE b~zzinspdt IN r_inspdt.
IF sy-subrc = 0.
SELECT vstelle str_erg2 INTO TABLE i_inst_name
FROM evbs
FOR ALL ENTRIES IN i_inst
WHERE vstelle = i_inst-vstelle.
LOOP AT i_inst INTO wa_inst.
wa_final-date_from = ws_date_from.
wa_final-date_to = ws_date_to.
wa_final-year = ws_year.
wa_final-anlage = wa_inst-anlage.
READ TABLE i_inst_name INTO wa_inst_name WITH KEY
vstelle = wa_inst-vstelle.
IF sy-subrc = 0.
wa_final-str_erg2 = wa_inst_name-str_erg2.
ENDIF.
wa_final-last_insp_date = wa_inst-zzinspdt.
PERFORM inspdt_plus_years USING wa_inst-zzinspdt
CHANGING wa_final-next_inst_date.
APPEND wa_final TO i_final.
CLEAR: wa_final, wa_inst, wa_inst_name.
ENDLOOP.
LOOP AT i_final INTO wa_final.
record_tab-string = wa_final.
APPEND record_tab.
CLEAR wa_final.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
CALL FUNCTION 'F4UT_OPTIMIZE_COLWIDTH'
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
CHANGING
shlp = shlp
callcontrol = callcontrol.
ENDFUNCTION.
Regards,
PRakash. -
Dynamic Header help in PDF Portfolio
Need some help please, to create and load a Dynamic Header when creating a PDF Portfolio in LiveCycle ES2. Have input parameter of a [name] and an [image file] to place in the Header. Process flowing out of Assembler (PDF Generator). Currently other PDFs being inserted within the Portfolio, and Navigation parameter being received ok, and setting up custom navigation. Any help w/ creating Dynamic Header is very much appreciated.
By "Dynamic Header" do you mean the PDF cover page, or the interactive portfolio navigator?
If its the cover page then it should be a fairly easy thing to do. You can create a form (XDP or PDF template) with a field for the name and one for the image. Then you would use something like LC Forms or Form Data Integration to merge the data (image and name) with the template.
The one thing you would have to do is to put the image and data into an XML format before you merge it with the form. That means you will need to convert the image to a base64 encoded format. Fortunately there is a built in function for doing the conversion in a SetValue operation (its under Document Object Functions).
If you are talking about the Navigator (portfolio shell) then it gets a bit more tricky. The navigator is actually a Flex application and not a PDF. You'll have to code a new one using Flash Builder, then import the resulting .nav file into your LiveCycle application. Merging the data with it is not something I've done before, but it should be possible (the LiveCycle Interactive Statement Solution Accelerator does something similar).
If it is new navigator you need, check out some of the following links:
http://joelgeraci.com/adobe/devjunkie/web/portfolios_p1_outer.shtml
http://acrobatusers.com/tutorials/modifying-pdf-portfolio-navigator
http://acrobatusers.com/navigator-contest-faq (for the development software links) -
I am trying to convert a static events calendar to dynamic
and I have run
into a couple of snags that I don't seem to be able to figure
out (darned
Newbies!)
The big problem that I am having is to have the Month/Year
header display
only one time for all the events in that month.
The second problem is displaying a range of dates for one
event (...Sept
9-12)
Example:
September 2006
Sept 1 - event 1, location
Sept 9-12 - event 2, location
Sept 14-16 - event 3, location
October 2006
Oct 3-4 - event 1, location
Oct 23 - event 2, location
This is the type of calendar I'm trying to dynamisize looks
like this one
http://internationalsoaringeaglesministries.org/calendar.htm
It is not loaded with all sorts of dates so I chose to
display only dates
with events on them.
Any help would be much appreciated!!
Thanks
DaveI am trying to convert a static events calendar to dynamic
and I have run
into a couple of snags that I don't seem to be able to figure
out (darned
Newbies!)
The big problem that I am having is to have the Month/Year
header display
only one time for all the events in that month.
The second problem is displaying a range of dates for one
event (...Sept
9-12)
Example:
September 2006
Sept 1 - event 1, location
Sept 9-12 - event 2, location
Sept 14-16 - event 3, location
October 2006
Oct 3-4 - event 1, location
Oct 23 - event 2, location
This is the type of calendar I'm trying to dynamisize looks
like this one
http://internationalsoaringeaglesministries.org/calendar.htm
It is not loaded with all sorts of dates so I chose to
display only dates
with events on them.
Any help would be much appreciated!!
Thanks
Dave -
Re: Including Applet in JSP with Dynamic input| Help needed
Hi All,
We are into a project in Oracle Portal Server where in we want to embed a result of a standalone application in Portal page.
We can do that once we can embed the result of the standalone application which generates applet based on the input it gets from the current application's database.
If it was static we could have used jsp:plugin but, it fails in our case!
We are clueless as to how to embed an applet which will pick up the data dynamically.
Can anyone of you help me in this regard?
Thanks & Regards
ArthiHi Arthi,
I think this might help you to get an idea why jsp:plugin tag does not allow for dynamically called applets.
<jsp:plugin type=applet height="100%" width="100%"
archive="myjarfile.jar,myotherjar.jar"
codebase="/applets"
code="com.foo.MyApplet" >
<jsp:params>
<jsp:param name="enableDebug" value="true" />
</jsp:params>
<jsp:fallback>
Your browser does not support applets.
</jsp:fallback>
</jsp:plugin>
The plugin example illustrates a <html> uniform way of embedding applets in a web page. Before the advent of the <OBJECT> tag, there was no common way of embedding applets. This tag is poorly designed and hopefully future specs will allow for dynamic attributes (height="${param.height}", code="${chart}", etc) and dynamic parameters. Currently, the jsp:plugin tag does not allow for dynamically called applets. For example, if you have a charting applet that requires the data points to be passed in as parameters, you can't use jsp:params unless the number of data points are constant. You can't, for example, loop through a ResultSet to create the jsp:param tags. You have to hand code each jsp:param tag. Each of those jsp:param tags however can have a dynamic name and a dynamic value.
I think you can get better information if you look in to the below link
http://pdf.coreservlets.com/CSAJSP-Chapter12.pdf
Many Thanks,
Ramesh. -
Could someone please point me in the direction of a tutorial
or a book on how to create a hyperlink which will dynamically run
an Access report and display in a web page? None of the reference
books I own cover how to do this. I know this is pretty darn basic
but I've never done this particular task before. can someone
help??Could someone please point me in the direction of a tutorial
or a book on how to create a hyperlink which will dynamically run
an Access report and display in a web page? None of the reference
books I own cover how to do this. I know this is pretty darn basic
but I've never done this particular task before. can someone
help?? -
Hi ,
My requirement is in dynamic Action I need to delimit all records in a Subtype of an Infotype and create New record for these records with BEGDA as ENDDA + 1 of the delimited records.
Iam able to delimit all records in the Subtype but , Iam not able to create new records.
My code for delimiting is as given below, in T588Z,
9901 2 06 801 P P9901-SUBTY='2'
9901 2 06 802 P PSYST-IOPER='MOD'
9901 2 06 803 P P9901-STATS='X'
9901 2 06 804 P P9901-PREAS='91'
9901 2 06 805 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
9901 2 06 806 W P9901-ENDDA=RP50D-ZZDATE3
9901 2 06 807 I MOD,9901,3
9901 3 06 808 P SY-UCOMM='UPD'
9901 3 06 809 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
9901 3 06 810 W P9901-ENDDA=RP50D-ZZDATE3
The above code is working fine.
My code for creating new record is as given below, even though the control is oing to the subroutine, INS statement is not working, and hence new record is not getting created.
9901 3 06 811 P SY-UCOMM='UPD'
9901 3 06 812 P PSAVE-ENDDA<>P9901-ENDDA
9901 3 06 813 P P9901-STATS<>'X'
9901 3 06 814 I INS,9901,3
9901 3 06 815 F BEGIN_DATE(ZHSRAS_T588Z_9901)
9901 3 06 816 W P9901-BEGDA=RP50D-ZZDATE3
9901 3 06 817 W P9901-ENDDA='99991231'
Kindly help me on this.
Thanks in Advancehi,
thankyou for all ur valuable replies.
Time constraint for this custom infotype is 2.
It is not allowing to create a new subtype record if 1 exists.
Here scenerio is
Each Subtype ,ie, Subtp 2 ad 3 has got 4 records each with distinct OBJPS field.
when STATS field of subtype 2 is changed for any 1 record in Subtype 2, corresponding record in Subtype 3 should get delimited .
And, rest of the records of Subtype 3 should get created again with new start date.
The code I have written for this is ,
9901 2 06 800 *BEG*****DEATH OF WIDOW*****************
9901 2 06 801 P P9901-SUBTY='2'
9901 2 06 802 P PSYST-IOPER='MOD'
9901 2 06 803 P P9901-STATS='X'
9901 2 06 804 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
9901 2 06 805 W P9901-ENDDA=RP50D-ZZDATE3
9901 2 06 806 * ****PSAVE-ENDDA<>P9901-ENDDA
9901 2 06 807 F LOCK_REC3(ZHSRAS_T588Z_0015)
9901 2 06 808 I <b>MOD,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA)</b>
9901 2 06 812 * *BEGCREATE NEW REC FOR SURVIVING WIDOWS******
9901 2 06 813 * *
9901 2 06 814 P P9901-STATS<>'X'
9901 2 06 815 F BEGIN_DATE(ZHSRAS_T588Z_9901)
9901 2 06 816 W P9901-BEGDA=RP50D-ZZDATE3
9901 2 06 817 W P9901-ENDDA='99991231'
9901 2 06 818 I <b>COP,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA)</b>
9901 2 06 819 * *ENDCREATE NEW REC FOR SURVIVING WIDOWS*****
9901 2 06 830 * ***END*****DEATH OF WIDOW*****************
Control is going to all routines, but
MOD,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA) and
COP,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA) is not working.
Message was edited by: Shahana Shahul
Message was edited by: Shahana Shahul -
I'm having a small problem in my dynamic text box. For some
reason numbers are not being displayed correctly. I am working with
the Render Text as HTML box checked and am trying to get this
result :
01/15/09: No Meeting
01/15/09: Camping Trip
simple enough, however this is what i am ending up with:
1/1/: No Meeting
1/1/: Camping Trip
Here is the code i am using which returns the above result:
main_info.htmlText ="<p>01/15/09: No
Meeting</p>01/15/09: Camping Trip";
For whatever reason its not liking my numbers, is there
something that i am supposed to put in front of a set of numbers so
it displays it without thinking it is html code ?
Thanks for any help you can offer.I use this piece of code:
//Load Text
Stage.scaleMode = "noScale";
articleData = new LoadVars();
articleData.onLoad = function() {
box.htmlText = this.job1;
title.htmlText = this.title;
And its works fine on my computer(local), but when i upload
the files the text
dont appear.
I have tried to do another swf to test and the problem still
and i try to use
http://....same problem
Maybe you are looking for
-
Camera says cannot play back image
Camera says cannot play back image after downloading picutures to computer and placing disk back in camera. It is a Cannon EOS 50D. I cannot find the instruction manual. What do I need to do to fix this problem so that I can view pictures on camer
-
Attaching audio and editing M2V files
I have about 200 M2V files that were provided to me for use in a Final Cut Pro project. They originated from about six different HDV cameras in 1080i60. The clips were captured to a PC running some version of Pinnacle software on-site at an event. Ea
-
*ERROR* Element form.someVariable is undefined in form
Hi all. I have had CF7 install for a few months and have been building my site ever since. Now that my site is nearing the end of construction I need to deal with this problem. I thought it was normal! But I starting searching forums for the problem
-
2tier or 3tier landscape for AS/400 ?
Dear all, My company is considering upgrade options for current AS/400 server. There are 2 options we are considering. 1.) Upgrade the existing box to a bigger capacity to have higher SAPS. Landscape remains 2tier. 2.) Change 2 tier to 3 tier and spl
-
HT1338 How can I delete extensions that I previously downloaded?
I installed extensions and do not know how to forever delete them from system.