How to apply "Custom Layout" to a XSLT + COCOON + APACHE Report
I've created a new shared Report Layout, the Report Layout Type is "Generic Columns (XSL-FO)" , under " Home > Application Builder > Application 106 > Shared Components > Report Layouts ", this layout just adds the font-style="italic" color="red" attributes to the column headings.
How can I apply this Layout to an existing or a new report?
Thanks for your help.
Nelson
Found what I was looking for, since existing repots, can't get it's XML extracted a report can't be generated from them. Only for a new custom query.
The answer would be:
Create a custom query, extract XML, create a XSL Template from the XML, upload the template, USE :D.
Nelson.
Similar Messages
-
How to add customer group(KNVV-KDGRP)in the standard report?
Dear All,
My customer requirment is that Customer group (KNVV-KDGRP)wise should be run in FBL5N report AND Customer group should be shown in FBL3N report.
how to add customer group in the standard report?
thanking you,
regards,
Rupang shahHi,
This is what I did for FBL5N with a developer because additional fields configuration does include certain tables.
BTE1650 available for FBL5N and add a new field into one of those tables as an append structure and then use a BTE to populate the field for FBL5N.
Hope that this helps
Kind regards -
How to apply custom authentication in an application?
Hi All,
I have to create one application in which there is a dealership table..... which stores information about dealers.
now i want to apply a custom authentication so that only a valid dealer according to the table data can login into the application .
and also the details of that dealer gets displayed on a form based on the username entered.
Can anybody give me the link or procedure to achieve that functionality...please help if anyone knowsThis link might help you:
http://djmein.blogspot.com/2007/07/custom-authentication-authorisation.html
Edited by: cptbutcher on Mar 24, 2010 12:13 PM -
How to apply custom search help
i have a field in the selection screen for plant entry
i want there to display all the plants that are in my own created table and NOT the entries of T001W table
how to do thatHi Karan Chopra,
This is kiran kumar.G(working on sap).I will read all the replies for ur answer.i will develop a small code 4 u.i will execute that code that is executing perfectly try this.
if u r satisfy with my answer plz give me REWARD POINTS..
HAVE A NICE DAY..
i have to send a code for matnr filed.U have to according to ur requirement ok.
CODE:
REPORT ydemo87 .
Global Data (MATNR = 18 IN LENGTH)
DATA: var(18). "It Must Be Character bcz MATNR field is a char type
Parameters for Input the Data
PARAMETERS: p_matnr(18).
Global data
DATA: t_ret_table LIKE STANDARD TABLE OF ddshretval,
fs_ret_table TYPE ddshretval,
t_dynp_fields LIKE STANDARD TABLE OF dynpread,
fs_dynp_fields TYPE dynpread.
Selection screen
AT SELECTION-SCREEN OUTPUT.
PLACE BELOW STATEMENT COMPULSORY
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'MARA'
fieldname = 'MATNR'
searchhelp = 'MAT1' "ANY NAME U WANT TO GIVE
SHLPPARAM = ' '
DYNPPROG = ' '
DYNPNR = ' '
DYNPROFIELD = ' '
STEPL = 0
VALUE = ' '
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
SUPPRESS_RECORDLIST = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
SELECTION_SCREEN = ' '
TABLES
return_tab = t_ret_table
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE t_ret_table INTO fs_ret_table INDEX 1.
CLEAR t_dynp_fields.
fs_dynp_fields-fieldname = 'P_MATNR'.
fs_dynp_fields-fieldvalue = fs_ret_table-fieldval.
APPEND fs_dynp_fields TO t_dynp_fields.
CLEAR fs_dynp_fields.
SELECT SINGLE matnr FROM mara INTO fs_dynp_fields-fieldvalue WHERE matnr
EQ fs_ret_table-fieldval.
APPEND fs_dynp_fields TO t_dynp_fields.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = t_dynp_fields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 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.
Just Display the value
START-OF-SELECTION.
var = p_matnr.
WRITE:/ var. -
How To Enable Group Layout When Creating Chart in Crystal Reports XI
Hi
I Created a chart, and i placed the same on Report Header, when i want to change the layout Option As Group, it is disabled, how to enable the Group Layout Option.Hello
You should have your group already created and your summary. you place your graph outside the group (RH or RF)
Luc -
How to apply modified UI Defaults to existing forms and reports?
Hi all--
I've been struggling with UI defaults and after searching through posts in this forum, it doesn't look like I'm alone.
Is there a way to apply changes made to UI defaults to existing forms and reports? New forms and reports pick up the changes, but can they by applied retoactively?
Thanks in advance,
Dan KrautheimThanks for the update,
We have a develpment 10g AS environment setup made,
1) But we are really confused how to present the forms and reports.
We have around 250 forms and reports running on client/server architecture. All these forms/reports have been copied to a fileshare and access control is restricted by folder security.
2) How to deploy forms - entries within formsweb.cfg with Named Configuration sections.
3) How to deploy reports, as to were to copy the .rep files.
getting the following error
REP-110: Unable to open file 'Car_Readings.rep'.
while trying
http://kddsvr6.kddc.com:7778/reports/rwservlet?report=Car_Readings.rep&userid=username/passwd@db&desformat=htmlcss
Thanks in advance,
AJi -
How to attach the layouts or variants to the alv report
hi all,
i have seen that using FM REUSE_ALV_VARIANT_F4 for some reports iam
getting the layouts
for some reports its giving message that NO LAYOUTS FOUND.
is there any way to define new layouts or else how can i use existing layouts.
any help will be greatly appreciated,
thanks and regards,
cnu.Hi cnu,
First set <b>I_SAVE = 'A'</b> in the alv grid or list display FM. You can create new layouts by using 'change layout' button.but to save those layouts you have to set the save attribute. see below ex code.So that you can create some layout sets
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = V_REPID
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT[]
IT_SORT = IT_SORT[]
IT_EVENTS = IT_EVENTS[]
I_SAVE = 'A'
TABLES
T_OUTTAB = IT_MLGT[]
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
plz reward points if helpful
thanks,
Suma. -
How to get custom file name in manually generated SSRS report
Hi,
I am creating a SSRS report which would be executed by User manually through ReportServer URL.User would be generating the SSRS report for different Customer ID based on ad-hoc basis.
I am passing CustomerID as input parameter to the report. Is there any way to get the manually generated SSRS report name as 'Report_CustomerID_TodayDate.xls'. Please let me know.
E.g.If User is generating report for Customer ID 123 today then report name should be 'Report_123_07092013.xls'
Thanks for your help in advance.
Thanks,
AbhiyantaHi Amar,
If possible Can you please provide the custom code to rename the exported file in SSRS.
Thanks in advance,
Regards,
Jagan -
How to apply a master template in a built webI report
Hi Experts,
I have around 60 webI reports already built in WebI (BO 4.0 with BICS conection). Now, my client wish to change the lay out in order to adapt to new visual requirements.
I was wondering if is there any way to apply a master template and minimize the effort because for while the unique solution for this is change the xml file.
Any ideas?
thanks in advance,
Eduardo MorenoHi Eduardo,
Master template or Template is npt possible for Webi reports in BO 4.0.. -
How to apply an accent-insensitive search to an interactive report?
Hello all!
I'm trying to put an accent-insensitive search on an interactive report here. For example, if I'm on the page that has the interactive report and if I click the column header of the interactive report, I get to see a search bar that dynamically shows the results that match your input. Now, when I enter "jager", I want to see *"Jägermeister"* as a search result. The search must be accent-insensitive, so that I don't have to enter the ä every time.
My code is as follows:
SELECT name
FROM food_1
WHERE name LIKE 'Jagerme%'
AND NLSSORT(name) IS NOT NULL
ORDER BY NLSSORT(name, 'NLS_SORT=GENERIC_M_AI');As you can see, I first tried getting a result through the SQL Command. It should return the row that has "Jägermeister" as name. However, it doesn't. It tells me "No data found". So, how do I alter my NLSSORT to search accent-insensitive?
Some extra information, I edited the interactive report source to the following:
SELECT DISTINCT a.name, a.foodid
FROM food_1 a INNER JOIN foodunit_1 c
ON a.foodid = c.foodid
WHERE a.foodlanguageid = :P17_SET_LANGUAGE
AND NLSSORT(a.name) IS NOT NULL
ORDER BY NLSSORT(a.name, 'NLS_SORT=GENERIC_M_AI');I also tried doing ALTER SESSION before the SQL code, but it still gives me the same result: No data found.
I'm using APEX version 4.1.1.00.23.
Help and suggestions are more than welcome. ;)
Thanks in advance,
MagaliI found it out!
It's really ridiculous, actually.
Remember this code?
execute immediate ('ALTER session SET NLS_COMP=LINGUISTIC');
execute immediate ('ALTER session SET NLS_SORT=BINARY_AI');Well, this code is perfectly fine. Only, it doesn't execute. This is because it was misplaced...This process is not executed when you place it in the current authentication scheme, under the "Post-Authenticatoin Process" part.
You might wonder why this is, but I have the explanation to that.
You see, when you use an interactive report, the page processing isn't executed when you use the search function of that interactive report... Because it's an interactive report, I guess.
BUT.
An ALTER SESSION from the security attributes, that will execute.
So, the solution to my problem was, in this case:
Go to "Application" --> "Shared Objects" --> "Security Attributes" --> "Database Session" --> "Initialization PL/SQL code". In there, you need to put:
BEGIN
EXECUTE IMMEDIATE 'ALTER session SET NLS_COMP=LINGUISTIC';
EXECUTE IMMEDIATE 'ALTER session SET NLS_SORT=BINARY_AI';
END;By doing this, there's no longer any need to edit the source code of the report!
So, that's the solution. I can finally enter text without special characters in it, and get the corresponding data, with special characters... Ahh. :)
I hope this is helpful to others as well now. ;) -
hello people! So far I have done some good progress regarding this thanks to many of you people. I do have some hurdles and one of them involves ALV Reports. So far I use
WWW_LIST_TO_HTML - to temporarly store the list report to a table known as ihtml.
and Open/Transfer/Close data set to send the file to the application server using the syntax below
<b>OPEN DATASET file FOR OUTPUT IN BINARY MODE.
LOOP AT ihtml.
TRANSFER ihtml TO file.
ENDLOOP.
CLOSE DATASET file.</b>
So far the program works fine in the report with the expection if its one that generates an ALV Report.
My question is that is there a way to successfully run the program the way it was mentioned above using ALV? If so what techniques do you guys suggest?
<b>Note:</b> Also please note the report and transfering/writing of the file has to be done during background processing.
Hope I get some replies soon as many of you have been most helpful thank you and good day.Hi chad,
1. yes u are right
2. it will give this error only.
3. the reason is, the www_list_to_html
is exected after list display,
4. the code comes there when
we press BACK, and at that time
no list is there in memory.
<b>5. So we have to use some workaround.
6. END_OF_LIST
7. We have to use this EVENT
and inside this event,
we have to export to HTML.</b>
8. I tried and it works FANTASTIC
9. Just copy paste this program.
(it will show a alv list of t001,
and write the HTML file also)
( i have used END_OF_LIST event)
10.
REPORT abc.
TYPE-POOLS : slis.
Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : END OF itab.
DATA : alvfc TYPE slis_t_fieldcat_alv.
Select
SELECT * FROM t001 INTO TABLE itab.
*------- Field Catalogue
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
DATA : alvev TYPE slis_t_event .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = alvev.
PERFORM alv_setevent USING 'END_OF_LIST' 'ITAB'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = SY-REPID
i_callback_user_command = alvcallback_formname
it_events = alvev[]
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
form itab_end_of_list.
Display
data : ht like table of W3HTML.
CALL FUNCTION 'WWW_LIST_TO_HTML'
EXPORTING
list_index = sy-lsind
TABLES
HTML = ht
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = 'd:\my.html'
tables
data_tab = ht
endform.
*=============This Function Links the Event Name To The Specified Form
FORM alv_setevent USING value(eventname) value(alvitabname).
DATA: tempev TYPE slis_alv_event.
DATA : formname(30) TYPE c.
TRANSLATE eventname TO UPPER CASE.
CONCATENATE alvitabname '_' eventname INTO formname.
TRANSLATE formname TO UPPER CASE.
LOOP AT alvev INTO tempev WHERE name = eventname.
tempev-form = formname.
MODIFY alvev FROM tempev.
ENDLOOP.
ENDFORM. "alv_setevent
regards,
amit m. -
Apply custom style to the first tab of af|panelTab component
Hi,
Could anyone please advice me how to apply custom style to the first and last tabs of af|panelTab component.
For eg- If I have 6 tabs and I want tab1 and tab6 to be in Red and rest of the tabs in blue, what should I add. Please advice.
Regards
Jeffry Roy
Edited by: Jeffry on Mar 8, 2011 4:45 AMHi Rishit,
Please let me know if you have applied Fix pacK3 for Xcelsius.
I have seen this issue in FP2, which got fixed in FP3. The workaround you can try is including a blank cell.
Thanks,
Amit. -
Hi Experts,
Could any body tell me how to create custom Layout Controllers for the Layout sets.
Right now wer are using GridListLayoutController which is with two screen areas
Now we need to add one more screen that means we need to create three screen ares Layout controller.
So please help me how to achive this.
Thanks
MukeshI found the problem or at least part of it, somehow my .layout file is not being updated after deploying my application, anyway the documentation says that .html.txt is used at workspace studio and the administration console to show how the portal would look like, and that file is updated, so it must work ok... is'n it?
-
How to create a custom layout set to display the KM folders...
Could someone please tell me how to create a custom layout set to display the KM folders?
Thanks,
Sudha.Hi Sudha,
Please check the following blogs whick will guide you step by step.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4123
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3071
http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/c91b5610b65b4aa8204d09384d156b/frameset.htm
If helps reward points
cheers
dev -
How to force a Custom Layout in the links sent by e-mail ?
Hi everyone,
For customizing the final user´s view for Discussion Groups,
I created a custom Layout Set "myDiscussionGroupsContributor"
that references a custom Collection List Renderer
"myDiscussionGroupWithoutTopicsContributorCollectionListRenderer"
that references a custom Command "my_join_discussion_thread_contributor"
that has a custom Layout Set assigned "mySingleDiscExplorerContributor".
When accessing the discussions via the final users it works fine
(I´ve already corrected the "Back" link problem acording thread
problem with discussion group contributor iview)
The problem is that when I send a discussion via e-mail
to another user using the "send to" command,
the received link opens the discussion using the default
"DiscussionGroupsContributor", in fact, the e-mail´s HTML code
contains the property "rndLayoutSet=SingleDiscExplorerContributor"
as noted in the following href element:
href="http://myportal:50000/irj/servlet/prt/portal/prtroot/
com.sap.km.cm.navigation/discussiongroups/
80b935d9-90a8-2810-17a6-c88c15fd350b/
324e1175-98a8-2810-16a2-ee1c1f9c54bc.dsc?
StartUri=/discussiongroups/80b935d9-90a8-2810-17a6-c88c15fd350b/
324e1175-98a8-2810-16a2-ee1c1f9c54bc.dsc&
rndLayoutSet=SingleDiscExplorerContributor&scHeight=300&
scWidth=220&scPostListWidth=500" target=_blank
The same happens with the link in the subscriptions list.
Does anybody know how to set the layout in these links ?Hi all,
I solved the problem, so here I post the steps for the solution I found.
1) Modify the Object Type Definitions:
In the CM Repository there is a folder root > etc > oth.
There you have to change the LayoutSet settings in the following files
(I don´t know if it is necessary to modify all of them):
- discussion_post.oth
- discussion_topic.oth
- discussion.oth
- discussiongroups_items.oth
- discussionPostType.oth
- discussionType.oth
- dscGroupsCollType.oth
- dscGroupsItemsType.oth
2) Then you have to reload de OTH settings:
In the Content Management configuration (System Administration >
System Configuration > Content Management)
go to User Interface > Debugging Settings and edit the configuration.
Add your user id to "UI Superusers" then enable
"Enable Rendering Information" and save.
Then go to a KM and clic on "Rendering Information"
(If the link doesn´t appear, refresh your window).
A new window opens, clic in "OTH-Overview"
and then in the new window click on "Reload".
Finally close all popup windows and go to the
Debugging Settings again to disable the checkbox
"Enable Rendering Information"
For further information you can read:
http://help.sap.com/saphelp_nw04/helpdata/en/02/e4e25538f7274eb08b317751f2f04b/frameset.htm
and
http://help.sap.com/saphelp_nw04/helpdata/en/f4/2c6b2089cc784bb384a7ea058de50d/frameset.htm
I hope someone find this thread useful.
Daniel Sacco
Maybe you are looking for
-
Is the Motion feature In Final Cut Pro 7.0.3 the same as Motion 5 or do I need to upgrade - confused?
-
ITunes 7.7 won't install
Seems I need to uninstall iTunes 7.6.2 and install 7.7. Will I lose all my purchased content if I do this?
-
Unable to Update Filters Error Message
Has anyone else had difficulty editing or deleting their Email Filters? I set up about 15 filters several years ago before Verizon changed the email format and have been unable to do anything with these filters for a couple of years now. Below is t
-
Hi, I have installed and deployed Adode LC ES 8.1 for weblogic. I have two questions; 1) While deploying the components 'Workbench Admin', 'Rights Admin' and 'PDF generator', exceptions are thrown saying that somes jar can not be deployed. After this
-
Hi, We are implementing E-Recruitment.As a part of that for external candidate registration we are planning to implement CAPTCHA_Functionality. is it possible to do this in WDA .if yes please give me some inputs Thanks Bala Duvvuri