Help in interactive report
i m facing another problem in interactive report .
as i m displaying records in secondary index with check box in front of them .
now i want disply the records against these selected check box , how i would come to know which check box are selected , to process these records further .
Please reply .
Mahesh.
Hi Mahesh ,
i am sending an example go through it.
REPORT test.
DATA:
W_CHECKBOX TYPE C. " Check box
*" Declaration of Structure to hold Flight information.
DATA:
BEGIN OF FS_SPFLI,
CARRID TYPE SPFLI-CARRID, " Carrier Id
CONNID TYPE SPFLI-CONNID, " Connection Id
END OF FS_SPFLI.
*" Declaration of Structure to hold Seats Occupancy information
DATA:
BEGIN OF FS_SFLIGHT,
CARRID TYPE SFLIGHT-CARRID, " Carrier ID
CONNID TYPE SFLIGHT-CONNID, " Connection ID
FLDATE TYPE SFLIGHT-FLDATE, " Flight Date
SEATSMAX TYPE SFLIGHT-SEATSMAX," Maximum Seats
SEATSOCC TYPE SFLIGHT-SEATSOCC," Occupied Seats
END OF FS_SFLIGHT.
DATA:
BEGIN OF FS_SSFLIGHT,
CARRID TYPE SFLIGHT-CARRID, " Carrier ID
CONNID TYPE SFLIGHT-CONNID, " Connection ID
END OF FS_SSFLIGHT.
*" Tables Declaration to hold Flight information
DATA:
T_SSPFLI LIKE STANDARD TABLE OF FS_SPFLI.
*" Tables Declaration to hold Seats Occupancy information
DATA:
T_SFLIGHT LIKE STANDARD TABLE OF FS_SFLIGHT.
DATA:
T_SSFLIGHT LIKE STANDARD TABLE OF FS_SSFLIGHT.
*" START-OF-SELECTION EVENT..........................................
START-OF-SELECTION.
IMPORT T_SSPFLI TO T_SSPFLI FROM MEMORY ID'YH630'.
PERFORM DISPLAY_SFLIGHT.
*" END-OF-SELECTION EVENT..........................................
END-OF-SELECTION.
SET PF-STATUS 'BOOKING'.
*" AT USER-COMMAND EVENT..........................................
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'BOOKING'.
PERFORM BOOKING.
EXPORT T_SSFLIGHT FROM T_SSFLIGHT TO MEMORY ID'YH630'.
SUBMIT YH630_030502.
ENDCASE.
Form DISPLAY_SFLIGHT
This subroutine displays the SFLIGHT details. *
There are no interface parameters to be passed to this subroutine. *
FORM BOOKING.
DATA:
LW_LINES TYPE I, " No of Lines
LW_LINENO TYPE I, " Line Number
LW_COUNT TYPE I. " Counter
DESCRIBE TABLE T_SFLIGHT LINES LW_LINES.
DO LW_LINES TIMES.
READ LINE LW_LINENO
FIELD VALUE W_CHECKBOX INTO W_CHECKBOX
FS_SFLIGHT-CARRID INTO FS_SFLIGHT-CARRID
FS_SFLIGHT-CONNID INTO FS_SFLIGHT-CONNID.
IF W_CHECKBOX EQ 'X'.
ADD 1 TO LW_COUNT.
FS_SSFLIGHT-CARRID = FS_SFLIGHT-CARRID.
FS_SSFLIGHT-CONNID = FS_SFLIGHT-CONNID.
APPEND FS_SSFLIGHT TO T_SSFLIGHT.
CLEAR T_SFLIGHT.
ENDIF. " IF W_CHECKBOX.....
ADD 1 TO LW_LINENO.
ENDDO. " DO LW_LINES....
ENDFORM.
Form DISPLAY_SFLIGHT
This subroutine displays the SFLIGHT details. *
There are no interface parameters to be passed to this subroutine. *
FORM DISPLAY_SFLIGHT .
SELECT CARRID " Carrier ID
CONNID " Connection ID
FLDATE " Flight date
SEATSMAX " Maximum Seats
SEATSOCC " Seats occupied
FROM SFLIGHT
INTO TABLE T_SFLIGHT
FOR ALL ENTRIES IN T_SSPFLI
WHERE CARRID EQ T_SSPFLI-CARRID AND
CONNID EQ T_SSPFLI-CONNID.
WRITE:/10 TEXT-001,
30 TEXT-002,
50 TEXT-003,
70 TEXT-004,
90 TEXT-005.
SKIP.
IF SY-SUBRC EQ 0.
LOOP AT T_SFLIGHT INTO FS_SFLIGHT.
WRITE: / W_CHECKBOX AS CHECKBOX.
WRITE:10 FS_SFLIGHT-CARRID,
30 FS_SFLIGHT-CONNID,
50 FS_SFLIGHT-FLDATE,
70 FS_SFLIGHT-SEATSMAX,
90 FS_SFLIGHT-SEATSOCC.
ENDLOOP. " LOOP AT......
ELSE.
MESSAGE ' NO DATA FOUND' TYPE 'I'.
ENDIF. " IF SY-SUBRC EQ 0
ENDFORM. " DISPLAY_SFLIGHT
Similar Messages
-
Need help in Interactive Report
hi,
i am using a ALV report now i want to make it interactive. as i click on the current page i need to go MIR4 transaction. how can i do it?
please please help on this issue.to make an alv interactive i did the following steps
try it by yourself then only u can learn dont copy and paste the code
step1: declare an iternal table and work area of the type
data: it_events type standard table of slis_t_alv_events,
wa_events like line of it_data.
step2: use the function module
reuse_alv_get_events
and pass the internal table to the fm so that u will get all the events in an internal table . This internal table will have 2 fields like name and form. In the name field u will have all the names of events like
top_of_page,end_of_page,user_command etc
so what ever event u want to use modify the internal table according it.For example if u want to use user_command.
read the internal table it_events into wa_events with key name eq 'USER_COMMAND'.
after reading the internal table
move 'f_user_command' to wa_events-form.
then modify the internal table according to it
modify it_events from wa_events transporting form.
after this the internal table will have name = USER_COMMAND and
form = 'f_user_command'.
call this form anywhere in the program
form f_user_command using r_ucomm like sy-ucomm
rs_selfield like slis_selfield.
case r_ucomm.
write u r code as appropiate
WHEN '&IC1'.
SET parameter ID 'AUN' FIELD rs_selfield-value.( aun is the parameter id for the field for which u r clicking depending on that select the parameter id)
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
ENDIF. -
NEED HELP FOR INTERACTIVE REPORT..PARAMETERISED
I have a report which output is displayed after a field is selected from select list..
The output of query is empty ..
This is the query .... it doesnt work when i try to put the value of variable in other page...and call it from the query like below..
select apex_item.checkbox(1,ai.ino,'CHECKED') " ",ai.advtno,findisname(ai.adissue) issue_name,a.cfname fname,a.csname sname,a.tot_amt tot_amt,ai.inv_no
from advertiser a,advertiser_client ac,adv_invoice ai
where a.clientnumber = ac.adv_clnt_no and a.advtno = ai.advtno
and findisname(ai.adissue) = LTRIM(RTRIM(:P298_ISSUES))
:p298_issues = 'JUL2012' ; -- This exist in other page...
:p298_issues i TRIED Making it a item with source as database coloumn or even preference item..
The same query works if i put the query as..
select apex_item.checkbox(1,ai.ino,'CHECKED') " ",ai.advtno,findisname(ai.adissue) issue_name,a.cfname fname,a.csname sname,a.tot_amt tot_amt,ai.inv_no
from advertiser a,advertiser_client ac,adv_invoice ai
where a.clientnumber = ac.adv_clnt_no and a.advtno = ai.advtno
and findisname(ai.adissue) = 'JUL2012' ;
Why is it not able to find value of text item :p298_issues ...This i have made it as text item currently ..
actually it is a select list in other page..
and the database source i have set it to ..database column while ithere is no such column present..i need this to be a parameter
do i need to use preferences for this ?? Kindly inform and help...
Edited by: pauljohny on 23-May-2012 23:43..Hello First post was about what i was trying to accomplish..
Some thing in line of global variables..
I needed the value of apex item to be accessed in other page.. it was select list..
There were two ways to accomplish it..One using apex collection or second
using new change item dynamic action and submitting the item..
Using these methods i was able to access the .page item in other page.
Second post i had, was about how I had solved the issue..
I hat forgotten earlier to close the post.
Edited by: pauljohny on 28-May-2012 17:55 -
Need your help on interactive report
hi all
I have generated a report(below one) ,actually i need EKORG,EKGRP,NETWR in basic list i am not getting any value in NETWR field and also I need MAKTX field in secondary list but i am not getting any value in that field what can i do ,please suggest me any modifications to be done.
thanks and regard
kumar
--INITIALIZATION----
INITIALIZATION.
TABLES: EKKO, EKPO, MAKT.
DATA: BEGIN OF I_EKKO OCCURS 0,
EBELN LIKE EKKO-EBELN,
EKORG LIKE EKKO-EKORG,
EKGRP LIKE EKKO-EKGRP,
END OF I_EKKO.
DATA: BEGIN OF I_EKPO OCCURS 0,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
NETWR LIKE EKPO-NETWR,
MENGE LIKE EKPO-MENGE,
NETPR LIKE EKPO-NETPR,
END OF I_EKPO.
DATA: BEGIN OF I_MAKT OCCURS 0,
MAKTX LIKE MAKT-MAKTX,
MATNR LIKE MAKT-MATNR,
END OF I_MAKT.
DATA: BEGIN OF I_OUT OCCURS 0,
EBELN LIKE EKKO-EBELN,
EKORG LIKE EKKO-EKORG,
EKGRP LIKE EKKO-EKGRP,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
NETWR LIKE EKPO-NETWR,
MENGE LIKE EKPO-MENGE,
NETPR LIKE EKPO-NETPR,
MAKTX LIKE MAKT-MAKTX,
END OF I_OUT.
DATA: BEGIN OF JTAB OCCURS 0,
EBELN LIKE EKKO-EBELN,
EBELP LIKE EKPO-EBELP,
MATNR LIKE EKPO-MATNR,
MENGE LIKE EKPO-MENGE,
NETPR LIKE EKPO-NETPR,
maktx like makt-maktx,
end of jtab.
--AT SELECTIONSCREEN--
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_EBELN FOR EKKO-EBELN OBLIGATORY.
SELECT-OPTIONS: S_EKORG FOR EKKO-EKORG OBLIGATORY.
SELECT-OPTIONS: S_EKGRP FOR EKKO-EKGRP.
SELECTION-SCREEN END OF BLOCK B1.
--START-OF-SELECTION----
START-OF-SELECTION.
SELECT EBELN EKORG EKGRP FROM EKKO
INTO TABLE I_EKKO
WHERE EBELN IN S_EBELN.
SELECT EBELP MATNR NETWR MENGE NETPR FROM EKPO
INTO TABLE I_EKPO FOR ALL ENTRIES IN I_EKKO
WHERE EBELN = I_EKKO-EBELN.
SELECT MAKTX MATNR FROM MAKT
INTO TABLE I_MAKT FOR ALL ENTRIES IN I_EKPO
WHERE MATNR = I_EKPO-MATNR.
--END-OF-SELECTION--
END-OF-SELECTION.
LOOP AT I_EKKO.
MOVE: I_EKKO-EBELN TO I_OUT-EBELN,
I_EKKO-EKORG TO I_OUT-EKORG,
I_EKKO-EKGRP TO I_OUT-EKGRP.
READ TABLE I_EKPO WITH KEY EBELP = I_EKKO-EBELN.
MOVE: I_EKPO-EBELP TO I_OUT-EBELP,
I_EKPO-MATNR TO I_OUT-MATNR,
I_EKPO-NETWR TO I_OUT-NETWR,
I_EKPO-MENGE TO I_OUT-MENGE,
I_EKPO-NETPR TO I_OUT-NETPR.
READ TABLE I_MAKT WITH KEY MATNR = I_EKKO-EBELN.
MOVE: I_MAKT-MAKTX TO I_OUT-MAKTX,
I_MAKT-MATNR TO I_OUT-MATNR.
APPEND I_OUT.
ENDLOOP.
LOOP AT I_OUT.
FORMAT HOTSPOT ON.
FORMAT COLOR 2 ON.
WRITE : / SY-VLINE,
2 I_OUT-EKORG,
9 SY-VLINE,
10 I_OUT-EKGRP,
24 SY-VLINE,
25 I_OUT-NETWR,
40 SY-VLINE.
FORMAT HOTSPOT OFF.
FORMAT COLOR 2 OFF.
HIDE: I_OUT-EBELN .
*,I_OUT-MAKTX,i_out-matnr,i_out-menge.
ENDLOOP.
--TOP-OF-PAGE--
TOP-OF-PAGE.
FORMAT COLOR 3 ON.
WRITE : / 'EKORG',
10 'EKGRP',
35 'NETWR'.
FORMAT COLOR 3 OFF.
---------END-OF-PAGE------------
END-OF-PAGE.
FORMAT COLOR 6 ON.
WRITE : /100 'PAGE NUMBER:',SY-PAGNO.
FORMAT COLOR 6 OFF.
--AT LINE-SELECTION--
AT LINE-SELECTION.
SELECT EBELN EBELP MATNR MENGE NETPR
FROM EKPO
INTO corresponding fields of TABLE JTAB WHERE EBELN = I_OUT-EBELN.
LOOP AT JTAB.
format color 2 on.
WRITE : / SY-VLINE,
2 jtab-EBELN,
13 SY-VLINE,
15 jtab-EBELP,
28 SY-VLINE,
30 jtab-MATNR,
43 SY-VLINE,
45 jtab-MENGE,
49 SY-VLINE,
50 jtab-NETPR,
59 SY-VLINE,
60 I_OUT-MAKTX,
68 SY-VLINE.
format color 2 off.
ENDLOOP.
TOP-OF-PAGE DURING LINE-SELECTION.
FORMAT COLOR 3 ON.
WRITE: / 'EBELN',
15 'EBELP',
30 'MATNR',
45 'MENGE',
53 'NETPR',
63 'MAKTX'.
FORMAT COLORHi,
Check this..I am able to see the material description and netwr..
--INITIALIZATION----
INITIALIZATION.
TABLES: ekko, ekpo, makt.
DATA: BEGIN OF i_ekko OCCURS 0,
ebeln LIKE ekko-ebeln,
ekorg LIKE ekko-ekorg,
ekgrp LIKE ekko-ekgrp,
END OF i_ekko.
DATA: BEGIN OF i_ekpo OCCURS 0,
ebeln LIKE ekpo-ebeln,
ebelp LIKE ekpo-ebelp,
matnr LIKE ekpo-matnr,
netwr LIKE ekpo-netwr,
menge LIKE ekpo-menge,
netpr LIKE ekpo-netpr,
END OF i_ekpo.
DATA: BEGIN OF i_makt OCCURS 0,
maktx LIKE makt-maktx,
matnr LIKE makt-matnr,
END OF i_makt.
DATA: BEGIN OF i_out OCCURS 0,
ebeln LIKE ekko-ebeln,
ekorg LIKE ekko-ekorg,
ekgrp LIKE ekko-ekgrp,
ebelp LIKE ekpo-ebelp,
matnr LIKE ekpo-matnr,
netwr LIKE ekpo-netwr,
menge LIKE ekpo-menge,
netpr LIKE ekpo-netpr,
maktx LIKE makt-maktx,
END OF i_out.
DATA: BEGIN OF jtab OCCURS 0,
ebeln LIKE ekko-ebeln,
ebelp LIKE ekpo-ebelp,
matnr LIKE ekpo-matnr,
menge LIKE ekpo-menge,
netpr LIKE ekpo-netpr,
maktx LIKE makt-maktx,
END OF jtab.
--AT SELECTIONSCREEN--
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_ebeln FOR ekko-ebeln OBLIGATORY.
SELECT-OPTIONS: s_ekorg FOR ekko-ekorg OBLIGATORY.
SELECT-OPTIONS: s_ekgrp FOR ekko-ekgrp.
SELECTION-SCREEN END OF BLOCK b1.
--START-OF-SELECTION----
START-OF-SELECTION.
SELECT ebeln ekorg ekgrp FROM ekko
INTO TABLE i_ekko
WHERE ebeln IN s_ebeln.
IF NOT i_ekko[] IS INITIAL.
SELECT ebeln ebelp matnr netwr menge netpr FROM ekpo
INTO TABLE i_ekpo FOR ALL ENTRIES IN i_ekko
WHERE ebeln = i_ekko-ebeln.
ENDIF.
IF NOT i_ekpo[] IS INITIAL.
SELECT maktx matnr FROM makt
INTO TABLE i_makt FOR ALL ENTRIES IN i_ekpo
WHERE matnr = i_ekpo-matnr.
ENDIF.
--END-OF-SELECTION--
END-OF-SELECTION.
LOOP AT i_ekko.
MOVE: i_ekko-ebeln TO i_out-ebeln,
i_ekko-ekorg TO i_out-ekorg,
i_ekko-ekgrp TO i_out-ekgrp.
READ TABLE i_ekpo WITH KEY ebeln = i_ekko-ebeln.
MOVE: i_ekpo-ebelp TO i_out-ebelp,
i_ekpo-matnr TO i_out-matnr,
i_ekpo-netwr TO i_out-netwr,
i_ekpo-menge TO i_out-menge,
i_ekpo-netpr TO i_out-netpr.
READ TABLE i_makt WITH KEY matnr = i_ekpo-matnr.
MOVE: i_makt-maktx TO i_out-maktx,
i_makt-matnr TO i_out-matnr.
APPEND i_out.
ENDLOOP.
LOOP AT i_out.
FORMAT HOTSPOT ON.
FORMAT COLOR 2 ON.
WRITE : / sy-vline,
2 i_out-ekorg,
9 sy-vline,
10 i_out-ekgrp,
24 sy-vline,
25 i_out-netwr,
40 sy-vline.
FORMAT HOTSPOT OFF.
FORMAT COLOR 2 OFF.
HIDE: i_out-ebeln .
*,I_OUT-MAKTX,i_out-matnr,i_out-menge.
ENDLOOP.
--TOP-OF-PAGE--
TOP-OF-PAGE.
FORMAT COLOR 3 ON.
WRITE : / 'EKORG',
10 'EKGRP',
35 'NETWR'.
FORMAT COLOR 3 OFF.
---------END-OF-PAGE------------
END-OF-PAGE.
FORMAT COLOR 6 ON.
WRITE : /100 'PAGE NUMBER:',sy-pagno.
FORMAT COLOR 6 OFF.
--AT LINE-SELECTION--
AT LINE-SELECTION.
SELECT ebeln ebelp matnr menge netpr
FROM ekpo
INTO CORRESPONDING FIELDS OF TABLE jtab WHERE ebeln = i_out-ebeln.
LOOP AT jtab.
READ TABLE i_makt WITH KEY matnr = jtab-matnr.
MOVE: i_makt-maktx TO i_out-maktx.
FORMAT COLOR 2 ON.
WRITE : / sy-vline,
2 jtab-ebeln,
13 sy-vline,
15 jtab-ebelp,
28 sy-vline,
30 jtab-matnr,
43 sy-vline,
45 jtab-menge,
49 sy-vline,
50 jtab-netpr,
59 sy-vline,
60 i_out-maktx,
68 sy-vline.
FORMAT COLOR 2 OFF.
ENDLOOP.
TOP-OF-PAGE DURING LINE-SELECTION.
FORMAT COLOR 3 ON.
WRITE: / 'EBELN',
15 'EBELP',
30 'MATNR',
45 'MENGE',
53 'NETPR',
63 'MAKTX'.
Thanks,
Naren -
Need help on interactive report parameter value based on a sequence
At a press of a button..
i have a form where i insert data in a table .a unique number is generated via sequence.
And then a report is called .. all at the press of the same button
Now i need to make a query such that
select * from table_name where no1 = (select d_table_name_seq.currval from dual);
Such statement is not possible in apex..
So what should i do ..Use page_items
How can i store the sequence value in a page item
Edited by: susf on Nov 29, 2012 6:32 AMok solved..using apex application item thanks
-
Interactive Reporting - Button opens report in another tab
Hi all,
i need a help in interactive reporting. I have a dashboard in the first page, which allows the users to select a value from a prompt. Once the value is selected, they press a button and the filtered report is opened. Does anyone knows if it's possible to make the button open the report in another page/tab?
Thanks in advance,
DanieleThis can be like
instead of showing report on the page show as a link and set to open in new window.
that would be like; you select value from prompt and then hit on Go button and then click on report link.
if helps mark -
Hi All,
I want to create a interactive report in crm7 .0.can any body help in interactive report.how to create a interactive in crm 7.0.
Thanks in advance.
VishwasHi Sree.
<removed_by moderator>
Thanks in advance
Vishwas
Moderator Message: Please do not post your e-mail address asking for documents as it is against the rules of engagement. Please review the rules of engagement before posting further:
https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement
Edited by: Stephen Johannes on Apr 17, 2009 8:36 AM -
How can I run Interactive report only after entering all criteria ?
vlablin,
Are you hiding it because the report is slow without any filters? or because showing the full dataset not make sense?
The thread here might be helpful: Re: Interactive Report Question
- Marco -
Help with Aggregate on Interactive Report
I have a field that is a number but I need to convert to show as a percentage (i.e. 17.4%) in the interactive report. At the same time I need to be able to do an Aggregate on this field so I know it needs to stay a numeric and I can't convert in the SQL. Is there a way to use the number format mask on the column to add the percentage or another way that will allow me to still perform aggregates?
Version: Application Express 3.2.1.00.12
Thanks for your help.
ChrisAnyone have any suggestions?
Thanks. -
Help on print button for interactive report
Hi,
I have created an interactive report and have also added a print button on the button of the report (unfortunately forgot how I did it). Say my column on the reports was Col_No, Col_First_name, Col_Last_name and a print button when I pressed a would get to choose open or save a pdf file, if I opened or saved it, I would had the same info on my pdf report as above.
Since I have changed the column order meaning I have Col_No, Col_Last_name, Col_Start_Date, Col_First_name and that is working fine but when I click on the print button I will get the pervious columns.
I noticed I have created a branches to print the report, basically after processing, when button was pressed an action with f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=6259824360775969936:&DEBUG.::: is present.
I need help to fix this and I do very much appreciate any help or suggestions
-regards
ahmadiiFound the answer, thanks.
-
Translation of Interactive Report (IR ignores translated help messages)
Hi
I've spend my time translating all 242 IR messages to Dutch and loaded them into my app.
All seemed well. The IR is completely Dutch now. However when I choose help from the Action Menu the help text remains English. I really did translate all this help to. Why doesn't it use the translated text?
The translations have been properly loaded as I can see them when I execute
select *
from flows_WWV_FLOW_MESSAGES$
where flow_id = :APP_ID
So I'm puzzled why is it picking up every piece of translation except for the help translations? Is this a bug?
Anyone any experienceHi Geert,
This is Bug 7001615 - fixed in the APEX 3.1.1 patch set, which is available now.
Re: Bug? Interactive Report - Help not Translated
Joel -
Bringing up the help popup in an interactive report
The gear dropdown on an interactive search, has a help, that when clicked on would bring up a popup explaining the icons of the gear search.
I created a button and trying to bring up this help when the user clicks on it.
How would I go about doing this?
Thanks.Lloyd,
An interactive report is also known as a worksheet. Each interactive report region has a unique ID. That ID is needed as a parameter in the URL to generate the help page.
On second thought, try the following which should not need a page item:
javascript:html_PopUp('wwv_flow_utilities.show_ir_help?p_app_id=' + $x('pFlowId').value + '&p_worksheet_id=' + $x('apexir_WORKSHEET_ID').value + '&p_lang=en-us');Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen -
Need Help calling Dynamic Action from Link in Interactive Report
Hello I have an Interactive Report. I would like to have a Dynamic Action called when the user selects a row (Clicks a Link).
I am running Application Express 4.0.2.00.07 on Oracle 11gR1.
Any help would be great.Hi VANJ,
Sorry for the poorly written original post. I will be much more specific.
I have a Interactive Report on page 40. That report has a column named X_UID that is a link back to page 40 and sets a text item named P40_X_UID in a Region we will call "Form X" with the value of the column. That page refresh also then calls a Automated Row Fetch process to fetch all the values needed for the rest of the page items in the "Form X" region. Also "Form X" region has a conditional display on to only display when P40_X_UID is not null.
What I would like to do:
When the user clicks on link in the IR for X_UID instead of the "Form X" region becoming visible I would like to become modal. I am trying to use a Plug-In named "ClariFit Simple Modal - Show". I have it working with a Dynamic Action when you click a Page Item. But I would like to to work when the link is clicked and the data populated.
I hope that helps some. -
Search help in selection screens for interactive report
A search help can only be assigned to DB table.
So my doubt is can it also be used for seletion screens created for an interactive report?
If yes what is the procedure.. Please give me one example at least...
waiting for your valuable suggestions.....
Thanks,
regards,
ChinmayHi Chinmay,
I suppose your requirement is to give search help to selection screen elements.
Here is the code.
REPORT ZSHAIL_F4HELP .
parameters: name(10) type c .
TYPES: BEGIN OF VALUES,
CARRID TYPE SPFLI-CARRID,
CONNID TYPE SPFLI-CONNID,
END OF VALUES.
dATA: PROGNAME LIKE SY-REPID,
DYNNUM LIKE SY-DYNNR,
DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
VALUES_TAB TYPE TABLE OF VALUES.
at selection-screen on value-request for name.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'DEMOF4HELP'
fieldname = 'CARRIER1'
SEARCHHELP = ' '
SHLPPARAM = ' '
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = 'CARRIER'
STEPL = 0
VALUE = ' '
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
SUPPRESS_RECORDLIST = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
SELECTION_SCREEN = ' '
IMPORTING
USER_RESET =
TABLES
RETURN_TAB =
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.
AT SELECTION-SCREEN OUTPUT.
PROGNAME = SY-REPID.
DYNNUM = SY-DYNNR.
CLEAR: FIELD_VALUE, DYNPRO_VALUES.
FIELD_VALUE-FIELDNAME = 'CARRIER'.
APPEND FIELD_VALUE TO DYNPRO_VALUES.
I hope your query is solved.
If so,please award points.
Regards,
Sylendra. -
Hi all
I have some questions about Interactive reports 3.1 . I'm not sure if IRR have this capability but I know I am having a hard time setting it up for a user. So if anyone knows if this is possible it would be a great help
First I need to create a IRR that is grouped by Vendor/Year. Other column would include project and contract amount.
I filtered the report using date between 01/06 -12/31/07 - easy enough
The purpose of the report is to show the total spent on contracts for the year 06 compared to 07 . The user would select the years to compare in the future.
I can break on vendor and aggregate the sum of the contract amount but I can not seem to
a) get a grand total of all contracts
b) break on year
I tried the compute action item but was lost.
The user may accept two separate reports by year (2007,2006) but I will need to sum the contract amount by vendor and then I'll need a grand total.
Is either way possible with IRR?
Thanks So much
MoeDimitri
Thank You for your reply
We are trying to make it easier for the user to generate these reports on demand. Once the IRR report is done it will be downloaded to pdf so the totals will need to be part of that report.
As basic example, the user chose contracts awarded to vendors for the year 2006 only by using a filter. ( no compare) They would expect to see a subtotal of the contracts by vendor
Vendor: Acme (break on vendor)
contract1 500.
contract2 500.
Total of contracts to Acme = $1,000
Vendor Genx
contract12 500
contract13 500
Total of contract to Genx = $1,000
Grand Total of contracts awarded for 2006 = $2,000.00
Then I thought the user could use the save report feature to save the one for 2006 and create another one same format for 2007 and use that to compare years.
If I'm missing the obvious I apologize
Moe
Maybe you are looking for
-
How do I change the itunes account apple id to match my other apple id
Hi all, I had an itunes account in my name but was linked to kids ipods. Now got iphine so made kids own email and apple ids. The one i did for daughter seems to have all the icloud and itunes libary on it I want to change the itunes account to my a
-
Creating users in oid from forms
Hello, how can i create or update an user and its corresponding rad in oid directly from forms 10.1.2. ? thanks Jean-Yves
-
My macbook wont reboot apple logo and spinning wheel thats it.
I watched youtube videos and tried command r and now it keeps popping up you need to restart your computer. Everytime I restart it, it pops back up! HELP!!
-
Is there a way you can change your app locations on iTunes?
It's tedious when trying to drag an app that you really like past 4 'pages' of apps to the 1st page.
-
HT204053 Stupid question, but how do I get to/access my iCloud?!
Stupid question, but how do I get to/access my iCloud? All this time, I've been under the impression that every time I plug in & lock my screen, things on my phone are backed up in my cloud, but I've never been able to find it to check! And, yes, I'm