REGARDING SELECTION SCREEEN
Hi Experts,
I have one selection screen in my report.. 1) one is paramere and 2) check box
now scren look like this :
paramete -
checkbox --
what i want........ parameter and checkbox in one line... not up and above
I want screen look like this
paramete -
, checkbox --
give me suggetion...
Vishal
Hello Vishal,
you need to use the SELECTION-SCREEN: LINE option to achieve that.
Look at this code.
SELECTION-SCREEN: BEGIN OF LINE,
PUSHBUTTON 2(10) push USER-COMMAND fcode,
POSITION 16.
PARAMETERS para(20) TYPE c.
SELECTION-SCREEN: COMMENT 40(40) text,
END OF LINE.
INITIALIZATION.
push = 'Push'.
text = '<--- Fill field, then push button!'.
Regards,
Naimesh Patel
Similar Messages
-
Regarding select option in a module pool prog .
hello .. i need some help regarding select options in a module pool program .. i hav tried putting a select options in a module pool prog but i am not able 2 ... can any one tel me why select options r not aloowed in a module pool prog ?? and i read that we hav 2 use ranges 2 fulfil the needs of the select options . is there any way i cal get all the functionality of select options ( eg including , excludig , equal to , not equal to , .... .) using a range ??
Hi
Select-options won't work if you declare the program as Module POOL.
if you wants to use select-options like utility in module pool programming
use ranges
declare and develop ranges and use that in select statement where condition.
ranges: r_vbeln for vbak-vbeln.
r_vbeln-low = '0018900678'.
r_vbeln-sign = 'I'.
r_vbeln-option = 'EQ'.
append r_vbeln.
r_vbeln-low = '0018900456'.
r_vbeln-sign = 'I'.
r_vbeln-option = 'EQ'.
append r_vbeln.
reward if useful
regards
Anji -
whan i am using select-options prior to this i what to display check box on the same line.
when i am selecting the this check box it should execute automaticall
could u plz explain the code clearly with example.search forums.
Re: Dynamic Selection Options
Posted on: Jul 17, 2006 5:50 PM, by user: Praveen -- Relevance: 100% -- Show all results within this thread
am doing exactly as you had stated. But the user wants to see it something like this: 1. For the selection options, he wants to see three box's. a. Technical Name of the field selection. b. ...
Re: regarding selection options
Posted on: Mar 15, 2007 8:46 AM, by user: SHIBA DUTTA -- Relevance: 99% -- Show all results within this thread
you have to use begin of line and end of line. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1. PARAMETERS: ...
Re: Restricting selection-options
Posted on: Jan 18, 2005 8:58 AM, by user: Andreas Mann -- Relevance: 90% -- Show all results within this thread
FOR vbak-vbeln OBLIGATORY DEFAULT '5300000000'. INITIALIZATION. PERFORM init_1001. START-OF-SELECTION. SELECT belnr FROM bkpf INTO bkpf-belnr WHERE bukrs = '0001' AND ...
Check that at least on Selection Options are filled
Posted on: May 25, 2006 4:37 AM, by user: Boater -- Relevance: 90% -- Show all results within this thread
I have a program that has four selection options. The user needs to enter a selection for at least one of the four selection options. ...
possible entry for selection-options
Posted on: Feb 22, 2007 7:32 AM, by user: Tiwa Noitawee -- Relevance: 89% -- Show all results within this thread
F-1 At last 3 alphabets of Prod.hierarchy is Product line (EX1, PC5) that users have to choose via selection-options like this <b>EX1</b> EXCEL 251 : F-1 <b>PC5</b> POWERTOP W-200 ...
select-options multiple selection
Posted on: Mar 5, 2007 3:06 AM, by user: venkateswarao gangavarapu -- Relevance: 87% -- Show all results within this thread
hi can u send code for getting multiple selections in select-options Thanks in advance venkat ...
Submitting Report with selection screen options
Posted on: Apr 27, 2005 5:45 PM, by user: Rajesh Nittala -- Relevance: 85% -- Show all results within this thread
Hi all, I have a situation, in my report i am using a selection screen which contains input select-options are store(range), date (from ..to)....after that ...
sample program to remove standard selection-options & replace user defined.
Posted on: Dec 7, 2005 5:37 AM, by user: Josephine Clara Arokiasamy -- Relevance: 83% -- Show all results within this thread
The standard selection-options are provided for the logical database. i need to supress the standard selection-options ...
Adding default value for a select-options in a selection-screen
Posted on: May 26, 2006 11:51 AM, by user: sid alpay -- Relevance: 77% -- Show all results within this thread
hello gurus, i have a report program with the following select-options in a selection-screen block:
select-options: so_site for MyTable-werks.
i want the so_site ...
Adding Selection Options Fields in Report(Using Query)
Posted on: Aug 25, 2004 5:26 AM, by user: lijo joseph -- Relevance: 76% -- Show all results within this thread
Hi, how can we add Selection Fields Options in Query Reports Which we create using SQ01. I need a default option by which ...
Getting the selection parameters/options in a diffrent program
Posted on: May 11, 2006 3:05 AM, by user: Chad Cheng -- Relevance: 75% -- Show all results within this thread
use Submit to get a report from a diffrent program and I am using variants to get the value of the selection criteria. However, for a less tedious approach, I think it would be better if I get the selection ...
Read options from selection-screen
Posted on: Aug 24, 2006 3:30 PM, by user: Silke Eng -- Relevance: 75% -- Show all results within this thread
Hi Kiran, as all other questions are answered already, remains the one on the select-options. Function module <b>RS_REFRESH_FROM_SELECTOPTIONS</b> returns those. Kind regards, Silke ...
Selection screen for SAP Query: OR between options
Posted on: Jun 29, 2006 3:04 PM, by user: Tania Pouli -- Relevance: 74% -- Show all results within this thread
need a variant where either of two fields should not be 0. Is there some way to add an OR between two selection options? I can't change the actual query because it's used with many other variants. Thanks ...
Pass internal table of selection-options through method!
Posted on: Nov 22, 2004 3:49 PM, by user: Frank Roels -- Relevance: 74% -- Show all results within this thread
I created a selection screen with multiple select-options. Now I want in a method of a class work with the internal ...
select-options: at selection-screen on value-request
Posted on: Sep 18, 2006 10:51 PM, by user: Sumit Agarwal -- Relevance: 72% -- Show all results within this thread
one field is dependent on the values of the other field in the select-options. I am using the "at selection-screen on value-request event on" to populate the select-options field, S_AUFNR, that is dependent ...
Pages: 16 [ 1 2 3 4 5 6 7 8 9 10 | -
Say in selection screeen (ie is in select-options) i have selected record r
say in selection screeen (ie is in select-options) i have selected record range from 1000 to 2000 but in the final display list i sholud not get 1200 to 1300 records it should be hide how is it posible
Thanks
BasuHello Math,
There are two ways of restricting the records with 1200 & 1300 values in output list display -
1. Either restrict the records while selecting the data from database using SELECT query. This can be achieved by ranges table populated with the values, which won't select the 1200 & 1300 records.
Find the following code for this -
TABLES: TAB1.
RANGES: R_FLD1 FOR TAB1-FLD1.
R_FLD1-SIGN = 'I' .
R_FLD1-OPTION = 'EQ'.
R_FLD1-LOW = '1000'.
R_FLD1-HIGH = '2000'.
APPEND R_FLD1.
R_FLD1-SIGN = 'I' .
R_FLD1-OPTION = 'NE'.
R_FLD1-LOW = '1200'.
R_FLD1-HIGH = '1300'
APPEND R_FLD1.
SELECT * FROM TAB1
INTO IT_TAB1
WHERE FLD1 IN R_FLD1.
2. Select the data first in internal table first and then delete the entries having 1200 & 1300 values.
Find the following code for this -
TABLES: TAB1.
RANGES: R_FLD1 FOR TAB1-FLD1.
SELECT * FROM TAB1
INTO IT_TAB1
WHERE FLD1 IN R_FLD1.
IF SY-SUBRC EQ 0.
SORT IT_TAB1 BY FLD1.
DELETE IT_TAB1 WHERE ( FLD1 = '1200' ) OR ( FLD1 = '1300' ).
ENDIF.
Hope this helps you.
PS If the answer solves your query, plz close the thread by rewarding each reply and marking it Solved.
Regards -
Can you giv me a brief introduction regarding selection screen with one eg:
Hello
can you giv me a brief introduction regarding selection screen with one eg:Hi Ranjith,
Selection Screens
Selection screens are one of the three types of screen in the R/3 System, along with dialog screens and lists. You use them whenever you want the user to enter either a single value for a field or fields, or to enter selection criteria.
Function
ABAP programs use screens to obtain input from users. The most general type of screen is a dialog screen, which you create using the ABAP Workbench tools Screen Painter and Menu Painter These tools allow you to create screens for data input and output. However, each of these screens requires its own flow logic.
Defining and Calling Selection Screens
You often use screens purely for data input . In these cases, you can use a selection screen. Selection screens provide a standardized user interface in the R/3 System. Users can enter both single values and complex selections. Input parameters are primarily used to control the program flow, while users can enter selection criteria to restrict the amount of data read from the database. You can create and save predefined sets of input values in the ABAP Editor for any selection screen. These are called variants. Texts on the selection screen are stored as language-specific selection texts in the program text elements. If you start an executable report using the SUBMIT statement, the input fields of the selection screen also serve as a data interface.
Defining and Calling Selection Screens
You define selection screens using ABAP statements in a program. Simple statements allow you to create input fields, checkboxes, and radio buttons, and design the screen layout. If you want to create a screen exclusively for data input, you do not need to create it using the normal dialog programming tools. When you create a selection screen, the system automatically assumes the tasks of the Screen Painter and Menu Painter.
The rules for calling and defining selection screens in ABAP programs depend on the program type:
· Executable program (type 1) without logical database
You can use a single standard selection screen and as many user-defined selection screens as you wish. The standard selection screen is called automatically when you start the program. User-defined selection screens, on the other hand, are called using the CALL SELECTION-SCREEN statement in a program. The standard selection screen always has the screen number 1000. User-defined selection screens can have any screen number except 1000.
· Executable program (type 1) with logical database
The standard selection screen for an executable program linked to a logical database is made up of the logical database selections and the program selections.
· Module pools (type M) and function modules (type F)
You can only use user-defined selection screens in module pools and function modules. These can have any number apart from 1000. You can only call a selection screen from a function module using the CALL SELECTION-SCREEN statement. You can also define selection screens as Subscreens and incorporate them in screens or tabstrip controls.
Hope this is useful.
regards
Ram
Message was edited by:
Ramanujan Chitrakootam -
Hi Regarding selection parameters and list box
Hi
This is the test Progra I am Checking for List but
When ever , After selecting from list , if press enter the value is going off,
and after executing I couldn't read P_int
when i am not geting any value into p_int.
REPORT YTEST_VINESH1.
*TYPEPOOLS
TYPE-POOLS : vrm.
*Tables
DATA DICLARATION.
DATA : name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
data: itab like lfa1 occurs 0 with header line.
DATA:P_INT1(20) TYPE C.
*SELECTION SECREEN
PARAMETER : p_int AS LISTBOX VISIBLE LENGTH 20.
*INITIALIZATION.
initialization.
select * from lfa1 up to 10 rows into table itab .
AT SELEECTION EVENTS
AT SELECTION-SCREEN OUTPUT.
name = 'P_INT'.
loop at itab.
value-key = sy-TABIX.
value-text = itab-lifnr.
APPEND value TO list.
endloop.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
CLEAR list.
*START-OF-SELECTION.
START-OF-SELECTION.
MOVE P_INT TO P_INT1.
WRITE:/ 'HAI HOW R U',P_INT1.
Thanks & Regards,
[email protected]Hi,
Check this sample code:
REPORT ZDROP_DOWN_LIST.
TABLES: LFA1.
TYPE-POOLS: VRM.
DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
PARAMETERS: P_LIFNR LIKE LFA1-LIFNR AS LISTBOX VISIBLE LENGTH 20.
DATA: BEGIN OF IT_ITAB OCCURS 0,
LIFNR LIKE LFA1-LIFNR,
LAND1 LIKE LFA1-LAND1,
NAME1 LIKE LFA1-NAME1,
END OF IT_ITAB.
INITIALIZATION.
SELECT LIFNR LAND1 NAME1 FROM LFA1 INTO IT_ITAB .
VALUE-KEY = IT_ITAB-LIFNR.
WRITE IT_ITAB-LAND1 TO VALUE-TEXT .
CONCATENATE VALUE-KEY VALUE-TEXT
IT_ITAB-NAME1
INTO VALUE-TEXT SEPARATED BY '~'.
APPEND VALUE TO LIST.
ENDSELECT.
NAME = 'P_LIFNR'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
START-OF-SELECTION.
WRITE:/ P_LIFNR. -
Regarding selection screen output
hi,
i have created ALV report by using selection screen.in this i have displayed kunnr field from kna1 table.
but it is showing someextra zero's and then code now i want to display only code not extra zero.here below i am giving example:----
sap code
00001562
but i want like this....
sap code
1562.
thanx/regards,
vaneet thakurTABLES : VBRK,KNA1.
TYPE-POOLS : SLIS.
DATA : T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
L_FIELDCAT TYPE SLIS_FIELDCAT_ALV, "DECLARATION OF FIELDCAT FOR OUTPUT DISPLAY
T_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA : BEGIN OF ITAB OCCURS 0,
VBELN LIKE VBRK-VBELN, "PO NUMBER
VTEG LIKE VBRK-VTWEG, "DC
SPART LIKE VBRK-SPART, "DIVISION
FKDAT LIKE VBRK-FKDAT, "DATE
KUNRG LIKE VBRK-KUNRG, "CUSTOMER PLANT
WERKS LIKE VBRK-WAERK, "SITE
VKORG LIKE VBRK-VKORG, "SALE ORGANIZATION
NAME1 LIKE KNA1-NAME1,
ORT01 LIKE KNA1-ORT01,
END OF ITAB.
SELECTION-SCREEN : BEGIN OF BLOCK VANEET WITH FRAME TITLE TEXT-001.
*SELECT-OPTIONS : SITE FOR VBRK-WAERK.
SELECT-OPTIONS : PCODE FOR VBRK-KUNRG.
*SELECT-OPTIONS : INVOICE FOR VBRK-VBELN.
SELECT-OPTIONS : S_ORG FOR VBRK-VKORG OBLIGATORY.
SELECT-OPTIONS : DC FOR VBRK-VTWEG OBLIGATORY.
SELECT-OPTIONS : DIVISION FOR VBRK-SPART obligatory.
*SELECT-OPTIONS : PO_DATE FOR VBRK-FKDAT.
SELECTION-SCREEN : END OF BLOCK VANEET.
SELECTION-SCREEN : BEGIN OF BLOCK VANEET1 WITH FRAME TITLE TEXT-002.
SELECT-OPTIONS : INVOICE FOR VBRK-VBELN.
SELECT-OPTIONS : PO_DATE FOR VBRK-FKDAT.
SELECTION-SCREEN : END OF BLOCK VANEET1.
*PERFORM TOP-OF-PAGE.
PERFORM FETCH-DATA.
*PERFORM DISP_DATA.
PERFORM T_FIELDCAT.
PERFORM REUSE_ALV.
**& Form TOP-OF-PAGE
text
--> p1 text
<-- p2 text
*FORM TOP-OF-PAGE .
*FORMAT COLOR 3 INTENSIFIED OFF.
*FORMAT COLOR 5 INTENSIFIED OFF.
*write : /48(120) 'NAHAR RETAIL LTD'.
*FORMAT COLOR 3 INTENSIFIED OFF.
*write : /48(120) 'FOCAL POINT'.
*FORMAT COLOR 6 INTENSIFIED OFF.
*write : /48(120) 'LUDHIANA'.
*write : / sy-uline.
*format color 4.
**WRITE: /1(20) 'INVOICENO',
25(15) 'SAP CODE',
55(15) 'PARTYNAME',
100(50) 'LOCATION'.
format color 7 INTENSIFIED ON.
*ENDFORM. " TOP-OF-PAGE
*& Form FETCH-DATA
text
--> p1 text
<-- p2 text
FORM FETCH-DATA .
REFRESH ITAB.
SELECT AVBELN AKUNRG AFKDAT AWAERK BNAME1 BORT01 INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM VBRK AS A INNER JOIN KNA1 AS B
ON AKUNRG = BKUNNR
WHERE
A~VBELN IN INVOICE
and
A~FKDAT IN PO_DATE
and
B~KUNNR IN PCODE
GROUP BY AVBELN AKUNRG BNAME1 BORT01 AFKDAT AWAERK.
SORT ITAB ascending BY VBELN.
*ENDSELECT.
ENDFORM. " FETCH-DATA
**& Form DISP_DATA
text
--> p1 text
<-- p2 text
*FORM DISP_DATA .
*loop at itab.
*write :/1(18) itab-VBELN,
27(5) ITAB-KUNRG,
55(25) ITAB-NAME1,
100(50) ITAB-ORT01.
*endloop.
*ENDFORM. " DISP_DATA
*& Form T_FIELDCAT
text
--> p1 text
<-- p2 text
FORM T_FIELDCAT .
PERFORM fill_field USING 'VBELN' 'PO NO'.
PERFORM fill_field USING 'KUNRG' 'CUSTOMER PLANT'.
PERFORM fill_field USING 'NAME1' 'PARTY NAME'.
PERFORM fill_field USING 'ORT01' 'LOCATION'.
PERFORM fill_field USING 'BASME' 'UOM'.
PERFORM SELECTION_WIDTH.
ENDFORM. " T_FIELDCAT
*& Form fill_field
text
-->P_0267 text
-->P_0268 text
FORM fill_field USING p_fieldname
p_seltext.
L_FIELDCAT-FIELDNAME = p_fieldname.
L_FIELDCAT-TABNAME = 'ITAB'.
L_FIELDCAT-SELTEXT_M = p_seltext.
L_FIELDCAT-OUTPUTLEN = 10.
APPEND L_FIELDCAT TO T_FIELDCAT.
CLEAR L_FIELDCAT.
ENDFORM. " fill_field
*& Form REUSE_ALV
text
--> p1 text
<-- p2 text
FORM REUSE_ALV .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = ' '
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_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 = T_LAYOUT
IT_FIELDCAT = T_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
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 = ITAB
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. " REUSE_ALV
*& Form SELECTION_WIDTH
text
--> p1 text
<-- p2 text
FORM SELECTION_WIDTH .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = itab-kunrg
IMPORTING
OUTPUT = itab-kunrg -
Regarding Selection-Screen Field Display
Hi All,
I have issues with Selection-Screen field display.
The Actual issue is i had declared a selection screen field as: <b>s_exgen FOR embk-exgen</b>.
<b>EMBK-EXGEN</b> is actually <b>20</b> Char length field.
But in output display it is being shown as <b>18</b> Char field though i can type in all <b>20</b> characters.
But <b>display</b> restricted to <b>18</b> Characters only.
Can anybody give me the solution for the same!
Thanks in advance.
Thanks & Regards,
Prasad.Hi,
You can decrease the visible length of the field but you can not increase more than database field length. check SAP help on this :
select-options: s_exgen FOR embk-exgen VISIBLE LENGTH 5.
... VISIBLE LENGTH vlen
Effect
This addition allows you to shorten the visible length of the corresponding screen field on the selection screen to vlen.
Variant 2
SELECT-OPTIONS sel FOR (f).
Additions as in variant 1.
Effect
In this variant, (f) must be a field containing the name of the actual reference field at runtime. The system creates the LOW and HIGH fields as character fields with length 45. However, their appearance on the selection <b>screen is inherited from the reference field whose name is contained in field f at runtime.</b>
Regards
Appana -
Regarding selection-screen in module pool
hi
experts,
i am having doubt in module pool programing...
i want create selection screen(pop screen with field) in modulepool., before the display screeen deatils
ex : if i want display the record details for that particular
record number.......
while i am click on display..
pop-up-selection screen will come with record number field..
i f enter the record no, display s the details...
AnanandPlease see Rich's answer here:
[Dialog programming - How to place a select-option field in a dialog screen;
Rob -
Regarding : Selecting the adapter type in ID
Hi,
While creating the scenario in Integration Directory using wizard we will get an option of selecting sender adapter type & receiver adapter type. But while creating manually , I am not getting the option of selecting the adapter type. Please specify, how to select the adapter type in manual process?
regards,
Kiran.LHey Kiran,
Create the adapter in the object tab under the relevant buisness system\service.
add that adapter to your allready made scenario.
enjoy.
Nimrod -
Regarding Selection of a row in Tree By Nesting UI Element
Hi
I have a table containing 2 columns mapped to a context node. Also a TreeByNestingUIElement is also there.
I wished to implement OnLeadSelect() for the table. I mean when i select a row, the value of the first column of that row gets populated in another context attribute "selectedValue"
It would be great if anyone tell me how to implement the code
Regards
SreekarSreekar,
If you are using NW04 SP13+ version or NW04s, then add "nodeElement" parameter mapping for onLeadSelect action handler as described here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c092333b-0601-0010-e7af-8c227fb6d052
/people/bertram.ganz/blog/2005/09/13/new-web-dynpro-sample-available--enhancing-table-performance
Otherwise follow guidelines described in my blog:
/people/valery.silaev/blog/2005/06/20/master-of-columns-part-ii
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
Regarding selection view in ldb KDF
Hello All,
In logical db KDF when i go to selection view i can see three function groups ie vendor master companycode and documents with their respective ids.
But when i execute report related with this logical database like tcode f.42 adn fbl1n i can see only two options in dynamic selections ie vendor master and company code where as documents option is missing
How can i get documents options back in the report or is there any program to regenerate these dynamic selections
Thanks
SUnnyHi Suny,
When I run the T-code FBL1N at my place and click on Dynamic selections button,what I see that there are all the three options--Vendor Master,Company Code and Documents available.
You need to observe that against Vendor number there is no input box available but all the fields available under it till Company Code belong to Vendor Master.Similarly,all the fields mentioned under Comaony Code belong to Company Code and likewise all the fields mentioned under Documents like Special G/L Indicator,Assignment,Document number etc. belong to Document.
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari. -
Problem regarding Selection Text for a Variable declared in ABAP
Hello Experts,
I am new to ABAP development. I have declared a variable in ABAP..Then i went to GOTO>Text Elements> Selection texts.
Then when i am selecting a date to have dictionary ref, then the text part is changed to "Date in Format YYYYMMSS in 8 C", then i can't customised it any more. But i want to display the text as "START DATE"..but while running. it's displaying "DATE" only.... How i can get rid of this situation?
Another problem : the limitations for th text in selection text is upto 33 charcaters by default..How can i change that so that i can accomodate as many characters i want.
Please help...I got stuck here for long time
Thanks
ANUPAMHi,
In the selection texts, don't use the check box to use the dictionary reference. So that you can declare your own text here.
If any text symbol is already declared and now if you want to increase the text, by default the maximum length is assigned.
So simply delete and insert the text symbol again. It will work.
For the selection texts, if you want to use more length, then use as below.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS pc_check AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(60) text-020.
SELECTION-SCREEN END OF LINE.
Here the text-020 will come in the selection screen for the above check box.
Regards,
Nangunoori. -
Hi Expert,
Is this select statement is ok ?
actually i have doubt in where clause when it mix both AND and OR without braces
SELECT SINGLE * FROM vbfa WHERE
vbeln = s_bkpf-awkey AND
vbtyp_v = 'C' OR
vbtyp_v = 'E' OR
vbtyp_v = 'M' OR
vbtyp_v = 'J' OR
vbtyp_v = 'R' .
thanks and regards
abaper.SELECT SINGLE * FROM vbfa WHERE
vbeln = s_bkpf-awkey AND ( vbtyp_v = 'C' OR
vbtyp_v = 'E' OR
vbtyp_v = 'M' OR
vbtyp_v = 'J' OR
vbtyp_v = 'R' ).
OR YOU CAN USE
SELECT SINGLE * FROM vbfa WHERE
vbeln = s_bkpf-awkey AND
vbtyp_v IN ('C', 'E', 'M', 'J', 'R') .
CHECK THE SPACE NO SPACE BETWEEN ('C' AFTER , ONE SPACE AND NO SPACE BETWEEN 'R'). GIVE THE SPACE CORRECTLY ...
REGARDS
SHIBA DUTTA -
Regarding select statement on structure
hi,
can we write select on structure?.........i hav to get condition record from konv(which is a structure) based on ekpo-ebeln.
for this i hav written code like this
IF NOT it_ekpo IS INITIAL.
SELECT knumv
kposn
kschl
kbetr
waers
KWERT
FROM konv
INTO TABLE it_konv
FOR ALL ENTRIES IN it_ekpo
WHERE knumv = it_ekpo-ebeln
and kposn = it_ekpo-ebelp
AND ( kschl EQ 'ZPF3' OR kschl EQ 'ZVAT'
OR kschl EQ 'ZCSR' OR kschl EQ 'ZFR3' ).
IF sy-subrc EQ 0.
SORT it_konv BY knumv kposn.
ENDIF.
ENDIF.Hi
You cannot write the Select statement on Structures but yo have a table for that structure where you will get the same data.
You can use komv & konp table instead of structure .
IF NOT IT_EKPO IS INITIAL.
SELECT KNUMV
KPOSN
KSCHL
KBETR
WAERS
KWERT
FROM KONV
INTO TABLE IT_KONP
FOR ALL ENTRIES IN IT_EKPO
WHERE KNUMV = IT_EKPO-EBELN
AND ( KSCHL EQ 'ZPF3' OR KSCHL EQ 'ZVAT'
OR KSCHL EQ 'ZCSR' OR KSCHL EQ 'ZFR3' ).
ENDIF.
Thanks & regards,,
Dileep .C
Maybe you are looking for
-
Photoshopversion for mac and windows when switching?
Hi, I have used now the photoshop trial version for windows for windows for a while and would like to buy the full version. However I will switch to a mac in December or January and would really appreciate If I would be able to start out with photosh
-
I just got my X1C Refurb in the mail. The laptop fan makes a high-pitched whine, 99% of the time. I have not even tried to do any serious work on it, but when I am on Chrome with two tabs open the fan operates continuously. I already have a headac
-
How to add new column to COPA datasource?
Dear all, It seems we have to delete the COPA datasource and regenerate it when we need add new column, if so,we should regenerate the initialIzation for the delta. Beacause only the new delta data need have value for new column,so I do not want to r
-
Read header information from an e-mail that is an attachment to another e-mail
I've written a macro using VBA code within Outlook 2010 that will extract header information from an e-mail and then save it to a csv file. The code works well, but unfortunately, the header information I need is within e-mails that are sent to me a
-
Sound from speakers but not headphones
I have a iPod Mini that will only play sound when connected to a stereo and not the headphones. I have tried two sets of known good headphones with same result. I have also followed the '5 R's' on the iPod, but the problem of sound only when connecte