Hide Print Preview in Dashboard Builder
Would anyone know how to hide the Print Preview button in BI worksapaces (i.e. Dashboard Builder or Corporate Dashboards), using BOE XI 3.1?
Thanks in advance.
Kindly refer to SAP Note 1430368.
Regards,
Nakul
Similar Messages
-
Hi,
I need a expert help.
i am working on one requirement.
T code : ME2M
after putting all initial info i got list of all pruchsing documents per material.here there is a print preview option. Here our business wants to hide to that option.
so please guide me.
Thanks
H shahDear,
Create the transation variant through SHD0 for ME2M here you can hide Print preview option.
Please take help from ur technical consultant.
Or else use function module FP_JOB_OPEN which is used to hide print preview.
Regards,
R.Brahmankar -
Print preview need to hide for Adobe form
hi frineds
I have created a function module which converts the adobe form in pdf using the function module FP_FORMOUPUT, When ever i execute the function module it ask for print preview. I dont want print preview. Since i need to use this custom function module in my worklfow. If its a smartform i can hide the print preview nodialogue = 'X'. But there is no such option in Adobe form. How can i achieve this. Am using ABAP not webdynpro.
Regards
vijayAnswer there is a function module FP_JOB_OPEN which is used to hide print preview, dialog and so on. This function module only i was looking on. I got by myself.
-
Hide check box in the print preview and print of OO ALV
Hi Experts,
I am working on an OO ALV Report. I am facing an issue as,
1) I have a check box in the output of the report. If the user clicks on print or print preview the check box should not be printed.
2) When I am printign top of page in the event PRINT_TOP_OF_PAGE, when I tried to insert new line its not printing a new line.
please suggest me how to print empty lines in the print top of page event of OO ALV.
Please help me to complete these issues.
Thanks in advance.
Regards.
Ranganadh.hi,
you can use the write statement in the print_top_of_page event of oo alv.
regards. -
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 -
Print Preview is no longer working. Windows pops and then closes.
The Print Preview function no longer works. Clicking Print Preview results in
(1) a small window pops open in the middle of the screen then disappears
(2) then a large window opens (to preview the content as it once did)
(3) then the new windows disappears (shrinks out of sight) and apparently dies
(4) "Print previewing message..." appears in the status bar until the cursor is moved off the page.
In case it also isn't working, the system information includes:
Windows 7 64-bit SP1
The Troubleshooting Information is:
Name: Thunderbird
Version: 31.3.0
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
Profile Folder: Show Folder
(Local drive)
Application Build ID: 20141127140543
Enabled Plugins: about:plugins
Build Configuration: about:buildconfig
Memory Use: about:memory
... well, the rest wouldn't fit (something about a character limit) and the attachment part only works with images!Does it still fail to work if you restart thunderbird in Safe Mode?
In Thunderbird
Help > Restart with addons disabled -
Purchase order Print preview Problem in ME23N
Hi all,
We are trying to see print preview of purchase order in ME23N, but, when we press print preview button another window named "SAPLPD" is poping up. The pop-up window looks like command propmt window and contains lines like
"(11:25:54 AM) Icon DLL loaded.
(11:25:54 AM)
(11:25:54 AM) Network Communication via SAP-NiLib
(11:25:54 AM) Hostname: L04WSChe0300
(11:25:54 AM) IP Address: 10.87.7.11
(11:25:54 AM)
(11:25:54 AM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
(11:25:54 AM) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 2
(11:25:54 AM) Copyright © 1992-2001 SAP AG
(11:25:54 AM)
(11:26:04 AM)
(11:26:04 AM) Receive job for printer __DEFAULT (Berkeley LPD protocol / RFC1179)
(11:26:04 AM) send_status called
(11:26:05 AM) send_status called
(11:26:05 AM) send_status called
(11:26:07 AM) send_status called
(11:26:07 AM) send_status called
(11:26:07 AM) Job 000jgjJp.DEV for user DEV2 queued.
(11:26:07 AM) Start printing job 000jgjJp.DEV on printer MICROSOFT OFFICE DOCUMENT IMAGE WRITER
(11:26:13 AM) Error: Unable to start print job, Windows rc = -2, Error = Overlapped I/O operation is in progress.
(11:26:13 AM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
How can I fix this problem and see print preview of purchase order in ME23N.
Please help me!
Thanks,
Rajanhi,
DATA: w_compop TYPE ssfcompop.
w_compop-tdimmed = ' '. "Print Immediately control parameter should be empty..
Then only print preview pop-up will come..
then call your smartform like this..
CALL FUNCTION fnam
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
TABLES
it_vbdkr = it_tvbdkr[]
it_vbdpr = tvbdpr[]
it_zglentitycode = it_zglentitycode[].
regards
vijay -
Can't print preview or print in Excel or PowerPoint
Gosh, I've been so busy fighting wireless networking issues with Leopard, it wasn't until today that I finally had a need to print an Excel spreadsheet and much to my slowly building frustration with Leopard, that too is a no-go in Leopard. In either Excel or PowerPoint, using "print preview" yields only blank pages and if you attempt to print the document, you get precisely the same, just blank pages.. Such is not the case in either Word or Entourage... Those both print ok... What I also find somewhat ironic is if I dump those same Excel spreadsheets into Parallels under Windows XP and the pc version of Excel, I can print the documents with no problem... Ouch... On my mac I'm running the most current version of Office (11.3.9) and my printer is a Brother PrinterMFC5440CN. I've encountered this same printing issue on both of my macs, a MacBook Pro and a G4, both running Mac OS X 10.5.1... Anyone have any possible solutions??? thanks... bob...
Hi Robert,
Just wondering if you sorted out this problem? I am new to Macs and recently bought an iMac after being a PC and Windows user for years. I have never had problems with printing but very frustratingly do now with the Mac. I have an Epson R265 and can print from photoshop, entourage, excel but not from word.
If you had any success with this problem could you let me know.
thanks very much
Sara Bell -
CS5 Print preview window heavly inconsistant with left margin
I can adjust my images to look fine in the print window display with the paper size I select. However the printed image does not accurately track what is shown in the preview.
It does not matter if I print borderless or with border.
I suppose it is a minor quibble in that moving the preview image left margin to the right (positive values) by small amounts the print out actually moves it to the left by that small amount. At first I thought this might be random paper alignment errors but the behavior is too consistent. But as I continued my tests I could not significantly/consistently shift the image to the right until a movement finally happened between 1/2 and 6/10ths of an inch. Only then did I get the actual 6/10th white border on the left side of the printout.
What the heck am I doing wong? Is this a bug? The old print preview was so much better as it gave a WYSIWYG output. Now it seems to be a crap shoot whether your border adjustments match your desired shift.
This is too blatant of an error to be a bug, so what am I overlooking? There seems to be some kind of rasterization of the movement going on I don't know about.That's a bit surprising, in that I've found HP in general to support their released hardware better than most when a new OS is released.
But it's not unheard of. Manufacturers don't benefit measurably by supporting old hardware, though it's a no-brainer that doing so builds brand loyalty. In fact, I'm sure there are marketeers in these companies that actually believe forcing you to buy a new device is a Good Thing. The printer is not supposed to be a consumable!
Scanners are more often devices that fall into this trap. Over time I've thrown away two perfectly working scanners (one Canon and one Mustek) because they weren't supported by their manufacturer upon release of a new version of Windows. On the other hand, my little, cheap HP 932c printer is still perfectly supported in Windows 7, even though I bought it back in the days of XP. Perhaps it has something to do with numbers of units sold.
Anyway, best of luck getting things worked out. I'm very sorry to hear that HP may be going the way of the other manufacturers.
-Noel -
Print preview is gone on my Thunderbird, how do I get it back?
In Thunderbird, there used to be a print preview option when I pulled down the File menu. Now only print option in that menu. I've looked through every other menu and can't find a print preview option.
I use print preview most of the time before printing. So how do I get it back?
Thanks!I am using a testing daily build of version 30. It has a print preview, even on the drafts folder.
Perhaps try restarting with add-ons disabled from the help menu and see if that helps. I must also ask the obvious... you do have a printer installed don't you? -
I'm trying to build a WordProcessor and i'm stuck on the print preview.
I've been using the Manning book, Swing. I think they have some typo's
in the print chapter or I'm missing something.
Well here the problem:
Wordwrite.java:103: cannot resolve symbol
symbol : constructor PrintView (Wordwrite)
location : class Wordwrite.PrintView
m_printView = new PrintView(Wordwrite.this);
My code is slightly off from the books
Here's what the book had
new PrintPreview(Wordwrite.this);
for your info: PrintPreview is only mentioned here and nowhere else.
Any Clues.The error is telling you that either the class PrintView doesn't exist or that it doesn't have a constructor that takes Wordwrite as an argument.
Is there a PrintView class? Perhaps you've called it PrintPreview? If there's a PrintPreview class then change the line that says
m_printView = new PrintView(...)
to
m_printView = new PrintPreview(...)
Hope this helps. -
Print Preview in CM14 after Edit BI Report not working; Advance print is
I created a custom Form in BI Publisher for the Payment requisition Module.
I have already imported it in CM14 Admin site so it does show up in CM14.
I have also made this the default form for this group.
After I edit the report format in RTF and upload it, I go back to CM14 and click print preview, and none of the changes i made are shown. If i go to advance print and preview the same Form, the changes are shown.
The only way i can get the print preview to show the changes is to go into CM14 Admin and upload it.
The cache options are all off for the form. I am using PCM 14.0.3.0 Build 2458 and Oracle BI Publisher 11.1.1.6.7
Any ideas why print preview is not showing the changes but advance print is?
Thank you for your help in advance.I have not seen this before, but would suggest:
1. You may want to try clearing your browser and java cache and see if that fixes the problem.
Also, I have seen where form changes didn't push through when modifying the same form that existed unless you did a new Import Forms in Admin when the form or report had a PROMPT for criteria included. So I'm not sure if something like that is occurring.
Basically, you're saying that the print preview works correctly after doing an Import Forms but not before, right? -
Add-on crashes when using Print Preview
Hi Experts!
I'm experiencing a problem with SAP B1.
We developed a simple add-on to hide the Logistic Tab in the Sales Order form. This was done using SAP B1 Studio and setting the System Form's Logistic Tab Visible = True.
This seems to be working fine during debug mode. However, when I created an installer, and deployed it in the same machine, whenever the user clicks Print Preview in Sales Order, SAP B1 prompts for Restart, Continue Working without this Add-on option.
We are using SAP B1 9.0 PL12.Hi,
What does the Event Viewer say regarding the cause of the exception?
Beni. -
All,
I posted a message back in November wondering if anyone had implemented a
print preview mechanism in Forte. I got a record number of responses saying
"no...but let me know what you find out". A few people responded with
solutions.
I still get private responses from list members wondering what I found out.
I should have posted a summary earlier, so here it goes. By the way, if you
do not care about print preview, I would suggest going for the delete key
now, this may get wordy.
The application I am working on has numerous forms that were done using Forte
printing with page templates. The users wanted to preview these forms on the
screen. The application is cross platform, Windows NT and Macintosh. I
ended up implementing a preview window in Forte.
Other solutions:
1. ActiveX control. Plenty exist for Windows not sure about the Mac.
2. External viewer programs. GhostView is the best and cross platform.
However, the implementation is "clunky" and may not be liked by your users.
You have to print to a file and then open the file with the viewer. It ends
up being quite a bit of work just to preview a form.
The Forte solution was relatively easy and a natural extension of the current
printing architecture, which in this application was very good. Basically,
the page template is a Forte window, all I wanted to do was display this
window on the screen instead of the printer. I made a preview window that
contains a view port of a empty grid field and nested the print windows main
grid in the preview windows view port. Add some buttons for paging (back,
next), printing and a goto page drop list and your almost done. The preview
window works very much the the Forte window workshop screen. Button bars and
a view port. Make the screen resizeable and give the view port grid cell 100
percent of the justification weight for resizing purposes. I pass the
preview window an array of print windows. As you page you just iterate
through the array and nest the corresponding window. The reports I am
dealing with average no more than 6 pages. If you have larger reports you
may want to build each page on demand (performance vs. memory trade off
here).
Robert Crisafulli
MailTo:[email protected]
http://www.crisafulli-consulting.com
Crisafulli Consulting, Inc.
6 Founders Court Phone: (301) 972-9401
Damascus, MD 20872 FAX: (301) 972-9403Hi M Stofko,
Indeed the + and - characters to give the information about the summary task is no longer displayed in PDF printing of MS Project 2010. Nevertheless there is a space for subtasks that indicates they are located under a summary task, which are still displayed
in bold.
As a workaround, I can suggest you to insert the "summary" column:
Hope this helps.
Guillaume Rouyre - MBA, MCP, MCTS -
Print Preview of Sample Program LP01 not displaying form
Hey,
I have successfully configured ADS in NW2004s ABAP stack.
I ran the FP_PDF_TEST_OO program which checks the ABAP Adobe configuration and displays the version number of Adobe document.
The problem however is when I implement the sample " Part I: Adobe Print Forms" given on the site https://www.sdn.sap.com/irj/sdn/interactiveforms.
When I run the program and do a Print Preview of the form, with the default printer LP01, I do not see a PDF as mentioned in the sample. The control returns to the start page. Also, the download button on the screen results in a PDF that has 0 bites.
During the debugging, data from the database gets retrieved properly, and the correct function name gets retrieved. Would you guys know what I might be missing.
Thank you for the help.
Sumit.
I did the interface, form, and building the context several times and that seems fine.
Attached is the code:
REPORT ZTSA_EMPLOYEE_ADS_REPORT.
parameter: i_empid type ZTSA_employee-employeeid obligatory.
type-pools: abap.
start-of-selection.
data: ie_outputparams type sfpoutputparams.
call function 'FP_JOB_OPEN'
changing
ie_outputparams = ie_outputparams.
try.
data: i_name type fpname,
i_funcname type funcname.
i_name = 'ZTSA_EMPLOYEE_FORM'.
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = i_name
importing
e_funcname = i_funcname.
catch cx_fp_api_repository.
catch cx_fp_api_usage.
catch cx_fp_api_internal.
endtry.
data: isemployee type ZTSA_EMPLOYEE_STRUCT.
select *
into corresponding fields of isemployee
from ZTSA_EMPLOYEE
where employeeid = i_empid.
endselect.
data: fp_docparams type sfpdocparams.
data: fp_formoutput type fpformoutput.
call function i_funcname
exporting
/1bcdwb/docparams = fp_docparams
employee = isemployee
importing
/1bcdwb/formoutput = fp_formoutput
exceptions
usage_error = 1
system_error = 2
internal_error = 3.
call function 'FP_JOB_CLOSE'
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.Hi,
May be this link this be helpful...
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/how%20to%20troubleshoot%20the%20render%20exception.pdf
Regards,
<i><b>Raja Sekhar</b></i>
Maybe you are looking for
-
I cannot get rid of Genius or Genius Mixes and I want it off of my iPad 2 as well. Thank you.
-
How do I disable the Mobile features of my user account?
I recently and accidentally activated the mobile features to my account here at work. Since then, links to volumes have changed and I'm not sure what else has changed on my account. I was actually trying to setup screen sharing between my personal Ma
-
Hi all, I am having an issue hopefully someone can help me with. I have recently inherited a 2 node cluster, both nodes are one half of an ASUS RS702D-E6/PS8 so both nodes should be near identical. They are both running Hyper-V Server 2008 R2 hosting
-
Cisco Secure ACS with UCP assistance and enable password
I am running Cisco Secure ACS version 4.2 running on a Standalone Windows 2003 Enterprise 2003with the lastest windows service pack and update. Secure ACS is running fine and I can authenticate with Cisco routers and switches. The Windows 2003 server
-
E-mail sending background job diappeared in the system
Hello Gurus, We have one e-mail sending job in our production system. The frequency of the job is daily. Now we are not able to find the sheduled/Released/Active/Finished/Canceled status for this from the last 2 days. Please help me to get back the j