Passing value to class module
hi i am usign class
CALL METHOD cl_ppeliwty_cntl=>claim_read_db
EXPORTING
iv_lock_flg = ppet_true
iv_msg_opt = ppet_msg_options-do_error
iv_with_partner = ppet_true
iv_with_customizing = ppet_true
iv_with_node_text = ppet_true
iv_clmno = it_qmel-wtyno
IMPORTING
et_pnodtx = lt_pnodtx
et_pnwtyh = lt_pnwtyh_dia
et_paltid = lt_paltid
et_pnwtyv = lt_pnwtyv_old
et_posvid = lt_posvid
et_pvwty = lt_pvwty_dia_old
et_pnodid = lt_pnodid
et_prelid = lt_prelid
et_cwty001 = lt_cwty001
et_wtyv_imrg_dyn = lt_wtyv_imrg_dyn
EXCEPTIONS
authority_failed = 2
OTHERS = 1.
in my program to read claim..
i am passing claim no(wtyno) and try to get claim header details.. but due to some reasons i am not able to pass wtyno.. my whole scenario is to get input tracking no from user (qmeltable) and find all the claim no relevant to tracking no.. later usign that claim no i have to call a class module to read claim.. and show some of the claim fields as output
below given my whole code
REPORT Z_PS_CREDIT_MEMO .
tables: pnwtyh, QMEL.
TYPE-POOLS: ppet,rsds,pwty.
TYPES: BEGIN OF ls_select,
point(12) TYPE c,
END OF ls_select.
DATA: ls_pnwtyh TYPE pnwtyh,
lt_pnwtyh TYPE pwty_pnwtyh_li_tab,
es_pnwtyh TYPE pwty_pnwtyh_li_tab,
lt_pnwtyh_from TYPE pwty_pnwtyh_li_tab,
ls_pnwtyv TYPE pnwtyv,
ls_pnwtyv_old TYPE pnwtyv,
ls_pnodid TYPE pnodid,
ls_paltid TYPE paltid,
ls_pvwty TYPE pvwty,
lt_pvwty TYPE pwty_pvwty_li_tab,
lt_pvwty_new TYPE pwty_pvwty_li_tab,
ls_pnodtx TYPE pnodtx,
ls_pnodtx_h TYPE pnodtx,
ls_pnodtx_v TYPE pnodtx,
ls_posvid TYPE posvid,
lt_pnwtyv TYPE pwty_pnwtyv_li_tab,
1:N Measurement documents
lt_wtyv_imrg TYPE wtyv_imrg_tab ,
lt_wtyv_imrg_dyn TYPE wtyv_imrg_dyn_tab,
ls_wtyv_imrg TYPE wtyv_imrg ,
ls_wtyv_imrg_dyn TYPE wtyv_imrg_dyn,
lt_paltid TYPE STANDARD TABLE OF paltid
WITH KEY paguid,
lt_pnodid TYPE STANDARD TABLE OF pnodid
WITH KEY pnguid,
lt_pnodtx TYPE STANDARD TABLE OF pnodtx
WITH KEY pnguid spras pntxcnt,
lt_pnodtx_from TYPE ppet_ppetx_li_tab,
lt_palttx TYPE STANDARD TABLE OF palttx
WITH KEY paguid spras patxcnt,
lt_prelid TYPE STANDARD TABLE OF prelid
WITH KEY prguid,
lt_posvid TYPE STANDARD TABLE OF posvid
WITH KEY pvguid,
lt_posvid_version TYPE STANDARD TABLE OF posvid
WITH KEY pvguid,
ls_bapiitem TYPE bapi2222item,
ls_bapiitem_c TYPE bapi2222itemchange,
ls_bapiheader TYPE bapi2222headerchange,
ls_bapiversion_c TYPE bapi2222versionchange,
ls_bapiversion TYPE bapi2222version,
ls_bapitext TYPE bapi2222longtext,
lt_bapitext TYPE TABLE OF bapi2222longtext,
ls_measure TYPE bapi2222measure,
ls_pricing TYPE bapi2222pricing,
ls_version_rel TYPE bapi2222versionrelation,
ls_item_rel TYPE bapi2222itemrelation,
ls_return TYPE bapiret2,
lt_extensionin TYPE TABLE OF bapiparex,
ls_handle_guid TYPE pwty_handle_guid,
lt_handle_guid TYPE SORTED TABLE OF pwty_handle_guid
WITH UNIQUE KEY handle,
lv_logsys TYPE logsys,
lv_header_guid TYPE wty_guid,
lv_dummy TYPE string,
lt_texts TYPE wty_texts_tab,
lt_texts_all TYPE wty_texts_tab,
ls_texts TYPE wty_texts,
ls_pnwtyh_dia TYPE wty_pnwtyh_dia,
ls_pnwtyh_dia_old TYPE wty_pnwtyh_dia,
ls_pnwtyh_old TYPE pnwtyh,
lt_pnwtyh_dia TYPE wty_pnwtyh_dia_tab,
lt_pnwtyh_old TYPE wty_pnwtyh_dia_tab,
ls_pnwtyv_dia TYPE wty_pnwtyv_dia,
lt_pnwtyv_dia TYPE wty_pnwtyv_dia_tab,
lt_pnwtyv_old TYPE wty_pnwtyv_dia_tab,
ls_pvwty_dia TYPE wty_pvwty_dia,
lt_pvwty_dia TYPE wty_pvwty_dia_tab,
lt_pvwty_dia_v TYPE wty_pvwty_dia_tab,
lt_pvwty_dia_old TYPE wty_pvwty_dia_tab,
lt_pvwty_old TYPE pwty_pvwty_li_tab,
lt_pvwty_dyn_old TYPE pwty_pvwty_dyn_tab,
lt_pnwtyh_dyn TYPE pwty_pnwtyh_dyn_tab,
lt_pnwtyv_dyn TYPE pwty_pnwtyv_dyn_tab,
lt_pvwty_dyn TYPE pwty_pvwty_dyn_tab,
lt_pvwty_dyn_v TYPE pwty_pvwty_dyn_tab,
lt_pvwty_v TYPE pwty_pvwty_li_tab,
ls_pnwtyh_dyn TYPE wty_pnwtyh_dyn_g,
ls_pnwtyv_dyn TYPE wty_pnwtyv_dyn_g,
ls_pnwtyv_dyn_old TYPE wty_pnwtyv_dyn_g,
ls_pvwty_dyn TYPE wty_pvwty_dyn_g,
lv_short_text TYPE text40,
ls_text_lines TYPE tline,
lt_text_lines TYPE tlinetab,
ls_text_header TYPE thead,
lv_created TYPE c,
lt_impt TYPE TABLE OF wty_impt,
ls_impt TYPE wty_impt,
ls_select TYPE ls_select,
lt_select TYPE TABLE OF ls_select,
lv_mdocm TYPE wty_mdocm,
lv_v_point TYPE wty_pvwty_dyn-measure_point,
lv_i_point TYPE wty_pvwty_dyn-measure_point,
lv_read_mpoint TYPE c,
lt_partner TYPE wty_partner_buffer_tab,
ls_partner TYPE wty_partner_buffer,
lv_guid_from TYPE pvs_guid,
lv_guid_to TYPE pvs_guid,
lv_new_item TYPE flag,
lv_delete TYPE flag,
lv_subrc TYPE sy-subrc,
lt_messages TYPE tsmesg,
ls_messages TYPE smesg,
ls_bapiret2 TYPE bapiret2,
ls_cwty001 TYPE cwty001,
lt_cwty001 TYPE TABLE OF cwty001,
lt_item_guid TYPE wty_guidlist_tab,
ls_item_kschl TYPE wty_item_kschl,
lt_item_kschl TYPE wty_item_kschl_tab,
ls_update TYPE bapi2222update,
lv_index TYPE sy-tabix,
lt_dd03p TYPE TABLE OF dd03p WITH HEADER LINE,
ls_header_kschl TYPE wty_header_kschl,
lt_header_kschl TYPE wty_header_kschl_tab.
DATA: lt_pnguid_tab TYPE ppet_guid.
*--- Get the Claim header data
CALL FUNCTION 'PVSDBWTY_PNWTYH_GET_BY_CLMNO'
EXPORTING
iv_clmno = viqmel-yy_wty_clmno
IMPORTING
et_pnwtyh = lt_pnwtyh
et_pnodid = lt_pnodid
et_pnguid_tab = lt_pnguid_tab
es_pnwtyh = es_pnwtyh
EXCEPTIONS
no_claim_found = 1
OTHERS = 2.
CHECK sy-subrc EQ 0.
DATA:
*lt_claim_version LIKE bapi2222versionchange
OCCURS 0 WITH HEADER LINE,
lt_claim_item LIKE bapi2222itemchange
OCCURS 0 WITH HEADER LINE,
lt_claim_text LIKE bapi2222longtext
OCCURS 0 WITH HEADER LINE,
lt_claim_measure LIKE bapi2222measure
OCCURS 0 WITH HEADER LINE,
lt_claim_pricing LIKE bapi2222pricing
OCCURS 0 WITH HEADER LINE,
lt_version_rel LIKE bapi2222versionrelation
OCCURS 0 WITH HEADER LINE,
lt_item_rel LIKE bapi2222itemrelation
OCCURS 0 WITH HEADER LINE,
lt_return LIKE bapiret2
OCCURS 0 WITH HEADER LINE,
ls_claim_header LIKE bapi2222headerchange
occurs 0 with header line.
ls_claim_header LIKE wty_pnwtyh_dia
occurs 0 with header line.
data: begin of it_qmel occurs 0,
wtyno like qmel-YY_WTY_clmno,
end of it_qmel.
select-options:
Tracking for QMEL-YY_TRACKING.
wtyno for pnwtyh-clmno.
select YY_wty_clmno from qmel into TABLE it_qmel where yy_tracking
IN Tracking.
write :/ SY-DBCNT.
if sy-subrc <> 0.
message 000(zwty) with 'Enter valid claim no'.
write :/ 'record not found'.
endif.
loop at it_qmel.
write: / it_qmel-wtyno.
clear lt_pnwtyh_dia.
*refresh lt_pnwtyh_dia.
clear ls_pnwtyh_dia.
refresh ls_pnwtyh_dia.
CALL METHOD cl_ppeliwty_cntl=>claim_read_db
EXPORTING
iv_lock_flg = ppet_true
iv_msg_opt = ppet_msg_options-do_error
iv_with_partner = ppet_true
iv_with_customizing = ppet_true
iv_with_node_text = ppet_true
iv_clmno = it_qmel-wtyno
IMPORTING
et_pnodtx = lt_pnodtx
et_pnwtyh = lt_pnwtyh_dia
et_paltid = lt_paltid
et_pnwtyv = lt_pnwtyv_old
et_posvid = lt_posvid
et_pvwty = lt_pvwty_dia_old
et_pnodid = lt_pnodid
et_prelid = lt_prelid
et_cwty001 = lt_cwty001
et_wtyv_imrg_dyn = lt_wtyv_imrg_dyn
EXCEPTIONS
authority_failed = 2
OTHERS = 1.
*--Header details.
LOOP AT lt_pnwtyh_dia INTO ls_pnwtyh_dia.
MOVE-CORRESPONDING ls_pnwtyh_dia TO ls_claim_header.
MOVE-CORRESPONDING ls_pnwtyh_dia TO ls_pnwtyh.
APPEND ls_pnwtyh_dyn TO lt_pnwtyh_dyn.
APPEND ls_pnwtyh TO lt_pnwtyh.
CLEAR: ls_pnwtyh_dyn,
ls_pnwtyh_dia.
ls_claim_header-clmno = ls_pnwtyh-clmno.
ls_claim_header-clmty = ls_pnwtyh-clmty.
write :/ ls_claim_header-clmno.
ls_claim_header-ext_no = ls_pnwtyh-refno.
ls_claim_header-prec_claim = ls_pnwtyh-oldcn.
ls_claim_header-author_no = ls_pnwtyh-autno.
ls_claim_header-author_by = ls_pnwtyh-autna.
ls_claim_header-pers_resp = ls_pnwtyh-clerk.
ls_claim_header-objecttype = ls_pnwtyh-relty.
ls_claim_header-objectkey = ls_pnwtyh-relob.
ls_claim_header-objectno = ls_pnwtyh-relob_ext.
ls_claim_header-obj_group = ls_pnwtyh-relot.
ls_claim_header-obj_date = ls_pnwtyh-reldt.
ls_claim_header-partner = ls_pnwtyh-parnr.
ls_claim_header-role_par = ls_pnwtyh-parvw.
ls_claim_header-co_objnr = ls_pnwtyh-objnr.
ls_claim_header-pro_state = ls_pnwtyh-astate.
ls_claim_header-plant = ls_pnwtyh-werks.
ls_claim_header-notif_no = ls_pnwtyh-qmnum.
ls_claim_header-servdate = ls_pnwtyh-refdt.
ls_claim_header-recall_date = ls_pnwtyh-cbactiondt.
ls_claim_header-descriptn = ls_pnwtyh-h_pntext.
ls_claim_header-objecttype2 = ls_pnwtyh-relty.
ls_claim_header-objectkey2 = ls_pnwtyh-relob.
ls_claim_header-objectno2 = ls_pnwtyh-relob_ext.
ls_claim_header-serialnumber = ls_pnwtyh-serno.
ls_claim_header-serialnumber2 = ls_pnwtyh-serno2.
append ls_claim_header.
ENDLOOP.
endloop.
loop at ls_claim_header.
write :/ ls_claim_header-clmno.
endloop.
EXPORTING
i_parent = go_custom_container.
*select qmelyy_tracking pnwtyhwty_clmno pnwtyhyy_refno pnwtyhastate
*pnwtyh~parnr into table it_pnwtyh where inner join qmel on qmel-
*loop at it_pnwtyh.
write :/ it_pnwtyh-yy_refno.
endloop.
Hi,
I have seen one code in book Common SAP R/3 Functions Manual
By William Lawlor. which converts local currency to foreign currency.
I made bit changes in parameters like made foreigh currency as USD.
Execute the program and check.
Data: xrate type f,
famt type p,
ffact type f,
lfact type f.
parameters:fcurr like TCURC-WAERS default 'USD',
lcurr like TCURC-WAERS,
lamt type p.
CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'
EXPORTING
CLIENT = SY-MANDT
DATE = sy-datum
FOREIGN_CURRENCY = fcurr
LOCAL_AMOUNT = lamt
LOCAL_CURRENCY = lcurr
RATE = 0
TYPE_OF_RATE = 'M'
READ_TCURR = 'X'
IMPORTING
EXCHANGE_RATE = xrate
FOREIGN_AMOUNT = famt
FOREIGN_FACTOR = ffact
LOCAL_FACTOR = lfact
EXCHANGE_RATEX =
DERIVED_RATE_TYPE =
FIXED_RATE =
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5
OTHERS = 6
IF SY-SUBRC = 0.
write:/ lamt, 'converted form', lcurr, 'to', fcurr, 'is:', famt.
else.
write:/ lamt, 'not converted'.
ENDIF.
Hope this helps you.
Cheers!!
VEnk@
Edited by: Venkat Reddy on Oct 31, 2008 5:14 PM
Similar Messages
-
How to pass values to a module pool program from another Report Program
Hi ..
Please let me know how I can pass values to a MODULE POOL selection screen field from another Report Program.
Thanks
RKhttp://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/frameset.htm
a® -
Passing values to function module
Hello Everybody!
I have defined a function group ZSUB_FGROUP1 and within that, I have defined a function module ZSUB_FMOD1. I wish to pass one set of values of following types:
VBELN, POSNR, MATNR, ARKTX, KWMENG, VRKME, NETWR from VBAP
and WAERK from VBAK.
from my main report ZSUB_REP1 to ZSUB_FMOD1, which will then print those values in the form of a list. When I processed the list from within the main report, I used regular methods like top-of-page and all. But, I am not sure how to handle things from within the function module. Please help!Hi...
When u create the function module , we generally provide the import and export parameters....
<b>Import parameters :</b> Which we pass to the function module ..
<b>Export parameters:</b> Which we receive from the function module...
<b>Tables parameters:</b> Tables to pass and to receive to and from the function module...
<b>Changing Parameters:</b> Which we pass to the function module and change these values in the function module and receive those from function module...
So define the fields
VBELN, POSNR, MATNR, ARKTX, KWMENG, VRKME, NETWR ,WAERK in the import parameters with LIKE declaration and corresponding type..
<b><u>Field || Type || Associated Type || Optional || Default ||</u></b>
vbeln || like || vbak-vbeln ||
<b>Optional : </b>If u check this then this field is not mandatory to receive the value..
If uncheck then we have to pass value to this field from the program !! otherwise it gives an error.
In the <b><u>source code</u></b> tab u can write the list output related code with these imported and exported parameters !!
To call the function module we use<b> PATTERN </b>which is present on the application tool bar of the SE38-Editor screen..
Click on this .. u will get a popup ..IN this check the <b>CALL FUNCTION</b> and in the input field of this,, give the function module name... and press enter ...Here u can give values for these imported fields...
reward if it helps u...
sai ramesh -
How to pass values between classes
I have a login class and a DBUpdater class name tbl. I have declared username and string variable in both classes and two getfunctions in the DBUpdater class. But the values are not being passed.
What am I doing wrong?
The following code is from the login class.
private void jButton1MouseClicked(java.awt.event.MouseEventevt)
String username;
String password;
TSTT_Bill_Loader tbl = new TSTT_Bill_Loader();
tbl.doLayout();
username = this.jUsername.getText();
password = this.jPassword.getText();
tbl.setUsername(username);
tbl.setPassword(password);
tbl.main(null);
setVisible(false);
}Hello, please use code tags next time you post code. You can do so by adding [code] [[b]code] round blocks of code. So
[code]
class Code {
private static final String codeHere = "code here";
[[b]code]
will be rendered as
class Code {
private static final String codeHere = "code here";
You need to explain what is going wrong I don't think we will be able to offer much help. -
Significance of pass value checkbox in function module
Hi all,
Here is a confusion.....While creating a custom function module,i have checked the update module or RFC call radio button going to its attributes.But in the importing parameter if i pass a structure,it is giving a syntax error.It is only allowing table parameter.But if i check the pass value checkbox,it is not givng any syntax error if i pass any structure in the importing parameter.Can anybody please explain me the significance of pass value checkbox?
Thanks in advance.......Hi,
Function modules are cross-program, reusable procedures that are organized into function groups, and whose functions are implemented between the statements FUNCTION and ENDFUNCTION. Function modules and their interfaces are created in the Function Builder.
Function Module Interfaces
The parameter interface of a function module is defined in the Function Builder. It includes the definition of interface parameters and the specification of exceptions that can be triggered by a function module. The Function Builder automatically generates comment lines below the FUNCTION statement in the source code of the function module, which represent the interface of the function module with the following syntax:
Syntax
... [IMPORTING parameters]
[EXPORTING parameters]
[CHANGING parameters]
[TABLES table_parameters]
[{RAISING|EXCEPTIONS} exc1 exc2 ...]
The syntax and semantics of IMPORTING, EXPORTING, CHANGING, RAISING, and EXCEPTIONS mainly correspond to the definition of method interfaces with [CLASS-]METHODS. The additional option of defining table parameters using TABLES is obsolete.
Interface parameters
The interface parameters are defined on the relevant tab pages in the Function Builder.
IMPORTING parameters are input parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input parameter. The content of the actual parameter is passed to the input parameter when the call is made. The content of an input parameter for which 'pass by reference' is defined cannot be changed in the function module.
EXPORTING parameters are output parameters. When the function module is called, a suitable actual parameter can be specified for every output parameter. The content of an output parameter that is defined for <b>'pass by value'</b> is transferred to the actual parameter if the function module is completed without errors. An output parameter that is defined for pass by reference is not initialized when the function module is called.
CHANGING parameters are input and output parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input or output parameter. When the function module is called, the content of the actual parameter is passed to the input/output parameter, and when the function module is completed, the content of the input/output parameter is passed to the actual parameter.
TABLES parameters are table parameters. Table parameters are obsolete CHANGING parameters that are typed as standard tables with a header line. If an internal table without a header line or a table body is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module. Pass by value is not possible in formal parameters defined using TABLES. Formal parameters defined with TABLES can be replaced by formal parameters defined with CHANGING. A local work area can be created for the internal table in the function module by using the addition LIKE LINE OF itab of the DATA statement.
Exceptions
The exception of a function module are defined on the Exceptions tab page in the Function Builder. Here you can select exception classes to define whether class-based exceptions are declared or non-class-based exception are defined. Class-based exceptions are represented in the above syntax by RAISING, and non-class-based exceptions are represented by EXCEPTIONS.
The addition RAISING is used to declare class-based exceptions that can be propagated from the function module to the caller. Exceptions in the categories CX_STATIC_CHECK and CX_DYNAMIC_CHECK must be explicitly declared, otherwise a propagation can lead to an interface violation. A violation of the interface leads to the treatable exception CX_SY_NO_HANDLER. Exceptions of the category CX_NO_CHECK are implicitly always declared. The declaration of exceptions of the category CX_STATIC_CHECK is statically checked in the syntax check. For exceptions of the category CX_DYNAMIC_CHECK, the check is not performed until runtime. In a function module in which class-based exceptions are declared with the RAISING addition, the statement CATCH SYSTEM-EXCEPTIONS cannot be used. Instead, the relevant treatable exceptions should be handled in a TRY control structure.
The addition EXCEPTIONS is used to define a list of non-class-based exceptions that can be triggered in the function module using the statements RAISE or MESSAGE RAISING. Exceptions defined in this way - as with formal parameters - are bound to the function module and cannot be propagated. If an exception of this type is triggered in a function module, and no return value has been assigned to it with the homonymous addition EXCEPTIONS of the CALL FUNCTION statement when the call was made, this leads to a runtime error.
Note
For new developments after release 6.10, SAP recommends that you work with class-based exceptions that are independent of the function module.
RFC is a technology which is used to access a functions (Modules) from
the remote systems.
If a function module is set as remote enabled which can be access from
the remote system via RFC.Eg: U can access the Remote enabled function modules in ur VB,Webdynpro,Java,Visual composer program.
A function module can be set as remote enabled by SE37->Go to ur FM->click the option Button "remote enabled".
But Normal function modules can not accessd from the remote system.
Good Example for RFC enabled function module is : BAPI(Business Application Programming Interface)
Note: All BAPIs are Remote enabled but not all remote enabled function modules are BAPI.
CALLING A FUNCTION MODULE:
1)In U ABAP Editor --> Click "Patter" ---> Selection Option Button "Call Function"
--> Write the Corresponding FM name --> Hit Enter
2)The appropriate import ,export Parameters will be displayed in ur editor
3)Pass the Values Here.
Also check these links.
http://www.geocities.com/victorav15/sapr3/abapfun.html
Check this link:
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
Check this link:
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
See the following links:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
Regards,
Srilatha. -
CRM_IC: Passing Attribute values between classes
Hi,
I'm working on CRM_IC Inbox Enhancements module and facing a problem passing values from one class to another.
Can any one let me know how can i access the value of an attribute declared and changed in one class can be used and accessed in another class.
Thanks in advance
Ajay YeluguriHi Thirumala,
Thanks for the answer.
I'm new to this CRM development and trying what you said but getting errors when executed
Please check the code and let me know if any changes
<b>In the first class:</b>
DATA: lr_bdc TYPE REF TO cl_crm_ic_cucobdc_impl.
lr_bdc ?= lr_bdc->get_custom_controller( 'CuCoBDC' ).
lr_bdc->set_navigation_data(
iv_source_view_name = 'testdata' ).
<b>In the next class:</b>
DATA: lr_bdc TYPE REF TO cl_crm_ic_cucobdc_impl,
lv_bp_number TYPE string,
lr_selected_object TYPE REF TO if_bol_bo_property_access.
lr_bdc ?= lr_bdc->get_custom_controller( 'CuCoBDC' ).
CALL METHOD lr_bdc->get_navigation_data
IMPORTING
ev_selected_object = lr_selected_object.
Thanks
Ajay -
Passing values to different classes.
Class A (main panel) calls Class B (calendar panel) and Class C (textbox and buttons panel). When the users changes dates on the calendar class B, class C needs to be notified of the new values.
I have two constructors in class C...an empty parameter constructor that is used when the main panel(A) calls it, and a constructor that accepts an Object as a parameter (which is the list of dates selected on the calendar), used when class B calls it.
My problem is that when the values are changed on the calendar, class C is not holding on to the list of dates. In my constructor, I am enumerating through the list...so I know the values are being passed, but when I try to use the list later on in the code (when a button is clicked) the list is empty.
Does anyone have any suggestions on how to resolve this problem?
Thanks!!!!you can do something like that:
public someClass {
someOtherClass obj;
public someclass (someOtherClass object) {
this.obj = object;
public void someMethod () {
if (condition) { obj.someOtherMethod(); }
public someOtherClass {
//constructor here
public void someOtherMethod () { //do Stuff }
like this you could pass values between your classes A, B and C -
Passing values to an InternalTable in a Function Module from WebDynpro
Hi,
I have created a model from a function module that has a internal table.I have assigned the value as a String to the datamodel context element of the internal table as a Line in the node that represents the input for the funtion module.The internal table accepts a value as an input.When i call the execute method on the input node i am not able to pass the value from the Webdynpro to the function module.I have also checked the assignment of the value as a String to the datamodel context element of the internal table as a Line in the node that represents the input for the funtion module and the value was assigned.
If you can provide me any info on how to pass the internal table from Webdynpro to the function module will be very helpful ..???
Thanks In Advance,
Varma.Hi Rajendra,
what u can pass to a function module is the parameter which are in import and tables of RFC .so u have to declare a variable as a type of your internal table which may be type of structure or table. then in your RFC u have to copy that into a variable of function module and go for ur logic ... -
Pass Values between two Function Modules RFC in Portal
I need to pass values between 2 FM RFC.
I have an implicit enhancement in HRMSS_RFC_EP_READ_GENERALDATA RFC function module.
PERNR LIKE PSKEY-PERNR
ENHANCEMENT 1 Z_ESS_EXPORT_PERNR. "active version
EXPORT pernr to memory id 'PMK'.
set parameter id 'PMK' field pernr.
ENDENHANCEMENT.
On the other hand an RFC function module that has the code:
pmk LIKE PSKEY-PERNR,
pmk_2 LIKE PSKEY-PERNR.
get parameter id 'PMK' field pmk.
IMPORT pmk_2 FROM MEMORY ID 'PMK'.
When the execution is done in development environment, the modules function at the level of R3, the "get parameter id" works only if the debbuger is classic, otherwise not work. The Import to memory id never works.
In the environment of quality, r3 do not work any of the 2 sentences. If run from portal (which is as it should be) does not work.
Thanks if anyone can help me get the problem. Both function modules are executed at the portal.
Regards
Edited by: Daynet1840 on Feb 15, 2012 2:02 AMWhen the execution is directly in r3, in development environment or quality, does the set / get parameter id. Export / Import memory id not work.
But if the FM are called from the portal, does not the set / get parameter id.
I tried changing the sentence as I indicated harishkumar.dy still not working.
Madhu: They're in different function groups, one is standard and the other not.
Regards
Edited by: Daynet1840 on Feb 15, 2012 3:08 PM
Edited by: Daynet1840 on Feb 15, 2012 3:11 PM -
Query in passing value to a function module
Hi All ,
I have a small query in the below code about the way i have passed value into a function module :
CALL FUNCTION 'AUTHORITY_CHECK'
EXPORTING
USER = SY-UNAME
OBJECT = 'E_INVOICE'
FIELD1 = 'BEGRU'
VALUE1 = ' '
FIELD2 = 'BUKRS'
VALUE2 = '$BUKRS'
FIELD3 = 'ISU_ACTIVT'
VALUE3 = '1,2,5,6'
FIELD4 = 'VKTYP_KK'
VALUE4 = ' '
EXCEPTIONS
USER_DONT_EXIST = 1
USER_IS_AUTHORIZED = 2
USER_NOT_AUTHORIZED = 3
USER_IS_LOCKED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE 'User doesnt have sufficient authorizations' TYPE 'E'.
EXIT.
The query is on the field VALUE3 = '1,2,5,6' , is the format correct. If this is not right could someone please suggest the correct approach.
thanksHi Balaji,
as that is parameter you can use at a time only one value..
if you check in that FM we have other parameters VALUE1 to VALUE10..
why don't you use those...
Thanks! -
Passing values from javascript in pop up window to parent jsp
Hi
I am trying to pass values from a pop up window to the main window that popped this child window , with the idea to have the parent window refresh itself with value from pop up window.But the values are not going through.I do a request on the hidden variable but when the parent
jsp refreshes , the variable is still null...
The following is the code i have .
Parent jsp:a.jsp
<form name='summary'>
<input type=hidden name=customerid value="">
<input type="button" class="textButton" name="action" value="customerlist" onClick="javascript:openWin('b.jsp','800','350')">
<script>
function openWin(loc, w, h) {
var newWin = window.openloc,"HTML",'dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + w + ',height=' + h);
newWin.window.focus();
</SCRIPT>
<%
String optionVal = request.getParameter("customerid");%>
var user = "<%= optionVal%>";
</form>
child jsp- b.jsp (pop up window)
<script>
function closer(){
var val = document.formname.id.selected.value;
window.opener.document.summary.customerid.value = val;
window.opener.location.reload();
</script>
<form name = formname>
<input type="text" name="id" value = ''>
<input type="button" class="textButton" value="select"
onClick="closer();window.close();">
</form>
Any ideas on what i am missing
Thanks
Arnuse window.opener.document.forms[0].filedname.value = 'value u need to set'
-
Hello Experts,
I am trying to test usage of f4 help function module.
We want to dynamically pass values from remote machines into the given input parameters of a Given Search help and receive the output into a table (no dialogs required .. so no pop ups )
I wrote a test program to just test if we can really do that at runtime ?
This program pops up the window of search help First I want to surpress that window and Second I have no clue
( How to pass the input parameters as value eg. 20 to a given field as we pass manually )
Can some one suggest something here ?
REPORT ZTEST_F4_TEST.
data lt_return TYPE TABLE OF DDSHRETVAL.
data ls_return TYPE DDSHRETVAL.
data lt_return_ddic TYPE TABLE OF zDDSHRETVAL.
data ls_return_ddic TYPE zDDSHRETVAL.
PARAMETERS ptable type tabname.
PARAMETERS pfield type fieldname.
PARAMETERS pshelp type SHLPNAMe.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = ptable
fieldname = pfield
SEARCHHELP = pshelp
* SHLPPARAM = ' '
* DYNPPROG = ' '
* DYNPNR = ' '
* DYNPROFIELD = ' '
* STEPL = 0
* VALUE = ' '
MULTIPLE_CHOICE = 'X'
DISPLAY = 'F'
SUPPRESS_RECORDLIST = 'X'
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* SELECTION_SCREEN = ' '
* IMPORTING
* USER_RESET =
TABLES
RETURN_TAB = lt_return
* EXCEPTIONS
* FIELD_NOT_FOUND = 1
* NO_HELP_FOR_FIELD = 2
* INCONSISTENT_HELP = 3
* NO_VALUES_FOUND = 4
* OTHERS = 5
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
data lv_count type i.
delete lt_return where fieldname <> pfield.
sort lt_return by fieldval.
delete ADJACENT DUPLICATES FROM lt_return COMPARING fieldval.Hello Sim,
We will be exposing the Input parameters and Output lists of the SAP Search helps (simple search helps only) as input output of a Webservice.
So I need to understand how can we exploit the SAP Search Helps ?
What function modules can take these inputs as structures and can provide the output in form of a table ?
Regards,
Ravi -
How to pass values to Oracle store procedure in Crystal Report
Hi all,
I am newbie on passing values to stored procedure parameters. I created a Crystal Report using the Crystal Report wiward with PULL method and data come from Oracle stored procedure. In an ASP.NET page, I have stored two values in Session and need to pass them as input parameters to Oracle stored procedure to print the report. In Crystal reports 2010 once you connect to a stored-procedure as data source, it automatically creates the parameter fields with Crytal Report Viewer. Please show me how I pass values to store procedure at runtime automatically.
'Set the parametter value
myReport.SetParameterValue("@P_COURSE", "CoursetNo")
myReport.SetParameterValue("@P_CLASS", "ClassNo")
End Sub
I tried to apply above codes from Brian Bischof book but display the error from the following lines:
myReport.SetParameterValue("@P_COURSE", "CoursetNo")
myReport.SetParameterValue("@P_CLASS", "ClassNo")
I also enclosed my code. Any experts, please let me know anything wrongs on my code . I tried several methods that searching via google, but did not solve my issues. Thanks.
Edited by: avt2K7 on Mar 15, 2011 7:02 AMHi,
Thank you for your response. Here are the detailed code and error as following:
Please show what I am missing in my below VB.NET codes:
===========================================================================================
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
LogonToTables("username", "password", "servername", "")
End Sub
Private Sub LogonToTables(ByVal myUserId As String, ByVal myPassword As String, ByVal myServerName As String, ByVal myDataBaseName As String)
Dim Course, Class As String
Course = Session.Item("CourseNumber"))
Class = Session.Item("ClassNumber"))
Dim myReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
myReport.Load(Server.MapPath("CrystalReport1.rpt"))
Dim myTableLogonInfo As CrystalDecisions.Shared.TableLogOnInfo
'Set the database properties and security credentials
Dim myConnectionInfo As New CrystalDecisions.Shared.ConnectionInfo
myConnectionInfo.ServerName = "servername"
myConnectionInfo.DatabaseName = ""
myConnectionInfo.UserID = "username"
myConnectionInfo.Password = "password"
'Apply the ConnectionInfo to the report tables
Dim myTables = myReport.Database.Tables
For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
myTableLogonInfo = myTable.LogOnInfo
myTableLogonInfo.ConnectionInfo = myConnectionInfo
myTable.ApplyLogOnInfo(myTableLogonInfo)
Next
'Set the parametter value to Crystal Report parameter named P_COURSE and P_CLASS
myReport.SetParameterValue("@P_COURSE", "Course")
myReport.SetParameterValue("@P_CLASS", "Class")
End Sub
=================================================================================
I put a break point to debug but display the error at the following lines:
myReport.SetParameterValue("@P_COURSE", "Course")
myReport.SetParameterValue("@P_CLASS", "Class")
Eventhough, if I set a specific value to Course=1000 and Class = math and still receive the error:
Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
I tried several sources from Google search but it is not working. I really appreciate any detailed code either in C# or VB.NET to solve my issues. Thanks in advance. -
In portlets, how to use a html form passing values to the another page?
it is well known that in web developing , we have two methods to pass values to another page.<!--
1. passing values
2.<form action="nextPage" method ="post"></form>-->
but how to use two methods in oracle portal portlets?
I have got a simple example which submit two values to the page for itself, means a page has a form with submit botton, user input the form with values and then submit them by submit botton, then the page recevice those values and show it .
this example is powered by oracle ,
please have a look at these code:
<br><br>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="java.util.*, oracle.portal.provider.v2.*" %>
<%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %>
<%@page import="oracle.portal.provider.v2.render.PortletRendererUtil" %>
<%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %>
<%@page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil" %>
<%@page import="oracle.portal.provider.v2.url.UrlUtils" %>
<%
// The form submit URL refers to the current Portal page. All portlets
// on this page share this URL. This means that the per portlet parameters
// are in the same request. Portlets must ensure that its paramerters don't
// collide either with other portlets or other instances of itself. This
// is generally accomplished by using "fully-qualified" parameter names. A
// fully-qualified parameter name prepends the (unique) portlet reference to
// the parameter. The JPDK provides a utility to accomplish this.
String portletParamName = "mName";
String portletParamAge = "mAge";
String portletParamSubmit = "mSubmit";
String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
// These are the session attribute names used to store the current values.
// Because all instances of this portlet share the same user session we must
// also fully-qualify these names to avoid collisions.
String sName = HttpPortletRendererUtil.portletParameter(request, "sName");
String sAge = HttpPortletRendererUtil.portletParameter(request, "sAge");
PortletRenderRequest pRequest = (PortletRenderRequest)
request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
String formName = UrlUtils.htmlFormName(pRequest,null);
ProviderUser user = pRequest.getUser();
ProviderSession providerSession = user.getSession();
if (providerSession == null)
%>
Your provider session has been terminated or has timed out
and you need to logout and then login to re-establish the session.
<%
else
// Record, in session storage, the last values submitted.
if (pRequest.getQualifiedParameter(portletParamSubmit) != null)
providerSession.setAttribute(sName, pRequest.getQualifiedParameter(portletParamName));
providerSession.setAttribute(sAge, pRequest.getQualifiedParameter(portletParamAge));
%>
<!-- Output the HTML content -->
<center>
<table width="70%">
<tr>
<td>
<b>This portlet shows how to post and process information from HTML forms.</b>
</td>
</tr>
</table>
<form name="<%= formName %>" method="POST"
action="<%= UrlUtils.htmlFormActionLink(pRequest,UrlUtils.PAGE_LINK) %>">
<%= UrlUtils.htmlFormHiddenFields(pRequest,UrlUtils.PAGE_LINK, formName) %>
<table>
<tr>
<td>
<b>Name :</b>
</td>
<td>
<input type="text" size="20" name="<%= fName %>" value="">
</td>
</tr>
<tr>
<td>
<b>Age : </b>
</td>
<td>
<input type="text" size="3" name="<%= fAge %>" value="">
</td>
</tr>
</table>
<br>
<INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
</form>
<%
if ((providerSession.getAttribute(sName) == null)&& (providerSession.getAttribute(sAge) == null)) {
%>
<b>No values have been submitted yet.</b>
<%
} else {
%>
<b> Last submitted values:</b><br>
<table>
<tr>
<td>
<b>Name: </b>
</td>
<td>
<b><%= providerSession.getAttribute(sName) %></b>
</td>
</tr>
<tr>
<td>
<b>Age: </b>
</td>
<td>
<b><%= providerSession.getAttribute(sAge) %></b>
</td>
</tr>
</table>
<%
%>
</center>
<%
%>
<br><br>
<br><br>
<br><br>
but I want to write the form in a page , and then show it on another page , how to write it ?
I have read the pdk:
oracle.portal.provider.v2.url Classes
UrlUtils
then I use these method , as this :
//frist page:
<br><br><br><br>
<%@page contentType="text/html; charset=Big5"
import="oracle.portal.provider.v2.render.PortletRenderRequest"
import="oracle.portal.provider.v2.http.HttpCommonConstants"
%>
<%@ page import="oracle.portal.provider.v2.*"%>
<%@ page import="oracle.portal.provider.v2.render.PortletRendererUtil"%>
<%@ page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"%>
<%@ page import="oracle.portal.provider.v2.url.UrlUtils"%>
<%
PortletRenderRequest pReq = (PortletRenderRequest)
request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
%>
<P>Hello <%= pReq.getUser().getName() %>.</P>
<P>This is the <b><i>Show</i></b> render mode!</P>
this is a program to test the passing value
<%
String portletParamName = "mName";
String portletParamAge = "mAge";
String portletParamSubmit = "mSubmit";
String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
PortletRenderRequest pr=(PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
String formName=UrlUtils.htmlFormName(pr, null);
%>
<form name="<%=formName%>" method="post" action="<%=UrlUtils.htmlFormActionLink("/htdocs/passingvalues4/getValues.jsp")%>">
<%= UrlUtils.htmlFormHiddenFields("/htdocs/passingvalues4/getValues.jsp") %>
name:<input type="text" size="20" name="<%= fName %>" value="">
p w :<input type="text" size="3" name="<%= fAge %>" value="">
<INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
</form>
//getValues.jsp<br><br>
<br><br>
<%@page contentType="text/html; charset=Big5"
import="oracle.portal.provider.v2.render.PortletRenderRequest"
import="oracle.portal.provider.v2.http.HttpCommonConstants"
%>
<%@ page import="oracle.portal.provider.v2.*"%>
<%@ page import="oracle.portal.provider.v2.render.PortletRendererUtil"%>
<%@ page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"%>
<%@ page import="oracle.portal.provider.v2.url.UrlUtils"%>
<% String portletParamName = "mName";
String portletParamAge = "mAge";
String portletParamSubmit = "mSubmit";
String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Big5">
<title>untitled</title>
</head>
<body>
Name:<%=fName%>
Age :<%=fAge%>
</body>
</html>
<br>then I deployed them on the portal , run it , the result is :after I submit it , the browser give me : http 404 page not found!
[b]here is the provider.xml<br>[b[i]]<?xml version = '1.0' encoding = 'UTF-8'?>
<?providerDefinition version="3.1"?>
<provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
<session>true</session>
<passAllUrlParams>true</passAllUrlParams>
<portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
<id>1</id>
<name>PassingValues4</name>
<title>PassingValues4</title>
<description>PassingValues4</description>
<timeout>60</timeout>
<showEditToPublic>false</showEditToPublic>
<hasAbout>false</hasAbout>
<showEdit>false</showEdit>
<hasHelp>false</hasHelp>
<showEditDefault>false</showEditDefault>
<showDetails>false</showDetails>
<renderer class="oracle.portal.provider.v2.render.RenderManager">
<renderContainer>true</renderContainer>
<renderCustomize>true</renderCustomize>
<autoRedirect>true</autoRedirect>
<contentType>text/html</contentType>
<showPage>/htdocs/passingvalues4/PassingValues4InputPage.jsp</showPage>
<showPage>/htdocs/passingvalues4/getValues.jsp</showPage>
</renderer>
</portlet>
</provider>
<br><br><br>
<br><br>
would you kind enough to help me ? thanks!!!
Message was edited by:
moonsoftHi Moonsoft,
I have already answered this query in the other post at Re: how to link more than one links in portlet?(jsp develop)
<form name = "showPageForm" method = "POST" action = "<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
<%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, "showPageForm") %>
<input type="text" name="param1">
<input type="text" name="param2">
<input type="hidden" name="myPPN" value="/htdocs/page2.jsp">
</form>then in your jsp code on page2.jsp, you will extract the parameters by specifying
<%
String p1 = request.getParameter("param1");
String p2 = request.getParameter("param2");
%>
>>this is easy common jsp or asp development, but in oracle is too diffcult!!!!
:-) .. there is a difference between web-applications and portlets, you just need to get used to it once. I hope this does clarify your doubts.
thanks,
Harsha -
Passing values to sub-forms (Varaible scoping)
I have a "parent" form that calls one of 6 subforms. I'm trying to figure out how to pass values derived in the parent to a sub form.
I am running IdM 8.1.0.9 in glassfish 2.1.1. I set up these test forms to work through this:
my Parent Form:
<Form name='parent' objectLocationID='objectType=UserForm&objectName=parent&objectPath=0&isBegin=true'>
<Display class='EditForm'/>
<Include>
<ObjectRef id='#ID#UserForm:child1' type='UserForm' name='child1'/>
</Include>
<!-- This value needed in child 1 form -->
<defvar name='myvalue'>
<s>test123</s>
</defvar>
<Field name='myfield'>
<Expansion>
<ref>myvalue</ref>
</Expansion>
</Field>
<!-- My attempt at using <Variable>, IdM doesn't like this
<Variable name='myextvar' external='true'>
<ref>myvalue</ref>
</Variable>
-->
<FormRef name='child1'/>
</Form>
my Child1 Form:
<Form name='child1' objectLocationID='objectType=UserForm&objectName=child1&objectPath=0&isBegin=true'>
<Display class='EditForm'/>
<!--
<Include>
<ObjectRef type='UserForm' id='#ID#UserForm:parent' name='parent'/>
</Include>
-->
<Field name='subtext'>
<Display class='Text'>
<Property name='title'>
<concat>
<s>pre1:</s>
<!--
<FieldRef objectLocationID='objectType=UserForm&objectName=marty&objectPath=0&isBegin=true' name='myvalue'/>
-->
<ref>myvalue</ref>
<s>:1post</s>
</concat>
</Property>
</Display>
</Field>
</Form>I was hoping that child forms would share the scope of the parent, and I could just use a <ref> tag in the child form, but that doesn't seem to work. So I started looking at FieldRef/FormRef but I'm not sure they are the right answer either.
When the include in the child form is uncommented, I get :
An unrecoverable error has occurred processing the request. Contact your system administrator.
Syslog ID = LG-0405-115539.
I'm guessing that this is because I include a form that includes this form, and created an endless include loop?
When the FieldRef is uncommented, I get this error:
Attruibute "objectLocationID" must be declared for element type "FieldRef".
The <Variable> tag (defined as external) looks promising, but I haven't run across a good example of how to use it.
When I try to add a <Variable> to my parent form, I get the error: Content of element type "Form" must match...
This doc: http://docs.sun.com/app/docs/doc/820-5821/bvaex?a=view
says that <Variable> is a valid form element, but IdM disagrees.
Any suggestions on how to achieve the passing of values from one for to another would be greatly appreciated.
-mk
Edited by: mk152556 on Apr 5, 2010 6:27 AMAn advice I usually follow: Skip defvars and variables, and stick to fields, hidden, not using any Display class that is, if you just need to use the field as an variable. Field are a lot more practical IMHO.
Maybe you are looking for
-
IPhone/Mac/Mobile Me Sync issue - Contacts / Calendar
I seem to have lost all of my contacts and birthdays after syncing my iphone, mobileme and my mac. The only location which still has contacts is my iphone. Since contacts went missing, all of my birthday settings in my calendar are also gone...Any th
-
I have the android unlock thing on my iphone but now my iphone wont open what do i do?
My iphone wont open because my new lockscreen is an adroid type of thing where you drag to unlock! Can you guys PLEASE help!!!
-
Recent changes to Skype Numbers (Online Numbers)
Hello everyone, I'm creating this post to explain you recent changes in Skype Number's (known also as Online Number) functionality. Last week Skype has enabled recurring payments for Skype Numbers. So if you use PayPal, Credit Card or other payment m
-
Authplay.dll still here after the latest quarterly???
Hi, despite this announcement http://blogs.adobe.com/asset/2012/04/background-on-security-bulletin-apsb12-08.html not only in the Reader 10.1.3 folder, but even in the Acrobat 9.5.1 folder I am still seeing the dangerous file authplay.dll with the o
-
Broken key on keyboard and staticy audio from one speaker. Advice?
Hey everyone, I'm new around here, name is Mike... I bought a T61p last Sept. and have loved every minute of it. However, I have two problems: a) I was typing the other day and one of the keys (the ctrl key on the right hand side) popped off, and I