Modify hidden parameter in variant
I'm submitting a report in a program using a variant just to be sure (the report fills many optional parameters depending on user parameters).
Yesterday I found out the program is crashing because of a hidden parameter that gets filled depending on previous action from some users.
So I have two options
- Change the submit to make sure the parameters is always set to off.
- Change the variant setting the parameter off.
I would think the second option is the easiest, but I can't find a way to manually modify the hidden parameter in the variant in the production system.
Yes, I could modify it in development and then transport it but that would imply a transport request and I'm trying to avoid that.
Yes, there is a parameter id involved.
The no-display parameter has three states.
Y- Display ALV grid
N- Display ALV list
Others - Check previous user preferences using a parameter id
I want the report to always be displayed as an ALV List because I need to export it to memory. However, I never submit this parameter in the first place and the variant I'm using has the parameter empty, so it always checks the user preferences.
Changing the parameter id is not an option.
I tried in development and I do can change the content of the parameter using the debugger and later saving the variant the value stays.
But as I said, I want to avoid anything concerning a transport request right now. If I can change the value of the parameter to 'N' right into production it would be great
Similar Messages
-
Modifying sql query in "region source" depending on hidden parameter?
Hi,
Is there a way to run 2 sql queries in "region source" depending on the hidden parameter passed? In other words, if I want to show all employees "select * from emp" when clicking on a "total" link as opposed to "select * from emp where dept=:xxx" when clicking on a dept link, how does the "region source" account for another sql statement?
thanks.My understanding is that based on the link you click on in some page (PX) , it will go to a page (PY) that has a report in it and a hidden item with som passed value.
If that is correct then do the following in PY:
select * from emp
where dept=:xxx
or
:PY_PASSED_VALUE = 'total'this will show ALL records in emp if the passed value is total , i.e you clicked on the totals link and passed 'total' to the hidden item in PY : PY_PASSED_VALUE
but it will show only specific dept records otherwise.
Hope this helps,
Sam -
How to create a hidden parameter in a 11.1.1.6 BI Publisher Report
We are in the process of migrating from BI Publisher 10g to 11.1.1.6. We used the Upgrade Assistant to migrate a couple thousand reports to the new 11g server. Most of the reports seem to be working fine, but some need some adjusting.
In 10g, there was an option to make a parameter with a type of "Hidden". Most of our reports have at least one parameter that is hidden. The hidden parameters are functional in the converted reports on the 11g server. But, when I want to modify a parameters on 11g or create a new parameter, there is no option to make the parameter hidden. I performed several web searches on the topic, but came up with nothing. I searched the report developer's guide. Nothing.
So, how does one create a hidden parameter in BI Publisher 11g?Our team is researching the same thing, we have review all the documentation and not found anything helpful. Have you made any progress?
-
How to assign java script variable to a hidden parameter in JSP?
Hi All,
I want to assign the variable in the Jscript to a hidden parameter in JSP page.
<select name="sortingOption" class="sortingOptions" onchange="changeSortOption(this)">
<c:forEach var="sortingOption" items="${sortingOptionList}">
<c:set var="sortingOptionValue" value="${sortingOption}" target="java.lang.String"/>
<c:choose>
<c:when test="${sortingOptionValue == sortingOptionValueFromRequest}">
<option value="${sortingOptionValue}" selected="selected">${sortingOptionValue}</option>
<input type="hidden" name="srchType" value="none"/>
</c:when>
<c:otherwise>
<option value="${sortingOptionValue}">${sortingOptionValue}</option>
</c:otherwise>
</c:choose>
</c:forEach>
</select>
In changeSortOption script,they capture the value selected by the user and then they submit the form.I want to assign that value to a hidden parameter in JSP,can someone tell me how to do that?
I dont have the Jscript code with me right now to post here.To the point: just by accessing/manipulating the HTML DOM using JS. Learn JS and HTML DOM. There are basic tutorials at w3schools.com. Besides, your code syntax is still invalid. The input hidden elemend doesn't belong in a select element. Learn HTML. There's a basic tutorial at w3schools.com as well.
For future HTML/JS problems please consult the appropriate forums. This has not much to do with JSP. There are ones at webdeveloper.com. -
ABAP program to take input parameter from variant, execute KSB1 and export
Hi Friends,
My client asking change request in CO
The Change request is "ABAP program to take input parameter from variant, execute KSB1 and export the output into an excel sheet and park the document in a designated location"
Pls let me know actually i am a FICO consultant what i can do in this change request
Thanks,
SantiHi
First I dont you would need to create a ABAP to generate the report in Excel.
You can look at this option. Execute the report Go to->Change Layout, Click on the view option, On the Preferred View Select Microsoft Excel, Save the layout, provide a layout name with /XYZ.
Now when you want to execute KSB1 with excel, just execute KSB1 with /XYZ layout, it would open in Excel, export to which ever location you want.
Or just simply save the report as Excel using the Excel button on the tool bar.
Regards,
Suraj -
SSRS How to pass a value for Hidden parameter ?
Hello,
I have a SSRS report deployed on the Report server. This report is having an "Hidden" parameter.
Could someone please guide me, how to pass the value to this internal parameter in each of the following case -
1. Report is accessed through a Desktop application/Web application in Report Viewer.
2. Report is accessed through the Url.
3. Report is accessed through the Report Manager.
Any quick help on this is highly appreciated.
Thanks!
-Vinay Pugalia
If a post answers your question, please click "Mark As Answer" on that post or
"Vote as Helpful".
Web : Inkey Solutions
Blog : My Blog
Email : Vinay PugaliaHi Vinay Pugalia,
Internal Parameters in SSRS are parameters that are not configurable by the end-user at run-time and values cannot be passed to this type of parameter (when present in the child report) in case of a drill-through report implementation. This
type of parameter is read-only and not accessible in parent report.
This varies from a Hidden Parameter, which the user is not prompted to provide, but can still be configured through the URL to the report server.
So no matter you access the report through report manager, URL or Report Viewer. The passing value to the internal parameter will not work.
As you have mentioned that I will also suggest you use the hidden parameter instead.
More details information in this blog for your reference:
SSRS – Understanding Report Parameter Visibility
How to pass value to hide parameter is the same as that of the visible parameter, similar thread for your reference:
Passing the value in action property of a text box
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
Pass an hidden parameter to the BI Publisher
Hi guru,
I need to pass a value (parameter) to a BI Publisher report without to show the value to the user. I tried to create an hidden parameter, and tried to pass the value but don't work. I tried to call the report in GET and POST without success.
If the parameter is visible, it works.
Any idea to do it with another method?
Thanks in advance
Alessandro SabelliHi,
Thanks a lot for your answers.
The link http://www.it-eye.nl/weblog/2006/06/12/passing-a-url-parameter-to-model-using-adf/ is no more reachable.
The following EL expression work for displaying the parameter inside an outputText component :
#{facesContext.externalContext.requestParameterMap[yourParameter′]}
The parameter is not sent to the business service when the button is clicked.
Thanks,
Seb. -
Unpublished pug, hidden parameter and Oracle Support
I'm posting this, not in the hope of a solution, but in the hope that you will confirm my outrage at the stupidity of the response from Oracle Support. The following is cut and pasted from my SR.
UPDATE
=======
Hi Matthew,
This is caused by the following unpublished bug.
Bug 6818207 - SIGSEGV AT QESHIHINSERTPROWINBKT()+36 DURING SELECT GROUP BY
You should use the workaround and wait until a patch is available.
o Set "_gby_hash_aggregation_enabled" = FALSE.
o Wait until a patch is available.
Thanks,
REMOVED
27-JAN-09 11:30:01 GMT
Email Update button has been pressed: Sending email to REMOVED
27-JAN-09 16:54:03 GMT
New info : REMOVED
This is not a 'new' SQL, it has been run several times on Production and non-Production environments. Nothing
has been changed recently.
I am a bit worried about using this hidden parameter. Are there any side effects? (Like could it generate an ORA-600 if
used in conjunction with another parameter for example).
Thankyou.
28-JAN-09 11:03:47 GMT
UPDATE
=======
Hi Matthew,
Your developers should know whether this parameter should have an effect on your system or not, please try to reproduce the pro
blem on a test environment first and try to see if the parameter should stop and
whether it will affect anything else.
Oracle 10g release 10.2 Introduces a new feature called Hash Group by aggregation which allows a hash algorithm to proce
ss group by statements. This functionality can be disabled using the following d
ynamic database parameter:
SQL> alter session set "_gby_hash_aggregation_enabled" = FALSE;
Thanks,
28-JAN-09 11:03:52 GMT
Email Update button has been pressed: Sending email to REMOVED
28-JAN-09 05:26:03 : CHANGES MADE VIA MetaLink
NOT YET FORWARDED TO OUR INTERNAL SYSTEMS :
New info :
Hello REMOVED,
"Your developers should know whether this parameter should have an effect on your system or not, please try to reproduce the problem on a test environment first and try to see if the parameter should stop and whether it will affect anything else."
Quite frankly I'm shocked. The developers here didn't develop the code for the Oracle Server. The bug, as you said, is an Oracle bug, how would developers who develop a product that uses Oracle know if a bug fix sanctioned by Oracle - a hidden parameter for an unpulished bug - impacts their product?
Please ensure that this SR is dealt with by one of your seniors.
I shall be posting the details of the SR on OTN.
Was I being harsh? Should the developers of a product that uses the Oracle Server know about the impact of a hidden parameter?
Would love to hear your opinions.Your developers should know whether this parameter should have an effect on your system or notYes they will know the side effects had they been working with Oracle as developers for last 10 years or so and have now joined your company recently (and then developed the entire application in matter of days to hit the bug).
And I don't think you are being harsh here. -
How to Modify "my purchase requisitions' variant in ME21N
Hi, Currently in ME21N if i select 'My purchase requisitions' from the document overview it will only show the purchase requisitions that I created under my user ID. My question is can i have it also include any purchase requisition created under a particular purchasing group? Basically, i need this to happen bc if a PR was created by MRP, i need to be able to identify that PR as my purchase requisition. Putting the purchasing group in the personal setting only identifies what should default on the PO. I beleive there is a parameter i need to assign in my user profile to make this work, but i'm not sure what it should be. Does anyone know if this is possible. I just need to have a PR with a assigned purchasing group which is tied to my profile act as my purchase requisition. Thanks, E.
Hi,
The option which is avaiable in selection variant for 'My purchase requisitions' is standard setting and it can not be modified.
But you can create a new selection variant and assign defaut values for the purchasing group field in dynamic selection option.
If you execute the new selection variant once, it will automatically be avaiable 'selection variant' menu of your document overview option.
Regards,
NAK
Edited by: abdul kader on Sep 25, 2010 9:31 AM
Edited by: abdul kader on Sep 25, 2010 9:32 AM -
How to modify a parameter in C++ passed from java (structure Newbie)
Hi,
I'm a brand new to Java (basically a C+ programmer). I have a C++ DLL that takes a structure as parameter from Java and I want to change (or populate) it in C++ DLL.
Here is what I'm trying...
// Java Code...
public class CSMSample
public static class MyDetails
String myName;
long myAge;
byte[] myBinaryData;
public native static long SMGetMyDetails(MyDetails myDetails);
public static void main(String[] args)
MyDetails myDetails = new MyDetails();
SMGetMyDetails(myDetails);
System.out.println("My Name is " + myDetails.myName + " and I am " + myDetails.myAge + " years old");
static
try
System.loadLibrary("SMSample"); //SMSample.DLL
catch (Exception e)
// Handle exception here ...
// C++ code
JNIEXPORT jlong JNICALL Java_CSMSample_SMGetMyDetails(
JNIEnv* env, jclass, jobject jMyDetails)
long error = 0;
// I need to modify jMyDetails here and my Java program should be able to read the changes!
return error;
}Can someone help me please!?
Thanks in advance,
John.Hi
I'm doing the following:
// Java class...
public static class BYTE_ARRAY
public long Length;
public byte[] Data;
JNIEXPORT jlong JNICALL Java_CSMSample_SMGetCode(
JNIEnv* env, jclass, jobject jByteArrayCode)
BYTE_ARRAY Code;
Code.Length = 8;
Code.Data = new BYTE[Code.Length];
Code.Data[0] = 'a'; Code.Data[1] = 'b'; Code.Data[2] = 'c'; Code.Data[3] = 'd';
Code.Data[4] = 'e'; Code.Data[5] = 'f'; Code.Data[6] = 'g'; Code.Data[7] = '\0';
jbyteArray code_data = env->NewByteArray (Code.Length);
env->SetByteArrayRegion(code_data, 0, Code.Length, (const jbyte*) Code.Data);
jclass cls = env->GetObjectClass(jByteArrayCode);
jfieldID fid_Data = env->GetFieldID(cls, "Data", "[B");
jfieldID fid_Length = env->GetFieldID(cls, "Length", "J");
env->SetIntField(jByteArrayCode, fid_Length, Code.Length);
env->SetObjectField(jByteArrayCode, fid_Data, code_data);
}Java application gets the Length properly but the data part is garbage (When I print, it gives [B@9304b1, same text even if I change the values of Code.Data). Am I missing something?
Thanks,
John. -
How to modify the parameter csi/enable from TRUE to false
i install ce7.1 ,and i can visit the http://myip:50000/sap/admin/public/index.html ,in the page ,i just want to
change the Content Filter settings
csi/enable TRUE
modify TRUE to false ,how to change the parameters
thanksHi ,
Set the profile parameter csi/enable to the value 0 in transaction RZ11. You can also use prefixes to filter individual paths (for example, if users enter data there) or exclude individual paths from filtering (for example, is users cannot enter any data there). This value is immediately active and you should therefore use this method.
Also please check below link may help you out for your query in better way::
http://help.sap.com/saphelp_nw04s/helpdata/en/37/676642991c1053e10000000a155106/frameset.htm
Thanks..
Mohit -
Modify/include parameter to contact header in 200 OK response
Hi ALL,
We are using WLSS 2.2.0.
In 200 OK response to INVITE request, need to include a parameter "isfocus" to 200 OK response's CONTACT header.
While trying to change/include parameter, WLSS 2.2.0 throws an exception that "its a system header value, cant change".
Please provide your valuable suggestion on this.
Thanks in advance.
Regards,
Janakiraman NWe do allow adding parameters to the contact header now.
You would be able to do that in wlss3.0 or get a patch from support for wlss22.
cheers,
Mihir -
Put a modified user parameter in the margin
Hello!
My report has an user parameter called ON_DATE. It is a date, passed in the format YYYYMMDD. I would like this date to be placed in the report margin in a different format, DD-MM-YYYY.
What I tried to do is make a second query:
select to_char(to_date (&ON_DATE, 'YYYYMMDD'), 'DD-MM-YYYY') as the_date from dual;
I then make a new field in the margin and select 'the_date' as its source. This results in a REP-1213 error which I have been unable to resolve.
Does anyone know of a way to do what I want to do?
I am using Reports Builder 10.1.2
Thanks in advance,
FransHi Frans,
I don't think you need a second query to change the date format. The new field you created in the margin make the source = 'ON_DATE', and if you go the the new field's property palette, there you find a format attribute wherein you can put DD-MM-YYYY.
-Marilyn -
Modify logging parameter of a lob
I have a table as defined below (table a).
I want to change the logging of the lob (DATA) from nologging to logging.
I use the alter command:
alter table a modify lob (DATA) store as (nocache logging);
This doesn't work. I've tried numerous variations of this command but i can't get it working.
How do I do.
CREATE TABLE a
b NUMBER(10) NOT NULL,
c BLOB NOT NULL
TABLESPACE ss
PCTUSED 40
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
FREELISTS 1
FREELIST GROUPS 1
BUFFER_POOL DEFAULT
LOGGING
NOCOMPRESS
LOB (DATA) STORE AS
( TABLESPACE BLOBSPACE
ENABLE STORAGE IN ROW
CHUNK 8192
PCTVERSION 0
NOCACHE
NOLOGGING
STORAGE (
INITIAL 800M
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
BUFFER_POOL DEFAULT
CACHE
NOPARALLEL
MONITORING;
/RobertSQL> create table a (b number, c blob)
lob (c) store as (enable storage in row chunk 8192 nocache nologging)
Table created.
SQL> alter table a modify lob (c) (nocache logging)
Table altered.
SQL> drop table a
Table dropped. -
I have a FM called during an SAP event. here, under a certain condition, i need to replace the old value of an import parameter.
Can any one suggest some means to change the import parameter values of the FM.Hi Arindam,
If you are using classes method in function module, yes u can do this. But you must use the field symbols.
this is a sample..
it_condition is import param.
method set_new_values.
data : ls_diffcond type ztrm_s_vtbfinko_type,
ls_condition type vtbefinko.
data : lv_text type string.
field-symbols : <fs_text> type any,
<fs_text2> type any,
<fs_condition> type vtbefinko.
loop at gt_diffcond into ls_diffcond.
if ls_diffcond-cond_type eq '+'.
move-corresponding ls_diffcond to ls_condition.
append ls_condition to it_condition.
elseif ls_diffcond-cond_type eq '-'.
move-corresponding ls_diffcond to ls_condition.
delete it_condition from ls_condition.
elseif ls_diffcond-cond_type eq 'C'.
move-corresponding ls_diffcond to ls_condition.
loop at it_condition assigning <fs_condition>
where rkond eq ls_condition-rkond and
dguel_kp eq ls_condition-dguel_kp..
concatenate '<fs_condition>-' ls_diffcond-field_name into lv_text.
assign (lv_text) to <fs_text>.
concatenate 'ls_condition-' ls_diffcond-field_name into lv_text.
assign (lv_text) to <fs_text2>.
if <fs_text> is assigned.
<fs_text> = <fs_text2>.
endif.
exit.
endloop.
endif.
endloop.
endmethod.
Maybe you are looking for
-
Variable substitution for csv file
Hi Guys, I am using Multimapping to generate 2 target messages and finally creating these 2 messges as csv files. But i need to use variable substitution (because dynamic configuration doesnt work in multimapping) to create the target files and i nee
-
Toshiba Front Operation Panel/Illumination Keys not working
I am unable to toggle wireless on/off, mute/unmute, play/pause using Front operation panel LED keys on my Toshiba Qosmio F60. Currently I need to enable WiFi/Bluetooth from within Windows for it to work. Fn+F8 toggle works as soft block/unblock only
-
I still have a Windows Server 2008 SP2 online. Plan to eventually migrate it to 2012, but that won't happen for a few months. At this time, the drive space on C: is down to 1.9GB. It's all being consumed by the dreaded WinSxS folder. I've found h
-
Dad needs help with setting up shuffle on different account
Hi all ..I have a daughter with a Ipod video, and a wife with a Ipod shuffle. How can I make them work with different itune libarys on the same computor? The ipod video side is all set up. I need to get the shuffle up and running. I opened another us
-
Keyboard doesn't appear on conctacts
Hi I get the following. my keyboard does not appear when I try to create or edit contacts, but can compose and send emails. someone with the same problem? thanks & regards Ps: I have ios7