Is Filtering the Answer?
Hi,
Firstly, you'll have to forgive me, I have only recently got dreamweaver CS4 and am very new to this.
What I am trying to acheive is to have 3 seperate tables but all originating from the same source. From the research I have done, spry seems to be the way to go.
For example, is it possible to have a spry data source with 1000 rows (This can have any form of information in it) then from that source, display rows 1-10 on my home page, rows 1-100 on another page of my website and 1-1000 on another page of my website?
In summerary, 3 seperate tables or 3 seperate pages, all originating from the same spry source?
My reasoning is for this, that I will most likely have to update these table 20+ times a day, every day, so it would be wonderful if I could simply update the source and it would automatically update all 3 web pages for me.
If anyone can help, I would much appreciate it. And don't feel bad giving me the "idiots guide" description as I am still very new to all this.
Many thanks
What you want is a SpryXMLDataSet
in the application tab on the right click the bindings tab and hit the plus you can add it in there
is your data source xml?
if not you might need to figure out how to get it into xml format, someone here should be able to help
as for showing only certain numbers of rows, there is a recordset paging button at the top on the data tab,
but thats for recordsets, not xmldatasets, or maybe it is. the recordsets are for getting data from a database such as mysql, but that kind of thing needs to use a server side scripting language such as asp, php, coldfusion, etc, whereas the datasets are for xml sources
if you are using server side technology and a database, then i think dreamweaver has all you need, but i'm not sure if the spry is necessary.
as you can tell, i also am no expert, but hopefully someone else can back me up with some more information :-P
hope this helps get you started at least!
Similar Messages
-
Addition of Filters on Answers changing the physical query
Hello,
I have three Dimensions D1, D2 and D3 joining (as left outer join in BM layer, i have a requirement where i have to show all the records from Dimension) to a common Fact 'F'
I am trying to build a report based on columns from 3 dimensions.
The report gives a correct output, and returns a single physical query.
If i add a filter condition from say D1 on the report like D1.Col = <something> on the answers report, the physical
query splits in two and then join the two query to give the result.
Any thoughts what could have gone wrong here?
Thank Youhi..
First tell me all dimensions are left outer with fact?
Then, check your fact table LTS levels..
If you have created hierarchies for dimensions, and all dimensions are directly connected to the facts... then, mention the levels for particular fact LTS to detail level for all dimensions. .
Check this... -
Prompting the Answers from BI Publisher Report
Hi Gurus,
Our Customer needs a report in particular format. So i had used the Bi publisher to create and I have uploaded template and all works fine. Now he wants to get the details of particular column. So i what I had done was that in template builder for that Particular column I added an hyperlink. The link for the answers open up, which is obvious and we get the entire data. But when the User Clicks on particular CBN Number in Pub report it fetch him the details of that CBN Number only.
http://xxxxxxxxxxxxx:9704/analytics/saw.dll?Go&Path=/Shared/ILR/Mr1&Action=Navigate&P0=1&P1=eq&P2=ABC_Dim.CBN_NBR.
Can I achieve the filtered Answer prompted by BI Publisher?
Thanks in Advance.
MCPHello,
Any suggestions, I was able to open up the Answers which I hyperlinked in BI Publisher report. But we are trying to go to specific CBN Number which we click on the Bi Publisher report.
Any workarounds?
Thanks in advance
MCP -
Problem in alv grid display (it is not filtering the data in print preview)
Hi Every One,
Its very urgent for me to deliver this report ....
I applied sort criteria on my final internal table which is pupulated and then i passed to the function module...
when i execute the program it is showing me the perfect output..when i take a print preview it is not filtering the data instead it is showing me the normal uotput i.e..,without sort criteria...
here is the code plz go thru it and tell me were i am doing wrong...
i thank u one and all ...and plz debub the code on the system and let me know....
REPORT tracking-quotation NO STANDARD PAGE HEADING MESSAGE-ID zrv_message LINE-COUNT 65 LINE-SIZE 110.
Includes
This include contains declarations
INCLUDE ZMM_TRACKING_QUOTATION_T.
This include contains code for the performs
INCLUDE ZMM_TRACKING_QUOTATION_F.
AT SELECTION SCREEN *
AT SELECTION-SCREEN.
This perform will validate the fields
PERFORM f_validate_sel_screen.
Start-Of-Selection
START-OF-SELECTION.
This perform will read the values from the database.
PERFORM selection.
This perform will build the field catalogue
PERFORM f_build_catalogue.
This perform will build the sort
PERFORM f_event_sort.
This perform will build the layout
PERFORM f_build_layout.
This perform will build the event
PERFORM f_event_build.
This perform will build the comment
PERFORM f_comment_build.
This perform will display the list
PERFORM f_list_display.
End-Of-Selection
END-OF-SELECTION.
*& Include ZMM_TRACKING_QUOTATION_T *
T a b l e s D e c l a r a t i o n s *
TABLES: eban,
ebkn,
ekko,
eket,
lfa1,
ekpo.
Selection Screen Declaration
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-100.
SELECT-OPTIONS: bednr FOR eban-bednr,
ps_psp FOR ebkn-ps_psp_pnr,
kostl FOR ebkn-kostl,
erdat FOR ebkn-erdat.
SELECTION-SCREEN END OF BLOCK b1.
Type Pools D e c l a r a t i o n s *
TYPE-POOLS: slis.
V a r i a b l e s *
DATA : rt_fieldcat TYPE slis_t_fieldcat_alv,
i_layout TYPE slis_layout_alv,
i_event TYPE slis_t_event,
i_listheader TYPE slis_t_listheader,
l_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
I n t e r n a l T a b l e s *
DATA: BEGIN OF i_final_tab OCCURS 0,
name1 LIKE lfa1-name1,
banfn LIKE eban-banfn,
badat LIKE eban-badat,
bnfpo LIKE eban-bnfpo,
txz01 LIKE eban-txz01,
menge LIKE eban-menge,
bednr LIKE eban-bednr,
frgdt LIKE eban-frgdt,
lfdat LIKE eban-lfdat,
ps_psp_pnr LIKE ebkn-ps_psp_pnr,
bwbdt LIKE ekko-bwbdt,
aedat LIKE ekko-aedat,
lifnr LIKE ekko-lifnr,
ihran LIKE ekko-ihran,
ebeln LIKE ekpo-ebeln,
ebelp LIKE ekpo-ebelp,
plifz LIKE ekpo-plifz,
eindt LIKE eket-eindt,
END OF i_final_tab.
DATA: BEGIN OF itab OCCURS 0,
name1 LIKE lfa1-name1,
banfn LIKE eban-banfn,
badat LIKE eban-badat,
bnfpo LIKE eban-bnfpo,
txz01 LIKE eban-txz01,
menge(17),
bednr LIKE eban-bednr,
frgdt LIKE eban-frgdt,
lfdat LIKE eban-lfdat,
ps_psp_pnr LIKE ebkn-ps_psp_pnr,
bwbdt LIKE ekko-bwbdt,
aedat LIKE ekko-aedat,
lifnr LIKE ekko-lifnr,
ihran LIKE ekko-ihran,
ebeln LIKE ekpo-ebeln,
ebelp LIKE ekpo-ebelp,
plifz LIKE ekpo-plifz,
eindt LIKE eket-eindt,
END OF itab.
*& Include ZMM_TRACKING_QUOTATION_F *
**& Form FIELDCAT_INIT
text
-->P_GT_FIELDCAT[] text
FORM f_build_catalogue.
DATA : ls_fieldcat TYPE slis_fieldcat_alv.
CLEAR ls_fieldcat.
ls_fieldcat-fieldname = 'BANFN'.
ls_fieldcat-tabname = 'itab'.
ls_fieldcat-seltext_m = 'PR Number'.
ls_fieldcat-ref_tabname = 'EBAN'.
ls_fieldcat-fix_column = ''.
ls_fieldcat-emphasize = ''.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'BNFPO'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'BADAT'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'TXZ01'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'MENGE'.
ls_fieldcat-ref_tabname = 'ITAB'.
ls_fieldcat-seltext_l = 'Quantity'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'PS_PSP_PNR'.
ls_fieldcat-ref_tabname = 'EBKN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'BEDNR'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'FRGDT'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'LFDAT'.
ls_fieldcat-ref_tabname = 'EBAN'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'EBELN'.
ls_fieldcat-ref_tabname = 'EKPO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'EBELP'.
ls_fieldcat-ref_tabname = 'EKPO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'AEDAT'.
ls_fieldcat-ref_tabname = 'EKKO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'LIFNR'.
ls_fieldcat-ref_tabname = 'EKKO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'NAME1'.
ls_fieldcat-ref_tabname = 'LFA1'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'IHRAN'.
ls_fieldcat-ref_tabname = 'EKKO'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'EINDT'.
ls_fieldcat-ref_tabname = 'EKET'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'PLIFZ'.
ls_fieldcat-ref_tabname = 'EKPO'.
APPEND ls_fieldcat TO rt_fieldcat.
ENDFORM. " FIELDCAT_INIT
*& Form selection
text
--> p1 text
<-- p2 text
FORM selection .
SELECT
lfa1~name1
eban~banfn
eban~badat
eban~bnfpo
eban~txz01
eban~menge
eban~bednr
eban~frgdt
eban~lfdat
ebkn~ps_psp_pnr
ekko~bwbdt
ekko~aedat
ekko~lifnr
ekko~ihran
ekpo~ebeln
ekpo~ebelp
ekpo~plifz
eket~eindt
FROM lfa1 INNER JOIN ekko ON ( lfa1lifnr = ekkolifnr )
INNER JOIN ekpo ON ( ekkoebeln = ekpoebeln )
INNER JOIN eket ON ( ekpoebeln = eketebeln
AND
ekpoebelp = eketebelp )
INNER JOIN eban ON ( ebanbanfn = eketbanfn
AND
ebanbnfpo = eketbnfpo )
INNER JOIN ebkn ON ( ebanbanfn = ebknbanfn
AND
ebanbnfpo = ebknbnfpo )
INTO TABLE i_final_tab WHERE eban~bednr IN bednr AND
ebkn~ps_psp_pnr IN ps_psp AND
ebkn~kostl IN kostl AND
ebkn~erdat IN erdat AND
ekko~bstyp <> 'F'.
LOOP AT i_final_tab.
itab-name1 = i_final_tab-name1.
itab-banfn = i_final_tab-banfn.
itab-badat = i_final_tab-badat.
itab-bnfpo = i_final_tab-bnfpo.
itab-txz01 = i_final_tab-txz01.
itab-menge = i_final_tab-menge.
itab-bednr = i_final_tab-bednr.
itab-frgdt = i_final_tab-frgdt.
itab-lfdat = i_final_tab-lfdat.
itab-ps_psp_pnr = i_final_tab-ps_psp_pnr.
itab-aedat = i_final_tab-aedat.
itab-lifnr = i_final_tab-lifnr.
itab-ihran = i_final_tab-ihran.
itab-ebeln = i_final_tab-ebeln.
itab-ebelp = i_final_tab-ebelp.
itab-plifz = i_final_tab-plifz.
itab-eindt = i_final_tab-eindt.
APPEND itab.
CLEAR itab.
ENDLOOP.
ENDFORM. " selection
*& Form f_event_build
text
--> p1 text
<-- p2 text
FORM f_event_build .
DATA wa_event TYPE slis_alv_event.
CLEAR: wa_event,
i_event.
*read event top-of-page
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = i_event.
IF sy-subrc <> 0.
ENDIF.
*Prepare event table
READ TABLE i_event WITH KEY name = 'TOP_OF_PAGE' INTO wa_event.
IF sy-subrc EQ 0.
MOVE 'TOP_OF_PAGE' TO wa_event-form.
APPEND wa_event TO i_event.
ENDIF.
ENDFORM. " f_event_build
*& Form f_comment_build
text
--> p1 text
<-- p2 text
FORM f_comment_build .
DATA: wa_listheader TYPE slis_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'H'.
wa_listheader-info = 'Tracking Of Quotation For Purchase Requisition'.
APPEND wa_listheader TO i_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-info = 'SMS-DEMAG Pvt. Ltd.'.
APPEND wa_listheader TO i_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-info = 'R1- Nehru Enclave'.
APPEND wa_listheader TO i_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-info = 'New Delhi - '.
APPEND wa_listheader TO i_listheader.
ENDFORM. " f_comment_build
*& Form f_build_layout
text
--> p1 text
<-- p2 text
FORM f_build_layout .
CLEAR i_layout.
i_layout-colwidth_optimize = 'X'.
i_layout-zebra = 'X'.
i_layout-totals_text = 'Total'.
ENDFORM. " f_build_layout
*& Form f_list_display
text
--> p1 text
<-- p2 text
FORM f_list_display .
*sort itab by name1
banfn
badat
bnfpo
txz01
menge
bednr
frgdt
lfdat
ps_psp_pnr
bwbdt
aedat
lifnr
ihran
ebeln
ebelp
plifz
eindt.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = i_layout
it_fieldcat = rt_fieldcat
it_events = i_event
it_sort = l_sort
TABLES
t_outtab = itab.
IF sy-subrc <> 0.
ENDIF.
ENDFORM. " f_list_display
*& Form TOP_OF_PAGE
text
--> p1 text
<-- p2 text
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_listheader
i_logo = 'ENJOYSAP_LOGO'.
ENDFORM. "TOP_OF_PAGE
*& Form f_event_sort
text
--> p1 text
<-- p2 text
FORM f_event_sort .
wa_sort-spos = 1.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'BANFN'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
CLEAR WA_SORT.
wa_sort-spos = 5.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'MENGE'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 2.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'BNFPO'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 3.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'BADAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 4.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'TXZ01'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 7.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'BEDNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 6.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'PS_PSP_PNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 8.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'FRGDT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 9.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-fieldname = 'LFDAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 10.
wa_sort-fieldname = 'EBELN'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 11.
wa_sort-fieldname = 'EBELP'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 12.
wa_sort-fieldname = 'AEDAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 13.
wa_sort-fieldname = 'LIFNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 14.
wa_sort-fieldname = 'NAME1'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 15.
wa_sort-fieldname = 'IHRAN'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-up = 'X'.
wa_sort-tabname = 'i_final_tab'.
wa_sort-spos = 16.
wa_sort-fieldname = 'EINDT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
*sort l_sort by spos.
CLEAR wa_sort.
wa_sort-spos = 1.
wa_sort-fieldname = 'BANFN'.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
wa_sort-spos = 5.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'MENGE'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-spos = 2.
wa_sort-fieldname = 'BNFPO'.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
wa_sort-spos = 3.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'BADAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 4.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'TXZ01'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 7.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'BEDNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 6.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'PS_PSP_PNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 8.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'FRGDT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
wa_sort-spos = 9.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-fieldname = 'LFDAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 10.
wa_sort-fieldname = 'EBELN'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 11.
wa_sort-fieldname = 'EBELP'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 12.
wa_sort-fieldname = 'AEDAT'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 13.
wa_sort-fieldname = 'LIFNR'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 14.
wa_sort-fieldname = 'NAME1'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-down = 'X'.
wa_sort-tabname = 'itab'.
wa_sort-spos = 15.
wa_sort-fieldname = 'IHRAN'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
CLEAR wa_sort.
wa_sort-spos = 16.
wa_sort-fieldname = 'EINDT'.
wa_sort-tabname = 'itab'.
wa_sort-down = 'X'.
wa_sort-subtot = ' '.
APPEND wa_sort TO l_sort.
*CLEAR WA_SORT.
*sort l_sort by spos.
ENDFORM. " f_event_sort
*& Form f_validate_sel_screen
text
--> p1 text
<-- p2 text
FORM f_validate_sel_screen .
*Tracking number
SELECT SINGLE * FROM eban WHERE bednr IN bednr.
IF sy-subrc NE 0.
MESSAGE e013.
ENDIF.
*Wbs Element
SELECT SINGLE * FROM ebkn WHERE ps_psp_pnr IN ps_psp.
IF sy-subrc NE 0.
MESSAGE e014.
ENDIF.
*Cost center
SELECT SINGLE * FROM ebkn WHERE kostl IN kostl.
IF sy-subrc NE 0.
MESSAGE e015.
ENDIF.
*Date
SELECT SINGLE * FROM ebkn WHERE erdat IN erdat.
IF sy-subrc NE 0.
MESSAGE e012.
ENDIF.
ENDFORM. " f_validate_sel_screenHey Ravi,
As you said it is urgent to deliver the report, i will suggest you temporary solution while i debug the program.
In the FM "REUSE_ALV_GRID_DISPLAY", use layout to generate your sorted report for now as shown following:
<b>DATA: G_VARIANT LIKE DISVARIANT.</b>
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = I_LAYOUT
IT_FIELDCAT = RT_FIELDCAT
IT_EVENTS = I_EVENT
IT_SORT = L_SORT
<b>is_variant = g_variant</b>
TABLES
T_OUTTAB = ITAB.
IF SY-SUBRC <> 0.
ENDIF.
Where g_variant is your custom layout which you will make as default for output.
Hope this helps and let me know if you need more details.
In the mean time, i will look in to the program.
Regards,
Vicky
PS: Award points if helpful -
Why can't I find the answer to this anywhere?
Hi, please help a beginner...
I'm trying to build an online catalog with PHP and MySQL, using Dreamweaver.
I have a problem with filters... here it is:
I have some variables... let's take 1 for ex. $manuf in which I want to store the manufacturer (for the notebooks table, like "acer", "alienware" etc.).
I figured I'll do the filters one of 2 ways:
1. through dropdown list/menu and I've populated the list with the values "acer" "alienware" etc.
and in "OnChange" event of the list/menu I want to assign the selected value of the list/menu to the variable $manuf.
HOW do I do this??? I can't find anything like a property list1.selected for ex. to simply write <?php $manuf = list1.selected ?>
where list1. should be the name of the list/menu (right?...)
or
2. it looks nicer with a SpryMenu.
So I have a Spry Menu like "Manufacturer" etc.
And Submenus like "Acer", "Alienware" etc.
now... when I click the submenu labeled "Acer" I can just do the php $prod = "acer" BUT HOW can I also change the menu's caption to say "Manufacturer - Acer" instead of just "Manufacturer" ??? ('cause I want people to see what filter is applied). Again, I can't find any property like sprymenu1.caption or something like that.
P.S.
regarding the list/menu... I can populate it dynamically, from the database... with the values from $manuf field. BUT they repeat, because there are more than 1 "acer" for ex. in the catalog (database). HOW can I dynamically populate the list from the database, without repeating any value???For the time being I think I am going to start with just problem 1 because I think as I go through explaining this to you, the answer to #2 will become more clear.
Javascript is like Actionscript (Flash) and can be executed in runtime meaning that if you execute javascript on a page you can see the results immediately. PHP, on the other hand, is a preprocessor meaning that the code is executed prior to a page load and cannot be executed in runtime like Javascript can. Your mix of the two for this instance is really not needed unless you want the form to act dynamically. Because of this there are 2 ways to approach the situation:
1. If you want to stick with PHP, when you submit the form, the values of the stored will be stored in the global variables ( http://php.net/manual/en/reserved.variables.php ). Based on the method of your form will depend on how you extract the data. For instance, if your form method is "POST" and the drop-down field named "manuf" has a value of "Dell", then when you submit the form, the variable $_POST['manuf'] will be equal to "Dell".
With this example the form has to be submitted because Javascript cannot send commands to PHP once the page has been loaded because the PHP has already been executed.
2. This way is a lot more complicated so I won't go into much detail. But, the Spry Dataset functions are intended for updating data live without the need to submit a form forcing a page refresh for the PHP to execute. What happens with the Spry dataset is that you store all the information in mySQL and then the Spry Dataset will convert this into XML for you. PHP will be used to run the initial query of your database and depending on the size of your database can be used to filter the data so you do not end up with an extremely large XML file slowing your page load time. I do have a basic example I did awhile back located here ( http://www.exitplaystation.com/warhawk/trophies.php ). That used a static XML document at the time. I do have a more dynamic example. It was actually done for work, but I might be able to modify it with bogus information and upload it to show you a dynamic version. In the meantime if you want to see a professional example of this in action:
http://msn.foxsports.com/nfl/draft-tracker#round=1&team=ALL&school=ALL&position=ALL
FoxSports uses the Spry Dataset sort functions and some extra code for their live NFL draft system. Refreshes automatically and sorts from the top drop-down menus. So as you can see all of their data is loaded from their database connection and refreshed in real-time. This is a very complicated example and requires modifications to the Spry code, but it shows the power of what Spry can do.
Let me know which way you would prefer to go with this. Personally I would recommend #1 for starters until you get going and feel more comfortable with PHP and Javascript. Also if you give more a little more detail on your code I could help you implement it if you are having difficulty understanding. -
hey guys i got a problem connecting with itunes always giving me ox80090318 if u know the answer please let me know thx
Hello Makiaveli,
It sounds like you are getting this error code when you are trying to access the iTunes Store.
I found this article with this error listed in the symptoms section, for you that should help troubleshoot the issue named:
Apple software on Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123
Resolution
The cause for these issues is a program that monitors the Winsock protocol for Windows conflicting with Apple software. These programs usually use a Layered Service Provider (LSP) that can help identify the particular program installed. The programs that monitor this protocol have a variety of purposes, including security software, content filtering, and optimization of network traffic.
To find the LSP:
Download Autoruns for Windows from Microsoft
Look for Autoruns.ZIP and open the compressed folder.
After reviewing the contents and the license, drag autoruns.exe to the desktop.
Open Autoruns.
Click on the tab that says Winsock Providers.
A list of items should appear. A column showing the publisher should be available.
For items other than Bonjour, which is from Apple, check with the publisher for updates to resolve the conflict between their software and Apple software.
If the publisher is unfamiliar to you, you may be able to use the table below to find out more information about the origin of the modifications to Windows.
Some of the publishers and programs that are known to have versions with a conflict are listed below:
Product or Publisher
LSP Name
Bigfoot Networks / Killer Gaming
BfLLR over [MSAFD Tcpip [TCP/IPv6]]
Bsecure
Bsecure over [MSAFD Tcpip [TCP/IP]]
Bullguard
BGLsp over [MSAFD Tcpip [TCP/IP]]
Bytemobile, Inc.
BMI over [MSAFD Tcpip [TCP/IP]]
CA / Total Defense Internet Security
LAYERED_PROVIDER over [MSAFD Tcpip [TCP/IPv6]]
ContentWatch / Net Nanny
CWALSPSYS CWALSP MSAFD Tcpip [TCP/IP]
Covenant Eyes
Covenant Eyes Monitoring over [MSAFD Tcpip [TCP/IP]]
Dr. Web
DrWebSP.4 over [MSAFD Tcpip [TCP/IP]]
Earthlink Total Access
PropelLSP over [MSAFD Tcpip [TCP/IP]]
Eset
NOD32 protected [MSAFD Tcpip [TCP/IP]]
Fourelle Venturi
VENTURI_TP [MSAFD Tcpip [TCP/IP]]
FoxyProxy
FoxyProxy Service Provider over [MSAFD Tcpip [TCP/IP]]
Hide My IP / My Privacy Tools
My Privacy Tools - LSP over [MSAFD Tcpip [TCP/IP]]
MegaUpload / MegaKey
msadmid over [MSAFD Tcpip [TCP/IP]]
Netintelligence
NIHLSP over [MSAFD Tcpip [TCP/IP]]
Netscape Internet Service
SlipStream LSP over [MSAFD Tcpip [TCP/IP]]
Netsweeper
Liger over [MSAFD Tcpip [TCP/IP]]
Norman/Norman Security Suite
NLF over [MSAFD Tcpip [TCP/IP]]
Panda AntiVirus
PAV_LAYERED over [MSAFD Tcpip [TCP/IP]]
PC Tools / Spyware Doctor
PCTOOLS over [MSAFD Tcpip [TCP/IP]]
PureSight Internet Content Filter
Winsock over MSAFD Tcpip [TCP/IP]
Ratajik Software StationRipper
AVSDA over [MSAFD-Tcpip [TCP/IP]
Safe Eyes / McAfee Family Protection
Internet Content Filter over [MSAFD Tcpip [TCP/IP]]
Sendori
SendoriLSP over [MSAFD Tcpip [TCP/IP]]
SpeedBit Video Accelerator
SBLSP over [MSAFD Tcpip [TCP/IP]]
TellyAbroad
EasyHideIP over [MSAFD Tcpip [TCP/IP]]
Trend Micro
Trend Micro LSP over [MSAFD Tcpip [TCP/IP]]
VMWare
VMCI sockets DGRAM
Wave / Embassy Trust Suite
Wave Systems Kerberos LSP over [MSAFD Tcpip [TCP/IP]]
XFire
Xfire_LSP MSAFD Tcpip [TCP/IP]
Once you've identified the third-party software that installed the LSP, you should check for updates. If the software is your security software, see iTunes: Troubleshooting security software issues for additional information.
Bytemobile is usually associated with cellular data connection software. You may want to check if your provider has instructions to disable or uninstall that portion of the software, such as these instructions from AT&T.
Note: If unsure on the origin of your LSP, you may try to locate vendor information to determine which software is responsible for the non-default value here.
Thank you for using Apple Support Communities.
Cheers,
SterlingD -
Select list null value issue - for filtering the tabular form report
hello,
I have a tabular form created on emp table and in the table their are entries for the employees who don't have a location, like it is null for some of the employees.
Now I have created a select list item - for filtering the results based on location.
my select query for select list item is
select distinct location_name d,location_id r from emp order by 1
-- so my select list contains all the distinct location_name including the null on my tabular form.
so based on the selelcted value(in the select list), I am able to filter the results in my tabular form.
but the thing is that when i try to select an null value from my select list - i am not able to filter my report - like its displaying all the records, its not filtering.
can anyone help me out with this.
thanks.Hi
Try below select for LOV
select distinct nvl(location_name,'No Location') d,nvl(location_name,'No Location') r from emp order by 1 And then change tabular from select where clause also use nvl(location_name,'No Location') like
SELECT *
FROM emp
WHERE nvl(location_name,'No Location') = :Px_YOUR_ITEMBr, Jari -
Filtered the data to get only one data per day
Hi,
From the excel file below I have Power (from Hg Lamp) vs date.
I would like to filtered the data to have only one data per day. So when there are many data for one day, I want the data with Max Power (and delete the others).
In the test vi below I filtered data by compared the data 1 by 1. So I reduced the number of data but I still have date with many data.
I would like to count the number of data per days and keep the data with max power, but I don't know how to do it.
If you have any ideas...
Thanks
Geof
Attachments:
Test.xls 227 KB
Test.vi 48 KBI did it
Thanks
Attachments:
Test.vi 48 KB -
Excel download is not filtering the data
I create Pivot table and a detailed table. In interactive mode if i click on pivot table, the table below filters the data accordingly and shows only the selected data related fields in the table. This is how i want. But when i filter and then download it in excel, the excel file is saved with complete data with out filter. How can i make it download filtered data as in interactive mode?
Make sure, that the columns you are using in Prompts are filtered in your reports using 'ISPROMPTED'. make sure you use same columns in both the places.
-Suman -
Filtering the contents of one alv based on another ALV's filter
Hi,
I have used a tab element within which i have two tabs.each tab has an alv table.
Is it possible to restrict the entries of one alv table based on enrties from another alv table(both the alv tables will have some common fields).for example I have filtered entries in alv1 based on field1 .when i go to alv2 entries should be restricted on the field1 (common field)
Thanks
Bala Duvvuri
this is the answer
refer SALV_WD_FILTER_UI
Edited by: Bala Duvvuri on Oct 4, 2011 1:20 AMhi Mohamed,
Go through this links ,
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/95/92b2f7d2f14a6da7a8b5d66808d1f6/content.htm">Portal Display Rules</a>
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/4b/29cf122f414721964269e1b675d62c/content.htm">Rulecollection</a>
Regards,
Malini.V -
To enable filtering the Purchase Orders based on Purchasing Group in Issue
Hi All,
We are facing one issue
Currently we are working with Extended Classic Scenario with SRM 5.0 and support pack 11
If the buyer uses Issue PO transaction in SRM, there are POs from all the buyers.
There is no filter to allow the buyer to display only POs relevant for his/her Purchasing group.
To enable filtering the Purchase Orders based on Purchasing Group in Issue Purchase Order transction, we found one
OSS note : 1162884 - BBP_PPF: Purchasing group as search criteria for PO
But we found that this oss note is not applicable for our system version
Could you please help me to resolve this issue by any suggestion or by any other oss note?
Thanks
SnehalHi Snehal,
There is a easy way to do that.
Go to buyer role in PFCG transaction and look for profile and go inside profile ...look for your transaction...
for Process PO transaction - BBP_PD_PO and you have field BBP_PURGRP...using which you can restrict it on purchasing group..
You may have to copy same role and create new roles based on purchasing group..
I feel that basis or Security and Authorization team can help you in this matter.
Regards,Nishant -
I have a question that I think I know the answer to, but am looking for confirmation. I have a desktop computer at home that has clip art loaded onto it. I recently got an iPad and am looking for something similar. I assume I need to get an APP for it, and if that is correct, does anyone have one that they like?
Sort of. There is an app called art shop that gives you a place to park clip art. But I don't think you really need it.
If you have a collection of clip art you want available, move it to the camera roll on your pad/ phone, then copy paste into your document the clip you want.
You can get them into the camaera roll by putting them in a single event in your picture library and syncing them over, or e mail them to your self, and save to the camera roll, or send them to drop box, and bring them down that way.
The challenge is getting them all in one place to make it easy for you to find, which is why syncing might be the best approach in the long run.
As near as I can tell there is not a ready made clip art collection in app format laying around. -
Please help!! I can't remember any of the answers to my security questions (I made them approximately four years ago and don't know what I was thinking).
How can I change my questions without answering my security questions that I don't know?!??You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
(105971) -
iTunes requires me to answer to a couple of security questions to authorize me to use it on my new mac book pro, but I don't rimember the answer to them. I can I sort out this problem?
Thank you for helping...
Danila63 Account Security Team (AST)
Check the AppleCare number for your country here:
http://support.apple.com/kb/HE57
Call them up, and let them know you would like to be transferred to the Account Security Team. -
My rescue email is a deleted email and i have no idea what the answers are to my security questions… what do I do? How do I change the rescue email?
You will need to contact Apple support. You can use the link in the quote below from If you forgot the answers to your Apple ID security questions - Apple Support
If you couldn't send a reset email, don't have a rescue email address, or can't access email at your rescue email address, contact Apple Support.
Maybe you are looking for
-
How can I display a PDF in Fit-Page View mode in Firefox?
I would like to use Firefox to view PDF documents from the web - but cannot get the PDF fit-page view to be a Firefox option. For large PDF files, I then have to scroll slowly through them - whereas in Adobe Reader, I can view them page by page and s
-
Transfer pictures from one MacBook to another
If I have a bunch of documents like a whole bunch of pictures in a folder on my desktop, and I want to transfer them to another computer, what is the best way to do this? I have Time Capsule so thought of transferring that way, but I'm not sure how?
-
This is an issue that I've had for a few months now, I don't know exactly when it started. Issue: I will be on computer, doing whatever, and the display will randomly go to sleep. Rest of computer seems to be running fine (ie - audio from browser or
-
Authorization on Journal Entry
Dear all, Is it possible to set authorization so that User-A can view the Journal Entry of the Outgoing Payment that created by User-A. User-A will not able to view the Journal Entry of the Outgoing Payment that created by User-B? Thanks. Regards, La
-
Sound is coming from the ear-piece and its really really low
Title pretty much says it. My iPhone is acting really weird ever since this morning, sound isnt coming from the bottom speakers anymore but instead from the ear-piece and its really low. I tried resetting the phone with holding down the home and slee