Can we dynamically change the file name in dst file in Report 6i, Urgent!
I am calling dst file to generate file with diffenet format.
but name of the pdf file should generate dynamically everytime i call dst file,
is there anyway to set the desname in dst file in Report 6i? Any solution,
Thanks for your help
Hi Roshan,
Create two RKF's one for Normal Invoices and another for canceled invoices, for doing this you should have some characteristics or some status value which will identify the normal and canceled invoice.
In the Normal Invoice RKF simply restrict the key figure with status restriction as Normal and pull the invoice amount as key figure. And in case of Canceled key figure you will set the status restriction as "canceled" and pull the invoice amount, now for canceled invoice key figure to show the negative value do the following,
Go to RKF properties of canceled invoice and mark the check box +/- Reverse sign, which will show the negative amount.
Regards,
Durgesh.
Similar Messages
-
Dynamically changing the flatfile name..
Hi friends,
I 'm Getting data from 30 Flat files...all are with same structure but different data.. .. all these files are now in Application server...
now i want to upload data into with a single DataSource and to ODS with process chains..
so, how can i dynamically change the file name in Data Source level.. i saw previous threads.. in that.. through Routines.. we can solve this problem.. but I dont know ABAP code... so, can any one plz give me the exact code.. what i have to write...exact coding..
<b>
I already post this question in forums.... but evry one gave different options.. some one gave the function module..
BAPI_IPACK_CHANGE and BAPI_IPACK_START.
and some one gave other function module.. like .. EPS_GET_DIRECTORY_LISTING
i tryd for All these options.. but i'm not getting the exact solution... even i'm unable to pass the parameters also.. beacuse.. in that function what parameters can i pass....</b>
can u plz suggest me the solution..
Thanks
BabuHi Friends,
for the above requirement i had write the bellow coding in the routine.. it is working.. but the problem is.. it was loading only the last file..(30 th file data only..)
data : z1(50) type c,
z2 type c,
z3(50) type c,
z4(50) type c.
Z2 = 1.
Do 5 times.
z1 = 'C:\Documents and Settings\e10035\Desktop\'.
z3 = '.csv'.
concatenate z1 z2 z3 into z4.
p_filename = z4.
z2 = z2 + 1.
Enddo.
SO, CAN YOU PLZ SUGGEST ME.. when ever the file name was changing in the loop.. that automatically should load into the PSA ..
plz... plz.... help regarding this..
Bbau -
Changing the display name of project file folders for TOC
I'm interested in changing the display names of the project file folders for my TOC. For example, I want to name the folder "01-intro" so that it is short and lowercase. But I'd like the TOC to say "Introduction to the System." I know I can manually rename the folder in the TOC either through its properties or by right-clicking => Rename, but I auto-create the TOC occasionally and I don't want to have to rename every folder every single time.
Does anyone know if there is a way to set a persistent property for the folder so that its display name in the TOC is different? I am using RoboHelp 9. I saw an option called "Detail" in the properties of the WebHelp layout in RoboHelp 8 that seems like it may have done that, but I no longer see this property in RoboHelp 9.
Any assistance would be much appreciated. Thank you.I think the lack of response confirms that if you are going to use Auto Create, you have to accept the way it is.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Dynamically change the column name....
Hi,
I am facing a problem in displaying name of the columns dynamically as a parameter selected from the dashboard prompt.
I have some facts which contains data according to the selected month (From Prompt).
As of now the column names are:
Curr, Next1, Next2, Next3 which displays the data for the months accordingly to the selected month from prompt.
Data is coming correctly but on the report the column name are displayed as Curr, Next1, Next2 and Next3 which I want to be displayed as the month name for which it contains data.
How can I do that? I have tried presentation variables to be used in custom heading but that is only as string.
Thanks in advance !!!
Regards,
S Anand
Edited by: S Anand on Nov 20, 2009 2:29 AM
Edited by: S Anand on Nov 20, 2009 2:29 AMMy scenario is little different, let me explain:
My columns will remain same but values changes (based on column formula) according to the selected prompt value
If I select 'Oct' from prompt then
Curr will contain data for 'Oct' only
Next1 will contain data for 'Nov' only
Next2 will contain data for 'Dec' only
Next3 will contain data for 'Jan' of next year only.
Later if I select 'Jul' from prompt then
Curr will contain data for 'Jul' only
Next1 will contain data for 'Aug' only
Next2 will contain data for 'Sep' only
Next3 will contain data for 'Oct' only.
I don't have different columns for each months but the columns are capable to reflect data for any month.
So, how can I reflect the column name as month name for which that contains data.
Regards,
S Anand -
How I may change the encoding names for downloaded files?
I have some problem with encoding when I download files from russian sites. The downloaded files look like this "ìîé êàáèíåò - èíôîðìàöèÿ"
Firefox, as is, will only download the file. You can choose where the file is
saved, but that's it.
Go to the '''''[https://addons.mozilla.org/en-US/firefox/ Mozilla Add-ons Web Page]''''' {web link}
(There’s a lot of good stuff here) and search for '''download managers.'''
Many of them give you a chance to change the file name. -
Why can't I change the Created Date on a file using Terminal?
I bought a used Contour helmet camera to take pictures of the kids while they're skiing, and I cannot access the camera itself to change the clock in it (USB port is broken).
I get videos from it just fine, but every time I remove the battery the date/time on the camera resets to January 2008, so my skiing videos end up someplace completely different from what I expect in iMovie.
I thought I could change the Created Date with Touch in Terminal, but it only handles the Modified Date. I know I can purchase File Date Changer 5 from the App Store to do this, but I'd like to know why I can't do it in Terminal.
Anybody know? Or know of a different way that I COULD do it in Terminal?pessex wrote: Anybody know? Or know of a different way that I COULD do it in Terminal?
Don't know about Terminal, but, because you are using 10.9.x and iMovie, try the iMovie method: -
Can we dynamically change the column based on drill filter parameters
Hi All,
Is it possible to pass the drill filter parameter from a parent WebI report to Child webI report.
Here is the scenario:
There ar 2 WebI reports: Test1 and Test2.
Test1 is the parent report which is having the drill options and a link to detial report.
Depending upon user selection of Region, Market Unit or Country the detail report should display data dynamically by taking those drill filters as input for prompts of second report.
ie. if user drills to region = APJ, detail report should only display APJ Data at detail level.
If user is on drill level = Market Unit, only that Market unit details should be displayed, similarly for country.
I am able to pass the drill parameters of Test1 report using the formula:
="<A HREF=https:///OpenDocument/opendoc/openDocument.jsp?sType=wid&sDocName="+URLEncode("Test2")
"&sWindow=New&lsMRegion="URLEncode(If(DrillFilters([Region])="" ; [Region_All];DrillFilters([Region])))"&lsMMU="URLEncode(If(DrillFilters([Market Unit])="" ; [MU_All] ; DrillFilters([Market Unit])))
"&lsMMU="URLEncode(If(DrillFilters([Country])="" ; [Country_All] ; DrillFilters([Country])))
">""Detail Report"+"</A>"
But I am not sure what formula I need to write in the Test2 report so that column changes based on the drill filter selection in Test1 Report.
Can you please someone help me out in this?
Thanks in Advance.
Regards
SindhuPlease find my replies inlined >>>
Hi Tapash,
Thanks for the reply. I have already extended the
VORowImpl class and overridden the setAttribute14.
The value gets stored in the database, but I am not
able to fetch this value using getAttribute14() in
the VORowImpl class. I am not sure why, but my
requirement is to change the value of an attribute
depending on its previous value.
You need to requery your VO to get the data back from the DB
Let me elaborate my requirement. In iprocurement we
have created a requisition using copy to cart
feature. Our requirement is to launch the Account
Generator whenever a requisition is created using
copy to cart.
Okay
This can happen if we change the value of an
attribute. I changed the value of this attribute from
the form
Do you mean you changed the value from forms application ?and observed that account generator is
launched. But as this attribute is not used by
client, I want to change the value of this internally
but it should behave the same way as if the value is
being changed from the form.
I hope this makes the requirement clear.
What i understand is, you need to launch the account generator when you create a req using copy to cart, so let us look at that, i would suggest not to change/use tha flex attibutes if not required, because the client might want to define a DFF on the field tomorrow, that is the purpose of attribute fields, now if you manage to get your requirement by using it today, it might incur rework tomorrow.I will find out how iProc works and would let you know other better way of launching the account generator.
>
Thanks -
How to dynamically change the table name inside a view
Hi All,
create table t_auto_feeds
id number,
table_name vachar2(100));
insert into t_auto_feeds values(1,'T_FEED_POSITIONS');
insert into t_auto_feeds values(2,'T_KAP_MTM');
assume there are 100 records on id=1 in T_FEED_POSITIONS and 100 records of id=2 in T_KAP_MTM (id 1 is present only in t_feed_positions & id 2 is present only in t_kap_mtm)
i need to create a view such that it needs to give the count of records based on the id
create or replace view aa_view as
select count(*), id from t_feed_position group by id
union
select count(*), id from t_kap_mtm group by id;
I am getting a proper result when i query the view like select * from aa_view where id=1 but will the other union query seems to be a overhead?. I am having 10 such tables configured for different id in t_auto_feeds.so do i need to put 10 unions or is there a better way to handle this stuff.
I know i can use a PLSQL block and dynamically build view structure, the problem is the view itself is configured in a table , so i cant write a proc for this.. can this aa_view be modified such that it queries only the table(using the t_auto_feeds ) which matches the id rather than the entire list.
Kindly help me in this regard and let me know in case u need any further information from my side.>
so do i need to put 10 unions or is there a better way to handle this stuff.
>
Yes - you need 10 unions
Yes - there is a better way so that only one of the 10 queries does anything.
You can use SYS_CONTEXT to control the query selection.
Here is an example of using SYS_CONTEXT. Try this code in the SCOTT schema.
create or replace context VIEW_CTX using SET_VIEW_FLAG;
create or replace procedure SET_VIEW_FLAG ( p_table_name in varchar2 default 'EMP')
as
begin
dbms_session.set_context( 'VIEW_CTX', 'TABLE_NAME', upper(p_table_name));
end;
select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
select * from emp2 where 'EMP2' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
exec set_view_flag( p_table_name => 'EMP' );
exec set_view_flag( p_table_name => 'EMP1' );
exec set_view_flag( p_table_name => 'EMP2');
SELECT sys_context( 'VIEW_CTX', 'TABLE_NAME' ) FROM DUAL
CREATE VIEW THREE_TABLE_EMP_VIEW AS
select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
union all
select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
union all
select * from emp2 where 'EMP2' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
SELECT * FROM THREE_TABLE_EMP_VIEWNote that you set the context for the table you want. This doesn't have to be a table name it could just be flag value
-- use the emp table
exec set_view_flag( p_table_name => 'EMP' );
-- ue the emp1 table
exec set_view_flag( p_table_name => 'EMP1' );
-- use the emp2 table
exec set_view_flag( p_table_name => 'EMP2'); -
How can I dynamically change the Application Date Format?
Hi everyone...
In my application (v 3.2) I let the user set the application date format dynamically through a "preference" value they can change on the go.
I then take the format they pick and assign their value (ie: DD-MON-YYYY) and pad 'HH:MI' to it and use this as the PICK_DATE_FORMAT_MASK which works great for most date pickers.
The problem I have is that some date picker I use in the application don't require the HH:MI, they simply need the DD-MON-YYYY part. Could I use the NLS_DATE_FORMAT for this? Would I then be able to use date pickers with the "use application date format"? It doesn't seem to work for me.
In other words, I basically need 2 date formats for my application date pickers; 1 for simply the dates and 1 for dates including time. And these 2 formats are chosen by the user by setting an application preference dynamically at run time.
Not sure if I make sense here....any idea?
Thanks!
Francois"use application date format" is the choice you want.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
How to dynamically change the table name for a update statement
Hi All,
I need to update a coulumn xyz in either of tables abc and efg based on some condition.
I wrote a cursor which has union of two queries(one querying abc and other efg)
Now based on some inparameter only one will be executed at a time.
And based on some condition a coulumn xyz needs to be updated which is in either of the table.
As the update condition is same
Update abc/efg set xyz=data where condition
I am looking to initialize a variable like v_tname based on some condition and update like
update v_tname .........
(Exactly that may not be like so, But looking a technique like this)
Please helpIf there is only two tables you'll need to update then you are better off using static SQL and implementing something like this instead:
DECLARE
update_condition BOOLEAN;
BEGIN
-- initialize update_condition
update_condition := <some_boolean_check>;
IF update_condition
THEN
UPDATE abc
SET xyz = some_val
WHERE some_col = some_other_val;
ELSE
UPDATE fgh
SET xyz = some_val
WHERE some_col = some_other_val;
END IF;
END;
/Hope this helps! -
can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.
Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
Why can't you change the filename? Is it because the source drive is having problems? If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it. -
Dynamically changing the name of the .dll file to load in call Library
Our current model is to use dll files as "plug-in" modules for instruments and a top layer test step calls the appropriate driver dll.
For instance
the TestStep is called with the kenmore.dll passed as a parameter so the kenmore.dll file is loaded, the functions are registered and the functions are called. Next the TestStep is called with whirlpool.dll as a parameter now the whirlpool.dll is loaded the functions are registered and the functions are called. This works very well in our current CVI/LabWindows environment. Now we plan to work with LabView, we wish to retain this model (as DLL files, there are advantages in our model for us). We have not found a way to load these dll files from LabView without hard coding the path and filenames in.
Any suggestions on how to dynamically change the path in the Call Library module, or another suggested method of loading the dll via LabView?
Thanks,John Stuart wrote:
Our current model is to
use dll files as "plug-in" modules for instruments and a top layer test
step calls the appropriate driver dll.
For instance
the TestStep is called with the kenmore.dll passed as
a parameter so the kenmore.dll file is loaded, the functions are
registered and the functions are called. Next the TestStep is
called with whirlpool.dll as a parameter now the whirlpool.dll is
loaded the functions are registered and the functions are called.
This works very well in our current CVI/LabWindows environment.
Now we plan to work with LabView, we wish to retain this model (as DLL
files, there are advantages in our model for us). We have not
found a way to load these dll files from LabView without hard coding
the path and filenames in.
Any suggestions on how to dynamically change the path in the Call
Library module, or another suggested method of loading the dll via
LabView?
Thanks,
As Ben has pointed out LabVIEW
scripting may be a possibility but you are going with that in highly
unsupported area. Also I happen to know that changing the library name
of a Call Library Node through scripting has produced unsupported
feature errors previous to LabVIEW 7.1 eventhough the method was there.
And LabVIEW 8 hides the whole scripting business behind the license
manager.
Another approach at least if the different DLLs do not change to often
thier functions and parameters would be to create a wrapper DLL. Have
it a method that loads the desired DLL and links its functions to
internal function pointers. Then when calling the actual function entry
points just redirect directly to the correct fucntion through that
function pointer. Since you are already working in CVI creating such a
DLL should be only a matter of taking out a little bit of your already
existing code and put it into a DLL project.
Rolf Kalbermatter
Message Edited by rolfk on 04-12-2006 07:40 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
These were all songs I had ripped from old CDs, lot of which, I no longer have. I can't remember that artists' names for all these songs. They are all "oldies" from the fifties and I just accidentally changed the artist for all them to Fats Domino. I'd had them all highlighted because I had done a batch change of their genre to Oldies. I couldn't tell that they were all still highlighted after that change because I could only see two of the songs at the time that I changed the artist name. Is there any possible way to undo this? All the tracks are still highlighted from the naming operation. I can't search for the artists' names online because I didn't purchase them from iTunes. Any suggestions would be greatly appreciated. Thanks!
I found one other way to do it. I just deleted them all out of my iTunes library. Now I can re-import them from Window's My Music file with the original artists' names intact.
Thanks for your help, Matt! -
Powershell: How to change the header name in a imported CSV file
HI All,
I have a csv file in which I want to change the headers names in powershell.
oldnames are name,id
newnames I want to give are: company and transit respectively.
Following is what I wrote in script:
$a = import-csv .\finalexam\employees.csv -header name,id'
foreach ($a in $as[1-$as.count-1]) // I used 1 here because I want it to ignore the exiting headers.
{ $_.name -eq company, $_.id -eq transit}
I think this not entirely correct way to do this. Can someone show me how to fix this.
Regards
SQL 75If you're not an experienced PowerShell programmer, I recommend editing the file in a text editor and changing the name that way.
-- Bill Stewart [Bill_Stewart] -
Changing the field name at runtime in rpt file
Hi everybody
I'm using C# and Crystal Report XI (Deverlop license) to develop windows application in VS.net 2003.
Please help me to change the field name of the bounded column of Crystal report file at the runtime.
(In some case client's database had changed the structure as fieldname, fieldtype. Then they request a utility to change the field names in the .rpt file programmatically )
Thanks
GiangSon
My email address: [email protected]user11200661 wrote:
That's fine but still i want to prefix the schema name within the .sql file. My .sql should contain the name of that parameter only as i want to get that parameter replaced by the schema name at runtime. Some other users are using the same .sql file and they have access to that specific schema only. i want to make the .sql file more general so that it can be used by everyone without altering it every time.Sorry, your requirement no longer makes sense.
If people have to access a specific schema because they need the script for general use, then you will have to hard code the schema name into it.
If the script is to prompt for the schema name and connect to that schema and then use that schema name inside the called sql script, then people would not be able to use it generically, as it would be reliant upon the schema name being passed in.
It sounds as if you're trying to write one generic thing that needs to do two different tasks.
Just have two scripts and make life simple.
Maybe you are looking for
-
Hi all, Recently purchased a Lenovo G50-30 as a birthday present. After recieving the laptop, I tried putting a fresh install of Windows 7 64 Bit onto it. After changing the BIOS settings to allow legacy booting from the DVD drive and changing OS Set
-
Using Acrobat Object in InDesign Javascript Script
Hi there, for a current job, I would like to replace pages in a PDF document right after I have exported the pages from InDesign. The export works well, but now I need to instantiate an acrobat object in my InDesign Script. At the moment, I only have
-
Where is my music library in iTunes 11?
Just upgraded to iTunes 11. Music lib used to be on left side of screen w/ all individual playlists. Now it's gone. Only have playlists and purchases. Where is it and how do I put it back in that left side list w the others? Thanks!
-
Material & plant in semantic groups of DTP
Hello I ticked the material , plant boxes of semantic groups setup in DTP. Does it mean that all combinations of the same material and plant will be included into one data package even it significantly exceeds 50K records?
-
Wrong Pricing Procedure in CR document type
When we create a CR/credit request with reference to an OR/order (pricing procedure=ZRVFK1) the pricing procedure in the CR = ZRVFK3 which is correct. However when we create a CR with reference to the F1/billing document Pricing procedure=ZRVFK1) th