Missing Parameter in class method
Hi,
This is with regard to the Survey transaction. For survey, I did some modifications and I did the modifications based on a parameter in class method CL_UWS_PUBLISHING=>PUBLISH. It was working fine in our development server. But when I ported it to the Quality system, an erro appears telling that the parameter ID_SURVEY_ID is not available in the system.
As part of the implementation, our team has applied several notes to the application. Is it that, this parameter came as part of some note? If so, how can I find the relevant note. I searched for notes regarding survey but didn't find this one.
Please do help me in this regard.
Regards,
Jubish
Hi All,
Please do help in this regard.
Regards,
Jubish
Similar Messages
-
Type for SENDER parameter in Class Method
Hi all,
I have an import parameter declared in a Class method .
in SE38 program i want to retrieve through export parameter .
But i am not able to figure how to defind the type of SENDER parameter . Please suggest if my perception is wrong or the point that i am missing here .
Regards,
Ry.Hi Vijay,
Thank you for your reply . the problem i am having is the functionlaity of this report is it displays three grids and when ever i double click on a grid it should identify the particluar grid . i have highlighted in bold where i am encountering the problem. i am enclosing the class details and the report source code. Please suggest after going through it . thanks in advance.
Class details that i have created :
the class has a method handle_double_event with event handler double_click of CL_GUI_ALV_GRID . i have defined this in the method section.
in public section section :
public section.
types GO_GRID1 type ref to CL_GUI_ALV_GRID .
class-methods HANDLE_DOUBLE_CLICK
for event DOUBLE_CLICK of CL_GUI_ALV_GRID
importing
ES_ROW_NO
E_COLUMN
E_ROW
SENDER .
in handle_double_event code :
DATA:
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid,
go_grid3 TYPE REF TO cl_gui_alv_grid.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1,
gt_vbak TYPE STANDARD TABLE OF vbak,
gt_vbap TYPE STANDARD TABLE OF vbap.
define local data
DATA:
ls_knb1 TYPE knb1,
ls_vbak TYPE vbak,
ls_vbap TYPE vbap.
DATA: es_row_no type lvc_s_roid,
e_column type lvc_s_col,
e_row type lvc_s_row.
*CASE sender. - here when i double click on the first grid go_grid1 it should go inside the go_grid1 . but it is not entering .*
WHEN go_grid1.
READ TABLE gt_knb1 INTO ls_knb1 INDEX e_row-index.
CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
CALL METHOD go_grid1->set_current_cell_via_id
EXPORTING
IS_ROW_ID =
IS_COLUMN_ID =
is_row_no = es_row_no.
Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'ORDERS' ).
WHEN go_grid2.
READ TABLE gt_vbak INTO ls_vbak INDEX e_row-index.
CHECK ( ls_vbak-vbeln IS NOT INITIAL ).
CALL METHOD go_grid1->set_current_cell_via_id
EXPORTING
IS_ROW_ID =
IS_COLUMN_ID =
is_row_no = es_row_no.
Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'ORDER_DET' ).
WHEN go_grid3.
READ TABLE gt_vbap INTO ls_vbap INDEX e_row-index.
CHECK ( ls_vbap-matnr IS NOT INITIAL ).
SET PARAMETER ID 'MAT' FIELD ls_vbap-matnr.
CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.
WHEN OTHERS.
RETURN.
ENDCASE.
endmethod.
Code for the Report that is accessing the class.
DATA:
gd_okcode TYPE ui_func,
go_docking TYPE REF TO cl_gui_docking_container,
go_splitter TYPE REF TO cl_gui_splitter_container,
go_splitter_2 TYPE REF TO cl_gui_splitter_container,
go_cell_top TYPE REF TO cl_gui_container,
go_cell_bottom TYPE REF TO cl_gui_container,
go_cell_left TYPE REF TO cl_gui_container,
go_cell_right TYPE REF TO cl_gui_container,
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid,
go_grid3 TYPE REF TO cl_gui_alv_grid,
list type ref to zcl_eventhandler,
es_row_no type lvc_s_roid,
e_column type lvc_s_col,
e_row type lvc_s_row,
sender(8) type c.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1,
gt_vbak TYPE STANDARD TABLE OF vbak,
gt_vbap TYPE STANDARD TABLE OF vbap.
PARAMETERS : p_bukrs TYPE ekko-bukrs default '1000'.
START-OF-SELECTION.
create object list.
SELECT * FROM knb1 INTO TABLE gt_knb1
WHERE bukrs = p_bukrs.
Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 50
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Create splitter container
CREATE OBJECT go_splitter
EXPORTING
parent = go_docking
rows = 1
columns = 1
NO_AUTODEF_PROGID_DYNNR =
NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 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.
ENDIF.
Get cell container
CALL METHOD go_splitter->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_cell_left.
container = go_cell_top.
CALL METHOD go_splitter->get_container
EXPORTING
row = 1
column = 2
RECEIVING
container = go_cell_right.
Create 2nd splitter container
CREATE OBJECT go_splitter_2
EXPORTING
parent = go_cell_left
parent = go_cell_top
rows = 2
columns = 1
NO_AUTODEF_PROGID_DYNNR =
NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 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.
ENDIF.
Get cell container
CALL METHOD go_splitter_2->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_cell_top.
CALL METHOD go_splitter_2->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = go_cell_bottom.
Create ALV grids
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_cell_top
EXCEPTIONS
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.
CREATE OBJECT go_grid2
EXPORTING
i_parent = go_cell_bottom
EXCEPTIONS
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.
CREATE OBJECT go_grid3
EXPORTING
i_parent = go_cell_right
EXCEPTIONS
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.
CALL METHOD ZCL_EVENTHANDLER=>HANDLE_DOUBLE_CLICK
EXPORTING
ES_ROW_NO = ES_ROW_NO
E_COLUMN = E_COLUMN
E_ROW = E_ROW
SENDER.
Set event handler
SET HANDLER: list->handle_double_click FOR go_grid1.
SET HANDLER: list->handle_double_click FOR go_grid2.
SET HANDLER: list->handle_double_click FOR go_grid3.
Display data
CALL METHOD go_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'KNB1'
CHANGING
it_outtab = gt_knb1
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_vbak.
CALL METHOD go_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAK'
CHANGING
it_outtab = gt_vbak
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_vbap.
CALL METHOD go_grid3->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAP'
CHANGING
it_outtab = gt_vbap
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Link the docking container to the target dynpro
CALL METHOD go_docking->link
EXPORTING
repid = syst-repid
dynnr = '0100'
CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
NOTE: dynpro does not contain any elements
CALL SCREEN '0100'.
Flow logic of dynpro:
*PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
*PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Form CUSTOMER_SHOW_ORDERS
text
--> p1 text
<-- p2 text
FORM customer_show_orders .
define local data
DATA:
ld_row TYPE i,
ls_knb1 TYPE knb1.
CALL METHOD go_grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_knb1 INTO ls_knb1 INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT * FROM vbak INTO TABLE gt_vbak
WHERE kunnr = ls_knb1-kunnr.
REFRESH: gt_vbap.
ENDFORM. " CUSTOMER_SHOW_ORDERS
*& Form ORDER_SHOW_DETAILS
text
--> p1 text
<-- p2 text
FORM order_show_details .
define local data
DATA:
ld_row TYPE i,
ls_vbak TYPE vbak.
CALL METHOD go_grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_vbak INTO ls_vbak INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT * FROM vbap INTO TABLE gt_vbap
WHERE vbeln = ls_vbak-vbeln.
ENDFORM. " ORDER_SHOW_DETAILS
*& Module STATUS_0100 OUTPUT
text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "ORDERS"
SET TITLEBAR 'xxx'.
Refresh display of detail ALV list
CALL METHOD go_grid2->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Refresh display of detail ALV list
CALL METHOD go_grid3->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE USER_COMMAND_0100 INPUT.
move sy-ucomm to gd_okcode.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
User has pushed button "Display Orders"
WHEN 'ORDERS'.
PERFORM customer_show_orders.
WHEN 'ORDERS_DET'.
PERFORM order_show_details.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
endmodule.
Regards,
Ry -
Field symbol as import parameter in class method ???
Hi everyone,
is it possible to pass a field symbol as an import parameter to a method in a class? If yes, how do I define the data type of the import parameter? I'm trying to work with field symbols as the program doesn't know what kind of structure the program parameter p_srcdso has. Coding example would be something like this:
PARAMETERS: p_srcdso TYPE rsdodsobject DEFAULT '/BIC/AKVI0001'.
DATA: lr_srcpkg TYPE REF TO data.
FIELD-SYMBOLS: <fs_table> TYPE ANY TABLE.
CREATE DATA lr_srcpkg TYPE TABLE OF (p_srcdso).
ASSIGN lr_srcpkg->* TO <fs_table>.
SELECT *
FROM (p_srcdso)
INTO TABLE <fs_table>.
CALL METHOD cl_ref->create_somethign
EXPORTING
i_source_package = <fs_table>.
Thanks,
AlexHalo Alexander,
You can use TYPE REF TO DATA( say the parameter name is i_data) as the importing parameter of the method create_somethign and inside the method you need to dereference it using data reference variable again.
data: dref type ref to data.
field-symbols: <fs_table> type table.
create data dref like i_data.
assign dref->* to <fs_table>.
Regards
Arshad -
Error while passing parameter fot class method
Hi abapers,
i am trying to do alv grdi dispaly using class cl_gui_alv_grid. i am getting error "ITAB1" is not type-compatible with formal parameter 'IT_OUTTAB'.
i attached code here.
Internal Tables
types: begin of itab,
matnr type mara-matnr,
maktx type makt-maktx,
end of itab.
data: itab1 like itab.
DATA: alvgrid type ref to cl_gui_alv_grid.
CALL METHOD ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME = 'ITAB'
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
IT_OUTTAB = itab1.
IT_FIELDCATALOG =
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
please help me.Try this -
CALL METHOD ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME = 'ITAB'
IS_VARIANT =
I_SAVE =
I_DEFAULT = 'X'
IS_LAYOUT =
IS_PRINT =
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
IT_OUTTAB = <b>itab1[].</b>
IT_FIELDCATALOG =
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
Cheers -
How to pass entire class as a parameter in a method of other class- OpenScr
Hi Folks,
Whenever we create a script in OpenScript, it can contain only one class. However I want to declare several variables in a class/script and pass this entire class B as a parameter in a methodA of classA.
What I mean by mean that is , I create ClassB something like below
public class MyParams.....
variable1;
variable2;
variable3;
variable4;
variable5;
public class Original.....
public void methodA(MyParams params)
params = new MyParams();
field1 = params.variable1;
field2 = params.variable2;
field3 = params.variable3;
field5= params.variable5;
Edited by: OATS Explorer on Mar 8, 2012 1:53 AMHi
I have a stand alone program (can be used by all other users) which will accept request_id and To_Email as parameters. I am developing a new request set in which I want to incldue this stand alone program and want to pass Prog#1 request Id to the 2nd stand alone program as a parameter so that I can send the output of the Prog#1 to the users through E-mail.
Do we have any options to pass Prog#1 requeset id in to Prog#2 as a parameter in the request set without modifying the stand alone concurrent program code.
Please note that i dont want to change stand alone program code becuase this code/program was developed to work in general for all the users and I dont want to change this code for new requirement/purpose...
Hope you understood my requirement...
Thanks!! -
Getting an error message trying to open a file, "Missing required parameter 'from' for method "open'. I've tried opening in CC and CS5. What do I do? Can the file be salvaged?
Try opening as a copy, and/or copying the file to a new location and try opening that.
-
How to pass importing parameter of super class method to subclass method?
hi all,
i have defined a class
CLASS CUST_REPORT DEFINITION.
PUBLIC SECTION.
METHODS:DATA_RETRIVE IMPORTING CUSTID_LOW TYPE ZCUSTOMER-ZCUSTID
CUSTID_HIGH TYPE ZCUSTOMER-ZCUSTID.
DATA:IT_CUST TYPE TABLE OF ZCUSTOMER,
WA_CUST TYPE ZCUSTOMER.
ENDCLASS. "cust_report DEFINITION
The method DATA_RETRIVE in this class has two importing parameters named CUSTID_LOW and CUSTID_HIGH.
then i have defined subclas of this clas.
LASS CUST_ORD DEFINITION INHERITING FROM CUST_REPORT.
PUBLIC SECTION.
DATA:IT_ORD TYPE TABLE OF ZORDER.
METHODS:DATA_RETRIVE REDEFINITION,
DISPLAY.
ENDCLASS. "cust_ord DEFINITION
Method DATA_RETRIVE is redefined.
So how to pass importing parameteres of super class method to sub class method with the same name.
Thanks and Regards,
ArpitaHi,
I tried like this.
METHOD DATA_RETRIVE.
CALL METHOD SUPER->DATA_RETRIVE
EXPORTING
CUSTID_LOW = I_CUSTLOW
CUSTID_HIGH = I_CUSTHIGH.
ENDMETHOD.
But parameters I_CUSTLOW and I_CUSTHIGH are not getting values after call to method.
Thanks and Regards,
Arpita -
Error creating vendor w/ JCo FM VENDOR_INSERT- Missing parameter w/ PERFORM
Dear all,
I have followed the following thread and found it very useful as we need to create vendors from an external system in R/3 using the JCo as well. We are doing all the steps specified in previous posts and calling FM VENDOR_INSERT but when I execute the function it returns an exception:
JCoException: (104) RFC_ERROR_SYSTEM_FAILURE: Missing parameter with PERFORM.
We have checked and all the needed BAPIs are enabled but we are stuck at this first step. I have tried a variety of things but nothing seems to work. Not sure how I can specify the PERFORM parameter using JCo. Did anyone else fase this issue?
Here is what some of the relevant Java code looks like:
JCoFunctionTemplate tmplt1 = repository.getFunctionTemplate("VENDOR_INSERT");
JCoFunction vfunc = tmplt1.getFunction();
JCoParameterList vparams = vfunc.getImportParameterList();
JCoStructure jcs= vparams.getStructure("I_LFA1");
try
LocalSupplier s = getSupplier1();
jcs.setValue("MANDT", "010");
jcs.setValue("NAME1", s.getSupName());
jcs.setValue("NAME2", s.getSupName2());
jcs.setValue("PSTLZ", s.getSupPostalCode());
jcs.setValue("ORT01", s.getSupCity());
jcs.setValue("LAND1", s.getIdCountry().getIsocode());
jcs.setValue("STRAS", s.getAddress1() +", " + s.getAddress2());
jcs.setValue("MCOD1", "test");
jcs.setValue("KTOKK", "ZKRE");
jcs.setValue("SPRAS", s.getIdmasterSupplier().getIdlanguage().getLocale());
jcs.setValue("STCD1", s.getIdmasterSupplier().getTaxId());
jcs.setValue("TELF1", s.getTelephone());
jcs.setValue("TELFX", s.getFax());
execute(vfunc, destination);
catch(Exception e)
System.out.println(e.toString());
e.printStackTrace();
return;
* Method execute will call a function. The Caller of this function has
* already set all required parameters of the function
public static void execute(JCoFunction function, JCoDestination dest) {
try {
JCoContext.begin(dest);
function.execute(dest);
JCoContext.end(dest);
} catch (JCoException e) {
e.printStackTrace();
Any help from some of view that have succesfully implemented vendor creation using the JCo would be highly appreciated.Hi,
as I just wrote in the previous thread,
don't use function module VENDOR_INSERT.
As written before it is an update task FM. And also it do not check any field validity.
This is the best way to face inconsistencies in the future.
As you have also noticed, troubles and difficulties will come very soon related to the address management.
In standard there is NO FM or BAPI to do so.
The only supported option is via batch-input or idocs. Eventually, LSMW could help
See [note 384462|https://service.sap.com/sap/support/notes/384462]
With ECC 2005, a synchronisation class can help a lot. See class VMD_EI_API.
With ECC 2005 ehp3, you have an eSOA service to create vendor asynchronously. Not all fields are supported.
In other words, just create a BAPI to transfert your own parameters then either make a batchinput which will call XK01/XK02 in batch, either trigger class VMD_EI_API
BR
Alain -
Calling the super class method from the subclass
Hi all,
I have a question about inheritence and redefinition of methods. Is it possible to call the superclass implementation of a method which is redefined in the subclass in another method of the subclass?There are possbilities like creation of an explicit super class instance or delegating the super class method implementation to another method which is also protected etc. What i mean is, is there a direct way of calling it?We have ,me, as the reference for the instance we have(which is the subclass instance in this case), is there also a way of pointing the superclass implementation(with super we can reference in the subclass redefinition, my question is if we have such a parameter in other methods of the subclass too)
Thanks in advance
SukruHi,
The super reference can only be used in redefined methods to call superclass implementation . So probably what you can do is use upcasting and access the required superclass implementation. I can think of only this way...;-)
Ex data lr_super type ref to cl_superclass
lr_super = lr_subclass.
lr_super->method().
~Piyush Patil -
Why do I get Missing Parameter Values error from CrystalReportViewer in VS2005
Post Author: eseidel
CA Forum: .NET
Hi everyone,
I have spent way to much time trying to figure this problem out and am getting no where now. I was hoping someone with more experience in CR for VS2005(I think v.9) and VS2005 may be able to help. I have a report with 10 parameters that Im setting in code. I have another 3 parameters in a subreport(with same names as 3 in main report) that are being pushed in(I hope) through my ApplyParams() method. I have checked the output of each parameter before and after it is assigned in ApplyParams. All values are being set....So why do I keep getting an error when I run it for Missing Parameter Values no matter what I do? The error comes after SetDBLogonForReport(myConnectionInfo). I have been struggling with this problem for almost 3 days now and have tried numerous approaches. If I remove the subreport it works ok. Why is subreport not getting parameters(I think this is where the problem stems from)? Please any advice would be greatly appreciated. Thank you. If need be I can e-mail the report but I don't know how much that will help without being able to access the datasources.
Eric
Code Snippet
Private _Parameters As New System.Collections.Specialized.StringDictionary
Public Property Parameters() As System.Collections.Specialized.StringDictionary
Get
Return (_Parameters)
End Get
Set(ByVal Value As System.Collections.Specialized.StringDictionary)
If (Value Is Nothing Or _Parameters Is Nothing) Then Exit Property
For Each entry As DictionaryEntry In Value
_Parameters.Add(entry.Key, entry.Value)
Next
End Set
End Property
Private Sub SetParameters()
Parameters("kiPerformance") = rptKi.ToString
Parameters("PreparedBy") = rptPreparedBy
Parameters("SupplierName") = rptSupplierName
Parameters("Supplier") = rptSupplier 'Param in subreport too
Parameters("ApprovedBy") = rptApprovedBy
Parameters("kiPerformanceGoal") = rptKiThisGoal.ToString
Parameters("kiForecastGoal") = rptKiForecast.ToString
Parameters("kiNextGoal") = rptKiNextGoal.ToString
Parameters("kiBegRange") = rptBegDate.ToString("d") 'Param in subreport too
Parameters("kiEndRange") = rptEndDate.ToString("d") 'Param in subreport too
End Sub
Public Function ApplyParams()
Me.SuspendLayout()
Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument = _
crv.ReportSource
If (rpt Is Nothing OrElse _Parameters Is Nothing) Then Return False
Dim crParameterFieldDefinitions As ParameterFieldDefinitions = rpt.DataDefinition.ParameterFields
If (crParameterFieldDefinitions Is Nothing) Then Return False
For Each crParameterFieldDefinition As ParameterFieldDefinition In crParameterFieldDefinitions
If ((Not crParameterFieldDefinition.IsLinked) And _
_Parameters.ContainsKey(crParameterFieldDefinition.Name)) Then
Dim crParameterValues As ParameterValues = _
crParameterFieldDefinition.CurrentValues
If Not (crParameterValues Is Nothing) Then
Dim crParameterDiscreteValue As New ParameterDiscreteValue
crParameterDiscreteValue.Value = _Parameters.Item(crParameterFieldDefinition.Name)
crParameterValues.Add(crParameterDiscreteValue)
'Console.WriteLine(crParameterFieldDefinition.Name & ": " & crParameterDiscreteValue.Value)
crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)
End If
End If
Next
crv.ReportSource = rpt
Me.ResumeLayout()
Return Nothing
End Function
Private Sub ConfigureCrystalReports()
Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo
Dim pFields As New ParameterFields()
Dim pField As New ParameterField()
Dim disVal As New ParameterDiscreteValue()
'Connection stuff,sorry I can't show you this part
'Bind report
rptCard = New ReportCard
LoadDataSource()
rptCard.SetDataSource(dsOcc)
rptCard.Subreports("FailOcc").SetDataSource(dsOcc) 'Ive tried without this line as well
rptCard.PrintOptions.PaperSize = PaperSize.Paper11x17
rptCard.PrintOptions.PaperOrientation = PaperOrientation.Landscape
crv.ReportSource = rptCard
'Load parameters for report
SetParameters()
crv.RefreshReport()
SetDBLogonForReport(myConnectionInfo)
End sub
Private Sub SetDBLogonForReport(ByVal conn As ConnectionInfo)
Dim tableLogOnInfos As TableLogOnInfos = crv.LogOnInfo
For Each myTableLogOnInfo As TableLogOnInfo In tableLogOnInfos
myTableLogOnInfo.ConnectionInfo = conn
Next
End Sub
Private Sub crv_Error(ByVal source As Object, ByVal e As CrystalDecisions.Windows.Forms.ExceptionEventArgs) Handles crv.Error
MsgBox(e.Exception.Message)
e.Handled = True
End Sub
Private Sub crv_ReportRefresh(ByVal source As Object, ByVal e As CrystalDecisions.Windows.Forms.ViewerEventArgs) Handles crv.ReportRefresh
ApplyParams()
End SubPost Author: mewdied
CA Forum: .NET
By any chance are the parameters in your subreport stored procedure parameters?
There was a specific fix for stored procedure parameters available from:ftp://ftp1.businessobjects.com/outgoing/CHF/crnet20win32x86_en_chf.zip
The specific fix is described in the readme under Problem ID # ADAPT00532856 -
CrystalReportViewer: "Missing parameter values with implemented error event
I'm using the CrystalReportViewer in APS.net (C#), and try to display a report in it.
I've implemented the error event of the viewer to show the user a different error message than the viewer itself does.
this.CrystalReportViewer.Error += new CrystalDecisions.Web.ErrorEventHandler(CrystalReportViewer_Error);
protected void CrystalReportViewer_Error(object source, CrystalDecisions.Web.ErrorEventArgs e)
var msg = "Error in CrystalReportViewer\r\n{0}".FormatInvariant(e.ErrorMessage);
throw new InvalidOperationException(msg);
But.... Now if I want to show a report that has parameters in it, the parameter page does not appear before the report itself. How can I make my code work (without removing the implementation of the error event), so the viewer first shows the parameter page, before showing the actual report?And in the Page_Load method:
this.CrystalReportViewer.Error += new CrystalDecisions.Web.ErrorEventHandler(CrystalReportViewer_Error);
I've done this so i can show my own error page to the user of the website. Otherwise the CRViewer shows his own error, and I do not want the user of the website to see this 'technical' error.
So i've implemented the CrystalReportViewer.Error method:
protected void CrystalReportViewer_Error(object source, CrystalDecisions.Web.ErrorEventArgs e)
// Missing parameter values.
var discardToShowParameterPrompt = (e.ErrorMessage.ToUpperInvariant() == "Missing parameter values.".ToUpperInvariant())
|| (e.ErrorMessage.ToUpperInvariant() == "Ontbrekende parameterwaarden.".ToUpperInvariant());
if (discardToShowParameterPrompt)
_Log.Debug("The parameter screen should be displayed now.");
else
var msg = "Error in CrystalReportViewer: {0}".FormatInvariant(e.ErrorMessage);
throw new InvalidOperationException(msg);
If I load a report with no params in the report, the page shows immediately the report.
If I load a report with params in the report, the params page is shown, the user can enter the param values, and after pressing OK, the report is shown.
If an error occurs (for example the report cannot connect to the database), the viewer does NOT show the error (because i've implemented the _error event) but my code throws an InvalidOperationException, and this is handled by code so the error is logged to a file, and the user gets a user friendly message on the website.
If i do not implement the _error event, the user will see the technical error in the crystal reports viewer.
If I comment out the code where I'm looking for the string "Missing parameter values." (or "Ontbrekende parameterwaarden") the parameter page will not be shown, and an error will be thrown by the Crystal Reports viewer.
If I put e.handled = true in the _error event, and there is an error (for example the database cannot be found), no error will be thrown, and there is nothing to see in the viewer.
So for now the only way to get the params page is to implement the _error event the way i've done in the above code, checking the error message on a string value. -
Error Missing Parameter Values
I am very inexperinced in VB and ASP.Net.
That being said I have used forums and tutorials to develop the code below.
In the code I have hard coded some values to be passed to the report for testing...see num_inv and ser_inv.
When I run the code I get an error "Missing Parameter Values".
If I remove the lines that setparamervalues and turn on the enableparamaterpromt the report works fine and I can manually enter the values and see my completed report.
More Details...
The Crystal Report uses an ODBC connection to a SQL Server. I am only using one view to feed the report and there are no subreports. I am buidling the web app in VS2010 with the crystal reports version for VS2010 installed.
Dorry if I didn't give enough information...I don't know what else is relavant.
Any help would be greatly appreciated!
Private Const PARAMETER_FIELD_NAME_1 As String = "Invoice"
Private Const PARAMETER_FIELD_NAME_2 As String = "Serial"
Private Sub WebForm2_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
ConfigureCrystalReports()
End Sub
Private InvoiceReport As ReportDocument
Private Sub ConfigureCrystalReports()
Dim num_inv As Integer
Dim num_ser As Integer
num_inv = 880822
'Request.QueryString("inv")
num_ser = 1
'Request.QueryString("ser")
InvoiceReport = New ReportDocument()
Dim reportPath As String = Server.MapPath("S36 Invoice.rpt")
InvoiceReport.Load(reportPath)
InvoiceReport.SetParameterValue(PARAMETER_FIELD_NAME_1, num_inv)
InvoiceReport.SetParameterValue(PARAMETER_FIELD_NAME_2, num_ser)
CrystalReportViewer1.ReportSource = reportPath
End SubI would start by enabling the parameter prompt and passing the parameters in code. You will only be prompted for the parameters that did not receive an acceptable value. This will let you see if your code to set the values is working for one or neither of your parameters. Calling the setparametervalues method will not return an error if the value isn't accepted.
Also, make sure your datatype is the same as defined in the report, and make sure you have no differences in the parameter names. Note, if the parameters are automatically created in the report because they came from a stored procedure, you need to include the @ symbol in the name as you see in the designer. -
ReportDocument.Export() raises "Missing Parameter Values" exception
Hi
Recently I encountered a question about SAP Crystal Report that I have a rpt file with several sub reports and I am required to make the data source to be XML with http/https URLs. I created different .NET pages which returns XML stream as data source for both main report and sub reports in my rpt file, and also created a sub report links which pass dynamic parameters from main report to the sub reports, everything worked fine when I entered the necessary parameters only for the main report in the design tool, both the main report and sub reports displayed perfectly.
But it did not work in my .NET application which export the reports to PDFs, I referenced “CrystalDecisions.CrystalReports.Engine” and some other necessary DLLs into my project, and then I created an instance of ReportDocument, loaded the rpt file, set parameters which used in the main report, set connection info, and at last when I export the report it throw out an exception with “Missing Parameter Values” error message, even though I removed the sub report links which pass parameters from main report, the exception still occurred, but when I removed all the sub reports, and only export the main report it worked!!
Here is a result of my attempts:
Main Report
Sub Report
Result
1
With XML data source
No report
Works fine with dynamic parameters set to the http/https url which returns an xml results
2
With XML data source
Pass a static value and print it on the report
Works fine.
3
With XML data source
Create a SQL command WITHOUT any parameters passed from main report
Works fine
4
With XML data source
Create a SQL command WITH a dynamic parameter passed from main report
Works fine
5
With XML data source
Create a xml data source WITHOUT any parameters passed from main report
Failed with "Missing Parameter Values"
6
With XML data source
Create a xml data source WITH a dynamic parameter passed from main report
Failed with "Missing Parameter Values"
I am confused about this issue for a few days, is there any ideas or helps? many thanks!OK:
We upgraded to CR 13.0.2000.0 and Visual Studio 2012 and .Net Framework 4.5.
Problem still happens.
When we display the report in the designer, the url has parameters. Here are the IIS log entries:
2014-05-01 18:24:56 192.168.251.10 GET /quotit/apps/leadspro/CrystalServiceGateway_test.aspx @IFPPSID=1899582751211388&@styleColorScheme=10511658/13343077/10511658/13343077/16777215/15720656/16777215/15720656/24831/13426687|10511658/16777215/16777215/16777215/0/0/0/0/0/0 80 - 10.16.26.44 Java/1.6.0_37 200 0 0 959
2014-05-01 18:24:56 192.168.251.10 GET /quotit/apps/leadspro/CrystalServiceGateway_test2.aspx @BrokerID=23433176 80 - 10.16.26.44 Java/1.6.0_37 200 0 0 742
When we use the crystaldecisions.crystalreports.engine, no parameters are passed. Here are the IIS log entries:
2014-05-01 18:22:28 192.168.251.10 GET /quotit/apps/leadspro/CrystalServiceGateway_test2.aspx - 80 - 10.16.26.44 Java/1.7.0_45 200 0 0 58
2014-05-01 18:22:28 192.168.251.10 GET /quotit/apps/leadspro/CrystalServiceGateway_test.aspx - 80 - 10.16.26.44 Java/1.7.0_45 200 0 0 115
I cannot attach the rpt file here. If you need it, please let me know how to get it to you. I am attaching a screenshot of the datasource location. I am pasting in the striped down .NET code. Any help or pointers would be greatly appreciated.
Thanks,
Tom
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.IO;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using System.Collections;
namespace CrystalTest
class Program
static void Main(string[] args)
string source = Path.Combine(@"C:\Users\thomas\Desktop\reports\eProIFP\iProReports", "summaryReportByPremium_ACA_UltraColor.rpt");
string destination = Path.Combine(@"C:\Users\thomas\Desktop\testReports", "output.pdf");
if (File.Exists(destination))
File.Delete(destination);
ReportDocument rptDoc = new ReportDocument();
if (File.Exists(source))
rptDoc.Load(source);
rptDoc.SetParameterValue("@IFPPSID", "1899582751211388");
rptDoc.SetParameterValue("@styleColorScheme", "10511658/13343077/10511658/13343077/16777215/15720656/16777215/15720656/24831/13426687|10511658/16777215/16777215/16777215/0/0/0/0/0/0");
rptDoc.SetParameterValue("@testID", "1");
CrystalDecisions.Shared.TableLogOnInfo logOnInfo = new CrystalDecisions.Shared.TableLogOnInfo();
foreach (CrystalDecisions.CrystalReports.Engine.Table objTable in rptDoc.Database.Tables)
logOnInfo.ConnectionInfo.IntegratedSecurity = true;
objTable.ApplyLogOnInfo(logOnInfo);
ExportOptions CrExportOptions = new ExportOptions();
DiskFileDestinationOptions crDiskFileDestinationOptions = new DiskFileDestinationOptions();
crDiskFileDestinationOptions.DiskFileName = destination;
CrExportOptions = rptDoc.ExportOptions;
CrExportOptions.DestinationOptions = crDiskFileDestinationOptions;
CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
rptDoc.Export(); -
Missing parameter values message when exporting report
Post Author: Gr_Pr
CA Forum: .NET
Using .NET 2005, CR XI R2, and the Crystal SDK for .NET 2005 to generate reports. Basically CR is my application's reporting tool. So, we create a report in CR XI R2, then distribute that report to our users loading it into the .NET application using the Report Document class.
We have a small problem.
Our user's have the ability to use pre-defined 'prompts' that will pass parameters to the reports. Let's say that the prompt will pass in (5) pre-defined parameter values, but the customer wants to run their own 'custom' report using our prompt, but their 'custom' report contains (6) parameters.
If I let the Report Viewer load the report, the user will be prompted for the missing parameter value that was not supplied by the 'prompt'.
If I run the report without loading it into the Viewer and try to export the report directly to PDF I receive an error message from CR stating I have 'Missing Parameter Values' then the report errors out.
Has anyone come across this? Is there something I missed?
I am not real sure as to why you would be prompted by the Viewer and not by the Export Class. This worked fine when using the RDC component, I was prompted for the missing parameter value by both options.
Any help would be greatly appreciated.Hi,
The report has it's own ADO Datasource set in crystal reports, so I just pass the log on information to the report object before doing anything else.
this.DataSourceConnections[0].SetConnection("ServerName", "Database", "sa", "Password");
I then do a refresh before applying the parameter values (I do this because the user can preview the report more than one time by using a preview button on the parameter form without re-loading the report object)
this.Refresh();
Then I set all parameter values followed by setting the recordselection formula. -
Missing parameter values when trying to export to pdf in C#
HI all,</BR>
</BR>
I'm having a problem passing a parameter from my c#.NET code through Crystal Reports 2008...</BR>
</BR>
Crystal Reports Developer version 12.1.0.892</BR>
using a WinXP machine</BR>
The parameter I've setted up in Crystal Reports Design is one to dynamically change the query that will run on the report:</BR>
"SELECT * FROM REPORTS.{?Protocolname}_FC_QUERY"</BR>
</BR>
</BR>
The code I use calling one of the reports I must provide:</BR>
</BR>
using System;</BR>
using System.Collections.Generic;</BR>
using CrystalDecisions.CrystalReports.Engine;</BR>
using CrystalDecisions.Shared;</BR>
using System.Data;</BR>
using System.Data.OracleClient;</BR>
using System.Collections;</BR>
namespace CrystalReportsRapportjes</BR>
{</BR>
class MainClass</BR>
{</BR>
public static void Main(string[] args)</BR>
{</BR>
Console.WriteLine("Start of program!");</BR>
string connString = "server=CT_PRD;user id=report;password=report";</BR>
OracleConnection conn = new OracleConnection(connString);</BR>
try</BR>
{</BR>
conn.Open();</BR>
Console.WriteLine("Connection opened.");</BR>
</BR>
Console.WriteLine("Connection Properties:");</BR>
Console.WriteLine("\tConnection String: {0}", conn.ConnectionString);</BR>
Console.WriteLine("\tServerVersion: {0}", conn.ServerVersion);</BR>
Console.WriteLine("\tState: {0}", conn.State);</BR>
QL_ExportReport("C:\\Data\\converted2crystal\\PLANNING_REPORT_params.rpt");</BR>
</BR>
} catch (OracleException e) {</BR>
Console.WriteLine("Error: " + e);</BR>
} finally {</BR>
conn.Close();</BR>
Console.WriteLine("Connection closed.");</BR>
}</BR>
Console.WriteLine("End of program!");</BR>
Console.ReadKey();</BR>
}</BR>
private static void QL_ExportReport(string reportName)</BR>
{</BR>
ReportDocument CR_reportDocument = new ReportDocument();</BR>
DataSet ds = new DataSet();</BR>
CR_reportDocument.Load(reportName);</BR>
CR_reportDocument.SetDatabaseLogon("Reports", "Reports");</BR>
for(int i=0;i<CR_reportDocument.DataDefinition.ParameterFields.Count; i++)</BR>
{</BR>
Console.WriteLine("Reading parameters");</BR>
Console.WriteLine(CR_reportDocument.DataDefinition.ParameterFields<i>.ParameterFieldName);</BR>
if(CR_reportDocument.DataDefinition.ParameterFields<i>.ParameterFieldName==
"Protocolname")</BR>
Console.WriteLine("Correct parameter found, now assigning value");</BR>
ParameterValues ThisPV = new ParameterValues();</BR>
ThisPV.AddValue("TMC999C999");</BR>
CR_reportDocument.DataDefinition.ParameterFields<i>.CurrentValues.Clear();</BR>
CR_reportDocument.DataDefinition.ParameterFields<i>.DefaultValues.Clear();</BR>
</BR>
CR_reportDocument.DataDefinition.ParameterFields<i>.ApplyCurrentValues(ThisPV) ;</BR>
//CR_reportDocument.SetParameterValue("Protocolname","TMC999C999");</BR>
//CR_reportDocument.DataDefinition.ParameterFields<i>.CurrentValues.AddValue(ThisPV);</BR>
}</BR>
CR_reportDocument.Refresh();</BR>
CR_reportDocument.ExportToDisk</BR>(ExportFormatType.PortableDocFormat,"C:\\Data\\converted2crystal\\EDC_PLANNING_RPT_params.pdf");</BR>
CR_reportDocument.Close();</BR>
}</BR>
}</BR>
}</BR>
</BR>
The exceptions he throws using this code is = CrystalDecisions.CrystalReports.Engine.ParameterFieldCurrentValueException: </BR>Missing parameter values. ---> System.Runtime.InteropServices.COMException: Missing parameter values.</BR>
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException</BR>
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream</BR>
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream</BR>
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export</BR>
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk</BR>
at CrystalReportsRapportjes.MainClass.QL_ExportReport in </BR>c:\Data\sharpdevelopfolder\CrystalReportsRapportjes\CrystalReportsRapportjes\Program.cs:line 72</BR>
at CrystalReportsRapportjes.MainClass.Main in </BR>c:\Data\sharpdevelopfolder\CrystalReportsRapportjes\CrystalReportsRapportjes\Program.cs:line 33</BR>
</BR>
When I use the code</BR>
CR_reportDocument.DataDefinition.ParameterFields<i>.CurrentValues.AddValue(ThisPV);</BR>
instead of</BR>
CR_reportDocument.DataDefinition.ParameterFields<i>.ApplyCurrentValues(ThisPV) ;</BR>
</BR>
the error I get there is:</BR>
System.ArgumentException: Value does not fall within the expected range.</BR>
at CrystalDecisions.Shared.SharedUtils.ConvertToDecimal</BR>
at CrystalDecisions.Shared.ParameterDiscreteValue.set_Value</BR>
at CrystalDecisions.Shared.ParameterValues.AddValue</BR>
at CrystalReportsRapportjes.MainClass.QL_ExportReport in </BR>c:\Data\sharpdevelopfolder\CrystalReportsRapportjes\CrystalReportsRapportjes\Program.cs:line 69</BR>
at CrystalReportsRapportjes.MainClass.Main in </BR>c:\Data\sharpdevelopfolder\CrystalReportsRapportjes\CrystalReportsRapportjes\Program.cs:line 33
</BR>
</BR>
</BR>
Can someone please tell me what's the right way passing a parameter to a report?</BR>
</BR>
Thanks in advance.</BR>You should use the
ReportDocument.SetParameterValue("ParameterName", "ParamValue");
>
Els Cochez wrote:
> When I use the code</BR>
> CR_reportDocument.DataDefinition.ParameterFields<i>.CurrentValues.AddValue(ThisPV);</BR>
> instead of</BR>
> CR_reportDocument.DataDefinition.ParameterFields<i>.ApplyCurrentValues(ThisPV) ;</BR>
> </BR>
> the error I get there is:</BR>
> System.ArgumentException: Value does not fall within the expected range.</BR>
> at CrystalDecisions.Shared.SharedUtils.ConvertToDecimal</BR>
> at CrystalDecisions.Shared.ParameterDiscreteValue.set_Value</BR>
> at CrystalDecisions.Shared.ParameterValues.AddValue</BR>
> at CrystalReportsRapportjes.MainClass.QL_ExportReport in </BR>c:\Data\sharpdevelopfolder\CrystalReportsRapportjes\CrystalReportsRapportjes\Program.cs:line 69</BR>
> at CrystalReportsRapportjes.MainClass.Main in </BR>c:\Data\sharpdevelopfolder\CrystalReportsRapportjes\CrystalReportsRapportjes\Program.cs:line 33</BR>
> </BR>
> </BR>
> Can someone please tell me what's the right way passing a parameter to a report?</BR>
> </BR>
Try parsing the parameter value to a decimal value before setting it as parameter value.
Hope this will help
Maybe you are looking for
-
I am getting a pop up on my iPhone 4S asking password of my iCloud even though I feed the password but still keep on asking the same thing every second so I am not able to use my iPhone.at various times it asks different passwords.
-
Doesn't seem to charge, not being read, and have the sad face
pretty much it. I have the 80G. It was freezing today so i tried restarting it but then it didn't respond to the buttons as if it was on hold but the music was still playing but the screen was frozen. So i hooked it up to a ipod boombox so it would k
-
Aperture 2.1.2 cannot read date format in new iPhoto '09
I've noticed that when I import photos from iPhoto '09 to Aperture, the image dates all change to 12/31/00 from the dates input in iPhoto. This was not the case in iPhoto '08, so I assume iPhoto '09 uses a new date format that Aperture cannot read. H
-
HT201272 did not receive content from in app purchase
I have made a purchase within an app where I did not receive the purchased product. I have made a few other purchases in the same game and have always received my content immediately. How do I get a refund or redownload in app purchase?
-
Hi there, when I import a song (from itunes) and add it to the timeline, there is not sound. So I tried to export use the FCE export using quicktime conversion and converted the song to a WAV as well as an AIFF. I reimported and it still has no sound