Period (SPMON) as input parameter without separator disappears
Hello @all,
we have ERP2005 and following problem on a simple selection screen with parameter SPMON (= period, e.g. 10.2006).
If the user type in 102006 without separator "." than the value 102006 disappears from input field on the selection screen.
If the user type in 10.2006 than the value remains in the input field and could be processed.
The parameter is defined as following:
PARAMETER P_SPMON TYPE SPMON.
Have anyone an idea what to do for processing with value 102006? I tried to make some conversions in "at selection-screen" but the value is at this time already empty!!! So no conversion helped.
The correction of OSS-Note 888352 is already installed.
Under 4.6c this "bug" didn't appeared, here we could type in the period without separator and the system convert it automatically to 10.2006!
Regards
Chris
Message was edited by: Christian David
Hi Chris
I dont have any problem with the below code.
<b>parameters: p_mon like mcs0-spmon.</b>
Am on 4.7
Kind Regards
Eswar
Similar Messages
-
Input parameter as period name
hi..
when u give the input parameter as period_name(eg;DEC05)
form period name and to period name as input parameters ,it displays the out put
for the period name which doesn come under the limits specified
how will u link the corresponding date of the period name in the query
the example is like this
ps.PERIOD_NAME >= :from_period
AND ps.PERIOD_NAME <= :end_period
where the period name is the field which contains
DEC O5, JAN 06 AS DATA
when this data is given as input it doesn take since it is in character format
and produce the result for other period names too, now
my prob is how to link the period name to appropriate date which exist in the table
but u cant give the date as parameter
ie for eg dec-05 has a date
how to link it,
if the user gives the input parameter as dec05 it should go link the date
and produce the appropriate resultOkay! Now I got it. There are 2-3 cases here.
If your period_name is a date field, then do this
where period_name >= to_date(:p_start_date, 'MONYY')
and period_name <= to_date(:p_end_date, 'MONYY')If your period_name is a varchar field, then
where to_date(period_name, 'DD/MM/YYYY') >= to_date(:p_start_date, 'MONYY')
and to_date(period_name, 'DD/MM/YYYY') <= to_date(:p_end_date, 'MONYY')-- Remeber you have to use the exact format of the date in the varchar field. I've just gave an example for DD/MM/YYYY.
Cheers
Sarma. -
Write a query for which has its field name as input parameter
Hi All,
I need to write a query for SSRS report. StartDate, EndDate and ChangedField are the input parameters.
Let's consider that we are taking employee details. The table contains lot of fields like emp name,add1,add2,city,state,country,designation,rank etc. We have almost 30 fields are there. These field name are coming as input parameter "ChangedField"
. I need to show the records which belong to the start date and end date also data change for the field which is given in the input parameter "ChangedField". That meand If I give ChangedField="city", we need to check for data which
has been updated with new City name in the given time period.
Please suggest.
Regards,
JulieHi Julie,
Per my understanding that you have many fields in the table to be displayed in the report, some of the fields will always show and others should be hide and show based on the selection of the parameters which include the columns names, right?
By default, we can't display columns dynamically in the report automatically without insert this column in the report before. So, in your scenario, I will suggest you to add all the columns in the reports first and then add show/hide expression on
the column visibility based on the selection of the parameter "ChangedField", when some of the fields selectted they will be display, otherwise they will be hidden. For the fields which you want to be always displayed will not need to add the expression
in the column visibility.
Details steps about how to acheive this, please referencet to the article below:
Displaying Dynamic Columns in SSRS Report
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
How to get a parameter without name in JSP?
hi everyone, My question is how to get a parameter without name in JSP? I have two pages, 1.html and 2.jsp.
in 1.html, I embeds some Javascript codes in HTML contents like below ( changed < to ( , > to )):
function toSubWin( obj )
window.open('test.jsp?'+obj.firstChild.toString(),'sw');
(a onClick='toSubWin(this)'style="background:green")focus(/a)
How can I get the parameter in 2.jsp?
THANK YOU IN ADVANCE!!Does obj.firstChild.toString() evaluate to a "name=value" type of String ?
Or better what does obj.firstChild.toString(),'sw' evaluate to ? It has to end up in a name=value format, else its just gibberish appended to the url.
In the jsp, you have to obviously know the name to get the parameter. There's a getParameterNames() method which returns you a Collection of parameter names as Strings, you could probably use that to retrieve the param values.
Then there's a getParameterMap() method which returns an immutable Map containing parameter names as keys and parameter values as map values. The keys in the parameter map are of type String. The values in the parameter map are of type String array.
However to what ends you employ them in a program which doesnt know its inputs is a different story.
cheers,
ram. -
Crystal Report with text(csv) data file, can we set it as input parameter?
Hi,
I am a new user of Crystal Reports 2008.
I have created a report with charts in it. The input data comes from a csv text file.
Can I set the name of this text file as an input parameter?
as I need to generate 44 similar reports with different text filenames(and data)?
Thank you.
RegardsBrian,
Thanks much.
I did exactly what you said.
Just to see any change, I first gave a bad report file name just to see if I am accidentally pointing to a different file,
but I got an error saying report not found.
Then I renamed my original datafile name and generated a report and it still generated one without giving an error.
Then I also gave a junk name to the logoninfo and printed that name, the new name was assigned to logoninfo, but the code did not error out.
It ended up generating the report.
Now here is what I think is happening,
1) The save data in report option seems to be still on even though I have turned it off in 2 locations
a) file -> Report Options
b) file -> Options -> Reporting tab.
2) For some reason the logoninfo is getting ignored as well.
Since I did not see any answers yesterday I posted a link to this thread on the .Net forum
Crystal Report with text(csv) data file, can we set it as input param? C#
and Ludek Uher says that I am connecting to the text file via a DAO database engine and so need to use the same code for changing the text file as for changing an Access database.
But the link he gave me tells me to try the same thing that we have been trying..
Here is my plan,
1) I will first try and find out why my save data with report option is still on ( but it shows off in Crystal ).
2) why is LogonInfo getting ignored.
Meanwhile any suggestions from anyone are welcome. -
Regarding" Material PO text " with input parameter is PR requisition
Hi Experts,
I need to develop a ALV report in which the input parameter is PR requisition, Requisition date, Plant ,Purchase Group, Purchase organization
And I needed to get its corresponding u201Cmaterial PO Textu201D.
I am using the function module READ_TEXT with
goto me53n( purchase requisition) -
> text----->item_text->doubleclick->goto->header
id = 'B04'.
tname = '100000166000010'.
tdobject = 'EBAN'.
How do i display all the text in alv against the PR requisition, Requisition date, Plant ,Purchase Group, Purchase organization, PR item number PO number , Po date , PO item number
thanx.
Moderator message: please open only one thread per issue.
Edited by: Thomas Zloch on Jan 17, 2012 10:42 PMlets say item text is 8-10 lines, you want to display that as well in the output? how much the user have to scroll for 10 PRs just think..
rather give them the report output without the item text and give them a hotspot. once they click hotspot, show them a popup for item text -
Mapping Input Parameter renders mapping unable to be compiled or deployed
Hi there. I have an interesting issue I have not encountered before.
I can create a new mapping with a Mapping Input Parameter (just one parameter of type Integer), map this to a table column of the same type and the mapping compiles and deploys without any issues.
However, if I take an existing mapping (which already compiles and deploys without issues), add a Mapping Input Parameter to it (just one parameter of type Integer) and map this parameter through to a table column of the same type, when I compile the mapping I get a pop-up "Warehouse Builder Error" with a number 56 and a red cross. The mapping cannot generate any code and gives no explaination. Trying this on a different mapping causes the same issue but with a different number in the pop-up.
I have tried changing the parameter from integer to another data type and this makes no difference.
Removing the Mapping Input Parameter makes the mapping compilable and deployable again.
Am I missing something here ?
Thanks
PaulOk... this could be a bug, but I worked out how to resolve the issue.
To get the issue:-
1. Open a mapping which does not have a Mapping Input Parameter and compiles and deploys happily
2. Add a Mapping Input Parameter object, add an output attribute to it and map it to a table column.
3. Compile the mapping and you get a "Warehouse Builder Error" pop-up with a number, then a Validation Completed Successfully message. But no code can be generated and the mapping
cannot be deployed.
4. Slap your forehead and say "Doh!"
To fix the issue :-
1. Open the same mapping
2. Resynch the tables you mapped the Mapping Input Parameter to. The mapping now compiles and deploys ok.
3. Pat yourself on the back
cheers
Paul -
Is the task-flow input parameter class value being ignored by the framework
hi
Although I don't remember where, I think I read or heard about the task-flow input parameter class value that it is "being ignored by the framework".
One example of this could be what is currently in the UI Shell sample application available
at http://www.oracle.com/technetwork/developer-tools/adf/uishellapp-134633.zip
It has in its task-flow in "flows\second.xml" an input parameter configured like
<task-flow-definition id="second">
<!-- ... -->
<input-parameter-definition id="__3">
<name id="__2">tabContext</name>
<value>#{pageFlowScope.tabContext}</value>
<class>oracle.ui.pattern.dynamicShell.TabContex</class>
<required/>
</input-parameter-definition>
<!-- ... -->
</task-flow-definition>Notice the missing "t" at the end of the class name "oracle.ui.pattern.dynamicShell.TabContex".
Still this task-flow configuration does allow to use expressions like "#{pageFlowScope.tabContext.selectedTabIndex}", which suggests that the class value is indeed "being ignored by the framework".
(see also forum thread "does the UI Shell sample break encapsulation in its task-flows"
at does the UI Shell sample break encapsulation in its task-flows )
All relevant references (bug numbers, documentation, blogs) explaining about this task-flow input parameter class value are welcome.
If no such references exist, maybe someone from Oracle can give some feedback.
many thanks
Jan Verveckenfyi
The feedback below was posted in the forum message
at Re: does the UI Shell sample break encapsulation in its task-flows
Richard Wright wrote:
That appears to be a bug for which I am seeking confirmation.There is an enhancement request (i.e., 9377487) submitted over a year ago, that describes this behavior. It is listed as an ER as our documentation (e.g., Fusion Developer's Guide for Oracle ADF, online help ) does not specifically state that Java class for the input parameter definition is checked for type. Further anything using EL is untyped. So the expectation that types are enforced is somewhat puzzling to the development team.
However, there is an acknowledgment within circles of the development organization, that some might come to have this expectation. One trigger might be the definition itself. The other is the existence of a design time audit on the definition. For example, if the class is specified inaccurately (e.g., typo), there is an audit warning to report "not found."
Under consideration are a number of framework proposals to check for type without breaking backward compatibility or adding overhead to the production environment.
In the interim, the following recommendations are given.
Unless this breaks or can break your app in some way, no need exist for change. Nevertheless, if this is a real concern, write a test or consider a java assertion. By default, assertions are disabled at runtime. There is no need to override that default.I have been able to find enhancement request 9377487, "TASK FLOW PARAMETER VALUES NOT VALIDATED ACCORDING TO CLASS", on My Oracle Support. It currently has "Status 15 - To Internal (Oracle) Review" and "Updated 16-Dec-2010".
In the context of service request 3-4185839067 recently bug 12838099, "THE TASK-FLOW INPUT PARAMETER CLASS VALUE BEING IGNORED BY THE FRAMEWORK", has been filed and it currently still has "Status 16 - Bug Screening/Triage".
- about "... the expectation that types are enforced is somewhat puzzling to the development team ..."
Hmm, strange ... so what are people supposed to expect when there is an option to configure a class name for a task-flow input parameter?
regards
Jan -
Set Null as Default for input parameter to a stored procedure
hi ,
How can we set default values as NULL to an input parameter in a stored Procedure.
create or replace procedure emp_proc ( p_test_input in varchar2
p_emp_id in number,
p_emp_name in varchar2,
p_manager_id in number )
as
begin
if ( upper ( p_test_input ) = 'I' )
then
insert into emp
values ( p_emp_id ,p_emp_name ,p_Manager_id,sysdate );
elsif ( upper ( p_test_input ) = 'D' )
then
delete from emp
where emp_id = p_emp_id;
else
dbms_output.put_line
( 'Please input ''A'' for ADD or ''D'' Delete EMPLOYEE'
end if;
end;As Shown above if i want to do only delete operation
i want to call this procedure like without passing extra parameters .
EXECUTE emp_proc('D',1010);Edited by: Rede on May 28, 2010 12:21 PM
Edited by: Rede on May 28, 2010 12:22 PMcreate or replace procedure emp_proc ( p_test_input in varchar2,
p_emp_id in number,
p_emp_name in varchar2 default null,
p_manager_id in number default null ) -
RE: (forte-users) Copy Input parameter
Peter,
Just a quick response before I prepare a code sample for you.
Unfortunately, we pay for our sins as a true cloning operation has to take
into account the (potentially) recursive nature of an object graph and
effectively has to do the equivalent of serialising an object graph (as in
parameter passing to remote methods) without going into an infinite loop
when the object graph recurses back into itself.
The Forte runtime does this quite nicely but if you wish to change its
default behaviour, it's a bit of hard work but it's achievable.
So you need to decide. Is it worth it?
Mario Emmi
British Aerospace Australia
-----Original Message-----
From: Peter Sham [SMTP:[email protected]]
Sent: Thursday, 28 October 1999 07:20
To: EMMI, Mario
Cc: '[email protected]'
Subject: RE: (forte-users) Copy Input parameter
Hi,
Interesting solution!
Just to clarify further. How exactly would you
over-write the clone method. New the object and then
clone all the attributes of the existing object to the
new object, excluding whatever attribute you think is
appropriate?
Regards,
Peter Sham.
--- "EMMI, Mario" <[email protected]> wrote:
Peter,
That is the behaviour that I have experienced also,
so I do not have such
(anchored service object) attributes in my classes
anymore but instead add
that service object attribute as an input parameter
to all methods in that
class that require access via that service object
attribute.
Alternatively, if access to that anchored service
object is only required in
the partition that it was created then overriding
the Clone method of the
class to return a NIL value in the service object
attribute should work for
you.
Mario Emmi
British Aerospace Australia
-----Original Message-----
From: Peter Sham [SMTP:[email protected]]
Sent: Thursday, 28 October 1999 05:33
To: Forte User Group
Subject: (forte-users) Copy Input parameter
Hi folks,
I have this problem where a "copy input" seems tocopy
the service object too.
The case is that I have a service object, say
batchmgrso, for batch processing and an object,say
batchproc, as the process. The batchproc has an
attribute for referencing the batchmgrso as itwill
create some other process and submit it to the
batchmgrso.
The problem is whenever a batchproc fails and the
batchmgrso tries to re-submit the object from the
queue, and I use a copy input as the mechanism for
passing in the batchproc to the service object, Ican
find that not only does the batchproc get cloned,but
also the batchmgrso. It caused a lot of problemand
bombed the method.
When I changes the mechanism to just input in the
method signature, everything works fine.
So is it a forte feature/bug that a copy inputwould
clone something so "deeply" that even a SO orarchored
object would get clone too. Is there any way toavoid
it?
Regards,
Peter Sham.
=====
For the archives, go to:
http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. Tounsubscribe, send in a new
email the word: 'Unsubscribe' to:
[email protected]
=====
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.comMario,
Well. There're 2 ways that I can do it. Avoid copy
input as much as possible ( in fact, I hate copy input
) or code my own clone method.
Coding my own clone method should be a better
solution. So if you have time, please please descibe
it.
Thanks for all the troubles. Regards,
Peter Sham.
--- "EMMI, Mario" <[email protected]> wrote:
Peter,
Just a quick response before I prepare a code sample
for you.
Unfortunately, we pay for our sins as a true cloning
operation has to take
into account the (potentially) recursive nature of
an object graph and
effectively has to do the equivalent of serialising
an object graph (as in
parameter passing to remote methods) without going
into an infinite loop
when the object graph recurses back into itself.
The Forte runtime does this quite nicely but if you
wish to change its
default behaviour, it's a bit of hard work but it's
achievable.
So you need to decide. Is it worth it?
Mario Emmi
British Aerospace Australia
-----Original Message-----
From: Peter Sham [SMTP:[email protected]]
Sent: Thursday, 28 October 1999 07:20
To: EMMI, Mario
Cc: '[email protected]'
Subject: RE: (forte-users) Copy Input parameter
Hi,
Interesting solution!
Just to clarify further. How exactly would you
over-write the clone method. New the object andthen
clone all the attributes of the existing object tothe
new object, excluding whatever attribute you thinkis
appropriate?
Regards,
Peter Sham.
--- "EMMI, Mario" <[email protected]> wrote:
Peter,
That is the behaviour that I have experienced
also,
so I do not have such
(anchored service object) attributes in myclasses
anymore but instead add
that service object attribute as an inputparameter
to all methods in that
class that require access via that serviceobject
attribute.
Alternatively, if access to that anchoredservice
object is only required in
the partition that it was created thenoverriding
the Clone method of the
class to return a NIL value in the serviceobject
attribute should work for
you.
Mario Emmi
British Aerospace Australia
-----Original Message-----
From: Peter Sham [SMTP:[email protected]]
Sent: Thursday, 28 October 1999 05:33
To: Forte User Group
Subject: (forte-users) Copy Input parameter
Hi folks,
I have this problem where a "copy input" seems
to
copy
the service object too.
The case is that I have a service object, say
batchmgrso, for batch processing and an
object,
say
batchproc, as the process. The batchproc has
an
attribute for referencing the batchmgrso as itwill
create some other process and submit it to the
batchmgrso.
The problem is whenever a batchproc fails and
the
batchmgrso tries to re-submit the object fromthe
queue, and I use a copy input as the mechanismfor
passing in the batchproc to the serviceobject, I
can
find that not only does the batchproc get
cloned,
but
also the batchmgrso. It caused a lot of
problem
and
bombed the method.
When I changes the mechanism to just input in
the
method signature, everything works fine.
So is it a forte feature/bug that a copy inputwould
clone something so "deeply" that even a SO orarchored
object would get clone too. Is there any way
to
avoid
it?
Regards,
Peter Sham.
=====
For the archives, go to:
http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. Tounsubscribe, send in a new
email the word: 'Unsubscribe' to:
[email protected]
=====
===== -
Two resistances value depend on one input parameter(like parameters in Pspice)
I would like to have resistances in hierarchical block, which's value has to be changed without entering into hierarchical schematics. Or even two/more resistors who's values will depends on single input parameter(like PARAMETERS option in Orcad/Pspice).
Hello,
Something very simple which you can use to change capacitance, resistance, and inductance is have a voltage(or current) controlled resistor/inductor/capacitor. Passing a voltage thourgh the blocks will change these variable loads as you wish (you can set it anything like 12.5kohms per Volt for example). You can find these components under Basic-Virtual in the Basic Group. Hope this helps.
Kind Regards,
Miguel V
National Instruments -
Error Inconsistent input parameter (parameter: i_sid,value 0)
Hi ,
i got this error "Error Inconsistent input parameter (parameter: i_sid,value 0)" after i execute the query that i have created. How can i solve this problem?
regards,
soonweeHello,
(I know, the answer is a year late, but at least it will be documented for the future: i've recently had the same error in my system)
I have debugged the problem and found that the exception happens somewhere after Include LRSDRC_INFOCUBEF06, form BASIC_QUERY_DATA_GET_ROLAP and PERFORM check_for_request0.
You can also get this error if you execute the transaction LISTCUBE for the Infocube, or if you click on "display data" in the context menu of an InfoCube in RSA1.
The reason for the problem seems to be the missing "initial" record in the InfoObject "REQUID".
This InfoObject tracks all the requests/data packages in your BW system, and usually has the similar contents:
select * from /BI0/SREQUID
REQUID SID CHCKFL DATAFL INCFL
0 X X X
REQU_4D9N9016ZEBZXYL3FKRS5Z5BK 8
ODSR_4D9N908VICXPGL4JLEU4G141C 9
However, if the initial record with SID = 0 is missing, you may get the described error.
The problem can be fixed by adding this record to two tables:
(example for adding this record from the DB2 SQL interpreter; syntax may be slightly different with other DB platform)
insert into "/BI0/SREQUID" values ('',0,'X','X','X')
insert into "/BI0/RREQUID" values (0,'')
(NOTE: the '' are two single quotes without any value between them, and not the double quote mark )
Hope this helps.
Kind regards,
Sergiy Malikov.
SAP BI on DB2 for Linux, Unix and Windows
Edited by: Sergiy Malikov on Mar 27, 2009 1:53 PM -
Dynamically Pass a list as input parameter to a Graphical Clac View
Hi All,
Can anyone please let me know if it is possible to pass a list of comma separated values as an input parameter to a graphical calculation view and how this list can be parsed inside the view?
The requirement is to invoke the graphical view using sql script.
Thanks,
GouthamHi Goutham,
Have a look on these documents:
Using Multiple Values in Input parameter for filtering in Graphical Calculation View
SAP HANA: Handling Dynamic Select Column List and Multiple values in input parameter
Regards,
Krishna Tangudu -
Log Error : Invalid Input Parameter %s for every SAP B1 Client
Hi Everybody,
in my company we have performed SAP B1 upgrade from 2007A to 8.81 PL07, in two steps upgrading first to PL04.
Everything is working fine for all our clients, we are able to post and work normally with the system.
The only annoying problem is an error message coming up every minute for every client in the log:
SQLMessage Error I Technical Invalid input parameter: %s # # MID=-1 BOID=-1 BO= UserID=manager C:\Program Files (x86)\SAP\SAP Business One\SAP Business One.exe Version=8.81.315 Area= PID=1316 TID=4340 D:\depot\BUSMB_B1\8.8_SP1_REL\SBO\8.8_SP1_REL\Application\__Engines\DBM\__DBMC_DataBase.cpp 9547
I couldn't find anything regarding this topic in the forum, only one similar post but unanswered.
We are using two server: one for the licence server and one for the database (the database server is clustered)
Does anyone have any idea about this? Has it ever happened to anybody?
Thanks for your helpHi Julie,
it must be a triggered action from the system. The only problem is that log files grow very big, few mb every day, and it is a situation that's not very ideal. And also i don't want to turn them off because it is always a good resource for other errors.
It is very strange that SAP hasn't noticed this behaviour and there isn't any note available for the purpose.
Thanks for your help -
Error while trying to choose query parameter Inconsistent input paramete
I got error on PRD while trying to choose parameter before executing BEX query:
101 Inconsistent input parameter (parameter: <unknown>, value <unknown>)
100 Program error in class SAPMSYY1 method: UNCAUGHT_EXCEPTION
Notes:
the same functionality works fine in DEV environment.
the other parameters on query in PRD work fine
the parameter with error based on custom hierarchy
P.S. I heart BEx :]Hello,
This problem has been solved before with notes 1236774, 1151320 & 1264213.
Please check.
Thanks,
Michael
Maybe you are looking for
-
Are You All Able to get the Output In EXCEL Format
Hi All, I have one question. Are You All Able to get the Output In EXCEL Format?? I am working on Oracle Apllication 11.5.10.2 and my XML builder is 5.0.1. Problem which i m facing is this...... Whenever i am submitting a concurrent program with form
-
Error while deleting the confirmation- Reason has to be entered for 102
Hi, When i try to delete the confirmation for Goods, an error -"A reason has to be entered for movement type 102" is occuring. I have maintained the reason for rejection in the document tab at the line item level while deleting the confirmation.The r
-
I have recently been given an iPod touch, and I am wanting to transfer the music from the device to my itunes library and/or computer before restoring the iPod to factory settings. What is the easiest & cheapest (preferrably free) way to go about doi
-
iMovie 10.0.2 unexpectedly quit and after restarting it 2 (out of 3) projects were disappeared. However I can see "All Projects - 1 of 3selected". I am quite disapointed!!!
-
How doI sync itunes from my pc to my iphone?
how do to sync itunes from pc to iphone