Referencing translated boilerplates from TranslationHub in reports triggers
Hi!
We have following problem: We use TranslationHub to translate our reports. Despite in TranslationHub are shown more objects than boilerplates it seems to translate only boilerplates.
So my idea is to define all required text for trigger as boilerplate in a frame with format trigger, which hide this on report.
But I don't find a possibility to reference the text of an boilerplate! Does this not exist or do I miss something?
regards
I've managed to solve this, I believe. Don't experience any crashes and X startes in tty7, as it should.
I've moved this line to the end of my inittab instead of the beginning.
x:5:once:/bin/su shahin -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
So my inittab looks like this now.
# /etc/inittab
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
x:5:once:/bin/su shahin -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
# End of file
Last edited by shahin (2010-04-14 10:57:47)
Similar Messages
-
Can we translate currency from Non LC to any RptCurrency
Hi All
we are working on BPC 7.0 SP05.
Can we traslate currency from Non local currency to any other reporting currency
For Ex: Translating from EUR to USD . Where EUR is not the LC ( i mean its the Currency_type proper for that Entity)
We can translate currency from Local to any Rptcurrency/ Group currency.
thanks in advance
AKHi AK,
Well, that is certainly an interesting situation!
You can find the currency conversion code under package UJ in SE80. It is under the "Table Driven Logic" sub-package (which I think is UJT, but I don't really remember). If you put a breakpoint in the currency conversion code and maintain the debug user mappings on the .NET server, you should be able to debug.
However, you can configure this scenario using the normal currency conversion business rules, at least if you only have one reporting currency. It would involve using a different rate type for expense accounts (AVGEXP, perhaps, rather than just AVG), then maintaining currency conversion business rules for AVGEXP that dictate that the LC value should be copied to the reporting currency value directly (COPY_LC) rather than multiplied by the avg rate (AVG).
If this situation is not the case for all entities, you can use the FX Type property of the entity to allow you to maintain one set of rules for normal entities where both sales and expenses are recorded in LC and another set of rules for entities where this situation occurs.
Alternatively, you could maintain AVGEXP rate type accounts with the AS_IS rule and then simply load the expense values directly into the reporting currencies. These accounts will then not be translated. If you want to translate USD to EUR for just these accounts (for example), you could do this with a script logic and LOOKUPs into the rate cube.
Hope that helps,
Ethan -
How to print out multilingual reports from the main report using Xliff temp
Hi all,
How to print out multilingual reports from the main report using Xliff temp?
When I want main report call subtemplate and finish xliff tranlation
<?for-each@section:INVOICE?><?end for-each?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
Prints out fine with Finnish translation
But if I want in main program to check what language is used e.g.
if trx_number = 142 call Finnish translation and if trx_number =144,
call English translation.
<?for-each@section:INVOICE?><?end for-each?>
<?if:TRX_NUMBER=’142’?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
<?end if?>
<?if: TRX_NUMBER=’144’?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
<?end if?>
Prints out always in English and never the Finnish translation.
Program goes fine to if branch but does not print out Finnish
Does anybody know what could be wrong?
BR
KariThanks Amit,
I have two layout, main-layout and sub-layout
Main layout call subtemplate
I have registered layout and xliff-file
Main template
Localized Templates
File Name Language Territory
XXNS_INVOICE_MAIN.rtf English
SUB template
Localized Templates
File Name Language Territory
XXNS_INVOICE_SUB.rtf English
Translatable Template
File Name Language Territory
XXNS_INVOICE_SUB.rtf English United States
Available Translations
Language Territory Progress
English Finland Complete
If main report call subtemplate and finish xliff tranlation
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
Prints out fine with Finnish translation
But if I want in main program to check what language is used e.g.
if....
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
.....end if;
if....
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
.....end if;
Prints out always in English and never the Finnish translation.
Program goes fine to if branch but does not print out Finnish
Do you it's set up problem or program problem
BR
Kari -
Passing date parameter from forms to report
Hi,
I'm using forms and reports 6i.
I want to pass one date parameter from forms to reports.
Using
Add_Parameter(pl_id,'P_FROM_DATE',TEXT_PARAMETER,:FROM_DT);
giving me error REP-0091- Invalid value for parameter 'P_FROM_DATE'
This i think is because report expects date and here it is converted as varchar.
Please helpHi Divya,
Even I use this kind of statement
Add_Parameter(pl_id,'P_FROM_DATE',TEXT_PARAMETER,:FROM_DT);and works fine for me.
This i think is because report expects date and here it is converted as varchar
Correct.
Open the report in the builder and under Data Model -> User Parameters, Go to the Property Inspector of P_FROM_DATE. Under Parameter, set Datatype as Character instead of Date.
Hope this should work. and tell me if it works(coz it wokred for me). -
How to copy line items from one expense report to the next
I travel to the same project/destination every week so in PR05, I was able to just copy the previous expense report for the new week and edit the expense values. Now, when I book travel, the air line booking starts a new expense report entry.
Is there a way to copy the employee-paid expenses to the GetThere-generated trip entry expense report, i.e. just copy the line items from one expense report to another that already exists. I guess that would be a merge function.Hi Tom,
Here are two alternative solutions:
Alternative 1:
If you copy the expense report before you book the services (flight, hotel …)
in GetThere, then the airline or hotel bookings will not start a new expense
report but will be assigned to the copied expense report.
Alternative 2:
This alternative is a bit laborious.
Shift the start date and end date of the expense
report that was automatically created by
your flight booking for next week (e.g. Calendar Week (CW) 47) to the week after next week (e.g. CW 48).
Copy the expense report of the previous week (e.g.
46)
Afterwards open the expense report that you
moved to CW 48 and click on the tab strip itinerary
Now assign the bookings (flight, hotel …) to the
expense report of CW 47 by clicking on the button assign to existing trip
Later delete the expense report in CW 48
Get back to me if you have any questions concerning the alternatives outlined
above.
Note:
These solution alternatives are only available for customes using HTML5 UIs. -
Hyperlink from PL SQL Report to a branch
Hi,
Is there a "good" way to hyperlink from PL SQL report to a branch?
I cant use the regular report, as there is a lot of data and I need to control the layout.
I would like to go to another page and pass data to one known field.
Have tried googling and I found this page:
http://www.lucidprocess.com/blog/building-hyperlinks-in-oracle-apex-reports/
But it seems a bit "hacky", eg.. many places to edit if the page where to move or change in the future (or if one copies the page).
Is there a more "clean" way to do this, or does one have to get his/her hands dirty for such a task?Thank you.
I managed to write the other code too:
"f?p='||:APP_ID||':686:'||:APP_SESSION||'::'||:DEBUG||'::P686_TBNR,P686_VIS_REGISTER:'||oppdrag.PE_TBNR_BET||'%2CHUSKNYTT"instead of firing the branch and using JS, I just set the two fields that change the logic and basis of the page. However as you see, the "flaw" with the code I wrote, is that if the fields or anything were to change, it will be harder to go in and edit reports that have this type of code.
Have just started with APEX, but I must say I like it a lot..
Just wish there where something inbetween the sql reports and the pl sql reports..
The possibilities of the PL SQL Reports meeting the SQL Reports flexibility would be super.
However, maybe it's good not everything is served on a plate, as this forces me to learn it more in depth. I also love challenges and I like making things properly :-) -
Reading data from a crystal report using crystal for eclipse
tried both approaches listed here: [Help needed in reading data from a Crystal Report]
but having the same issues, is this a bug or is there some workaround? cant get any results with rowsetcursor and only the first 100 no matter what i do with browsefiledvaluesHello,
I have the same problem. I need to know values of last record in CrystalReports and i got only 100 records.
Have you found solution for this problem? -
Report 2 returning data from previously ran report 1 - Plus/Viewer
Hello,
We have an issue running through discoverer viewer and plus.
If you run the first report with a parameter for the year with this returns the correct data. However if you run report after the first with year 09-10, the 08-09 data is returned again from the previous report
It doesn't matter which order you run them i.e. if you run the 09-10 first and then the 08-09 the 09-10 data is returned.
The reports work fine when run in Discoverer Desktop.
When 2nd report is run after first it returns the data that appears in the first. This Does not happen on Disco Desktop. The SQL from the reports also runs correctly in TOAD.
Metalink notes suggest turning of the Webcache but this is not turned on in either apps tiers
I have also recreated both reports and this has not made a difference either.
Regards
RachaelHi,
Even with webcache turned off Discoverer holds the results of the last run from plus/viewer in the application server and will return these results unless an explicit refresh is entered. Normally, if different parameters are entered this is recognised and the report is re-run. I don't know how you are running your report but for some reason it is not recognising the new parameters and returning the last result set. A refresh should return the correct results.
Rod West -
How to remove business area from the Hyperion report
Hi All,
Kindly tell me the steps required to remove the business area from the Hyperion report.
Regards,
Ajays
-
Open an HTML file from a SAP Report
Hi all!
I would like to open an HTML file, that`s in a local directory of my PC, from a SAP Report.
It is an alv list, where I have added a pushbotton. And I would like to code the utility of open a local html file, when someone push it.
Anybody knows if it is possible?
ThxHere is some sample code.
report zrich_0002.
call method cl_gui_frontend_services=>execute
EXPORTING
DOCUMENT = 'C:test.html'
* APPLICATION =
* PARAMETER =
* DEFAULT_DIRECTORY =
* MAXIMIZED =
* MINIMIZED =
* SYNCHRONOUS =
* EXCEPTIONS
* CNTL_ERROR = 1
* ERROR_NO_GUI = 2
* BAD_PARAMETER = 3
* FILE_NOT_FOUND = 4
* PATH_NOT_FOUND = 5
* FILE_EXTENSION_UNKNOWN = 6
* ERROR_EXECUTE_FAILED = 7
* others = 8
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Please remember to award points accordingly and mark this post as solved when you problem is solved. Thanks.
Also, Welcome to SDN!!
Regards,
Rich Heilman -
Open a PDF report from a PDF report
I would like to open a PDF report from a PDF report, but in a new IE window.
I have the following code attached to an item in the report:-
function F_RECONFormatTrigger return boolean is
begin
IF trim(:btch_ref) = 'PL' and trim(:recon) is not null and trim(:recon) <> ' ' then
srw.set_font_weight(srw.bold_weight);
srw.set_font_style(srw.underline_style);
srw.set_text_color('blue');
srw.set_hyperlink_attrs('onMouseover "window.status="Click here to see what is in your shopping basket"; return true"'||'onMouseout ="window.status=" "; return true"');
srw.set_hyperlink('/reports/rwservlet?cmdkey=famis+desformat=pdf+report=FAMREP011+p_orderno='||trim(:recon));
srw.set_hyperlink_attrs('target=_blank');
-- srw.set_hyperlink_attrs('target="_blank"');
END IF;
return (TRUE);
end;
All of the commands work except for the 2 srw.set_hyperlink_attrs commands. The "onMouseover" and the "target" seem to have no effect. Can anyone help?
Thanks in advance
MichaelThe built in srw.set_hyperlink_attrs does not work , if the report format is PDF. There is no way to open another PDF report from a PDF report in a seperate window. Also think there is no way to hide URL which apperars when the mouse pointer moves over the hyperlink.
In other report formats like HTML, the built in srw.set_hyperlink_attrs works.
Kranthi -
How to access data from SAP Tables from a Webi report
hi all,
I have a webi report for financial data and from a Bex query which is build on a Cube (this has data from 2 SAP ECC systems)
i want to build a functionality where in i can call some SAP Table data from this webi report. i should be able to pass information or some hard code where it can understand the source system it has to pick data from.
in SAP BI, we have this ption wherein we can achieve this through RRI..
is this possible in Webi ?
Thanks
SKSHi.
Create a universe on top of SAP Tables and create a webi report.
Using hyper link /open doc we can call this report from the webi report created on top of your Cube .
@Sri -
Is it possible to pass a formula value from a sub-report to a main report
Hi there,
Im trying to pass a formula value from a Sub-report back upto into my Main report but the value doesnt seem to be getting passed up. Ive tried it the other way around, that is, passing a value from the main report to the sub-report and that works fine.
Below is an example of what I am trying to do but it is not working. In my sub-report Ive declared a formula variable as,
formula name=main_subIntRatePageCount
Shared NumberVar subIntRatePageCount := TotalPageCount;
and in the Main report Ive declared the formula variable as,
formula name=subIntRatePageCount
Shared NumberVar subIntRatePageCount;
subIntRatePageCount;
I want the value assigned to "subIntRatePageCount" in my Sub-Report to be available to my Main report.
The problem I am trying to solve is that the sub-report is spilling over onto two pages, and I need a way of updating the page display on the main report to reflect this. The page display is of format, "displaying page 1 of 3", but its not taking into account the extra page produced by the sub-report, so it should say "displaying page 1 of 4".Also thanks Raghavendra, Asha,
I've tried adding the "whileprintingrecords" statement but that doesnt seem to make any difference.
I notice that the subReport is being called from my the GroupFooter section of the main report, and I am trying to reference the variable in the main repot in the Page Footer section. Could it be that the variable hasnt been calculated in the Page Footer by the time I calculate it in sub-Report? I thought Crystal Reports does at least 5 passes over the report evaluating all the formulas before it prints the report?
The problem Im trying to solve is I need to know how many pages my report will have before its completed, so that i can print the statement "displaying page 1 of X", and X is currently not being calculated correctly because the sub-report is printing onto 2 pages and not 1 so the report thinks I have 1 of X pages and not X+1.
Regards
Robert. -
How to generate multiple output pdf's from one oracle reports
how to generate multiple output pdf's from one oracle reports.
I have a report where I have to generate more than one output files from the same report based on a parameter.
Each output file is for each parameter.
Is this possible in oracle reports, is so how ?You can better post your question in the reports forum instead of this pl/sql forum.
-
Calling report from a form/report
Hello all,
My Apex version 3.2.1
I have created an application on some tables. Each table has a report and form page. Now everything in these pages is working fine(inserting, updating, deleting records).
I have a situation here, where after I insert a new record in to a table from the form page, here I have to show a report page based on a SQL query which queries the records from another table and the current table passing the parameters. Parameters should be the values that I enter during inserting a record.
Can I do this from form or report? If yes, how?
Please help me...I think you could create an unconditional branch after submit that would go to the report page that calls the said report.
Process flow:
insert row in TABLE_A
click update - adds row into table
submits page
processes validations, computations, etc
branches to report page
report page pulls data from TABLE_A (new row is inserted)
You could have a separate branch on each form to accomplish this.
Hope that helps
Paul
Maybe you are looking for
-
So... I have a modem across the house and my room is at the opposite side. I believe that you have to connect the Airport Time Capsule via modem cable in order for you to appreciate the benefits of the boosted up Wi-Fi. However, I want the airport
-
NWBC v3.0 installed, but "nothing happens" upon executing desktop shortcut
I have a problem with v3.0 of NWBC that I have recently installed. Upon double clicking on the desktop shortcut icon, the initial NWBC 3.0 splash screen is displayed, but then nothing else happens. I am not presented with any screen where I am able
-
My stock Mac Pro 2006 just started showing the Kernel Panic screen at start-up. First saw the Kernel Panic this afternoon after leaving the system for less than an hour with a game running (EV Nova in a Pause screen). A reboot brought the system back
-
Why is it that you can only see the post you are replying to when replying to a post? This seems different than most other forums where you can generally see all the post on a particular page. It makes it more difficult when you want to respond to
-
Saving strings in user prefs file
Hi all, I'm experimenting with user preferences. The IB interface works okay, and the panel appears when selected from the 'Preferences...' menu item. I do have one slight issue with it, but I'll deal with that as a separate question later. In the me