Regarding Display In Sel-Screen
Hi,
Experts I am not getting display of parameter in selection screen for a search help, When I select a state code it gives data
of the oter parameter .
break abap1.
check record_tab[] is not initial.
data : it_t005u like table of t005u with header line,
data : tab1 type char3.
bland(3) TYPE p .
ranges : num for kna1-name1.
num-sign = 'I'.
num-option = 'BT'.
num-low = '0'.
num-high = '9'.
append num.
clear num.
data : bland.
data : begin of it_t005u occurs 0,
bland like t005u-bland,
bezei like t005u-bezei,
end of it_t005u.
select * from t005u client specified into
corresponding fields of table it_t005u
where mandt = sy-mandt
and spras = 'EN'
and land1 = 'IN'.
refresh record_tab[] .
sort it_t005u by bezei bland descending.
delete adjacent duplicates from it_t005u comparing bezei.
loop at it_t005u.
bland = it_t005u-bland+(1).
if bland in num.
clear : bland.
continue.
endif.
CONCATENATE ' ENIN' it_t005u-bland it_t005u-bezei
INTO record_tab-string SEPARATED BY space.
concatenate ' EIN' it_t005u-bland it_t005u-bezei "main
into record_tab-string separated by space.
append record_tab.
clear : it_t005u,record_tab.
clear : bland.
endloop.
SORT record_tab[] BY string+0(11).
DELETE ADJACENT DUPLICATES FROM record_tab[].
Thanks.
Sorry it seems your query is not clear..... could you please give more details. However re chkeck once your parameter declaration and at selection screen on value request event to confirm that parameter declaration and output of select statement is mapped properly.
Similar Messages
-
Select OO ALV Display Variants in a Sel Screen.
Hi, Abapers.
I'm wondering whether is possible to make a selection (in a sel-screen) over a field of the display variants which are further managed in an OO ALV.
If it's possible, from where shoud I read them?
Best regards.what do you means with "managed"?
what do you think to do with the selected field? -
Error in generating a sel-screen.
friends,
am getting an error while activating a report saying that error in generating the sel. screen 1000 in line 0....also, am not able to select the selection-texts (in the goto->text elements), which says there aer serious syntax errors...pl help..thanks all..
here is my selection-screen declaration code
SELECTION-SCREEN BEGIN OF BLOCK APPLICATION WITH FRAME TITLE TEXT-002.
PARAMETERS:
PM_WERKS LIKE MSEG-WERKS OBLIGATORY DEFAULT '1000',
PM_MJAHR LIKE MKPF-MJAHR OBLIGATORY DEFAULT SY-DATLO.
SELECT-OPTIONS:
PM_MBLNR FOR MSEG-MBLNR NO-EXTENSION MEMORY ID MBN.
PARAMETERS :
PM_LGORT LIKE MSEG-LGORT OBLIGATORY DEFAULT '1001',
PM_BUDAT LIKE MKPF-BUDAT.
SELECTION-SCREEN END OF BLOCK APPLICATION.Hi Satish,
i am not facing any kind of problem with your code. can you check it once.
TABLES: mseg.
SELECTION-SCREEN BEGIN OF BLOCK application WITH FRAME TITLE text-002.
PARAMETERS:
pm_werks LIKE mseg-werks OBLIGATORY DEFAULT '1000',
pm_mjahr LIKE mkpf-mjahr OBLIGATORY DEFAULT sy-datlo.
SELECT-OPTIONS:
pm_mblnr FOR mseg-mblnr NO-EXTENSION MEMORY ID mbn.
PARAMETERS :
pm_lgort LIKE mseg-lgort OBLIGATORY DEFAULT '1001',
pm_budat LIKE mkpf-budat.
SELECTION-SCREEN END OF BLOCK application.
Regards
Vijay -
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 -
Problem in the code while fetching records and displaying in the screen
Hi,
I have developed a screen which is having various fields, all the records are stored in a ztable,when i enter the records into various i/o fields and press submit pushbutton they are stored in the table now, what i wont is when i enter one record the (primary one) and press enter the corresponding records of that record should be shown in the i/o fields means they should be fetched back from the d/b table and displayed on the screen. For this i Have written a code please see it once.
TABLES : ZFISALDT.
DATA ITAB LIKE ZFISALDT OCCURS 0 WITH HEADER LINE.
ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
ZFISALDT-SALESDOCU = ITAB-SALESDOCU.
ZFISALDT-FORM402 = ITAB-FORM402.
ZFISALDT-SALESTAXFORM = ITAB-SALESTAXFORM.
ZFISALDT-FREIGHTDOCNO = ITAB-FREIGHTDOCNO.
ZFISALDT-FPARTYNAME = ITAB-FPARTYNAME.
*& Module STATUS_5555 OUTPUT
text
MODULE STATUS_5555 OUTPUT.
SET PF-STATUS 'SALALL'.
SET TITLEBAR 'SAL'.
ENDMODULE. " STATUS_5555 OUTPUT
*& Module USER_COMMAND_5555 INPUT
text
MODULE USER_COMMAND_5555 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'SUB'.
IF ZFISALDT-BILLINGDOCU = ' '
OR ZFISALDT-SALESDOCU = ' '.
MESSAGE 'PLEASE FIRST SUBMIT THE BILLING DOCUMENT NO AND SALES DOCUMENT NO' TYPE 'E'.
ENDIF.
ZFISALDT-BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ZFISALDT-SALESDOCU = ZFISALDT-SALESDOCU.
ZFISALDT-FORM402 = ZFISALDT-FORM402.
ZFISALDT-SALESTAXFORM = ZFISALDT-SALESTAXFORM.
*ZFISALDT-FREIGHTDOCNO = ZFISALDT-FREIGHTDOCNO.
*ZFISALDT-FPARTYNAME = ZFISALDT-FPARTYNAME.
*SUBMIT ITAB.
WHEN ' '. (THIS THE PART OF CODE WHICH IS NOT WORKING)
SELECT * FROM ZFISALDT INTO corresponding fields of TABLE ITAB WHERE BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ITAB-BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ITAB-SALESDOCU = ZFISALDT-SALESDOCU.
ITAB-FORM402 = ZFISALDT-FORM402.
*ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
*ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
*ZFISALDT-SALESDOCU = ITAB-SALESDOCU.
*ZFISALDT-FORM402 = ITAB-FORM402.
*ZFISALDT-SALESTAXFORM = ITAB-SALESTAXFORM.
append ITAB. (ALSO USED INSERT BUT NOT WORKING)
WHEN 'ENTER'.
IF ZFISALDT-BILLINGDOCU = ' '
OR ZFISALDT-SALESDOCU = ' '.
MESSAGE 'PLEASE FIRST SUBMIT THE BILLING DOCUMENT NO AND SALES DOCUMENT NO' TYPE 'E'.
ENDIF.
ZFISALDT-FREIGHTDOCNO = ZFISALDT-FREIGHTDOCNO.
ZFISALDT-FPARTYNAME = ZFISALDT-FPARTYNAME.
ZFISALDT-FREIGHTBILLNO = ZFISALDT-FREIGHTBILLNO.
ZFISALDT-FREIGHTDATE = ZFISALDT-FREIGHTDATE.
ZFISALDT-TRUCKNO = ZFISALDT-TRUCKNO.
ZFISALDT-FREIGHTAMOUNT = ZFISALDT-FREIGHTAMOUNT.
ZFISALDT-COMNAGBILL = ZFISALDT-COMNAGBILL.
ZFISALDT-AGENTNAME = ZFISALDT-AGENTNAME.
ZFISALDT-CAGDATE = ZFISALDT-CAGDATE.
ZFISALDT-CMNAGAMOUNT = ZFISALDT-CMNAGAMOUNT.
ZFISALDT-SHIPMENTNAME = ZFISALDT-SHIPMENTNAME.
ZFISALDT-SHIPDOCUNO = ZFISALDT-SHIPDOCUNO.
ZFISALDT-SHIPBILLNO = ZFISALDT-SHIPBILLNO.
ZFISALDT-SHIPBILLDATE = ZFISALDT-SHIPBILLDATE.
ZFISALDT-BLNOGOV = ZFISALDT-BLNOGOV.
ZFISALDT-CHAAGENTNAME = ZFISALDT-CHAAGENTNAME.
ZFISALDT-CHABILL = ZFISALDT-CHABILL.
ZFISALDT-CHADATE = ZFISALDT-CHADATE.
ZFISALDT-CHAAMOUNT = ZFISALDT-CHAAMOUNT.
ZFISALDT-B_L_NO = ZFISALDT-B_L_NO.
ZFISALDT-B_L_NODATE = ZFISALDT-B_L_NODATE.
ZFISALDT-DEPBLICNO = ZFISALDT-DEPBLICNO.
ZFISALDT-LICENCE_DATE = ZFISALDT-LICENCE_DATE.
ZFISALDT-FOC_VALUE = ZFISALDT-FOC_VALUE.
ZFISALDT-DEPB_VALUE = ZFISALDT-DEPB_VALUE.
INSERT ZFISALDT.
CLEAR ZFISALDT.
ENDCASE.
ENDMODULE. " USER_COMMAND_5555 INPUT
This is the code please check it once.
Thanks in advance.Hi Sumeet.
WHEN ' '. " (THIS THE PART OF CODE WHICH IS NOT WORKING)
SELECT * FROM ZFISALDT INTO corresponding fields of TABLE ITAB WHERE BILLINGDOCU = ZFISALDT-BILLINGDOCU.
" here in where condition u r checking with ZFISALDT-BILLINGDOCU, i guess there is no value in that, Once check in debugging mode and proceed further.
Regards,
Aby -
How to change the size of the characters displayed on GUI screen?
Hi All,
My problem is : the characters displayed on GUI screen are smaller than other associates when we are in same condition.
Can anyone tell me what i should do to change the size?
Thank you very much.
Regards,
Fionahi,
click on the layout menu button at the end of standard tool bar.
select visual settings. there u will get font size options.
u can manage through this your font size.
and this will effective with the first front end mode u start.
layout menu button >> visual settings >>general tab>> font size
hope it will help you.
Edited by: Sachin Gupta on Jul 15, 2008 9:42 AM -
Goods Issue in MB!A, regarding display of avaliable stock
Hi,
During Goods Issue from transaction MB1A, the user wants to know if sufficient stock is avaliable, to check that user has to go to menu and view the avaliable stock which is very time consuming.
So the user wants the avaliable stock to be displayed on the screen where he enters the issue values.
Can this requirment be achieved by writing a screen exit, if so how can i find the name of the exit.
Thanks,
Sai.Go to SMOD Trxn code and In Enhancement Field Press F4 and in Next Window Click on Information System Tab and Give Package Field value MB and Enter. Then it will show the list of User Exists.
Identify the User Exit which is suiting your Requirement / Else Communicate your abaper.
Regards,
Ashok -
Payment terms field display at MIRO screen
Hi,
How can I make Payment terms field "Display" at MIRO screen??
Regards,
SattujHi,
The fields on MIRO are not configurable as with other transactions.
You have no config control of these fields.
You should not really block the field, because what happens if you ever need to change it (believe me this WILL happen).
Steve B -
How to display the selection screen fields for selected checkboxes
Hi all,
I have 7 checkboxes, for each check box we have some seletion screen fields.if i select first check box,i want to display first slection screen fields only.
and if we select more than one check box how to display the selection screen fields for selected check boxes,please help me this
Thanks
sriman.hi,
Try this code
report z_13317_sdn2.
tables : mara, marc, dd03l.
parameters : p_chk1 as checkbox user-command ABC,
p_chk2 as checkbox user-command PQR,
p_chk3 as checkbox user-command XYZ.
select-options : s_matnr for mara-matnr modif id A,
s_ersda for mara-ersda modif id A,
s_werks for marc-werks modif id B,
s_lvorm for marc-lvorm modif id B,
s_tab for dd03l-tabname modif id C.
data: v_chk1,
v_chk2,
v_chk3.
at selection-screen output.
loop at screen.
if screen-group1 = 'A' or
screen-group1 = 'B' or
screen-group1 = 'C'.
screen-input = 0.
modify screen.
endif.
endloop.
loop at screen.
if v_chk1 = 'X'.
if screen-group1 = 'A'.
screen-input = 1.
modify screen.
endif.
endif.
if v_chk2 = 'X'.
if screen-group1 = 'B'.
screen-input = 1.
modify screen.
endif.
endif.
if v_chk3 = 'X'.
if screen-group1 = 'C'.
screen-input = 1.
modify screen.
endif.
endif.
endloop.
at selection-screen.
if sy-ucomm = 'ABC'.
if v_chk1 = ' '.
v_chk1 = 'X'.
else.
v_chk1 = ' '.
endif.
endif.
if sy-ucomm = 'PQR'.
if v_chk2 = ' '.
v_chk2 = 'X'.
else.
v_chk2 = ' '.
endif.
endif.
if sy-ucomm = 'XYZ'.
if v_chk3 = ' '.
v_chk3 = 'X'.
else.
v_chk3 = ' '.
endif.
endif.
Regards,
Sailaja. -
Display the webdynpro screen in two languages?
Hi Gurus,
I have requirement to display the webdynpro screen in two language(English & Arabic)
what is the steps involved to achieve this requirement.Hallo Dharani,
NOTE: you cannot switch the session locale of a running Web Dynpro Java application in the same browser window. The only solution is to start a new Web Dynpro application "from scratch" by executing a new browser instance NOT "browser window" instance. So with Browser -> File menu -> new window you will keep the same session locale even when passing another locale-parameter with the URL-param sap-locale. Sorry, but this is an unsolved restriction in Web Dynpro.
Regards, Bertram -
Transaction solman_workcenter displays a blank screen
Hi,
When I execute transaction solman_workcenter it displays a blank screen. There is no error message.
Is there some setting that is missing. Please advice.
Regards
PhanidharHello,
has your user the acording workcenter roles (SAP_SMWORK*)?
regards
Christian -
Problem in displaying message in screen
Hi All,
I am trying to put a comma between each variable that is getting displayed in screen.
I am displaying a sucess message in my screen as follows.
DATA: lv_message type symsgv.
concatenate var_one ',' var_two ',' var_three ',' var_four ',' var_five ',' var_six ','
var_seven ',' var_eight ','
var_nine ',' var_ten into lv_message.
CALL METHOD lo_message_manager->report_t100_message
EXPORTING
msgid = 'zmessage'
msgno = '1' " This is a message. We are displaying it on screen.
msgty = 'S'
view = 'view1'
p1 = lv_message.
Now what happens is, some of the variables may be blank in database table. for example assume var_three, var_four and var_six are blank.
So the final message in screen is getting displayed as follows:
This is a message. We are displaying it on screen. 1,2,5,7,8,9,10,,,,
How to avoid the commas which are coming at the end.
Please provide your suggestion.
Thanks in advance.Hi,
Instead of the pattern given you can also get something like this 1,,2,3,,5,,,
So you have to take care of extra commas in between as well,
You can write extra logic if-else statements to first check if the variable is initial or not, if not then only concatenate.
Regards
Manas Dua -
The display of sub screen exceeds the sub screen area
Hi Experts,
I have a requirement, that i need to make changes to one of the screens in the standard transaction. I found there is a screen exit exist for this. This screen is called in the tab strip(In the standard transaction). I have done the screen changes in the sub screen. When calling the standard transaction this sub screen exceeds the sub screen area of the standard transaction tab strip. I know if the sub screen size is more than the sub screen area then scroll bars will be displayed automatically. But i am facing a strange problem that the display of sub screen exceeds the sub screen area. I need scrol bar instead of exceeding the sub screen.
Please help me to solve this problem
Regards,
BujjiAnyone has any suggestions for my question. Any help is much appreciated. Thanks.
-
Regarding display of material changes- really urgent
hi,
i had assigned a work in which i have to collect information that in the period from 1.12.2007 to 31.12.2007 the number of materials had been changed and what changes had been made to them.
plzz tell me about it as help will be definately rewarded.Hi,
PAss cdhdr-objectclas = MATERIAL
cdhdr-udate = sel. screen value
get all changenr from cdhdr
pass all to the cdpos-changenr & objectclas = MATERIAL
from cdpos-chngind = 'U' means material changed
and if chngind eq 'I' means material entry created.
else, MSTA is already there to just know which mat. created pass ersda value
and for changed pass laeda value.
Reward points for the helpful answer....
Regards,
Brijesh Patel -
QT Uncompressed files display with White Screen
I'm stumped.
I have a few QT files that are uncompressed 8 bit. On my new 8 Core Intel Mac, a G5, and a Mac Mini I can see this file just fine. We're running 10.4.9 and QT 7.1.6. The Mac Minis and G5 are bare bones and have no codecs listed in the Library/Quicktime folder except Apple Intermediate (default).
On all of my Intel XServes however, with the exact same installed universal binary QT codecs as my 8 Core, these same QT uncompressed files only display a white screen. In get info the codec is listed as Uncompressed 8bit 4:2:2. Last time I checked Uncompressed didn't even require a codec.
Any ideas why the XServes can't read these QTs? I've even updated the QT to 7.2 hoping there was an Intel bug, but that didn't fix this.
Thanks!There is no single codec for movies that have .avi extensions. AVI is a container format, not a specific type of file. An AVI movie may use one of the Indeo codecs (there are at least four that I'm aware of, none of which have been ported to Mac OS X) or one of the various flavors of DivX, among other possibilities. You'll have to find out what codec was used for the movies you want to view to determine what you need. Note that not all codecs for the various .avi movies are available for QuickTime.
If you want to try "hit and miss", you can try the codecs at http://www.divx.com/ and http://www.3ivx.com/ and see if one of them will work for you. You can also give this player a try:
http://www.videolan.org/vlc/
Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Discussions page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic before you post a question.
Regards.
Maybe you are looking for
-
Hi, I require free goods in quotation. For example If i enter 10 qty in quotation. The billing should be done only for 9 qty (10-1) for inclusive case. and for exclusive case an addition line item should be generated with 1 quantity 1 is free good q
-
How do i load images from a folder?
Hello everyone, Please can someone help me as i am stuck. I am trying to research loading images from a folder called /images/unknown (unknown is a customer number and is stored in a variable called customerNo). I feel that i will need to load the im
-
Computers not listed in Remote Web Access site
I have recently completed a migration from SBS 2008 to Server 2012 R2 with Essentials role It's gone pretty smoothly but I'm having a problem with the PCs I have re-connected to the essentials server not appearing on the Remote Web Access website (th
-
ICal: How do I get iCal to sync with a shared calendar?
I am working in a small business who are running a Microsoft Exchange Server. All users are using Microsoft Outlook for e-mails and calendars. I want to get iCal on my mac to sync with the shared calendar on the Exchange server which is published in
-
Moving back and forth from Japan to US
I currently live in Japan (military) and would like to purchase ipad cellular (softbank). Will I be able to bring it back and forth to US (getting monthly pre-paid data plans) or are they locked (model A1455)? If so, can I unlock for when I am in t