ALV display not work
Hi,
Do you know why the following code did not display the content of li_final? There are 30 records in the li_final, but nothing display on the screen.
Thanks,
Helen
FORM 8400_display_list USING li_final LIKE gi_auditin_mapping
li_fcat LIKE gi_fcat
li_event LIKE gi_event.
DATA :l_repid TYPE sy-repid.
DATA: l_layout TYPE slis_layout_alv.
l_repid = sy-repid.
l_layout-zebra = 'X'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = l_repid
it_fieldcat = li_fcat[]
is_layout = l_layout
it_events = li_event[]
TABLES
t_outtab = li_final
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR : li_fcat[],li_event[],gi_list_header[].
ENDFORM. " 8400_display_list
REPORT z_audit_prod_code_rpt MESSAGE-ID zmm NO STANDARD PAGE HEADING.
TABLES
TABLES : vbrp, vbap, rseg, ekko, ekpo.
TYPE-POOL DECLARATIONS
TYPE-POOLS : slis.
TYPES DECLARATION
TYPES : BEGIN OF type_record,
lines(1367) TYPE c,
END OF type_record.
TYPES : BEGIN OF type_auditin_mapping ,
companyid TYPE char2,
invno TYPE vbrp-vbeln,
invitemno TYPE vbrp-posnr,
invdate TYPE vbrp-fbuda,
sapdoc TYPE char10,
sapdocline(5) TYPE n,
sapmatgrp TYPE zfftaxware2-zzmtlgrp,
sapregacct TYPE zfftaxware2-zzreg_acct,
sapprodcode TYPE zfftaxware2-zzprodcode,
taxprodcode TYPE char7,
prodcode TYPE char7,
grossamt(13) TYPE p decimals 2,
fedtxamt(13) TYPE p decimals 2,
sttxamt(13) TYPE p decimals 2,
countytxamt(13) TYPE p decimals 2,
citytxamt(13) TYPE p decimals 2,
END OF type_auditin_mapping.
TYPES : BEGIN OF type_rbkp,
belnr TYPE rbkp-belnr,
xblnr TYPE rbkp-xblnr,
END OF type_rbkp.
INTERNAL TABLES
DATA: gi_auditin_record TYPE STANDARD TABLE OF type_record,
gi_auditin_mapping TYPE STANDARD TABLE OF type_auditin_mapping,
gi_fcat TYPE slis_t_fieldcat_alv,
gi_event TYPE slis_t_event,
gi_list_header TYPE slis_t_listheader,
gi_rbkp TYPE STANDARD TABLE OF type_rbkp WITH HEADER LINE.
WORKAREAS
VARIABLES
DATA : g_date TYPE sy-datum,
g_time TYPE sy-uzeit,
li_auditin TYPE STANDARD TABLE OF type_auditin_mapping,
g_count(6) TYPE n, "Log table counter
g_file_path TYPE file_name, "Holds file path type
g_file_outpath TYPE file_name VALUE '/usr/sap/comm/recv/in/',
g_file_errpath TYPE file_name VALUE '/usr/sap/comm/recv/err/',
g_file_appath TYPE file_name VALUE
'/usr/sap/comm/recv/arch/FI006/',
g_filename TYPE file_name, "Intrface file name
g_filename_last TYPE file_name,
g_records(5) TYPE n, "Download record Counter
g_file_name TYPE file_name, "Download file
g_header(20) TYPE c, "Hearder validate
g_status TYPE sy-subrc, "To hold sy-subrc value
g_msg TYPE zmesgdesc, "Msg description
g_delimit TYPE char01, "Hold selected delimitor
g_pdelimit VALUE '|', "Pipe delimitor
g_msg_flg TYPE char01, "Flag holds file Download Msg
g_cnt TYPE char01,
g_int_seq TYPE char3,
g_file_lines TYPE int4,
g_err_count TYPE int4, "Error Records counter
g_errmsg TYPE char01, "Flag for Error Msg Heade
g_arch TYPE char01, "Flag for archive
g_inv TYPE vbrp-vbeln,
g_invitem TYPE vbrp-posnr,
g_total(7) TYPE n,
g_succ TYPE n,
g_err TYPE n.
SELECTION-SCREEN
*SELECTION-SCREEN BEGIN OF BLOCK f1 WITH FRAME TITLE text-001.
*SELECT-OPTIONS : s_pdate FOR vbrk-fkdat OBLIGATORY.
*SELECTION-SCREEN END OF BLOCK f1.
Block for Application / Presentation server radio button
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : p_pre RADIOBUTTON GROUP g1 DEFAULT 'X'
USER-COMMAND run,
p_app RADIOBUTTON GROUP g1.
SELECTION-SCREEN : END OF BLOCK b1.
Block for Application / Presentation server File input Parameter
SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS : p_lfile LIKE rlgrap-filename,
p_afile TYPE rlgrap-filename.
SELECTION-SCREEN : END OF BLOCK b2.
Block for Selecting Appropriate Delimitor for Variable Length
SELECTION-SCREEN : BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
PARAMETERS : p_tdelmt RADIOBUTTON GROUP g3 DEFAULT 'X',
p_pdelmt RADIOBUTTON GROUP g3.
SELECTION-SCREEN : END OF BLOCK b3.
Event: AT SELECTION-SCREEN OUTPUT *
To Modify the Selection screen as per user selection
AT SELECTION-SCREEN OUTPUT.
PERFORM 1100_modify_sel_screen.
Event: AT SELECTION-SCREEN *
To get the Input file name and path from presentation server
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_lfile.
PERFORM 1200_get_filename_pre USING p_lfile.
To get the Input file name & path from application server
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_afile.
PERFORM 1300_get_filename_appl USING p_afile.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM 2000_process_input.
END-OF-SELECTION
END-OF-SELECTION.
PERFORM 8000_display_report USING gi_auditin_mapping.
*& FORM 1100_MODIFY_SEL_SCREEN
This routine is used to modify the selection screen based on the user*
selection
FORM 1100_modify_sel_screen .
LOOP AT SCREEN.
IF screen-name = 'P_AFILE'.
IF p_pre = 'X'.
screen-input = 0.
ELSE.
screen-input = 1.
ENDIF.
ENDIF.
IF screen-name = 'P_LFILE'.
IF p_app = 'X'.
screen-input = 0.
ELSE.
screen-input = 1.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDFORM. " 1100_MODIFY_SEL_SCREEN
*& Form 1200_get_filename_pre
Routine to get the Presentation server file path
-->LP_FILE - File to be opened for Presentation server
FORM 1200_get_filename_pre USING lp_lfile TYPE rlgrap-filename.
DATA: lt_files TYPE filetable, " File table
l_title TYPE string, " Window table
l_file TYPE file_table, " File name
l_subrc TYPE sy-subrc, " Output value
l_file1 TYPE string. " File name
To open the file dialog box
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = l_title
CHANGING
file_table = lt_files
rc = l_subrc
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
OTHERS = 4.
IF sy-subrc = 0.
Get the file name.
LOOP AT lt_files INTO l_file.
l_file1 = l_file.
MOVE l_file1 TO lp_lfile.
EXIT.
ENDLOOP.
ENDIF.
ENDFORM. " 1200_get_filename_pre
*& Form 1300_get_filename_appl
Routine to get the Application server file path
--> LP_AFILE - File to be opened for application server
FORM 1300_get_filename_appl USING lp_afile TYPE rlgrap-filename.
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = '/apps/opt/taxware/audit/taxaudit'
filemask = '*'
IMPORTING
serverfile = lp_afile
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " 1300_get_filename_appl
*& Form 2000_process_input
READ DATA FROM THE VBRK AND VBRP.
FORM 2000_process_input.
g_date = sy-datum.
g_time = sy-uzeit.
IF p_pre = 'X'. "from Local
PERFORM 2100_upload_loc_data USING gi_auditin_record
p_lfile.
PERFORM 2200_check_type_split. "USING p_afile.
PERFORM 2300_process_records USING gi_auditin_record.
CHANGING gi_auditin_mapping[].
ELSEIF p_app = 'X'.
PERFORM 3100_check_type_split USING gi_audit_lines[]..
PERFORM 3200_open_file USING p_afile.
PERFORM 3300_read_file USING gi_audit_lines
p_afile.
PERFORM 3400__close_file USING p_afile.
ENDIF.
ENDFORM. " 2000_process_input
*& Form 2100_upload_loc_data
FORM 2100_upload_loc_data USING li_audit_lines LIKE gi_auditin_record[]
lp_lfile TYPE rlgrap-filename.
DATA : lv_lfile TYPE string.
lv_lfile = lp_lfile.
IF lp_lfile IS INITIAL.
MESSAGE s140.
LEAVE LIST-PROCESSING.
ENDIF.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lv_lfile
filetype = 'ASC'
TABLES
data_tab = li_audit_lines
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc = 0.
CLEAR : g_msg,g_status.
g_status = 0.
g_msg = text-011.
ELSE.
CLEAR : g_msg,g_status.
g_status = 1.
g_msg = text-025.
Message : UNABLE TO OPEN THE INPUT FILE.
MESSAGE s125 WITH lv_lfile.
STOP.
ENDIF.
ENDFORM. " 2100_UPLOAD_DATA
*& Form 2200_check_type_split
FORM 2200_check_type_split.
DATA : l_tabchar TYPE char1,
l_dummy TYPE string.
l_tabchar = cl_abap_char_utilities=>horizontal_tab.
IF p_tdelmt = 'X'.
g_delimit = l_tabchar.
ELSEIF p_pdelmt = 'X'.
g_delimit = g_pdelimit.
ENDIF.
ENDFORM. " 2200_check_type_split
*& Form 3200_check_type_split
text
-->LI_AUDIT_LItext
FORM 3200_check_type_split USING li_audit_lines LIKE gi_auditin_record[]
DATA : l_tabchar TYPE char01.
l_tabchar = cl_abap_char_utilities=>horizontal_tab.
IF p_tdelmt = 'X'.
g_delimit = l_tabchar.
ELSEIF p_pdelmt = 'X'.
g_delimit = g_pdelimit.
ENDIF.
ENDFORM. " 3200_check_type_split
*& Form 1300_find_table_validate
Routine to Presentation server Loop Process
FORM 2300_process_records USING
li_auditin_record LIKE gi_auditin_record[].
li_auditin_mapping LIKE gi_auditin_mapping[]
DATA : lw_auditin_record LIKE LINE OF gi_auditin_record[],
lw_audit_map LIKE LINE OF gi_auditin_mapping[],
l_data TYPE type_record,
l_cnt TYPE char01,
l_aubel TYPE vbrp-aubel,
l_aupos TYPE vbrp-aupos,
l_matkl TYPE vbap-matkl,
l_zzreg_acct TYPE vbap-zzreg_acct,
l_zzprodcode TYPE zfftaxware2-zzprodcode,
l_ptable TYPE char20.
LOOP AT li_auditin_record INTO lw_auditin_record.
PERFORM 2301_split_record USING lw_auditin_record
CHANGING gi_auditin_mapping[].
APPEND lw_auditin TO li_auditin_mapping.
g_total = g_total + 1.
IF g_total < 1. "the Empty file
CLEAR : g_msg,g_status.
g_status = 1.
g_msg = text-034.
STOP.
ENDIF.
ENDLOOP.
IF g_err_count IS INITIAL. " Success Report
ENDIF.
ENDFORM. " 2300_process_records.
*& Form sub_split_file *
This subroutine is used to split the file *
-->L_DATA *
<--LI_INPUT_FILE[] *
FORM 2301_split_record USING l_data TYPE type_record
li_auditin_mapping LIKE gi_auditin_mapping[].
DATA : lw_auditin TYPE type_auditin_mapping,
lw-grossamt(13) TYPE n, "p decimals 2,
lw-fedtxamt(13) TYPE n, "p decimals 2,
lw-sttxamt(13) TYPE n, "p decimals 2,
lw-countytxamt(13) TYPE n, "p decimals 2,
lw-citytxamt(13) TYPE n, "p decimals 2,
dummy1,dummy2,dummy3,dummy4,dummy5,
dummy6,dummy7,dummy8,dummy9,dummy10,
dummy11,dummy12,dummy13,dummy14,dummy15,
dummy16,dummy17,dummy18,dummy19,dummy20,
dummy21,dummy22,dummy23,dummy24,dummy25,
dummy26,dummy27,dummy28,dummy29,dummy30,
dummy31,dummy32,dummy33,dummy34,dummy35,
dummy36,dummy37,dummy38,dummy39,dummy40,
dummy41,dummy42,dummy43,dummy44,dummy45,
dummy46,dummy47,dummy48,dummy49,dummy50,
dummy51,dummy52,dummy53,dummy54,dummy55,
dummy56,dummy57,dummy58,dummy59,dummy60,
dummy61,dummy62,dummy63,dummy64,dummy65,
dummy66.
SPLIT l_data AT g_delimit INTO lw_auditin-companyid
dummy1
lw_auditin-invno
lw_auditin-invitemno
lw_auditin-invdate
dummy2 dummy3 dummy4 dummy5 dummy6
dummy7 dummy8 dummy9 dummy10 dummy11
lw-grossamt
lw_auditin-grossamt
dummy12 dummy13 dummy14 dummy15 dummy16
dummy17 dummy18 dummy19 dummy20
lw_auditin-fedtxamt
lw_auditin-sttxamt
lw_auditin-countytxamt
lw_auditin-citytxamt
lw-fedtxamt
lw-sttxamt
lw-countytxamt
lw-citytxamt
dummy21 dummy22 dummy23 dummy24 dummy25
dummy26 dummy27 dummy28 dummy29 dummy30
dummy31 dummy32 dummy33 dummy34 dummy35
dummy36 dummy37 dummy38 dummy39 dummy40
dummy41 dummy42 dummy43 dummy44 dummy45
dummy46 dummy47 dummy48 dummy49 dummy40
dummy51 dummy52 dummy53 dummy54 dummy55
dummy56 dummy57 dummy58 dummy59 dummy50
dummy61 dummy62 dummy63 dummy64 dummy65
lw_auditin-taxprodcode
lw_auditin-prodcode
dummy66.
lw_auditin-grossamt = lw-grossamt / 100.
lw_auditin-fedtxamt = lw-fedtxamt / 100.
lw_auditin-sttxamt = lw-sttxamt / 100.
lw_auditin-countytxamt = lw-countytxamt / 100.
lw_auditin-citytxamt = lw-citytxamt / 100.
PERFORM 2302_find_prod_code USING lw_auditin
CHANGING li_auditin_mapping.
DATA:l_vbeln TYPE vbrp-vbeln,
l_posnr(6) TYPE n,
l_aubel TYPE vbrp-aubel,
l_aupos TYPE vbrp-aupos,
l_matkl TYPE vbap-matkl,
l_zzreg_acct TYPE vbap-zzreg_acct,
l_zzprodcode TYPE zfftaxware2-zzprodcode,
l_ptable TYPE char20.
l_vbeln = lw_auditin-invno.
l_posnr = lw_auditin-invitemno.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_vbeln
IMPORTING
output = l_vbeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_posnr
IMPORTING
output = l_posnr.
*Find the Document No.
SELECT SINGLE aubel aupos "Sales Doc; Sales Item
INTO (l_aubel, l_aupos)
FROM vbrp "Billing Doc
WHERE vbeln = l_vbeln AND
posnr = l_posnr.
IF sy-subrc = 0.
lw_auditin-sapdoc = l_aubel.
lw_auditin-sapdocline = l_aupos.
SELECT SINGLE matkl zzreg_acct "vbap
INTO (l_matkl, l_zzreg_acct)
FROM vbap
WHERE vbeln = l_aubel AND "Sales Document
posnr = l_aupos. "Sales Item
IF sy-subrc = 0.
lw_auditin-sapmatgrp = l_matkl.
lw_auditin-sapregacct = l_zzreg_acct.
SELECT SINGLE zzprodcode
INTO (l_zzprodcode)
FROM zfftaxware2
WHERE zzreg_acct_grp = l_zzreg_acct(4) AND
zzmtlgrp = l_matkl.
lw_auditin-sapprodcode = l_zzprodcode.
ELSE. "ekpo
SELECT SINGLE matkl zzreg_acct "PO Item
INTO (l_matkl, l_zzreg_acct)
FROM ekpo " invoice verification
WHERE ebeln = l_aubel AND " invoice
ebelp = l_aupos.
IF sy-subrc = 0.
lw_auditin-sapmatgrp = l_matkl.
lw_auditin-sapregacct = l_zzreg_acct.
SELECT SINGLE zzprodcode
INTO (l_zzprodcode)
FROM zfftaxware2
WHERE zzreg_acct_grp = l_zzreg_acct(4) AND
zzmtlgrp = l_matkl.
lw_auditin-sapprodcode = l_zzprodcode.
ELSE.
WRITE: / l_aubel, '/', l_aupos,
' no find in ekpo and vbap table'.
ENDIF.
ENDIF.
ELSE.
lw_auditin-sapdoc = 'not found'.
WRITE: / l_vbeln, '/', l_posnr,
' not found in the vbap table'.
ENDIF.
APPEND lw_auditin TO li_auditin_mapping.
CLEAR: lw_auditin,lw-grossamt,lw-fedtxamt,lw-sttxamt,lw-countytxamt,
lw-citytxamt.
CLEAR: dummy1,dummy2,dummy3,dummy4,dummy5,
dummy6,dummy7,dummy8,dummy9,dummy10,
dummy11,dummy12,dummy13,dummy14,dummy15,
dummy16,dummy17,dummy18,dummy19,dummy20,
dummy21,dummy22,dummy23,dummy24,dummy25,
dummy26,dummy27,dummy28,dummy29,dummy30,
dummy31,dummy32,dummy33,dummy34,dummy35,
dummy36,dummy37,dummy38,dummy39,dummy40,
dummy41,dummy42,dummy43,dummy44,dummy45,
dummy46,dummy47,dummy48,dummy49,dummy50,
dummy51,dummy52,dummy53,dummy54,dummy55,
dummy56,dummy57,dummy58,dummy59,dummy60,
dummy61,dummy62,dummy63,dummy64,dummy65,
dummy66.
ENDFORM. " 2301_split_file
*& Form 2302_find_prod_code
*FORM 2302_find_prod_code USING 2302_auditin
CHANGING 2302_auditin_mapping.
*DATA:l_vbeln TYPE vbrp-vbeln,
l_posnr(6) TYPE n,
l_aubel TYPE vbrp-aubel,
l_aupos TYPE vbrp-aupos,
l_matkl TYPE vbap-matkl,
l_zzreg_acct TYPE vbap-zzreg_acct,
l_zzprodcode TYPE zfftaxware2-zzprodcode,
l_ptable TYPE char20.
l_vbeln = lw_auditin-invno.
l_posnr = lw_auditin-invitemno.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_vbeln
IMPORTING
output = l_vbeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = l_posnr
IMPORTING
output = l_posnr.
**Find the Document No.
SELECT SINGLE aubel aupos "Sales Doc; Sales Item
INTO (l_aubel, l_aupos)
FROM vbrp "Billing Doc
WHERE vbeln = l_vbeln AND
posnr = l_posnr.
IF sy-subrc = 0.
lw_auditin-sapdoc = l_aubel.
lw_auditin-sapdocline = l_aupos.
SELECT SINGLE matkl zzreg_acct "vbap
INTO (l_matkl, l_zzreg_acct)
FROM vbap
WHERE vbeln = l_aubel AND "Sales Document
posnr = l_aupos. "Sales Item
IF sy-subrc = 0.
lw_auditin-sapmatgrp = l_matkl.
lw_auditin-sapregacct = l_zzreg_acct.
SELECT SINGLE zzprodcode
INTO (l_zzprodcode)
FROM zfftaxware2
WHERE zzreg_acct_grp = l_zzreg_acct(4) AND
zzmtlgrp = l_matkl.
lw_auditin-sapprodcode = l_zzprodcode.
ELSE. "ekpo
SELECT SINGLE matkl zzreg_acct "PO Item
INTO (l_matkl, l_zzreg_acct)
FROM ekpo " invoice verification
WHERE ebeln = l_aubel AND " invoice
ebelp = l_aupos.
IF sy-subrc = 0.
lw_auditin-sapmatgrp = l_matkl.
lw_auditin-sapregacct = l_zzreg_acct.
SELECT SINGLE zzprodcode
INTO (l_zzprodcode)
FROM zfftaxware2
WHERE zzreg_acct_grp = l_zzreg_acct(4) AND
zzmtlgrp = l_matkl.
lw_auditin-sapprodcode = l_zzprodcode.
ELSE.
WRITE: / l_aubel, '/', l_aupos,
' no find in ekpo and vbap table'.
ENDIF.
ENDIF.
ELSE.
lw_auditin-sapdoc = 'not found'.
WRITE: / l_vbeln, '/', l_posnr,
' not found in the vbap table'.
ENDIF.
*ENDFORM. "2302_find_prod_code
*& Form 8000_display_report
For displaying the output in the GRID format
-->LI_FINAL
FORM 8000_display_report USING li_auditin_mapping LIKE
gi_auditin_mapping.
PERFORM 8100_fill_fieldcat CHANGING gi_fcat.
PERFORM 8200_fill_event CHANGING gi_event.
PERFORM 8300_fill_listheader.
PERFORM 8400_display_list TABLES li_auditin_mapping
gi_fcat
gi_event.
ENDFORM. " sub_display_report
TOP_OF_PAGE
FORM top_of_page. "#EC CALLED
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = gi_list_header.
ENDFORM. "TOP_OF_PAGE
*& Form 8100_fill_fieldcat
FILLING THE FIELDCATALOUG
<--LI_FCAT
FORM 8100_fill_fieldcat CHANGING li_fcat LIKE gi_fcat.
DATA: lw_fcat TYPE slis_fieldcat_alv.
lw_fcat-fieldname = 'COMPANYID'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-008.
lw_fcat-outputlen = '10'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'INVNO'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-009.
lw_fcat-outputlen = '10'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'INVITEMNO'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-010.
lw_fcat-outputlen = '10'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'INVDATE'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-011.
lw_fcat-outputlen = '10'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'SAPDOC'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-012.
lw_fcat-outputlen = '10'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'SAPDOCLINE'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-013.
lw_fcat-outputlen = '10'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'SAPMATGRP'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-014.
lw_fcat-outputlen = '11'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'SAPREGACCT'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-015.
lw_fcat-outputlen = '12'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'SAPPRODCODE'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-016.
lw_fcat-outputlen = '13'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'TAXPRODCODE'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-017.
lw_fcat-outputlen = '13'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'PRODCODE'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-018.
lw_fcat-outputlen = '12'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'GROSSAMT'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-019.
lw_fcat-outputlen = '13'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'FEDTXAMT'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-020.
lw_fcat-outputlen = '17'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'STTXAMT'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-021.
lw_fcat-outputlen = '17'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'COUNTYTXAMT'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-022.
lw_fcat-outputlen = '17'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
lw_fcat-fieldname = 'CITYTXAMT'.
lw_fcat-tabname = 'gi_auditin_mapping'.
lw_fcat-seltext_m = text-023.
lw_fcat-outputlen = '17'.
APPEND lw_fcat TO li_fcat.
CLEAR lw_fcat.
ENDFORM. " 8100_fill_fieldcat
*& Form 8200_fill_event
FILLING THE EVENT TABLE
<--LI_EVENT
FORM 8200_fill_event CHANGING li_event LIKE gi_event.
DATA : lw_event TYPE slis_alv_event,
c_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = li_event.
READ TABLE li_event WITH KEY name = slis_ev_top_of_page
INTO lw_event.
IF sy-subrc = 0.
MOVE c_formname_top_of_page TO lw_event-form.
APPEND lw_event TO li_event.
ENDIF.
CLEAR lw_event.
ENDFORM. " 8200_fill_event
*& Form 8300_fill_listheaer
FORM 8300_fill_listheader .
DATA lw_line TYPE slis_listheader.
CLEAR lw_line.
lw_line-typ = 'H'.
lw_line-info = text-024.
APPEND lw_line TO gi_list_header.
CLEAR lw_line.
lw_line-typ = 'S'.
lw_line-key = text-025.
lw_line-info = g_total.
APPEND lw_line TO gi_list_header.
CLEAR lw_line.
lw_line-typ = 'S'.
lw_line-key = text-025.
lw_line-info = g_err.
APPEND lw_line TO gi_list_header.
CLEAR : g_total,g_succ,g_err.
ENDFORM. " 8300_fill_listheader
*& Form 8400_display_list
DISPLAYING THE LIST
-->LI_FINAL
-->LI_FCAT
-->LI_EVENT
FORM 8400_display_list TABLES li_final LIKE gi_auditin_mapping
li_fcat LIKE gi_fcat
li_event LIKE gi_event.
DATA :l_repid TYPE sy-repid.
DATA: l_layout TYPE slis_layout_alv.
l_repid = sy-repid.
l_layout-zebra = 'X'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = l_repid
it_fieldcat = li_fcat[]
is_layout = l_layout
it_events = li_event[]
TABLES
t_outtab = li_final
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR : li_fcat[],li_event[],gi_list_header[].
ENDFORM. " 8400_display_list
Similar Messages
-
Hi all/SAP,
in my thread editable ALV - how to throw an error message for a specific line & field I figured out, that the output of a "report_attribute_error_message" in the ON_DATA_CHECK event of an editable ALV does not work, if sorting is active for a column.
Thanks to The specified item was not found. for reproducing this problem.
A similar problem exists, using an aggregation of a column. This will lead to a runtime exception.
I've found no fix in the OSS to this problem.
So is there a way to use sorting together with the output of a "report_attribute_error_message"
or if this is a bug, can/will this be fixed in the (near) future?
Thanks,
AndreasHi,
Yes, it doesnot work with those (RB,CB) UI elements...Have you checked for any note..I have also tried but no luck..
Regards,
Lekha. -
Caller display not worked since June 2014
On 26/06/14 I reported a fault (VOL-**********) that the caller display function had stopped working following a thunderstorm in the area. According to the fault status this fault is showing as being corrected and closed on 02/07/14 when in fact the fault still exists. I tested the line using the BT test socket with a new BT2000 phone and this displayed ‘incoming call’ therefore my internal wiring is not part of the problem. I have also dialled the test code *#234# to check if the caller display service is available and confirmed that it is. I then tested the new BT2000 phone on the neighbour’s telephone line and this showed the caller ID for incoming calls, as did my other telephone as well; therefore none of the telephone handsets are at fault. Three times BT have informed me that the fault has been fixed and yet I still have no caller display. Reading through the forums it would appear that other people have encountered similar issues and that the problem is at the exchange, “An Openreach engineer discovered that the RS232 burst transferring the CLI number up the line was too weak and he then went down to the exchange to investigate. He then discovered that the fault lay in the ADSL device which lies between the analogue exchange equipment and the outgoing line”.
I’m surprised to see that BT are taking so long to trace a fault in their system last raised 5/8/2014 (VOL012-**********) and that they haven’t sent an engineer to the property or to the exchange to check the problem.
My patience is wearing thin over this problem with my Caller Display not working as it started in mid June. I’m also becoming less enthusiastic about BT and find it harder to recommend them to others.
My last message from BT, tells me that it should be back to normal on the 8 August. However, it is still not working. Their message that my phone should be back to normal now and if it isn’t report this to BT, is ridiculous. If an engineer had investigated what was causing the fault and found it, then he would have fixed it. However, either an engineer has not investigated the fault or BT is not competent in fixing their own service faults and makes these statements with crossed fingers?An engineer called yesterday and told me that he had been asked to test the line for a voice fault not a Caller Display fault. However, his testing revealed there is no line fault, CLI signal is strong and he was happy that the new BT2000 phone (bought after the lightning strike) is working properly. (This phone had also been tested on a neighbour’s phone line where it displayed the callers number). He also found that this same BT2000 phone on my line was not displaying the Caller’s number (CLI), but couldn’t offer any reason why.
I conjectured with him that these tests must bring the problem down to a corrupted CLI signal which does not allow the phone to understand the phone number being sent.
When the lightning struck the phone line back in June, it blew the telephone connection in the back of the Sky Box with a flash and bang (telephone cable now removed from the Sky box). It shorted the Openreach Faceplate (now replaced) so that the phones and broadband stopped working and it caused the phone to light up and react as it does when a call comes through.
Now isn’t it possible that the lightning also travelled along the copper wire to the green cabinet just outside the house and damaged something there which is corrupting the CLI signal, but which does not not show up when the voice line is tested? If not, then there must be a problem further back in the infrastructure, possibly in the Exchange, that is causing a corrupted signal to be sent to my phone?
He told me that another team would have to investigate the Caller Display fault as he was instructed to look into a voice issue and as a field engineer he was not able to investigate any problem that might be in the Exchange. I don’t know whether this Exchange Team would be able to investigate a problem in the Cabinet if nothing is found in the Exchange or can that only be done by a field engineer? He told me to contact BT again as he’d done all that he had been instructed to do and they would have to instigate a fault team to further investigate the problem.
When all this is considered we have the basic problem that BT are unable to provide me with a Privacy and Caller Display Service that I have been paying for, because of a fault in their infrastructure. How much longer is it going to take before they correct the problem that’s been going on since June 2014? -
Hi,
I am using Lenovo G510 Laptop. First I was getting an error of bad signature file which was stopping windows from loading.
I tried to fix it. I changed my BIOS Boot mode from UEFI to Legacy, and then system restarted. After the restart Display is totally black, like the Laptop is powered off. Hard disk light is on, battery power light also turns on when I turn on the laptop. But not showing any display. I've also tried by pulling out the battery and then pressing the power button for 30-60 seconds and then turning laptop on direct power. But it ain't working too.
Please any help in this matter will be highly appreciated.
RegardsDear sir,
I gave my laptop to an HP authorized service centre in Ernakulum (Vertex techno solutions Bangalore Pvt ltd, Ernakulum) No: 2550, on 04/12/2014 . Same time i registered my laptop complaint in hp customer support. http://h30434.www3.hp.com/t5/Notebook-Hardware/display-not-working/td-p/4760312, informed me that no complaint to MB and GPU . But service centre informed that complaint in motherboard and asked me to change. When I talk them about the your mail and the details that you provided they suddenly respond they can't repair the laptop at their service center, disconnected the phone. I feel very much disappoint about your authorized customer services. In the mean time I kindly request you to take immediate actions regarding these kind of activities also provide a solution to repair my lap top
Shyju S
Research Fellow -
Thunderbolt display not working on Macbook Pro - previously the display did work
Thunderbolt display not working on Macbook Pro - previously the display did work
I have upgraded ML but when the MBP tries to restart with the upgrade the MBP does not restart so I susapect the ML upgrade is not complete ? When you refer to 10.8.5 supplemental is this a separate upgrade ? When I connect the Thunderbolt to the MBP the Thunderbolt charges my MBP & I can play music from iTunes via the Thunderbolt. It is only the display that is not working on the Thunderbolt
-
Hello Abapers,
I am not getting the desired output as per example.
I have followed all the steps as per the example but still a looser can anyone help me in this.
When I execute the program I get the following run time error
Field symbol has not been assigned.
I tried commenting the subroutine call
1} perform Change_fieldcatalogue and fetch data.
and i was getting the 2 custom container (top, bottom) on the screen output this time.
I have also created a screen 600 with all the attributes.
But i have doubt with this statement
Create a Custom container and name it CCONT and OK code as OK_CODE.
Save check and Activate the screen painter.
I hope on the layout screen the one which says custom control is only the custom container but i see that the fct code box is not highlighted then how can i assign a fctcode.
Could you plz also clear this.
Thanks in advance.
Ranjith Nambiar
Program code below
A small note about this program
*& AS : ALV report which displays the contents of the table T006
*& (as a docking container in the bottom) along with the
*& editable ALV which contains the ALV fieldcatalogue table structure.
*& With the available toolbar options of the editable ALV in the output,
*& user can change the fieldcatalogue as per his requirement.
*& When the user clicks 'SUBMIT',the display of the ALV with table T006
*& gets modified and customised accordingly to the user's requirement.
REPORT ZNRD_ALV_EDITABLE.
* Structure declaration for t006
types : begin of ty_t006.
include structure t006.
types : end of ty_t006.
* Internal table and work area declaration for t006.
data : it_t006 type standard table of ty_t006,
wa_t006 type ty_t006.
* Declaration for ALV
data : ok_code type sy-ucomm, " Ok code.
it_fcat type lvc_t_fcat, " Fieldcatalogue.
it_fieldcat type lvc_t_fcat, " Fieldcatalogue for Fieldcatalogue itself.
it_layout type lvc_s_layo.
*Declaration for toolbar functions
data : it_excl_func type ui_functions,
* Controls to display it_t006 and its fieldcatalogue
cont_dock type ref to cl_gui_docking_container,
cont_alvgd type ref to cl_gui_alv_grid,
* Controls to display fieldcatalogue as editable alv gridand container
cont_cust type ref to cl_gui_custom_container,
cont_editalvgd type ref to cl_gui_alv_grid.
initialization.
start-of-selection.
* Local class definition for data changed in fieldcatalogue alv
CLASS lcl_event_receiver definition.
public section.
methods handle_data_changed
for event data_changed of cl_gui_alv_grid
importing er_data_changed.
endclass. " lcl_event_receiver definition.
* Local class implementation for data changed in fieldcatalogue alv
CLASS lcl_event_receiver implementation.
method handle_data_changed.
endmethod. " handle_data_changed.
endclass. "lcl_event_receiver implementation
* Data declaration for event receiver
data : event_receiver type ref to lcl_event_receiver.
end-of-selection.
* Setting the screen for alv output for table display and changed fieldcatalogue display
set screen 600.
*& Module STATUS_0600 OUTPUT
* text
MODULE STATUS_0600 OUTPUT.
SET PF-STATUS 'STATUS600'.
SET TITLEBAR 'TITLE600'.
* Create ALV grid if doesn't exits.
if cont_dock is initial.
perform Create_alv.
endif.
ENDMODULE. " STATUS_0600 OUTPUT
*& Form Create_alv
* text
* --> p1 text
* <-- p2 text
FORM Create_alv.
* Create a docking container and dock the control at the bottom
create object cont_dock
exporting
dynnr = '600'
extension = 100
side = cl_gui_docking_container=>dock_at_bottom.
* Create ALV grid for displaying the table
create object cont_alvgd
exporting
i_parent = cont_dock.
* Create custom container for ALV
create object cont_cust
exporting
container_name = 'CCONT'.
* Create alv editable grid
create object cont_editalvgd
exporting
i_parent = cont_cust.
* Register events for the editable alv
create object event_receiver.
set handler event_receiver->handle_data_changed for cont_editalvgd.
call method cont_editalvgd->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_modified.
*Building fieldcatalogue for the initial display
perform Build_fieldcatalogue changing it_fcat it_fieldcat.
* Building the fieldcatalogue after the user has changed it
perform Change_fieldcatalogue changing it_fieldcat.
* Fetch data from the table.
perform Fetch_data.
* Get excluding functions for the alv editable tool bar
APPEND cl_gui_alv_grid=>mc_fc_loc_append_row TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_loc_insert_row TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_loc_cut TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sort TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sort_asc TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sort_dsc TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_subtot TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sum TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_graph TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_info TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_print TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_filter TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_views TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_export TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_sum TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_sum TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_paste TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_find TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_loc_copy TO it_excl_func.
*Alv display for the T006 table at the bottom
CALL METHOD cont_alvgd->set_table_for_first_display
CHANGING
it_outtab = it_t006[]
it_fieldcatalog = it_fcat[].
* optimize column width of grid displaying fieldcatalog
it_layout-cwidth_opt = 'X'.
* Get fieldcatalog of table T006 - alv might have
* modified it after passing.
CALL METHOD cont_alvgd->get_frontend_fieldcatalog
IMPORTING
et_fieldcatalog = it_fcat[].
*to Send Buffered Automation Queue to Frontend
CALL METHOD cl_gui_cfw=>flush.
* Display fieldcatalog of table T006 in editable alv grid
CALL METHOD cont_editalvgd->set_table_for_first_display
EXPORTING
is_layout = it_layout
it_toolbar_excluding = it_excl_func
CHANGING
it_outtab = it_fcat[]
it_fieldcatalog = it_fieldcat[].
ENDFORM. " Create_alv
*& Module USER_COMMAND_0600 INPUT
* text
MODULE USER_COMMAND_0600 INPUT.
case ok_code.
when 'SUBMIT'.
* To get the current fieldcatalogue from the front end
call method cont_alvgd->set_frontend_fieldcatalog
exporting
it_fieldcatalog = it_fieldcat.
call method cont_alvgd->refresh_table_display.
call method cl_gui_cfw=>flush.
when 'EXIT'.
leave program.
endcase.
ENDMODULE. " USER_COMMAND_0600 INPUT
*& Form Build_fieldcatalogue
* text
* <--P_IT_FCAT text
* <--P_IT_FIELDCAT text
FORM Build_fieldcatalogue CHANGING P_IT_FCAT
P_IT_FIELDCAT.
* Fieldcatalog for table T006: it_fldcat
* to generate the fields automatically
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'T006'
CHANGING
ct_fieldcat = it_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
* Fieldcatalog for table LVC_T_FCAT:it_fcat
* Generate fieldcatalog of fieldcatalog structure.
* This fieldcatalog is used to display fieldcatalog 'it_fldcat'
* on the top of the screen.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'LVC_S_FCAT'
CHANGING
ct_fieldcat = it_fcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
ENDFORM. " Build_fieldcatalogue
*& Form Change_fieldcatalogue
* After the user has modified the fieldcatalogue we build another fieldcat
* for the modified alv display
* <--P_IT_FIELDCAT text
FORM Change_fieldcatalogue CHANGING P_IT_FIELDCAT.
DATA ls_fcat TYPE lvc_s_fcat.
LOOP AT it_fcat INTO ls_fcat.
ls_fcat-coltext = ls_fcat-fieldname.
ls_fcat-edit = 'X'.
IF ls_fcat-fieldname = 'COL_POS' OR ls_fcat-fieldname = 'FIELDNAME'.
ls_fcat-key = 'X'.
ENDIF.
MODIFY it_fcat FROM ls_fcat.
ENDLOOP.
ENDFORM. " Change_fieldcatalogue
*& Form Fetch_data
* text
* --> p1 text
* <-- p2 text
FORM Fetch_data .
select * from t006 into table it_t006 up to 50 rows.
ENDFORM. " Fetch_datacomment this particular section deals with top container.
CALL METHOD cont_editalvgd->set_table_for_first_display
EXPORTING
is_layout = it_layout
it_toolbar_excluding = it_excl_func
CHANGING
it_outtab = it_fcat[]
it_fieldcatalog = it_fieldcat[].
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'LVC_S_FCAT' "This is deep strucure
CHANGING
ct_fieldcat = it_fcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
LVC_S_FCAT is a deep structure , so try to comment that section and see. if you want that part , populate the fieldcatalog manually. -
Laptop Built In Display and External Display not Working
Hi all, I have a HP Envy M6-1158ca, and recently my Built-in display stopped working. I plugged it into an external display via HDMI and it showed no input. It seems as though the laptop is not booting into Windows either, as usually whenever my laptop boots into windows, the fingerprint scanner blinks letting me know I can now sign in using it. I am extremly frustrated with this, and have an unbelieveable amount of stress because this was my only PC. Please respond as soon as possible, it would be much appreciated.
Thanks in advance.
This question was solved.
View Solution.Yes.. i think thats what might have damaged it...Notebook should always be completely powered off with the battery out and ac adapter disconnected while replacing any internal hardware..
Shouldnt be a BIOS problem....but still you can check this link..
Restoring the BIOS
Note:
If you have HP Support Assistant installed on the computer(The Blue Question Mark) then open it ==> Complete all pending Updates & Tuneups==> Restart and Check. It may solve your problem
Although I am an HP employee, I am speaking for myself and not for HP.
**Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed. -
External Display not working (descriptive details in post)
Hello
Background:
I have been using a black Macbook (last year's model - before the aluminum ones came out) and connecting it to a VIZIO VW22L HDTV10T (television/monitor) via a mini-DVI to VGA adapter.
This setup always worked, although it was a bit finicky (I'd have to plug it in before closing the display to get in to work in clamshell mode, for example). I get the feeling from reading other forum posts that this is the normal case, though (which so far has been my only real gripe with OS X).
Anyway, back a couple months ago I wondered if this finicky-ness was partially caused by a messed-up preference file, so I decided to try and fix this. In the ensuing tweaking, I somehow caused my Display preferences to disappear.
After much effort trying to fix the problem, I eventually called Apple support, which ultimately recommended that I reinstall OS X. I didn't do that, and continued to work at the problem. I eventually was able to bring it back by going into my Time Machine backups and restoring all the Display preference files (I used old preferences from back when I got the external HD, so I knew they'd be "uncorrupted). However, now I'm having problems with my external display, namely that it is not working.
This problem started early this year, so it might have been caused by the 10.5.5 update, but since I had all these other problems going on, I'm not sure if that was the case.
Problem:
The Macbook doesn't seem to recognize the display, or is having problems routing video to the display, or something.
If I plug the display into the Macbook while it is running normally, the Macbook LCD will flash blue (like it picked up a new display), but them come back to normal. The monitor will go out of sleep mode for a second, but then display a "No signal" message. If I attempt to "Detect Displays" the Macbook screen will either flash blue (as before) or just do nothing.
If I have the display plugged in when I start up the Macbook, everything will proceed as normal until the time the desktop would be displayed. Instead of this, I just see a blue screen (like some generic desktop before any background is applied). The menu bar, the dock, and icons do not show up. However, I can hear various audio cues telling me the computer is running fine except for htis problem (email notifier going off, etc.).
I know the problem is not faulty hardware, because when I boot my Macbook into Windows, everything works perfectly. It therefore follows that it is an OS X problem. I downloaded both Cocktail and Applejack and run various repairs on them (most notable repairing preferences), but nothing has changed.
Any suggestions about how to try fixing this? If there's any technical detail I've missed, let me know.
Thank you in advance to everyone who tries to help.
-RichardI have same problem. MacBook Pro (new, 2014) upgraded to Yosemite. Had been running with ViewPoint high-resolution, 27" monitor, HDMI. I tried Thunderbolt connection -- it connected, but it would not allow the external monitor to run at its native resolution (2560x1440). It would only display properly using HDMI. Just 3 days ago after I installed the latest OSx software update, and my external monitor problems started. On startup, my MacBook screen flickers non-stop. I can fix problem eventually (after several tries) by disconnecting the HDMI cable, turning OFF the external monitor power, turning external monitor back ON and then plugging in the HDMI to my MacBook Pro. This is very inconvenient.
I will try using the Thunderbolt cable. When I tried it in the past, it connected, but it wouldn't display the native resolution of my external monitor (which is 2560x1440). Can only get this resolution now with HDMI. -
ALV Filter : Not working for a text field - Strange problem
Dear All,
I have a Z-program where the ALV filter is not working on a particular text field.
The output on that text field is as below :
ABCD
JKLM
YYZZ
ABCD
JKLM
ABCD
JKLM
YYZZ
YYZZ
When we try to filter on YYZZ, it gives blank list. But for other options given abobe it works fine.
I know it is because of the negative sign , but how can we over come this problem ?
Thanks in advance,
Sandip.Hi Sandip,
Use 'LOWERCASE' in the fieldcatalog.
For the particular text field when you are appending the Fieldcatalog structure to the Fieldcatalog Table
( Suppose LS_FIELDCAT)
Then check the LOWERCASE field.
(LS_FIELDCAT-LOWERCASE = 'X' )
This will serve the purpose.
Regards,
Sourav -
MiniSAP 6.20: ALV tree not working in background
Good day!
SAP provides a sample ALV tree program, BCALV_TREE_DEMO, which could be submitted in the background.
However, it does not work in MiniSAP 6.20. It's kind of bizarre as it works in our Test system.
Does anyone has any idea what's happening.Good day!
The ALV tree report is submitted in the background.
By right, it should produce an ALV tree report in the print spool.
However, it does not seem to work. I checked the program and found there is a logic to check whether it's a background job or not. If it is, it would not create the container.
It's bizarre that it does not work in MiniSAP 6.20 but it works in 6.10 -
FaceTime HD Camera (Display) not working with most applications
The Thunderbolt 27" LED Cinema displays built in camera is not working with most applications. The camera does not work with FaceTime, iChat, Skype and Google Talk. FaceTime says "There is no connected camera", even though there is. Weird thing is it DOES work at http://www.testmycam.com. I can't get it to work with any other flash based apps, just testmycam.com.
My MacBook Pro 17" (late 2011) built in camera works perfectly with everything.
Things I've already tried:
- Shutdown
- Restart
- disconnect/reconnect
- removing power from display
lame, lame, lame. $1k monitor, flippin' webcam doesn't work.I think I have found the problem. I decided to go page by page through the forums and found this argument when running a Java program through the console:
-Dsun.java2d.noddraw=true
So it would be like:
java -Dsun.java2d.noddraw=true SwingSet2
That works flawlessly, so it has to do with direct draw (So it's either DirectX or my video card drivers which are up to date). -
Macbook (Late 2007) External Display Not Working
I have an acer x243hq 1920x1080 external monitor which works with my Xbox 360 (vga cable) and my friends macbook (early 2008) but not my macbook
when plugging the external monitor into my macbook using the minidvi to dvi adapter the macbook screen goes light blue and flashes continuously until i remove the cable, the external monitor is just black (does NOT display "no signal") when the cable is removed the cpu seems to have been running at 100%.
i have tried using my friends macbook hard drive in my macbook and the problem is still there therefore the problem must be hardware related?
i have all current updates
Thanks for any replys on how i can fix thisHave you downloaded the Mac OS X (10.5.4) Combo Update? I posted my problem, very similar to yours, and in researching it I found it at: http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1054comboupdate .html. It might just be what you need!
My problem is that I am running 10.5.7, which I blame for my external display not acting like it did when I was on 10.5.6! One expert at Apple Support told me to erase my HDD, reinstall Tiger, upgrade to Leopard again, but only to 10.5.6! Has anyone any idea as to when 10.5.8 is due out? Is there a Beta? -
New Apple ipad air display not working,please help?
Please can anyone offer help? Week old ipad air display has stopped working after app froze and son double tapped home button to shut app down.Thank you in advance for any offers.
If you are editing/testing in the Flash editor, the html end of things is nothing to be concerned about at this stage, and will likely take care of itself when it comes time.
So you run the file in Flash and do not get any error messages? Then place a trace command inside the button's event handler function to see if the button is communicating with it....
function b_1ClickHandler(e:MouseEvent)
trace("button works");
navigateToURL(new URLRequest("http://www.MYURL.com/.html"),"_self");
Also, I'm just noticing you don't have an actual file named in the url, so in case the "not working" is that you can't get the desired page to show, that may be the cause. Normally I would suggest testing url links online rather than in Flash because it's iffy to try to get the web involved with the editor at times. -
23" Cinema Display not working. Please help!!!!
I recently purchased a dual 2gHz MacPro Tower and a 23" HD cinema display (both factory refurbished by Apple). Everything worked flawlessly. Then...
I was away from my computer for about a week, during which time both the computer and the monitor were powered down the entire time.
Now my CPU boots fine, and I can hear it responding (when I raise and lower the volume, etc.) but the ACD won't fire up at all. The light on the front isn't blinking or anything, and I'm just wondering if there's anything I can do (I've already reset pram, replugged everything in, restarted several times, etc).
I've also done the ULTRA obvious stuff like brightening my display (which does nothing). I don't know how a less-than-a-month factory refurb that's been off for a week could go kaflooey, but any advice is greatly appreciated.I'm having a similar problem although it may be USB related. It started with my 2 year old 23" display not waking up when it and the computer (3 month old 15" Mac Book Pro) were asleep overnight. The first two nights this happened I'd restart everything and it'd all be fine. The next couple nights I noticed that if I just unplugged the USB cable from the display into the computer, it would all wake up and function just fine. Today (the 4th day or so, and the day I finally have time to research what the problem might be) the display won't start up at all. There is no indicator light (and never has been in these situations) on the ACD. According to my Display menu bar and my system profiler, my computer definitely recognizes that the monitor is attached (although this was not true the first time the ACD acted up). My mouse also acts as thought the ACD is online... I have now adjusted brightness, and unplugged absolutely everything and replugged it all into a different power source. Still no go... Haven't had a chance to buy a new brick, not really sure that'd work for me... any ideas?
If it were the brick- based on what I've seen on the back of my ACD, it doesn't even look like you can disconnect the cord?
and just a side note... in exploring this problem i noticed that you can choose what the power buttom on the ACD actually controls in the Options menu of the Display System Preferences... is this only for older OS's? because my display preferences has absolutely no Options menu in it...
Thanks. -
LCD display not working (blank screen)
One day old 15" G4 (the latest model). No major changes to configuration; only basic software installed (Adium, Messenger, Firefox, Remote Desktop).
The LCD display stopped working during normal operation (web browsing) and I assumed it was a power management issue (I was running on a low battery). I unplugged all devices, plugged it in and rebooted (per instruction manual); same issue.
Since then, I've zapped the PRAM, booted with "R", reset the NVRAM, and reset the PMU. I also tried loading the setup CD with the "Option" to get the hardware check; this may have given me helpful data but I can't see the display so I'm not sure (read: display doesn't work even when booting from CD).
External monitors work fine still. The Mac boots and everything loads perfectly. I can adjust the screen brightness on the LCD using the F1 and F2 keys; the display responds by varying the backlight but it is not rending the GUI; it remains black (or dark gray, really).
I'm experienced with computers but this is my first time working on a Mac, so I'm completely unfamiliar with how to troubleshoot these things. Any help you can provide is greatly appreciated.Hi
This is exactly what has happend to my PowerBook a few days ago. Its only just out of warranty too. Man I wish I bought Apple care!!!!!!
PLEASE, PLEASE, PLEASE, could you tell me what it was? Was it the inverter? I'm miles away from an Apple store (yes I know I live in the UK and its a small island, but its still miles) and woulf like to try and resolve it myself.
Works fine on an external LCD. Tried everything!
May get my screwdriver out.
Powerbook G4 1.5 Mac OS X (10.4.3)
Maybe you are looking for
-
Very urgent purchase requisition workflow
Hi, I have been asked to develop a pr workflow,here i have to capture the tracking number along with the pr no and based on the trancking number it should go to the respective department person to release it.How can I do it. Regards, Latha prabhu.
-
Hello all, We are using SAP HR activesync as the authorative source. Some time ago something happened and we began getting an error. This is actually a really serious error. The error is java.lang.ArrayIndexOutOfBoundsException: 973. Apparently for s
-
Manual posting for returnable packaging ( RL11)
Hi Iam supplier of OEM I have created returnable packaging account with following details Location - My plant Exchange partne - OEM (sold to party) In relationship -- Main -- Type plant Location plant number / Exchange partner---- type customer - so
-
TypeError: Error #1006: when rearranging array of objects
I have an array of objects, which I call in a loop thus: myObjectArray[index].method() However, when I splice one object from the array and put it at the front via unshift, it no longer understands the method call and spouts a Type Error#1006 :value
-
I have pressed an old G3 iMac (which was simply gathering dust) into service as a server for a small business. This Mac serves an intranet site as well as access to files which people in this business can share and modify either while in the office i