Suggestions to add checkbox to Report
Version : 4.1.0
Hi There,
We have a classic report on an SQL. Now there is a requirement to add some sort of a check box against each report row where the user if selected, it marks that record as a favorite. That checkbox value will be stored in the table.
If it was a tabular form, I could have just added that as a checkbox and a DB column and it would get updated when the user hit the submit button, any suggesstions on how to do this on a report? Or the only way would be to convert the report to a tabular form ? Not sure, how to capture the Radio values. Any better suggestions are also welcome.
thanks,
Ryan
Hi ryansun
you can add checkbox to your report.
Suppose this is your query report
SELECT empno,
ename,
job
FROM empyou want to add checkbox to your report then try the below code
SELECT APEX_ITEM.CHECKBOX(1,empno) " ",
ename,
job
FROM emp
Click on report attributes then edit the checkbox column
under column attributes
set Display as = Standard Report Column
For detail information follow the link given below
http://docs.oracle.com/cd/E10513_01/doc/apirefs.310/e12855/apex_item.htm#CHDDCHAF
Hope this will solve your problem.
Regards,
Jitendra
Similar Messages
-
Row Selector Checkbox in Report throws "wwv_flow.accept" Error when checked
Hello all,
I ran into some time consuming trouble on
a page of an assistant flow contains a report regions. Users shall select one or many rows from the report.
The checkbox was added as a linked column and formatted as "Simple Checkbox".
After submitting to the "NEXT" page an item :Px_MYEVENTS shall collect the ID column value of all selected rows.
The page process "After Submit" shows:
+:P2_Myevents := apex_util.table_to_string(apex_application.g_f01,';');+
It is expected that only selected rows appear on the item, because we need this for further activities.
On testing strange things happens:
If no selection is done, the target page appears, the item :Px_Myevents contains the values of all rows
When a selection is done, the branch error "wwv_flow.accept" appears, :Px_Myevents doesn't contain a value.
This throws even when the code is used as a DA of type PLSQL - statement or function
How do I get the expecte behaviour?
Edited by: F Lan on 27.09.2012 13:18
Apex Version is 4.1.1 on Oracle 11GR2 XE
Remember the milk ;-)
RegardsHi,
Always state
<ul>
<li>Apex Version</li>
<li>DB Version and edition</li>
<li>Web server used.I.e. EPG, OHS, ApexListner Standalone or with J2EE container</li>
<li>When asking about forms always state tabular form if it is a tabular form</li>
<li>When asking about reports always state Classic / IR</li>
<li><b>Always post code snippets enclosed in a pair of {code} tags as explained in FAQ</b></li>
</ul>
The following line ought to work they way you want it to , I have used this construct without issues
:P2_Myevents := apex_util.table_to_string(apex_application.g_f01,';');
If no selection is done, the target page appears, the item :Px_Myevents contains the <b>values of all rows</b>This suggests that all checkboxes are being treated as checked.
You need to check why they are being treated as checked. Depends how they are rendered and if they are being manipulated in some way.
The other point to consider is the Processing Point. The above process must run before ApplyMRU/ApplyMRD.
You could try running the form in debug mode to see if it revealing anything in the Debug Report.
The other way is to put it up on apex.oracle.com for someone to take a closer look at it.
Cheers, -
Is there a way to stop Firefox from suggesting to add new search engines to my search bar?
Is there a way to stop Firefox from suggesting to add new search engines to my search bar whenever I visit websites that suggest to us to add their search engines?
I searched a lot and couldn't find any help. How to stop websites from suggesting to my Firefox search bar to add their search engines? I don't want to add other search engines other than the ones I organized. I don't want my list to look more distracting and longer.Firefox doesn't do that. That's either a feature of the website you are visiting or possible Malware on that PC.
A screenshot of that might be helpful. <br />
https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem <br />
It is best to use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed a maximum file size of 1 MB.
Then use the '''Browse ....''' button below the '''''Post a Reply''''' text box to upload the screenshot.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Please report back to us! -
How to add characteristic in report without having in the multi provider.
Hi All,
I need one requirement to add characteristic in report that is not available in the multiprovider . That field is available on the table level in the BI. How should i bring same field into report level with out adding MP. Note : should not add new filed in to exiting flow .
Please give suggestion how do approach this scenario .
Regards,
Veera.Hi ,
If you are working in BI7 then u can use infoset to join the cube and charecteristic(the field that ur going to add), I hope your infoprovider is a cube.
Jay -
Hi,
I want to add CheckBox in Table. my requirement is multiselection. I Implemented the following steps, but it's not working. anyone can tell me,what mistake i did?
I created two "Value Attribute"(check,Name) under a "Value Node"(Student) in context.
check - Boolean
Name - mapped a Dictionary simple Type(5 values)
Include a Table in Layout and select Create Binding on right clicking of Table.
Checked only Student and check -> Next
Selected the Editor as checkbox -> Finish
Selected Name from context and assigned to checkbox text property.
Then I deployed the application. But only one checkbox is displayed in Table without any text.
Please give me the suggestion, how to do this.
Thanks in Advance
RajakumarHello,
I think you have a fundamental misunderstanding on how Checkboxes work. A Checkbox triggers a boolean value with true (checked) or false (uncheked).
When you map your name attribut to text you will see the content of that attribute as text behind. But not the metadata.
You may want to use a RadiobuttonGroup or CheckboxGroup for your purpose.
Frank -
Add on XL reporter : Wrong executable digital signature for Add on
Hi Experts,
I have a client who gets this error 'Add on XL reporter : Wrong executable digital signature for Add on' when they try to login. They are on 2007A PL45. This happens on the server as well as on clients. Uninstalll and reinstall of client didn't work. We had a look at the AddonLocalRegistration folder to see if XL reporter is registered but can't see any.
I have found a similar link in the forum but that says about 2005b.
Any help will be appreciated.
regards
JohnsonSir,
Please do the following steps :
1. Please go to the SBO-COMMON database, find table SARI, you will get
the data entry for your Addon. Please check the value of field
"AddOnChk". This is the digital signature of Addon executable file.
2. Then go to installer package of the Addon, open the ard file
(XLReporter.ard) with notepad then check the value of "addonsig".
3. Compare these two values, if they are different, please overwrite
"AddOnChk" field in database with the value of "addonsig" in ard file.
and then try to start the addon again.
4. If there are the same, the ard file or the executable file has been
corrupted. I would like to suggest you remove the installer package
from your machine, and download a fresh installer of Addon from SAP
Service Marketplace. After that, please follow the steps as per the
attached note ( Note no. 819501 ) to make your machine clean and
then install the addon again.
Regards,
AVTAR SINGH -
Add checkbox on header level Tab Org.data
Dear All,
My requirement is I need to add checkbox on header level Tab Org.data in ME21n or ME21.
And if checkbox is checked in the tab Org.data, it should display Terms and Conditions in the print preview.
Please suggest how to write code? Is there any user exit for transactions ME21N or ME21.
Thanks,
Rana.hi praveen,
search this forum on how to implement a badi if you haven't done one before. also, go to transation SE18 and read the documentation on badi_fdcb_subbas01 which clearly says that its used for FB60... see the example how they have used it by going to menubar Implementation->Overview then choose FI_FDCB_SUBBAS01_EX (Example for Screen Enhancement 1 on FDCB Basic Data Screen)...you should look at the method PUT_DATA_TO_SCREEN_OBJECT and tab Subscreens where the screen exits are available to use.
In FB60, if you go to menubar System->Status and check the Program (Subscreen) and Screen Number, you'll see it'll match the program name and screen no. provided in the Subscreen tab of the BADI.
Hope this helps.
Cheers,
Sougata. -
How to add a sub report at the end of the main report whilst grouped
Hi!
I have a main report that is grouped by the Customers name and then details of transactions they did with the company.
I need to add a letter at the end of each group for each customer (With their name displayed in the letter). I tried adding a sub report in the report footer, but it only appears once at the end of the report, rather than at the end of each group for each customer.
How can I achieve the desired result?
Regards
VikVik,
You are on the right track with the sub-report.
1. Create your letter in a separate report.
2. Add the Letter Report to your original report as a sub report in the group footer.
3. Set the report links on the "Group By" field.
This will give you a letter record for each report record with the same grouping as the main report.
Hope this helps,
Jason -
How to Add Checkbox and icon in ALVGRID
Hi Experts,
i have one Requirement. i need to add Checkbox, Selectall,icon(Unlock or inactive) infront of Contracts of ALV GRID.How to achive that.
Thanks,
Venkat.Hi
For check box
At declaring field catalog using structure LVC_S_FCAT
mark CHECKBOX = 'X' and also EDIT = 'X'.
For reference check below subroutine in program BCALV_EDIT_05.
form build_fieldcat changing pt_fieldcat type lvc_t_fcat.
data ls_fcat type lvc_s_fcat.
call function 'LVC_FIELDCATALOG_MERGE'
exporting
i_structure_name = 'SFLIGHT'
changing
ct_fieldcat = pt_fieldcat.
*§A2.Add an entry for the checkbox in the fieldcatalog
clear ls_fcat.
ls_fcat-fieldname = 'CHECKBOX'.
* Essential: declare field as checkbox and
* mark it as editable field:
ls_fcat-checkbox = 'X'.
ls_fcat-edit = 'X'.
* do not forget to provide texts for this extra field
ls_fcat-coltext = text-f01.
ls_fcat-tooltip = text-f02.
ls_fcat-seltext = text-f03.
* optional: set column width
ls_fcat-outputlen = 10.
append ls_fcat to pt_fieldcat.
endform.
For Icon:
CONSTANTS:
icon_id_failure LIKE icon-id VALUE ' ((Content component not found.)) @',
icon_id_okay LIKE icon-id VALUE ' ((Content component not found.)) @'.
TYPES: BEGIN OF ls_tab,
matnr LIKE equi-matnr,
maktx LIKE makt-maktx,
b_werk LIKE equi-werk,
b_lager LIKE equi-lager,
lgobe LIKE t001l-lgobe,
sernr LIKE equi-sernr,
icon LIKE icon-id,
objnr LIKE equi-objnr,
END OF ls_tab.
*Table that display the data for the ALV.
DATA: itab TYPE ls_tab OCCURS 0 WITH HEADER LINE.
PERFORM get_h_date .
IF h_date => sy-datum .
itab-icon = icon_id_okay.
ELSE .
itab-icon = icon_id_failure.
ENDIF.
Regards
Sudheer -
Need suggestion for designing a BEx report
Hi,
I need suggestions for designing a BEx report.
Iu2019ve a DSO with below structure:
1. Functional Location u2013 Key
2. Maintenance Plan u2013 Key
3. Maintenance Item u2013 Key
4. Call # - Key
5. Cycle u2013 Data Field
6. Planned Date u2013 Data Field
7. Completion Date u2013 Data Field
This DSO contains data like:
Functional -
Plan --- Item -
Call# --- Cycle -
Planned Dt -
Completion Dt
Location
11177 -
134 -
20 -
1 -
T1 -
02-Jan-2011 -
10-Jan-2011
11177 -
134 -
20 -
2 -
T2 -
15-Feb-2011 -
11177 -
134 -
20 -
3 -
T1 -
15-Mar-2011 -
11177 -
134 -
20 -
4 -
M1 -
30-Mar-2011 -
25000 -
170 -
145 -
1 -
T1 -
19-Jan-2011 -
19-Jan-2011
25000 -
134 -
145 -
2 -
T2 -
20-Feb-2011 -
25-Feb-2011
25000 -
134 -
145 -
3 -
T1 -
14-Mar-2011 -
Now Iu2019ve to create a report which will be executed at the end of every month and should display the list of Functional Locations whose Cycles were planned in that particular month, along with the last completed Cycle/Date.
Thus based upon above data, if I execute report at the end of (say) March then report must display:
Functional --- Curr. Cycle --- Planned Date --- Prev. completed Cycle --- Prev Completed Date
Location
11177 -
T1 -
15-Mar-2011 -
--- T1 -
-- 10-Jan-2011
11177 -
M1 -
30-Mar-2011 -
--- T1 -
-- 10-Jan-2011
25000 -
T1 -
14-Mar-2011 -
--- T2 -
-- 25-Feb-2011
Any idea how can I display Previous Completed Cycle and Completion Date (i.e. the last two columns)?
Regards,
Vikrant.hi vikrant,
You can a Cube at the reporting layer which gets data from DSO and which has these 2 extra characteristics completion date and previous cycle along with other chars and keyfigures from DSO.
You can populate these based on your logic in the field routine.
Hope it helps.
Regards
Dev -
Hi Gurus,
I have requirement to add rows in report FBL1N in order to display all item per document ( like in document overview ) in the same screen.
I applied note 112312 to display offset a/c (BTE with FM LINE_ITEMS_GET_GKONT) but partialy resolve my pb that is one item is displayed.
I would like to know how to do this, if i have to use BADIs (such BADI FI_ITEMS_MENUE01 ) and witch one or clone de STD or customazing.
Thanks in advance.Ok,
trx FB1N, after selection give me :
DocumentNo Type Doc..Date Offst.acct
5300029134 TL 22.05.2007 600819 => one account per document
5300034345 TL 07.06.2007 600819
5300038636 TL 21.06.2007 600819
5300038637 TL 21.06.2007 600819
4200014129 FA 28.02.2007 40811030
4200012196 FA 31.03.2007 40811030
4200013351 FA 31.03.2007 60640000
details of fisrt document (n° 5300029134) give 4 line items :
Itm PK Account Account short text Amount
1 25 600819 LYRECO 20,524.36
2 39 600819 LYRECO 20,524.36-
3 50 51110040 BN att FGX LCR n.D. 20,524.36-
4 40 51119800 En cours E à P 20,524.36
my requirement is to display 3 account ( 600819, 51110040 and 51119800) given in details of document in column Offst.acct when excute FBL1N in stead of one. like this :
DocumentNo Type Doc..Date Offst.acct
5300029134 TL 22.05.2007 600819
5300029134 TL 22.05.2007 51110040
5300029134 TL 22.05.2007 51119800
5300034345 TL 07.06.2007 600819
5300038636 TL 21.06.2007 600819
5300038637 TL 21.06.2007 600819
4200014129 FA 28.02.2007 40811030
4200012196 FA 31.03.2007 40811030
4200013351 FA 31.03.2007 60640000
I hope that is more clear,thanks fo your patience. -
I have an application that is done using SSRS on visual studio and it connects to the report server on SQL server 2008 environment.
I've been changing the existing reports using visual studio 2008 and modifying the reports on the report server. How do I add a new report to the application ? I created a new report and deployed it on the report server but it didn't show up in the application.
I can access the application source code on visual studio 2010 and TFS (Team Foundation). Thanks.Hi,
I have a question. This application retrieves SSRS reports from the report sever. When I download the reports
from the SQL Server I can open them in visual studio 2008 but they don't open in visual studio 2010. I can access the application files on visual studio 2010 and team foundation server 2010. I was unable to open team foundation server 2008 on visual studio
2008. The issue is that I am unable to add a report with a new name to the application. I use visual studio 2008 to deploy the reports on the report server but it has to be the same name to be able to run the report from the application. I can deploy any report
on the report server but I can't access it from the application unless it has to be the same name as the present reports. If I keep the report the same name then it will replace the old report and the new report will run from the application. But only if it's
the same name. I guess when I add a new report to the application with a new name I am supposed to add a definition in the application C sharp files on visual studio 2010 so that the new report will show in the application. What's your opinion
? I have attached 2 images of the application and team foundation server 2010 and the report server.
Thanks. -
Need to add checkbox in alv header Not in grid
Dear Guru's,
My question is i want to add checkbox on top of alv grid ie on top of page .
my requriement is for SD module- status of order -Mass Update.
suppose status checkbox on header is HFSC is checked ( check box),
for all the sales order which are showed on the alv grid must be updated with this status for which i am calling trasaction VA02 in program and doing changes but i am not able to create checkbox on header .
Again i have already used ALV without classesso please give me solution accordinglly . Thanks in advance.Hi,
For working with top of page we generally use SLIS_LISTHEADER right.
In this type the first field is
type - which can accept values as follows
H - Heading
S - Selection
A - Action
May be the options Selection or Action may help u. -
Add checkbox on the nodes of Hierarchical tree in oracle forms 9i
Hi,
I am working on oracle forms 9i.I have to add checkbox at the place of node(+/-) in Hierarchical tree so,
that user can select or deselect the Tree.That can do in oracle forms but how i don't know.
can anybody help me.....
Regards,
HemantYou can't change this aspect of the Tree Control in Oracle Forms using built-in functionality. You might be able to extend the Tree Control using Java, but you have to do this yourself. : (
Craig... -
Hi Experts, oo hierarchical alv, how to add checkbox on every header?
Hi Experts,
I am working on oo hierarchical alv, how can I add checkbox on every header? thanks in advance!
Kind regards
DawsonHi Dawson,
Just refer the below program & pass the check box functionality (mentioned in bold) in REUSE_ALV_HIERSEQ_LIST_DISPLAY in your program.
TYPE-POOLS : slis.
Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : flag tyPE c,
END OF itab.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
Select Data
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.
Display
alvly-box_fieldname = 'FLAG'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid "<-------Important
i_callback_user_command = 'ITAB_USER_COMMAND' "<------ Important
is_layout = alvly
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
CALL BACK FORM
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
LOOP AT itab.
itab-flag = 'X'.
MODIFY itab.
ENDLOOP.
IMPORTANT.
WHATROW-REFRESH = 'X'.
ENDFORM. "ITAB_user_command
Regards
Abhii...
Maybe you are looking for
-
Final cut express and Final Cut Pro coexistance
I heard that FC express HD destroys the ability to export to tape in iMovie HD. Is that true? If it is Will FCP HD do the same thing? Will Express and FCP remain toatlly functional if I have them both installed. My grandson likes to make movies in iM
-
My phone has no more storage but it says i have 5gb on icloud but i don't know how to use them.
-
Recommend a device to make Front Row work on a non intel- G-5?
Can anyone recommend a device to make Front Row work on a non intel- G-5? I want to hook up my old power pc (non-intel) G-5 to my new Sony with an HDMI cable and use front row to access home movies stored on the computer. thanks
-
Make a G/L account code (with transaction history) as control account
Hi, Currently G/L account code = 10001 is not control account at the beginning. It had few transaction records with this account code, however I had try to make adjustment so that the balance become "0" But when I try to check box on the control acco
-
Should i upgrade to IOS 8.3 for IPAD2. my current version is 7.1.2
should i upgrade to IOS 8.3 for IPAD2. my current version is 7.1.2 and ipad2 is 64gb,wifi +3g