Transaction Xk01 output screen
Hi All,
I am working on a task, where whenever we run the transaction Xk01 on the output screen we have field called company code and it's by defaulted as '001'. Now the requirement is that we need to greyed out the company code field... so that the user can't change it from the default '001'. So can you please tell me how can I do that, I believe we can do something with SE51.
Thanks,,
Rajeev
try creating a transaction variant
else
talk with ur functional people
to check whether any funcional setting availble or not
IMG- logistics generalbusiness partner-control...vendors
try in the above settings
cheers
s.janagar
Similar Messages
-
Mimic SAP Tcode PT03 output screen for work schedule
Hello
I have a requirement to create a web dynpro java application which can mimic standard SAP transaction "PT03" output screen.
i.e. View employee work Schedules..
Now I do not have any Calender UI element which I can use.
What could be best approach going forward.
Please note that creating an IAC iview or SAP Transaction Iview is already out of scope for us because of client constraints...
Please manage some time to look into this HCM transaction PT03 and advice me how can I mimic this in web dynpro.
I am concerned about the "View Work Schedule" screen which has a calender type display where information about employee is getting displayed in individual cell of calender.
Below is screenshot for page I need to Mimic..
[Screenshot|http://www.freeimagehosting.net/image.php?e387a02d16.png]
Thanking you in anticipation.I didnt' got you Sir....
You are refering to Java Calender API !
http://download.oracle.com/javase/1.4.2/docs/api/java/util/Calendar.html
or there is some webdynpro calender API also...!!
Well the whole scenario has to work as below...
1. User will fill in some input form from portal (Web Dynpro java view)
2. Clicks on submit button...
3. Webdynpro java application calls an RFC....
4. Output is rendered in calender format .....or any other format......which is informative enough to user.
I am not using CE.... -
Screen exit for transaction XK01
Hi,
I want to add a field for the transaction 'XK01'.
How to find out the screen exit for this transaction.
If we dont have screen exit for this transaction, is there any other way to add the field.
Ps help regardng this.Hi,
Check the BADI CUSTOMER_ADD_DATA_CS , this is used to add a tab screen with the custom fields.
VENDOR_ADD_DATA Additional Vendor Data
Vendor Master (XK01) Screen Exit
check the foll link,
userexits be..
RFKRRANZ User exits: Accounts Payable Information System
SAPMF02K User exits: Vendor master data
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
Regards
Kiran Sure -
BDC for transaction AC02, output the activity number on screen
HI,
how to get the system created activity number on to the output screen after completion of BDC, data transfer using call transaction.
with regards,
sagar.Hi,
Do you want that once the BDC is finished then it should stay on same screen with activity number if yes you will get the activity number in your BDCMSG table. Using that you can set paramter id ASN and do a call transaction again.
Please let us know if your requirement is different from the above one.
thanks
Nabheet -
Jump to transaction me21n from output screen.
hi,
I am displaying PO ,item no from ekpo table.On the output screen where data is displayed , when i click on PO no i need to go to transaction me21n.Can anyone plz help me and tell me the mechanism.you can go to ME23N where it will display the particular PO.
Check this alv report.
REPORT ZMM_PO_TEXT
no standard page heading
line-size 300
message-id zmsg.
Tables *
TABLES : EKKO, "Purchasing Document Header
EKPO, "Purchasing Document Item
EKBE. "History per Purchasing Doc
Internal table for display *
DATA : begin of it_item occurs 0 ,
ebeln like ekpo-ebeln, "pur doc no
ebelp like ekpo-ebelp, "pur doc no item
matnr like ekpo-matnr, "material no
werks like ekpo-werks, "Plant
bedat like ekko-bedat, "pur doc date
banfn like eban-banfn, "Purchase requisition number
bnfpo like eban-bnfpo, "Item number of purchase requisition
charg like ekbe-charg , "Batch Number
end of it_item.
DATA it_temp like table of it_item with header line.
ALV VARIABLES AND INTERNAL TABLES
TYPE-POOLS: slis.
DATA:st_layout TYPE slis_layout_alv,
it_fieldcat TYPE slis_t_fieldcat_alv,
it_listheader TYPE slis_t_listheader,
it_event TYPE slis_t_event,
keyinfo TYPE slis_keyinfo_alv.
DATA:ls_selfield TYPE slis_selfield.
VARIABLES *
DATA:
v_repid LIKE sy-repid,
name like thead-tdname,
lines like tline occurs 0 with header line.
*SELECTION SCREEN DEFINITIONS
SELECTION-SCREEN: BEGIN OF BLOCK a1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS:
so_plant FOR ekpo-werks,
so_date FOR ekko-bedat OBLIGATORY,
so_matnr for ekpo-matnr,
so_ebeln for ekko-ebeln,
so_ekorg for ekko-ekorg,
so_ekgrp for ekko-ekgrp.
SELECTION-SCREEN: END OF BLOCK a1.
INITIALIZATION *
INITIALIZATION.
v_repid = sy-repid.
*START-OF-SELECTION
START-OF-SELECTION.
PERFORM get_data.
IF it_item[] IS NOT INITIAL.
PERFORM display_data.
ELSE.
MESSAGE i012(zmsg).
ENDIF.
END-OF-SELECTION *
END-OF-SELECTION.
*START-OF-SELECTION.
*perform get_data.
*perform display_data .
*******AT LINE-SELECTION.
******if it_data-banfn is initial.
******SET PARAMETER ID 'BES' FIELD it_data-EBELN.
******CALL TRANSACTION 'ME23N'.
******else.
******SET PARAMETER ID 'BAN' FIELD it_data-Banfn.
******CALL TRANSACTION 'ME53N'.
******endif.
Form get data ******************
FORM get_data.
if so_date-high is initial.
so_date-high = sy-datum.
endif.
select aebeln aebelp amatnr awerks
b~bedat
c~charg
into corresponding fields of table it_item
from ekpo as a inner join ekko as b
on aebeln = bebeln
inner join eket as c on aebeln = cebeln and aebelp = cebelp
where a~werks in so_plant
and a~matnr in so_matnr
and a~ebeln in so_ebeln
and b~bedat between so_date-low and so_date-high
and b~ekorg in so_ekorg
and b~ekgrp in so_ekgrp .
DELETE ADJACENT DUPLICATES FROM it_item.
SORT it_item by ebeln bedat.
loop at it_ITEM.
select single banfn bnfpo into (it_ITEM-banfn,it_ITEM-bnfpo) from eban where ebeln = it_ITEM-ebeln
and ebelp = it_ITEM-ebelp.
*select single charg into (it_ITEM-charg) from ekbe where ebeln = it_ITEM-EBELP.
if sy-subrc IS INITIAL.
CONCATENATE it_item-banfn it_item-bnfpo INTO NAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'B06'
LANGUAGE = sy-langu
NAME = NAME
OBJECT = 'EBAN'
TABLES
LINES = lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MODIFY IT_ITEM.
else.
CONCATENATE it_item-EBELN it_item-EBELP INTO NAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'F10'
LANGUAGE = sy-langu
NAME = NAME
OBJECT = 'EKPO'
TABLES
LINES = lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endif.
IF LINES[] IS INITIAL.
DELETE IT_ITEM.
ENDIF.
CLEAR: IT_ITEM, LINES.
REFRESH : LINES.
endloop.
ENDFORM. " display_data
*FORM FOR DISPLAY DATA
FORM display_data .
PERFORM fill_layout_structure.
PERFORM fill_field_catalog_table.
PERFORM get_event USING it_event.
PERFORM fill_listheader USING it_listheader.
perFORM call_alv_function.
ENDFORM. " display_data
*& Form fill_layout_structure
text
--> p1 text
<-- p2 text
FORM fill_layout_structure .
st_layout-zebra = 'X'.
ENDFORM. " fill_layout_structure
*& Form fill_field_catalog_table
text
--> p1 text
<-- p2 text
FORM fill_field_catalog_table .
PERFORM fill_field_catalog USING :
'EBELN' 'P.O Number' 'IT_ITEM' 'X' space '10' 'X',
'EBELP' 'P.O. Item No' 'IT_ITEM' space space '10' space,
'BEDAT' 'P.O. Date' 'IT_ITEM' space space '10' space,
'WERKS' 'Plant' 'IT_ITEM' space space '10' space,
'MATNR' 'Material no' 'IT_ITEM' space space '18' space,
'BANFN' 'P.R. Number' 'IT_ITEM' space space '18' space,
'CHARG' 'Batch Number' 'IT_ITEM' space space '10' 'space' .
ENDFORM. " fill_field_catalog_table
*FORM FOR FILLING FIELD CATALOG
FORM fill_field_catalog USING f d t p S o h.
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
STATICS v_pos TYPE i VALUE 1.
wa_fieldcat-row_pos = 1.
wa_fieldcat-col_pos = v_pos.
wa_fieldcat-fieldname = f.
wa_fieldcat-seltext_m = d.
wa_fieldcat-tabname = t.
wa_fieldcat-hotspot = h.
APPEND wa_fieldcat TO it_fieldcat.
v_pos = v_pos + 1.
ENDFORM. "fill_field_catalog
*& Form fill_listheader
text
-->P_IT_LISTHEADER text
FORM fill_listheader USING P_IT_LISTHEADER TYPE slis_t_listheader.
DATA : wa_listheader TYPE slis_listheader.
CLEAR wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-info ='PURCHASE ORDER TEXTS '.
APPEND wa_listheader TO it_listheader.
ENDFORM. " fill_listheader
*& Form get_event
text
-->P_IT_EVENT text
FORM get_event USING P_IT_EVENT TYPE slis_t_event.
DATA : wa_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = it_event.
READ TABLE it_event WITH KEY name = slis_ev_top_of_page INTO wa_event.
IF SY-SUBRC = 0.
MOVE 'TOP_OF_PAGE' to wa_event-form.
APPEND wa_event to it_event.
ENDIF.
ENDFORM. " get_event
*FORM FOR TOP_OF_PAGE(to assign form for the top-of-page event)
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_listheader.
ENDFORM. "top_of_page
*FORM FOR ALV FUNCTIONS
FORM call_alv_function.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'CALL_TCODE'
I_STRUCTURE_NAME =
IS_LAYOUT = st_layout
IT_FIELDCAT = it_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = it_event[]
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
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = it_item
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.
endform.
*FORM FOR ALV CALL_TCODE
FORM call_tcode USING r_ucomm ls_selfield LIKE ls_selfield.
CASE r_ucomm.
WHEN '&IC1'.
IF ls_selfield-fieldname = 'EBELN'.
SET PARAMETER ID 'BES' FIELD ls_selfield-value.
CALL TRANSACTION 'ME23N'.
ENDIF.
IF ls_selfield-fieldname = 'BANFN'.
SET PARAMETER ID 'BAN' FIELD ls_selfield-value.
CALL TRANSACTION 'ME53N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
For classical
use HIDE statement, AT LINE SELECTION event and CALL TRANSACTION Statement.
regards,
Prabhu
Reward if it is helpful. -
How to remove toolbar in its mobile at output screen?
Hi,
I've a problem in ITS MOBILE. I runned ITS, but it's running with sap toolbar. How to remove toolbar in ITS MOBILE at output screen?
Regards, Buğra.Hi Ahmet,
Please provide the below in GUI Configuration in SICF Transaction .
~webgui_toolbar_menu_reload = 0
Thanks,
Seshadri. -
How to display the output screen when I use bdc.
hey expert,
I want to display the output screen when i use bdc without using mode 'A'.
thank you.Hi,
You can go for mode 'E'.. it will display the output screen directly and if there is any error in the transaction you would get that particular screen and you can correct and continue after which you will get the final screen if anything goes fine...
check this sample code....
I had a program if you execute below program it automatically creates a new zprogram.
REPORT zprogram_create_recording.
PARAMETER:
p_prog TYPE sy-repid OBLIGATORY,
p_shtxt TYPE repti OBLIGATORY,
p_pack TYPE devclass DEFAULT '$tmp'.
DATA:
t_bdcdata LIKE
STANDARD TABLE
OF bdcdata.
DATA:
wa_bdcdata LIKE LINE OF t_bdcdata.
REFRESH t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLWBABAP'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'RS38M-PROGRAMM'.
wa_bdcdata-fval = p_prog.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'NEW'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSEDTATTR'.
wa_bdcdata-dynpro = '0200'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'RS38M-REPTI'.
wa_bdcdata-fval = p_shtxt.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'TRDIR-SUBC'.
wa_bdcdata-fval = '1'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'CONT'.
APPEND wa_bdcdata TO t_bdcdata.
IF p_pack EQ '$TMP'.
*local object
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO007-L_DEVCLASS'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'TEMP'.
APPEND wa_bdcdata TO t_bdcdata.
ELSE.
*package assignment with request
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO007-L_DEVCLASS'.
wa_bdcdata-fval = p_pack.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'ADD'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0300'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO008-TRKORR'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'KO008-AS4TEXT'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'LOCK'.
APPEND wa_bdcdata TO t_bdcdata.
ENDIF. " IF P_PACK EQ '$TMP'
CALL TRANSACTION 'SE38' USING t_bdcdata MODE 'E'.
Hope this would help you..
Regards
Narin Nandivada -
Hi all
In the component overview screen of CO01 I want to disable all the field in screen of table control.I want to make it as output screen only.
Thanks & Regards,
Rajib.Isn't that just exactly what transaction CO02 does? CO01 is for creating production orders so what sense does it make to have it display mode only?
Maybe your goal is to stop then end user changing the component assignment that is automatically detected by the system. If so, personally I think a better starting point would be PP configuration or user authorizations rather than looking to change the screen by whatever method. As we don't know what you are trying to achieve it's hard to offer much more advice maybe all you need is to change transaction to CO02 -
I am using 'call screen 1001' statement in my report. This is like my selection screen but is a module pool screen.
After pressing F8, execution and download takes place.
After that i want to output some statistics. Now if i set screen 0 and output some statistics with write statement, I am able to see output.
But on this screen when i press F3(Back), it goes to SE 38 initial screen or SAP easy access screen depending on whether its called through SE38 or through transaction.
I want to display screen 1001 again when i press back on output screen. Like when we press back on output screen it takes us to Selection screen in a report with selection screen.Hi,
You could try ti call it with CALL SELECTION-SCREEN, to make it behave as a selection screen.
Or other option would be to display the statistics in another screen (or maybe with ALV) and program the correct screen flow with user-command..
Hope it helps,
MaryM -
Hi ,
I want to make SM37 output screen as display only. User should not be able to do any changes/delete/create to the existing jobs or spools. Is it possible using Transaction variant? because the output of SM37 screen doesnt have Screen number assigned to that.
Regards
Sowmmya VBYou may bypass BDC by using in sequence FM of group BTCH : BP_JOB_READ and BP_JOB_EDITOR (with job_editor_dialog = 'Y' and job_editor_opcode = 12, check constants in include LBTCHDEF)
NB: AND SKIP FIRST SCREEN wont be suitable here as one of the two conditions required is that the own dynpro number of the initial screen must not be specified as the next screen number...
Regards,
Raymond -
How to capture values dynamically from output screen
Hi all,
I have a new requirement.
i developed a report which is showing output correctly. Here i have to take a check box for every record in output screen. if i check some of the check boxs then it should allow for further processing.
i succeeded upto put checkboxes on output screen.
but i don't know how to capture the values of checkboxes of every record into an internal table. it is necessary to capture into an internal table
will it be work by using LOOP AT SCREEN statement.
could you please explain with examples. it is normal report program only.
i would appreciate an early reply
Regards
PrabhakarSample code for usage:
Internal table for Region and its Description
data: begin of t_t005u occurs 0,
LAND1 like t005u-land1,
BLAND like t005u-bland,
Bezei like t005u-bezei,
end of t_t005u.
Ranges for Country
ranges: r_land1 for t005u-land1.
Get the country codes and their descriptions
refresh r_land1.
clear r_land1.
refresh t_dynpfields.
move 'V_LAND1' to t_dynpfields-fieldname.
append t_dynpfields.
clear t_dynpfields.
Read the value in the Country field on the screen
call function 'DYNP_VALUES_READ'
EXPORTING
dyname = 'SAPLZ_VENDOR_MASTER'
dynumb = '0004'
translate_to_upper = 'X'
TABLES
dynpfields = t_dynpfields
EXCEPTIONS
invalid_abapworkarea = 01
invalid_dynprofield = 02
invalid_dynproname = 03
invalid_dynpronummer = 04
invalid_request = 05
no_fielddescription = 06
undefind_error = 07.
read table t_dynpfields with key fieldname = 'V_LAND1'.
if not t_dynpfields-FIELDVALUE is initial.
r_land1-low = t_dynpfields-FIELDVALUE.
r_land1-sign = 'I'.
r_land1-option = 'EQ'.
append r_land1.
clear r_land1.
endif.
Get the Regions to be displayed as F4 Help
select land1
bland
bezei
from t005u
into table t_t005u
where spras = 'EN'
and land1 in r_land1.
if not t_t005u[] is initial..
Popup to display Valid Regions for the selected country
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL = 60
ENDPOS_ROW = 40
STARTPOS_COL = 40
STARTPOS_ROW = 20
TITLETEXT = 'Region'
IMPORTING
CHOISE = v_choice
TABLES
VALUETAB = t_t005u
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
if sy-subrc = 0.
if v_activity = 'V'.
read table t_t005u index v_choice.
if sy-subrc = 0.
v_regio = t_t005u-bland.
move 'V_BEZEI' to t_dynpfields-fieldname.
move t_t005u-bezei to t_dynpfields-fieldvalue.
append t_dynpfields.
Update the Region description on the screen.
call function 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = 'SAPLZ_VENDOR_MASTER'
dynumb = '0004'
TABLES
dynpfields = t_dynpfields
EXCEPTIONS
invalid_abapworkarea = 01
invalid_dynprofield = 02
invalid_dynproname = 03
invalid_dynpronummer = 04
invalid_request = 05
no_fielddescription = 06
undefind_error = 07.
endif.
endif.
endif.
endif. -
ALV Report - Selection screen information should appear in Output screen
Hi experts,
I am working on ALV Reports.
I want selection screen information to appear in ouputscreen when report executed.
Those who know the sloution pls tell me as soon as possible.
regards,
ImranHi Imrangs ,
Ur requirement is not clear -
if u want ur selection screen and the output screen on the same screen, i.e if u fill ur selection options with input and press the button then ur ALV will display on the same screen. For this try to use Screen painter, it will get resolved.
http://www.kodyaz.com/articles/sap-abap-tutorial-alv-grid-cl_gui_alv_grid-screen-painter.aspx
chreers
Regards
Neha -
Avoid ALV output screen in submit statement
hello,
I have created one FM.in that FM i am calling one zreport using submit statement as i want to access that zreport's internal table.so i have done that using IMPORT and EXPORT statement and i am getting values in my FM.
but my problem is when i execute that FM it stops and display the ALV output of zreport and then when i press back button it gives me FM's output.i dont want that ALV output.can anybody help me that how to omit this output screen?
regards
soniya s.Hi,
Use option EXPORTING LIST TO MEMORY with statement SUBMIT.
Regards,
Nikhil
Edited by: Nikhil Kayal on May 13, 2009 1:32 PM -
I want push button on output screen
Hi friends,
I want push button on toolbar output screen. After choosing this push button it will display one screen it having data below like this.
.Division channel
.Division
.Sales organization
.Sales Document
.Sales Document Type
.Sales Group
.Sales office
.Month
Plz help mehi sreerama,
to have a push button in ur report, u have to create a GUI status with command.
u can create gui status using command SET PF-STATUS 'XXXX'.
Create a button in GUI status, assign the function code for that button. Example FCODE.
After creating GUI status, u have to use AT USER-COMMAND event for button of GUI status in report program.
Then in ur report program, write like this.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'FCODE'.
........................... " Your Logic to display what ever u want
ENDCASE.
sy-ucomm catches all the function codes of the system.
For further reference, check these links.
To create GUI status:
http://help.sap.com/saphelp_47x200/helpdata/en/d1/801d43454211d189710000e8322d00/frameset.htm
For List Events:
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba3ae35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba2c435c111d1829f0000e829fbfe/frameset.htm
<b><REMOVED BY MODERATOR></b>
Harimanjesh AN
Message was edited by:
Alvaro Tejada Galindo -
Hi,
I am having a requirement in which, I need to display the report, in the output screen I should have a push button which when pressed the report output should be stored in the Application Layer.
Thanks and Regards,
V.K.HI Vikram,
You can create push button in the output list. You have to use SET PF-STATUS statement.
Just follow these stepts for creation of PUSH BUTTON.
1. write SET PF-STATUS 'TEST'.
2. double click on TEST.
3. It will ask you to create status object. click on YES.
4. give the short description and press enter.
5. next screen you will find three things like... MENU BAR, APPLICATION TOOL BAR and FUNCTION KEYS.
6. click on the down arrow that appears next to APPLICATION TOOL BAR.
7. in the items, in first box write your name and press down the text. one popup box will come. press enter.
8. give the function text and press enter.
9. assign key for your push button. and press enter.
10. press enter and activate.
and run your program. you will get push button on output list.
Adding event for the PUSHBUTTON
For the pushbutton use an sy-ucomm ie SAVE to appln toolbar
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'SAVE'.
write your code here to save in the appln server
Edited by: Raj on Jun 26, 2008 7:32 PM
Maybe you are looking for
-
Connecting Macbook to Sony Bravia
So I think have all the cable i need to connect the two. I'm using a Mini DVI to VGA cable but when I connect the cable to the TV, the PC input can't be selected it is just grayed out.
-
Deploying a WAR to the J2EE Server - Suggestions Plz.
Hi, I have a WAR file from my previous project, I would like to deploy it to my SAP WAS can some one tell me how I can do it also is there is way to Deploy a JAR file to a Server or to upload it there so all my applications can use it in the future w
-
IPhone 4S is dead -- why?
It worked fine earlier today. Then a couple hours later I went to it and it was totally dead. I plugged it into its charger -- nothing. I left it charging for five hours & still nothing. I held down the on/off button for 12 seconds - nothing. I
-
How to display cusomized custom tooltip(jwindow) in jtable cell position
Hi, i am trying to display custom tooltip for jtable cell. i created custom tooltip(jwindow) and on mouseover of jtable cell i am trying to display the custom tooltip. But it is not display the position of jtable cell. How to display the exact positi
-
Deploying JSP Application in OC4J
Hi Experts, Here is my query. I have developed a small application containing around 40-50 JSPs. Its developed using Only JSPs & nothing else. I use external JARs like *"jakarta-poi-1.5.0-FINAL-20020506.jar", "fileupload.jar"*. This application was t