Blank screen when Back on ALV report
Hello All,
I have written an ALV report and when I click BACK on the output list, instead of taking me back to selection screen it is giving a blank screen, and again clicking BACK is giving me selection screen.
ALV output -->> BACK --> Blank screen --> BACK --> Selection screen
I am unable to trace out why this is happenning. I want behavour as it dies for other alv report.
ALV output --> BACK --> Selection Screen.
Any suggestions are highly appreciated.
Thanks-
I am using a FM, its a straight forward ALV report,
Getting data from different tables in to final output internal table, calling a function module to display ALV.
h_repid = sy-repid.
h_variant-report = h_repid.
t_slis_layout_alv-zebra = 'X'.
t_slis_layout_alv-colwidth_optimize = 'X'.
PERFORM get_fieldcat_summary.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = h_repid
is_layout = t_slis_layout_alv
it_fieldcat = t_fieldcat1[]
i_save = 'A'
is_variant = h_variant
TABLES
t_outtab = it_main[]
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.
Thanks-
Similar Messages
-
I had to erase my hard drive and then reinstall everything back from my passport external hard drive. Now my iPhoto edit is not working. I get a blank screen when I want to edit. The photos show up in the library but I cannot edit them. Help?
There are several possible causes for the Black Screen issue
*1. Permissions in the Library* : Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
*2. Minor Database corruption*: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
*3. A Damaged Photo*: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
*4. A corrupted iPhoto Cache*: Trash the com.apple.iPhoto folder from HD/Users/Your Name/Library/ Caches...
*5. A corrupted preference file*: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
If none of these help:
As a Test:
Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
Import a few pics into this new, blank library. Is the Problem repeated there?
Regards
TD -
Supress Background Print parameters when user executes ALV report by F9
Hi friends,
How can we Supress Background Print parameters pop-up, when user executes ALV report by F9
or by navigation from selection screen -i.e; Program ->>Execute in Background.
Please guide me
Thanks in Advance,
GaneshSorry,
i need to supress the POP-UP which asks for background Print Parameters in the ALV report. when i press F9 in a selection - screen of a Tcode
as we supress Pop-up for a smartform or script by passing the Print Parameters
This 'RS_SET_SELSCREEN_STATUS' excludes the commands(say F9 function code) in report
I think we need to set the Print paramters in the Program
please guide me
Thanks,
Ganesh -
My macbook pro shows blank screen when I started..help me..
My macbook pro shows blank screen when I started . (It's like in same state when power off. ) fan sound and hard disk is running. So i connected it Through external monitor via mini display to VGA cable. I can see everything on external monitor. My display of Mac needs to change? How much it cost ?? I found so many forum discussion said that if nvedia card is faulty then its happen...let me know suggestions...I given it to apple care service station n they r telling yr display needs to change its cost me a lot.. I can't afford. And can't spend that much for 3 yr old version as new versions of macbook pro is cost vice reasonable.. can I have any suggestion?
If running 10.7 or later hold down Command-R at Startup.
This should invoke recovery Mode.
Choose Disk Utility.
Select your Hard drive. Inspect the SMART Status in the lower right of the window for "Verified".
Select the Mac OS X Volume (originally Macintosh HD) click (Repair Disk)
If errors, run again until it comes clean or gets stuck.
Report any error messages. -
My email isn't working on my ipad I just get a blank screen when I tap on mail
My e-mail isn't working on my iPad2 I just get a blank screen when I tap the mail icon. I had e-mail for the first 2 days I had my iPad then it disappeared I don't know what happened.
try to quit the mail application in the multitasking feature. if this does not work try to reset the device manualy by pressing the home and power button until it powers off and restarts with the apple logo.
-
HT204088 I get a blank screen when I click on iTunes app on my ipad2
I get a blank screen when I click on iTunes app on my iPad how can I rectify?
SOLVED! I also received "Loading" message when I clicked on Apps store.
Go to Settings, General - ensure Restrictions are Enabled.
Also in settings, General Reset Network Settings.
You you then see Apple logo for a few moments.
Go to Settings, turn on wifi (you will need you network pass code) -
Outlook mail being received but blank screen when I open the app
Outlook mail being received but blank screen when I open the app
This seems to be going on around here for a couple of days. I have seen several discussions about the mail app opening to a bank screen with different variations and issues after the blank screen appears. I wish I could say that my suggestion is the definitive fix, but I can't. Give it a try anyway and see what happens.
Close the mail app completely and reset your iPad. Not data will be lost.
In order to close the mail app, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the mail app then swipe "up" on the app preview thumbnail to close it.
Next, reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up. -
Can't open a file,just goes to a blank screen then back to desk top, how do I fix this?
What system?
What version of PageMaker?
Can you open the PageMaker app ok?
If so, what happens if you then use File > Open? (Not double click) -
I'm getting a blank screen when trying to connect to my App Store.how can I fix this ?
I'm getting a blank screen when trying to connect to my App Store.how can I fix this?
I got this error after upgrading to new version. After searching these pages for an answer and not finding a usable one, I simply quit and re-opened iTunes, and... voila! Problem solved!
-
Ipad 3rd gen shows blank screen when connecting to projector via HDMI AV adapter. I have an ipad 2 that works perfectly. Projector is a Dukane ImagePro 8106HA. Only difference I see is that the ipad 3 owner has not updated to IOS 6. Any thoughts?
Ipad 3rd gen shows blank screen when connecting to projector via HDMI AV adapter. I have an ipad 2 that works perfectly. Projector is a Dukane ImagePro 8106HA. Only difference I see is that the ipad 3 owner has not updated to IOS 6. Any thoughts?
-
When 'PRINT' in ALV report using FM
Hi
I am getting an error when trying to execute and print option in the selection screen. my client system version is 4.6C
in the dump the error at :
I am using FM at my report.
set_auto_redraw(cl_gui_alf_grid_base)
can you provide code for when 'PRINT' rs_selfild (dynamic form) for resue*grid_display
ThanksHi Dana,
This thread answers ur question..
alv REPORT PRINTING
cheers,
Prashanth
P.S Please mark helpful answers -
Can I get a blank screen when playing music
iPod Touch running iOS 6.1.5: when I am playing a song, I used to see the information about the song at the top, a "progress" indicator, a large blank area, and then the controls at the bottom. Now, the middle section has a note symbol in it.
I believe that the center section would normally show the album art, but I have been carefully getting rid of that because I don't want to see it either. Is there a way to get back to a totally blank screen again?
-- GuerriI have iOS 6.1.5. I just updated my iPod to that version on January 3. I updated via iTunes and don't recall getting an option to choose a version.
Is there now an even newer version?
-- Guerri -
S.screen and abap oo--alv report
i see all the example here but there is not s.screen before whyyy???
there is an example with s.screenHi,
this is example for S.Screen. in OO alv.
below is the Code.
and I am specifying variants on s.screen
Material ............ 100-100 to 100-200
Plant................ 1000 to 2000
BOM Usage............ 1 to 1
BOM status........... 01 to 01
BOM category........ D to P
* T Y P E S *
TYPES:
* Material Data
BEGIN OF type_mast,
matnr LIKE mast-matnr, " Material Number
werks LIKE mast-werks, " Plant
stlan LIKE mast-stlan, " BOM Usage
stlnr LIKE mast-stlnr, " Bill of material
stlal LIKE mast-stlal, " Alternative BOM
END OF type_mast,
* Material Description Data
BEGIN OF type_makt,
matnr LIKE makt-matnr, " Material Number
maktx LIKE makt-maktx, " Material Description
END OF type_makt,
* BOM Header Data
BEGIN OF type_stko,
stlty LIKE stko-stlty, " BOM category
stlnr LIKE stko-stlnr, " Bill of material
stlal LIKE stko-stlal, " Alternative BOM
datuv LIKE stko-datuv, " Valid-From Date
bmeng LIKE stko-bmeng, " Base Quantity
stktx LIKE stko-stktx, " Alternative BOM Text
stlst LIKE stko-stlst, " BOM status
END OF type_stko,
* BOM Text Data
BEGIN OF type_stzu,
stlty LIKE stzu-stlty, " BOM category
stlnr LIKE stzu-stlnr, " Bill of material
ztext LIKE stzu-ztext, " BOM text
END OF type_stzu,
* BOM Item Data
BEGIN OF type_stpo,
stlty LIKE stpo-stlty, " BOM category
stlnr LIKE stpo-stlnr, " Bill of material
idnrk LIKE stpo-idnrk, " BOM component
postp LIKE stpo-postp, " Item Category(BOM)
posnr LIKE stpo-posnr, " BOM Item Number
menge LIKE stpo-menge, " Component quantity
END OF type_stpo,
* Output Data
BEGIN OF type_output,
werks LIKE mast-werks, " Plant
matnr LIKE mast-matnr, " Material Number
maktx LIKE makt-maktx, " Material Description
stlnr LIKE mast-stlnr, " Bill of material
stlan LIKE mast-stlan, " BOM Usage
stlal LIKE mast-stlal, " Alternative BOM
stlty LIKE stko-stlty, " BOM category
datuv LIKE stko-datuv, " Valid-From Date
bmeng LIKE stko-bmeng, " Base Quantity
stktx LIKE stko-stktx, " Alternative BOM Text
stlst LIKE stko-stlst, " BOM status
idnrk LIKE stpo-idnrk, " BOM component
postp LIKE stpo-postp, " Item Category(BOM)
posnr LIKE stpo-posnr, " BOM Item Number
menge LIKE stpo-menge, " Component quantity
ztext LIKE stzu-ztext, " BOM text
END OF type_output.
* D A T A *
DATA:
w_matnr TYPE mara-matnr, " Material Number
w_werks TYPE mast-werks, " Plant
w_stlan TYPE mast-stlan, " BOM Usage
w_stlst TYPE stko-stlst, " BOM status
w_stlty TYPE stko-stlty, " BOM category
w_container TYPE REF TO cl_gui_custom_container,
w_alv_grid TYPE REF TO cl_gui_alv_grid,
ok_code LIKE sy-ucomm.
* I N T E R N A L T A B L E S *
DATA:
* Material Data
i_mast TYPE STANDARD TABLE OF type_mast,
wa_mast TYPE type_mast,
* Material Description Data
i_makt TYPE STANDARD TABLE OF type_makt,
wa_makt TYPE type_makt,
* BOM Header Data
i_stko TYPE STANDARD TABLE OF type_stko,
wa_stko TYPE type_stko,
* BOM Text Data
i_stzu TYPE STANDARD TABLE OF type_stzu,
wa_stzu TYPE type_stzu,
* BOM Item Data
i_stpo TYPE STANDARD TABLE OF type_stpo,
wa_stpo TYPE type_stpo,
* Output table
i_output TYPE STANDARD TABLE OF type_output,
wa_output TYPE type_output,
* Field Catalog table
it_fcat TYPE lvc_t_fcat, " Internal table for field catal
wa_fcat TYPE lvc_s_fcat. " Work area for field catalog
* S E L E C T I O N S C R E E N *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-ss1.
SELECT-OPTIONS:
s_matnr FOR w_matnr, " Material Number
s_werks FOR w_werks OBLIGATORY," Plant
s_stlan FOR w_stlan, " BOM Usage
s_stlst FOR w_stlst, " BOM status
s_stlty FOR w_stlty. " BOM category
SELECTION-SCREEN END OF BLOCK b1.
* A T S E L E C T I O N S C R E E N *
AT SELECTION-SCREEN.
PERFORM f010_validate_material.
PERFORM f020_validate_plant.
PERFORM f030_validate_bom_usage.
PERFORM f040_validate_bom_status.
PERFORM f050_validate_bom_category.
* S T A R T O F S E L E C T I O N *
START-OF-SELECTION .
PERFORM f210_fetch_bom_link_data.
PERFORM f220_fetch_material_des_data.
PERFORM f230_fetch_bom_header_data.
PERFORM f240_fetch_bom_text.
PERFORM f250_fetch_bom_item_data.
* E N D O F S E L E C T I O N *
END-OF-SELECTION.
PERFORM f600_populate_data.
PERFORM f650_field_catlog.
CALL SCREEN 100.
*& Form f010_validate_material *
* --Validate Material *
FORM f010_validate_material .
* Validate Material
IF s_matnr IS NOT INITIAL.
SELECT matnr
INTO w_matnr
FROM mara
UP TO 1 ROWS
WHERE matnr IN s_matnr.
ENDSELECT.
CHECK sy-subrc NE 0.
SET CURSOR FIELD 'S_MATNR'.
MESSAGE e210. " Invalid Material
ENDIF. " IF s_matnr IS NOT INITIAL.
ENDFORM. " f010_validate_material
*& Form f020_validate_plant *
* - Validate Plant *
FORM f020_validate_plant .
* Validate Plant
SELECT werks
INTO w_werks
FROM t001w
UP TO 1 ROWS
WHERE werks IN s_werks.
ENDSELECT.
CHECK sy-subrc NE 0.
SET CURSOR FIELD 'S_WERKS'.
MESSAGE e220. " Invalid Plant
ENDFORM. " f020_validate_plant
*& Form f030_validate_BOM_usage *
* -Validate BOM Usage *
FORM f030_validate_bom_usage .
* Validate BOM Usage
IF s_stlan IS NOT INITIAL.
SELECT stlan
INTO w_stlan
FROM t416
UP TO 1 ROWS
WHERE stlan IN s_stlan.
ENDSELECT.
CHECK sy-subrc NE 0.
SET CURSOR FIELD 'S_STLAN'.
MESSAGE e230. " Invalid BOM Usage
ENDIF. " IF s_stlan IS NOT INITIAL.
ENDFORM. " f030_validate_BOM_usage
*& Form f040_validate_BOM_status
* - Validate BOM Status
FORM f040_validate_bom_status .
* Validate BOM Status
IF s_stlst IS NOT INITIAL.
SELECT stlst
INTO w_stlst
FROM t415s
UP TO 1 ROWS
WHERE stlst IN s_stlst.
ENDSELECT.
CHECK sy-subrc NE 0.
SET CURSOR FIELD 'S_STLST'.
MESSAGE e240. " Invalid BOM Status
ENDIF. " IF s_stlst IS NOT INITIAL
ENDFORM. " f040_validate_BOM_status
*& Form f050_validate_BOM_category *
* -Validate BOM Category *
FORM f050_validate_bom_category .
* Validate BOM Category
IF s_stlty IS NOT INITIAL.
SELECT stlty
INTO w_stlty
FROM stko
UP TO 1 ROWS
WHERE stlty IN s_stlty.
ENDSELECT.
CHECK sy-subrc NE 0.
SET CURSOR FIELD 'S_STLTY'.
MESSAGE e250. " Invalid BOM Category
ENDIF. " IF s_stlty IS NOT INITIAL.
ENDFORM. " f050_validate_BOM_category
*& Form f210_fetch_bom_link_data *
* - Fetch Material BOM Link data *
FORM f210_fetch_bom_link_data .
* Fetch Material BOM Link data
SELECT matnr " Material Number
werks " Plant
stlan " BOM Usage
stlnr " Bill of material
stlal " Alternative BOM
INTO TABLE i_mast
FROM mast
WHERE matnr IN s_matnr
AND werks IN s_werks.
IF sy-subrc NE 0.
MESSAGE s200. " No Data Found
ENDIF. " IF sy-subrc NE 0.
SORT i_mast BY matnr werks.
ENDFORM. " f200_fetch_bom_link_data
*& Form f220_fetch_material_des_data *
* -Fetch Material Description data *
FORM f220_fetch_material_des_data .
SELECT matnr
maktx
INTO TABLE i_makt
FROM makt
FOR ALL ENTRIES IN i_mast
WHERE matnr EQ i_mast-matnr.
IF sy-subrc NE 0.
MESSAGE s200. " No Data Found
ENDIF. " IF sy-subrc NE 0.
SORT i_makt BY matnr.
ENDFORM. " f200_fetch_material_des_data
*& Form f230_fetch_bom_header_data *
* - Fetch BOM Header data *
FORM f230_fetch_bom_header_data .
* Fetch BOM Header data
SELECT stlty " BOM category
stlnr " Bill of material
stlal " Alternative BOM
datuv " Valid-From Date
bmeng " Base Quantity
stktx " Alternative BOM Text
stlst " BOM status
INTO TABLE i_stko
FROM stko
FOR ALL ENTRIES IN i_mast
WHERE stlnr EQ i_mast-stlnr
AND stlty IN s_stlty
AND stlst IN s_stlst.
IF sy-subrc NE 0.
MESSAGE s200. " No Data Found
ENDIF. " IF sy-subrc NE 0.
SORT i_stko BY stlty stlst.
ENDFORM. " f200_fetch_bom_header_data
*& Form f240_fetch_bom_text *
* - Fetch BOM text Data *
FORM f240_fetch_bom_text .
* DATA:
* i_stko_temp LIKE TABLE OF wa_stko.
* i_stko_temp = i_stko.
* SORT i_stko_temp BY stlty stlnr.
* DELETE ADJACENT DUPLICATES FROM i_stko_temp
* COMPARING stlty stlnr.
* SELECT stlty " BOM category
* stlnr " Bill of material
* ztext " BOM text
* INTO TABLE i_stzu
* FROM stzu
* FOR ALL ENTRIES IN i_stko_temp
* WHERE stlty EQ i_stko_temp-stlty
* AND stlnr EQ i_stko_temp-stlnr.
* DATA:
* i_stzu_temp LIKE TABLE OF wa_stzu.
SELECT stlty " BOM category
stlnr " Bill of material
ztext " BOM text
INTO TABLE i_stzu
FROM stzu
FOR ALL ENTRIES IN i_stko
WHERE stlty EQ i_stko-stlty
AND stlnr EQ i_stko-stlnr.
IF sy-subrc NE 0.
MESSAGE s200. " No Data Found
ENDIF. " IF sy-subrc NE 0.
ENDFORM. " f200_fetch_bom_text
*& Form f250_fetch_bom_item_data *
* - Fetch BOM Item data *
FORM f250_fetch_bom_item_data .
* Fetch BOM Header data
SELECT stlty " BOM category
stlnr " Bill of material
idnrk " BOM component
postp " Item Category(BOM)
posnr " BOM Item Number
menge " Component quantity
INTO TABLE i_stpo
FROM stpo
FOR ALL ENTRIES IN i_stko
WHERE stlty EQ i_stko-stlty
AND stlnr EQ i_stko-stlnr.
IF sy-subrc NE 0.
MESSAGE s200. " No Data Found
ENDIF. " IF sy-subrc NE 0.
ENDFORM. " f200_fetch_bom_item_data
*& Form f600_populate_data *
* - Displaying the data *
FORM f600_populate_data .
* SORT i_stko.
* SORT i_mast.
* DELETE ADJACENT DUPLICATES FROM i_mast.
LOOP AT i_stpo INTO wa_stpo.
CLEAR wa_output.
READ TABLE i_stko INTO wa_stko WITH KEY stlnr = wa_stpo-stlnr
stlty = wa_stpo-stlty
BINARY SEARCH.
* CHECK sy-subrc eq 0.
READ TABLE i_stzu INTO wa_stzu WITH KEY stlnr = wa_stko-stlnr
stlty = wa_stko-stlty
BINARY SEARCH.
* CHECK sy-subrc Eq 0.
READ TABLE i_mast INTO wa_mast WITH KEY stlnr = wa_stko-stlnr
BINARY SEARCH.
* CHECK sy-subrc Eq 0.
READ TABLE i_makt INTO wa_makt WITH KEY matnr = wa_mast-matnr
BINARY SEARCH.
* CHECK sy-subrc Eq 0.
MOVE:
wa_stpo-idnrk TO wa_output-idnrk,
wa_stpo-postp TO wa_output-postp,
wa_stpo-posnr TO wa_output-posnr,
wa_stpo-menge TO wa_output-menge,
wa_stko-stlty TO wa_output-stlty,
wa_stko-datuv TO wa_output-datuv,
wa_stko-bmeng TO wa_output-bmeng,
wa_stko-stktx TO wa_output-stktx,
wa_stko-stlst TO wa_output-stlst,
wa_stzu-ztext TO wa_output-ztext,
wa_mast-werks TO wa_output-werks,
wa_mast-matnr TO wa_output-matnr,
wa_makt-maktx TO wa_output-maktx,
wa_mast-stlnr TO wa_output-stlnr,
wa_mast-stlan TO wa_output-stlan,
wa_mast-stlal TO wa_output-stlal.
APPEND wa_output TO i_output.
ENDLOOP. " LOOP AT i_stpo
ENDFORM. " f600_display_data
*& Form f650_field_catlog *
* -Fill Field Catalog *
FORM f650_field_catlog .
wa_fcat-fieldname = 'WERKS'.
wa_fcat-ref_table = 'MAST'.
wa_fcat-ref_field = 'WERKS'.
wa_fcat-col_pos = 1.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'MATNR'.
wa_fcat-ref_table = 'MAST'.
wa_fcat-ref_field = 'MATNR'.
wa_fcat-col_pos = 2.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'MAKTX'.
wa_fcat-ref_table = 'MAKT'.
wa_fcat-ref_field = 'MAKTX'.
wa_fcat-col_pos = 3.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'STLTY'.
wa_fcat-ref_table = 'STKO'.
wa_fcat-ref_field = 'STLTY'.
wa_fcat-col_pos = 4.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'STLAN'.
wa_fcat-ref_table = 'MAST'.
wa_fcat-ref_field = 'STLAN'.
wa_fcat-col_pos = 5.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'STLNR'.
wa_fcat-ref_table = 'MAST'.
wa_fcat-ref_field = 'STLNR'.
wa_fcat-col_pos = 6.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'STLAL'.
wa_fcat-ref_table = 'MAST'.
wa_fcat-ref_field = 'STLAL'.
wa_fcat-col_pos = 7.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'STKTX'.
wa_fcat-ref_table = 'STKO'.
wa_fcat-ref_field = 'STKTX'.
wa_fcat-col_pos = 8.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'DATUV'.
wa_fcat-ref_table = 'STKO'.
wa_fcat-ref_field = 'DATUV'.
wa_fcat-col_pos = 9.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'BMENG'.
wa_fcat-ref_table = 'STKO'.
wa_fcat-ref_field = 'BMENG'.
wa_fcat-col_pos = 10.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'STLST'.
wa_fcat-ref_table = 'STKO'.
wa_fcat-ref_field = 'STLST'.
wa_fcat-col_pos = 11.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'IDNRK'.
wa_fcat-ref_table = 'STPO'.
wa_fcat-ref_field = 'IDNRK'.
wa_fcat-col_pos = 12.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'POSTP'.
wa_fcat-ref_table = 'STPO'.
wa_fcat-ref_field = 'POSTP'.
wa_fcat-col_pos = 13.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'POSNR'.
wa_fcat-ref_table = 'STPO'.
wa_fcat-ref_field = 'POSNR'.
wa_fcat-col_pos = 14.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'MENGE'.
wa_fcat-ref_table = 'STPO'.
wa_fcat-ref_field = 'MENGE'.
wa_fcat-col_pos = 15.
APPEND wa_fcat TO it_fcat.
wa_fcat-fieldname = 'ZTEXT'.
wa_fcat-ref_table = 'STZU'.
wa_fcat-ref_field = 'ZTEXT'.
wa_fcat-col_pos = 16.
APPEND wa_fcat TO it_fcat.
ENDFORM. " f650_field_catlog
*& Module STATUS_0100 OUTPUT *
* -Calling Function Module *
MODULE status_0100 OUTPUT.
SET PF-STATUS 'BACK'.
* SET TITLEBAR 'xxx'.
IF w_container IS INITIAL.
* IF cl_gui_alv_grid=>offline( ) IS INITIAL.
CREATE OBJECT w_container
EXPORTING
* PARENT =
container_name = 'CUSTOM'
* STYLE =
* LIFETIME = lifetime_default
* REPID =
* DYNNR =
* NO_AUTODEF_PROGID_DYNNR =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. " IF sy-subrc <> 0.
ENDIF.
CREATE OBJECT w_alv_grid
EXPORTING
* I_SHELLSTYLE = 0
* I_LIFETIME =
i_parent = w_container
* I_APPL_EVENTS = space
* I_PARENTDBG =
* I_APPLOGPARENT =
* I_GRAPHICSPARENT =
* I_NAME =
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. " IF sy-subrc <> 0.
* ENDIF.
CALL METHOD w_alv_grid->set_table_for_first_display
* EXPORTING
* I_BUFFER_ACTIVE =
* I_BYPASSING_BUFFER =
* I_CONSISTENCY_CHECK =
* i_structure_name = 'WA_OUTPUT'
* IS_VARIANT =
* I_SAVE =
* I_DEFAULT = 'X'
* IS_LAYOUT =
* IS_PRINT =
* IT_SPECIAL_GROUPS =
* IT_TOOLBAR_EXCLUDING =
* IT_HYPERLINK =
* IT_ALV_GRAPHICS =
* IT_EXCEPT_QINFO =
CHANGING
it_outtab = i_output
it_fieldcatalog = it_fcat
* IT_SORT =
* IT_FILTER =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. " IF sy-subrc <> 0.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT *
* - Leave Program *
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE. " CASE ok_code
CLEAR ok_code.
ENDMODULE. " USER_COMMAND_0100 INPUT
thanks,
Reward if helpful,
Brijesh -
How to avoid blank screen when starting?
When starting my mac book air, it only shows a blank screen, any suggestions to get back to normal?
Hi Daniel,
By blank do you mean that the screen is black? Is it gray? Is it blue? The word "blank" is vague when trying to determine and isolate startup issues. -
Top of page data is repeated while going back from alv report
Hi,
In my alv report , I call ed TOP_OF_PAGE. Data regatding top_of_page is stored in internal table.
After executing the report,while going back from report, a screen containing top_of_page data is appeaing.
Even though I cleared that table,still that data appeared.
Please resolve this.Hi all,
I cleared that table previously .
Still that screen appears.
This is my following code.
PERFORM top_of_page. " Subroutine for Top-of-page
*Display Report
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = lv_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
i_callback_top_of_page = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
it_fieldcat = lt_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = it_events
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = lt_meter
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.
perform clear_data.
endif.
FORM top_of_page .
Declaration of local variables, structures and internal tables
Data : lv_count TYPE i,
lv_count_c(9) TYPE c,
lt_header TYPE slis_t_listheader,
wa_header TYPE slis_listheader,
lt_line LIKE wa_header-info.
Title
clear lt_header[].
wa_header-typ = 'H'.
wa_header-info = 'Meter Readings Report'.
APPEND wa_header TO lt_header.
CLEAR wa_header.
Total No. of Records Selected
DESCRIBE TABLE lt_meter LINES lv_count.
lv_count_c = lv_count.
CONCATENATE 'Total Number of meters readed for given cycle: ' lv_count_c
INTO lt_line SEPARATED BY space.
wa_header-typ = 'A'.
wa_header-info = lt_line.
APPEND wa_header TO lt_header.
CLEAR: wa_header, lt_line.
*Display Top-of-page
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = lt_header.
ENDFORM. " TOP_OF_PAGE
*& Form CLEAR_DATA
text
--> p1 text
<-- p2 text
form CLEAR_DATA .
data : lt_header TYPE slis_t_listheader.
clear lt_header[].
endform.
Maybe you are looking for
-
Has anyone else found this too
-
ok, I bought this iPhone 2g (1st gen) for $91, repaired the broken screen, and is replacing the bezel and back housing with a gold housing. I have it upgraded to 3.1.3, but I plug it into iTunes, and all it does is go to the device, tries accessing i
-
Sharp 4K Display 60Hz Mac Pro Bugs
Mac Pro (latest generation) 8x3.0Ghz + Dual 6GB AMD D700's 2x Sharp PN-K321 4K Display When the display is put in MST mode (multi-stream transfer) it does not allow for rotation to portrait mode (270*). As far as I know the drivers allow for this an
-
Hi I am entering openings bill wise through AR invoice , item type = service and entering bill no in ref no , bill date in posting date . Entries are appearing in Incoming Payments , but i want ref no should also appear . How that can be done. Th
-
When I orignally installed iTunes current update, and tried to move about the devices iTunes would crash. I uninstalled it, then reinstalled it. It seems to be stable, however as before I am not finding all of my TUnes and Movies on all my devices.