The obligatory parameter had no value assigned to it
Hi,
Abap OO question:
method is defined in the protected section, like this:
METHODS: path_build IMPORTING value(i_bukrs) TYPE bkpf-bukrs
value(i_datatype) type char25
value(i_dirtype) type char25
returning value(r_pathfile) type ZPATHFILE.
I get syntax error
"the obligatory parameter i_bukrs had no value assigned to it"
when I try to call the method inside of a public method, like this:
tp_pathfile = me->path_build( ) exporting i_bukrs = '4010'
i_datatype = 'I205A'
i_dirtype = 'OUT'.
Any hints how to resolve syntax error are welcome.
thank you,
Rolf
Hello Rolf
The function method call should look like this.
tp_pathfile = me->path_build(
i_bukrs = '4010'
i_datatype = 'I205A'
i_dirtype = 'OUT' ).
Regards
Uwe
Similar Messages
-
WebService for HR failing; the obligatory parameter EMPLOYEENUMBER error
Hello Gurus ,
im trying to create a webservice for BAPI_BASICPAY_CREATE function module, which should read some of parameters and create and entry in (ECC 6) HR module.
This FM basicaly gets data such as Personnel no, valid from, valid to, wage type, amount.
Ive created the WS throught SE37> More utilities > more utilities > create web service > from function module
after that, going into SOAMANAGER ive created BINDING.
Before going into WSNAVIGATOR, ive tested the BAPI inside ECC, it works fine.
Now WSNAVIGATOR: the genereted binding WSDL URL is working just fine, it gets all the methods of BAPI.
I can input everything into the fileds. the read parameters seem to be ok:
Best regards
Laurynas PrikockisCreate your own FM, transfer parameters, everything should work fine.
-
Error at sales order: Inconsistent characteristic value assignment
Hi SAPians
There is a problem in variant configuration. I have configurable materials at sales order level with BOMs and super BOMs. When I am executing the scenario, not able to process further after selecting characteristic values for a configurable material. The error saying " Inconsistent characteristic value assignment". I checked all the relevant master data, every thing is okay. But I am not able to proceed further. Can any one provide some valuable inputs for this.
Raksha.Hi
Did u create variant table (CU61) if not plz and try to make it by tick mark of Decision table..
u can check assignmebt consitance thru CU60 ..if there again blank plz maintain it manually..
basically wt happened during creation of Characteristics and assignment of value in value tab .. there is indicator ..which influence assignment consistance..
hope u may get clue.
correct me if i went wrong..
thanks
mk -
How to Check Characterstic Values assigned for a material
Hi ,
My requirement is , to check each and every material entered in the selection screen and characterstic values assigned to this,
I dont need characterstic values for a material, i have to check whether characterstic values assigned or not , if not i have to give a message..
I used CLAF_CLASSIFICATION_OF_OBJECTS FM for getting charactersic values
it is giving NO classification found , but for tghat material classification is existing subsequently characterstic values are also there, i passed material no with leading zeros also.
i used WMCL_MAT_READ_CHAR_VALUES FM also , but it is giving No charcterstic values found for that Material but characterstic values are assigned for that Material..
Could u please find out ,where i am missingTHIS MATERIAL HAS CLASSIFICATION VIEW AND CHARACTERSTIC VALUES ALSO MAINTAINED
DATA : MATNO TYPE AUSP-OBJEK,
L TYPE I,
T_CLASS TYPE STANDARD TABLE OF SCLASS ,
T_OBJECTDATA TYPE STANDARD TABLE OF CLOBJDAT.
MATNO ='631165'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = MATNO
IMPORTING
OUTPUT = MATNO
"use this function moduel...
*Retrieve Batch class , characteristic name and values for Material
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
class = 'ZCA2535'
classtype = '023'
features = 'X'
language = 'E'
object = MATNO "pass material number with leading zeros..
objecttable = 'MARA'
TABLES
t_class = t_class
t_objectdata = t_objectdata
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
IF sy-subrc = 0.
ENDIF.
BUT IT IS GIVING NO CLASSIFICATION FOUND -
Sorting of value assignment types
Hi
Is there any way out for sorting already created custom value assignment types. As there is requirement to rearrange the tabs in Incident screen (CBIH82)
Currently value assignment types have been sorted alphabetically, and if we change the name of class and value assignment types for rearrangement, it may have larger impact because of its current assignments/usage.
Is there any other mechanism to sort them.
Regards
VikramThanks Neeraj
But i am bit worried for changing the name of VAT, as existing VAT has been used in various custom programs. It may hamper/impact those programs.
I may have to look for some other work around or i have to do some impact analysis to find all the custom programs which can be affected due to change in name.
Regards and Thanks
Vikram -
Can we assign two values to the same parameter? If yes how? For details ple
Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
I want to do this to print two documents(values) with a single command (parameter)
Anybody please help quickly,
Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
JAVA PROGRAM:
<param name="QUERY" value="REPORT_TEST1"/>
function PrintReport(typePaper) {
document.title ='Report';
if (typePaper == "0")
{var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
if (typePaper == "1")
{var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
var openCMD='<SAP_BW_URL>';
openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
openCMD += CurrentReportName;
openWindow(openCMD,'MainTitleNow',800,600);
The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
Please help.
THANX A LOT,
SRINIHi,
Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
In the function get the parameter value and seperate the values using the same delimiter.
<param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
Regards,
Uma -
Can we assign two values to the same parameter? If yes how?
Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
I want to do this to print two documents(values) with a single command (parameter)
Anybody please help quickly,
Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
JAVA PROGRAM:
<param name="QUERY" value="REPORT_TEST1"/>
function PrintReport(typePaper) {
document.title ='Report';
if (typePaper == "0")
{var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
if (typePaper == "1")
{var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
var openCMD='<SAP_BW_URL>';
openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
openCMD += CurrentReportName;
openWindow(openCMD,'MainTitleNow',800,600);
The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
Please help.
THANX A LOT,
SRINIHi,
Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
In the function get the parameter value and seperate the values using the same delimiter.
<param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
Regards,
Uma -
Explicit assignment to the ref parameter in member function doesn't work
I've created new member procedure in a simple DB schema (Profesor-Asignatura-Departamento). In this procedure I'd like to change explicitly the value of departamento parameter which stores references to departamento objects.
So what I'm doing is:
select ref(d) into ref_departamento from departamento d where d.codigo=n_departamento; -- retrieve reference to the departament which has a code=n_departamento
then I'd just like to assign the result to objects attribute like this:
self.departamento:=ref_departamento;
and here it doesn't work and I'm wondering why; I haven't found explaination in web. No error is displayed, simply it doesn't change the previous value of the parameter.
Maybe there are some restrictions. I've managed to find another solution here with UPDATE statement but I'm curious why the simple assignment doesn't work.
Thanks in advance,
WojtekOK, I'm not spanish however I like my code to be kept that way because I'm still learning :)
Most important classess are these (then tables are created for them):
create or replace type ot_departamento as object
codigo number,
nombre varchar2(32),
telefono vt_telefono, -- vector type of size 3
profesores tt_departamento_profesores, -- table type of references to ot_profesor objects
asignaturas tt_departamento_asignaturas -- table type of references to ot_asignatura objects
create or replace type ot_profesor as object
codigo number,
nombre varchar2(32),
direccion ot_direccion, --object type with street, city, etc.
telefono vt_telefono,
departamento ref ot_departamento, -- reference to ot_departamento
docencia tt_profesor_docencia, -- table type of objects which attributes are (reference to ot_asignatura, credits for a subject)
create or replace type ot_asignatura as object
codigo number,
nombre varchar2(32),
departamento ref ot_departamento, -- reference to ot_departamento
docencia tt_asignatura_docencia, -- table type of objects which attributes are (reference to ot_profesor, credits for a subject)
member procedure cambio_departamento(n_departamento number) *<- That's the procedure, where I had this issue* its task is to change current department,it takes as an argument code of new department which needs to be assigned
So now the code for my procedure is:
create or replace
type body ot_asignatura as
member procedure cambio_departamento(n_departamento number) is
asig_count number:=self.docencia.count;
no_cambio exception;
docencias_adscritas exception;
ref_departamento ref ot_departamento;
begin
--first check if a department of given code (n_departamento) exists at all, if not then raise NO_DATA_FOUND exception
select ref(d) into ref_departamento from departamento d where d.codigo=n_departamento;
--check if the given department is not the same as asignatura has already assigned, if so then raise NO_CAMBIO (NO_CHANGE) exception
if ref_departamento=self.departamento then
raise no_cambio;
end if;
--if there are any docencias (subject is declared with professor who's teaching and credits) already assigned to current department then department can't be changed
if asig_count>0 then
raise docencias_adscritas;
end if;
--first delete our assignatura from list of assignaturas already assigned to current department in the corresponding ot_department
delete from the (select d.asignaturas from departamento d where ref(d)=self.departamento) a
where a.COLUMN_VALUE.codigo=self.codigo;
--now assing (update) to current assignatura reference to the new department
--self.departamento:=ref_departamento; <- THIS IS NOT WORKING HERE*, so the workaround is given below by using explicit UPDATE on the whole table
update asignatura a set a.departamento=(select ref(d) from departamento d where d.codigo=n_departamento)
where a.codigo=self.codigo;
--what's left is to add current assignatura to the list of assignatures for new ot_departamento
insert into the (select d.asignaturas from departamento d where d.codigo=n_departamento)
select ref(a) from asignatura a where a.codigo=self.codigo;
exception
when no_data_found then
raise_application_error(-20003,'No hay este departamaneto');
when no_cambio then
raise_application_error(-20002,'Asignatura ya adscrita a este departamento');
when docencias_adscritas then
raise_application_error(-20001,'Asignatura tiene docencias adscritas !!!');
end cambio_departamento;
end;
I hope it's quite clear here. I'm still curious, why it's not working.
Thanks,
Wojtek -
Trying to get the input parameter of a web service fxn based on table value
Hello--
I am new to ADF and Jdev 11g (I am a forms developer). I had created a web service from a pl/sql stored db package. I can successfully execute a function with an input parameter from ADF Faces.
Instead of the input parameter being enterable by the user, I would like it to be based on a selected ADF table column value. How would I correlate the selected row column value as the function input parameter?
I played with an ADF output text based on the ADF table column with the PartialTriggers value set to the ADF table...which updates the output text based on the column selected. Do I use some sort of partial trigger on the input parameter?
From a forms point of view, I am looking for the "Copy Value from Item" property :)Hi,
Not sure if this would help you.
But if your table is bound to a ViewObject, it will be easier to get the current selection.
Supose your table is bound to iterator1.
In your backBean code:
DCBindingContainer dcBindings = (DCBindingContainer)getBindings();
DCIteratorBinding iterator =dcBindings.findIteratorBinding("iterator1");
Row row = iterator.getCurrentRow();
Object selectedValue = row.getAttarbute(<value of the column you are looking for>);
public BindingContainer getBindings() throws Exception {
try {
if (this.bindings == null) {
FacesContext fc = FacesContext.getCurrentInstance();
this.bindings =
(BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
"#{bindings}",
BindingContainer.class);
return this.bindings;
} catch (Exception ex) {
displayMessage("Error occurred. Please contact your IT Adminstrator.");
return this.bindings;
Let me know if this helps.
-Makrand -
How to get the selection parameter values to Posting logic method
How can i read the selection parameter values at " posting logic" method, which are given in " Select Option function module"?
max bianchi wrote:
Hi
>
> The selection-screen data are stored in ABAP memory, so it need to clear it .
>
> Now how set ID parameter can depend on SAP release, anyway in ECC 6 this should work:
>
>
INITIALIZATION.
> DATA: BEGIN OF MEMKEY,
> REPORT TYPE SY-REPID VALUE SY-REPID,
> VARIANT TYPE RSVAR-VARIANT,
> INT_MODE(2) TYPE N,
> KIND(1) TYPE C,
> END OF MEMKEY.
>
> SYSTEM-CALL INTERNAL MODE INTO MEMKEY-INT_MODE.
> FREE MEMORY ID MEMKEY.
>
> But in this way it'll clea whole selection-screen...do you wnat do it?
>
> Max
@Max : The above hack seem to work fine unless you assign a 'DEFAULT' value to the selection fields.
@OP : Here is an other work around, however, this approach needs an additional effort to create
new PF-STATUS('MYLIST') and assign a function code of your choice to the function keys in the standard toolbar and handle them in the 'AT USER-COMMAND' event as shown below. Let us know if you have/find any issues with this.
PARAMETERS:
p_test TYPE char5 DEFAULT '123'.
AT USER-COMMAND.
CASE syst-ucomm.
WHEN 'MBACK'.
SUBMIT zytest WITH p_test = '' VIA SELECTION-SCREEN.
ENDCASE.
START-OF-SELECTION.
SET PF-STATUS 'MYLIST'.
-Rajesh. -
Value to multiple sprites through the same parameter
I'm going to ask the same question "
"contains" doubt in hexadecimal color value?" but in a
different way, because I figured out that the solution is simpler
that I thought, and the solutions goes by other way. I have this
behavior:
property pTargetSprite, pBlendValue
on getPropertyDescriptionList me
list = [:]
addProp list, #pTargetSprite, [#comment: "Target Sprite:",\
#format: #integer, #default: VOID]
addProp list, #pBlendValue, [#comment: "Blend Value:",\
#format: #integer, #default: 100]
return list
end
on mouseDown me
sprite(pTargetSprite).blend = pBlendValue
end
I would like to enter MULTIPLE sprites for 1 parameter, that
is to say when the dialog box of the behavior appears and ask me
the "Target Sprite:", I would like to input ...let's say 1 , 2 , 3
, ... whatever numbers I want. Therefore, the blend values of that
sprites will change according to the input Blend Value. Right Now
is working perfect, but of course with only ONE sprite, but I want
to be able to assign that Blend Value to multiple sprites over the
same parameter.
I guess it must be very simple, but I cannot get the answer
anywhere in my brain, nor my director book, nor in the forums.
Thanks!!!You have several options here. You can do as you suggest,
create a list
of the sprite numbers to change and then tell each of those
sprite's
blend value to change.
Another method is to write a function in the behavior that
you attach to
each sprite and then use sendAllSprites() to fire each of
those
functions. If you are attaching behaviors to each sprite this
may be the
way to go.
For method 1, you could amend your behavior like this:
property spriteList
property blendValue
on getPropertyDescriptionlist
myPropList = [:]
myPropList.addProp(#spriteList,[#comment:"enter the sprite
channel
numbers to use, separated by
commas:",#format:#integer,#default:"1,2,3"])
myPropList.addProp(#blendValue, [#comment: "Blend Value:",\
#format: #integer, #default: 100])
return myPropList
end
on beginSprite me
spriteList = stringToList(spriteList)
end
on stringToList(thisString)
oldDelim = the itemDelimiter
the itemDelimiter = ","
thisManyItems = thisString.item.count
tempList = []
repeat with n = 1 to thisManyItems
tempList.add(thisString.item[n])
end repeat
the itemDelimiter = oldDelim
return tempList
end
on mouseUp me
thisMany = spriteList.count
repeat with n = 1 to thisMany
sprite(n).blend = blendValue
end repeat
end
for method 2 you could use something like this in each
sprite's behavior:
property blendValue
property thisSprite
on getPropertyDescriptionlist
myPropList = [:]
myPropList.addProp(#blendValue, [#comment: "Blend Value:",\
#format: #integer, #default: 100])
return myPropList
end
on beginSprite me
thisSprite = me.spriteNum
end
on changeValue me
sprite(thisSprite).blend = blendValue
end
and then you can call this second method from a mouse event:
on mouseUp me
sendAllSprites(#changeValue)
end
and every sprite that contains that function in the frame
where it is
called will execute.
Rob
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412-243-9119
http://www.macromedia.com/software/trial/ -
How to get search help for 2nd parameter based on the 1st parameter value
Hi all!
I have 2 parameters (material no, revision level). I have created a search help for revision level. It has an importing parameter :material no. and one exporting parameter : revision level.When I checked it, it's giving the revision values only for the specified.
In my report , I have kept these 2 materials in my selection screen.For revision level , I have added the matchcode object which I have created. When I pressed F4 for revision level, it's giving all the values irrespective of the material no. in the first parameter. How to solve it? Please suggest.Hi,
Try this code filling internal table fields,
DATA: BEGIN OF values,
OID TYPE ZCL_OBJECT-OBJECTID,
ODEC TYPE ZCL_OBJECT-OBJECT_DESC,
END OF values,
W_FIELD(10).
DATA: ZCL_PROJECT-PROJECTID type zcl_project-projectid,
ZCL_OBJECT-OBJECTID(5).
DATA: progname TYPE sy-repid,
dynnum TYPE sy-dynnr,
dynpro_values TYPE TABLE OF dynpread,
field_value LIKE LINE OF dynpro_values,
values_tab LIKE TABLE OF values.
CALL SCREEN 100.
*& Module VALUE_PROJECTID INPUT
text
*MODULE VALUE_PROJECTID INPUT.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'ZCL_PROJECT'
fieldname = 'PROJECTID'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ZCL_PROJECT-PROJECTID'.
*ENDMODULE. " VALUE_PROJECTID INPUT
*& Module VALUE_OBJECTID INPUT
text
MODULE VALUE_OBJECTID INPUT.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = progname
dynumb = dynnum
translate_to_upper = 'X'
TABLES
dynpfields = dynpro_values.
READ TABLE dynpro_values INDEX 1 INTO field_value.
W_FIELD = FIELD_VALUE-FIELDVALUE.
SELECT OBJECTID
OBJECT_DESC
FROM ZCL_OBJECT
INTO (VALUES-OID,
VALUES-ODEC)
WHERE PROJECTID = FIELD_VALUE-FIELDVALUE.
APPEND VALUES TO VALUES_TAB.
ENDSELECT.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'OID'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ZCL_OBJECT-OBJECTID'
value_org = 'S'
TABLES
value_tab = values_tab.
ENDMODULE. " VALUE_OBJECTID INPUT
*& Module INIT OUTPUT
text
MODULE INIT OUTPUT.
progname = sy-repid.
dynnum = sy-dynnr.
CLEAR: field_value, dynpro_values.
field_value-fieldname = 'ZCL_PROJECT-PROJECTID'.
APPEND field_value TO dynpro_values.
IF SY-UCOMM = 'BACK'.
LEAVE program.
ENDIF.
IF SY-UCOMM = 'ANS'.
LEAVE TO SCREEN '0'.
ENDIF.
ENDMODULE. " INIT OUTPUT
START-OF-SELECTION.
WRITE: / field_value-fieldvalue,
W_FIELD.
LOOP AT VALUES_TAB INTO VALUES.
WRITE / VALUES.
ENDLOOP.
if sy-subrc <> 0.
WRITE / field_value-fieldvalue.
endif.
Plzz reward points if it helps -
How to understand the strange parameter values shown by 'pstack core'
I encounterred a problem that led to a core dump. I use 'pstack core' to shown the calling stack.
However I could hardly understand some of the parameter values below:
core 'core.150108' of 5016: cmcfun
ff1e1370 __1cLComEndPointFsendv6MpnFiovec_i_i_ (c, ffbfedf8, 2, 2, c, 0) + 4
Why did the 'this' pointer of the instance of class ComEndPoint become 0xc? I don't think it is a valid value of pointer. Does anybody have any idea about this problem?
ff1e5b00 __1cYComTransaction_Icallback6FpnPpdo_transaction_pcii_v_ (6ab90, 0, 0, 0, ffbff1b8, 0) + dc
According to the source code, the 3rd parameter in the function below, which value is 0x66, was not changed in the scope of the function. However it became 0x0 when it was used as the 4th parameter to call the function above. What't the matter?
ff1528e8 pdo_dispatch (6ab90, ad, 66, 0, 0, 0) + dc
I heard that Sun C++ uses 'register windows' to pass the parameters, i0~i5 are used for the first 6 ones. Somebody told me that what I saw in the pstack might not be creditable because the registers might be changed within the function. Is that so? Would anybody plz tell me more details?
Thanks in advance.
Edited by: DirtyBear on Feb 15, 2008 1:17 AMRegister windows are a property of the SPARC computer architecture, not a property of a compiler. SPARC has multiple sets of registers. The function call instruction advances the "register window" to reveal the next set of registers, if there is one. If not, the registers are spilled to the stack to free up a window. The function return instruction moves the window back. (It's a purely hardware feature.) Eight of the registers in adjacent windows overlap, the origin of the "window" term. Registers %o0 thorugh %o7 in the caller become registers %i0 through %i7 in the called function.
On SPARC and x64, some function arguments are passed in registers, depending on how many arguments there are and their types. (The x86 architecture has no registers available for passing arguments.) On entry to a function, the parameters passed in registers might be saved on the stack, but do not necessarily need to be saved on SPARC. The Solaris ABI requires that space for the registers be allocated, but the space is not necessarily used.
In a core dump, the actual registers, particularly for functions other than the current one, are not available. The pstack operation doesn't know how many parameters a function has or what type they are. It shows the contents of the first 6 words on the stack that would hold arguments, if there were arguments, and if they were actually saved on the stack.
In optimized code on any platform, the stack area for a variable or argument is not kept up to date. Computations are kept in registers to the extent possible, and saved in memory only when necessary.
On SPARC in particular, the argument values shown in a stack trace need not be accurate. -
How to use the same column value in the casecadeing parameter in ssrs report?
Hi frnz,
I have a table site contains one filed SiteCode
Now i have fields like below using the below quries
SThe above are the two results sets coming from the single table ,now i will use these two results /Query in my ssrs Casecade report
1.First result set/Query will use for the first dataset and use these values in the paramet1 selection as PrimaryCodes
2.Second result set/Query will use for the second Dataset and use these values in the parameter2 as SecondayCodes
3.Using these two datsets and create a Casecadeing paramet in ssrs report.
4.so using this information how can i create the Casecade report ,I have tried different ways but i didnt get the soluction
I have done the follw but ididnt get the o/p.
I have created two parameter and mapped to the results but while paramter selection i will able to see only the first paramet(PrimaryCodes) ,and i will not see the second paramter(SecondaryCodes) it could not show me the second paramter values in the drop
down list.
Note:Here i will use the Single Table to get the all the sitecodes
Can some one please help me out for this report.
Thanks.Hi,
Try below links for your reference:
http://blogs.msdn.com/b/sqlforum/archive/2011/05/26/ssrs-cascading-parameter-with-optional-select-all-in-sql-reporting-services-report.aspx
http://msdn.microsoft.com/en-us/library/dd255197.aspx
http://blogs.msdn.com/b/psssql/archive/2010/01/29/how-to-have-a-select-all-multi-value-cascading-parameter.aspx
sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **. -
F4 help for parameter field - no values defined in the database
Hi,
In the Selection screen, I have two fields,
One is for getting input for the month
Other one is for year
These two are created by using parameter statement
and it is not referring to any data base table fields.
parameters : p_bumon type bumon.
parameters : p_bdatj type bdatj.
At the selection screen i need input help for the month and year separately.
I cant use the function module becos no values r fetch from the tables.
or else to get the input help, can u please just me some predefined type declarations so that i can get by default the F4 help for this
or any other table which have the value range for only for the month and year.
Just it is created and the input values is passed to the function module and to calculate the number of days for that particular month and year.
i need this very urgently
Please suggest me in this , whether it is possible
Thankshi,
There is a event called
At selection-screen PROCESS ON VALUE-REQUEST for.......
In your case it can be :-
At selection-screen PROCESS ON VALUE-REQUEST for p_bumon .
< Block 1>
At selection-screen PROCESS ON VALUE-REQUEST for p_bdatj .
< Block 2>
In the block u can write the code.......
say for month u can write
parameters : p_month(2) type c.
Eg for month
At selection-screen PROCESS ON VALUE-REQUEST for P_MONTH.
data : begin of int_month occurs 0,
month(2) type c,
end of ont_month.
INT_MONTH-MONTH = '01'.
append INT_MONTH.
INT_MONTH-MONTH = '02'.
append INT_MONTH.
INT_MONTH-MONTH = '03'.
append INT_MONTH.
INT_MONTH-MONTH = '11'.
append INT_MONTH.
INT_MONTH-MONTH = '12'.
append INT_MONTH.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'MONTH' Int tab field name
DYNPPROG = < program name>
DYNPNR = SY-DYNNR
DYNPROFIELD = 'P_MONTH' Field wer u need F4 help
VALUE_ORG = 'S'
WINDOW_TITLE = Any description
TABLES
VALUE_TAB = INT_MONTH. Internal table name
please reward points if useful.... and mark it answered.....
thank you.
Maybe you are looking for
-
How can I send email from an JSP page with HTML format either using jsp
hi, I have an jsp page with online application form,after compleating the form if i select submit it will send all the compleated data to the mail id we mentioned in the form tag,for this i am using javascript,but instead of receiving the data in the
-
G/L Account line item display-text column data missing-t-code faglb03
Dear friends, MY client requirement like below, In the GR/IR Clg account no.xxxxxxxxx. the bill no was displayed in the text column. Hence we can compare the debit entry wrt to the credit entry so that the left out credit entries can be traced and bo
-
Embedded Windows Media PLayer With Non-Standard File Extension
I have embedded a windows media player in a asp.net web page, using the usual <object> and <embed> tags. The video is served by an ashx (http handler). When I try to play the video, I usually (but not always) get an error message telling me that the
-
Mail Rules Are Not Being Saved After Mail Is Close & Opended
I am using Mail 3.6 with 10.5.8 on a Macbook Pro. I have set up mail rules so that an email from a specific person's email address goes to two places: 1) Move to a folder on .Mac & 2) the Inbox on the Mail app. Upon first setting this up it works. BU
-
How to get applescript or automator to ask system to "detect displays"
I want to know how to get automator or applescript to "detect displays" (which is found in Displays prefpane). Thanks.