Reg: select-options to be displayed as LISTBOX
Hi All,
I have a selection screen & one Select option. for this select option, i am attaching F4 help using one Inetrnal table data. Now i want to make this select option field as a LISTBOX (Drop Down - as avaiable with PARAMETER), so that user can't enter the values other that List Box.
Kindly suggest.
Regards,
Hi Salil,
I thnk its not possible to make select-options look like a list box.
U have to create list box separately.
for creating a list box
PARAMETERS l_carrid TYPE spfli-carrid AS LISTBOX VISIBLE LENGTH 15
USER-COMMAND onli DEFAULT 'AA'.
For populating the values use VRMSET_VALUES
Regards,
Lakshman.
Similar Messages
-
Can i assign a collective srch help for select option in list display
can i assign a collective srch help for select option in list display
Hi,
Yes ,u can assign a collective search help for select-option in list display.
Eg:
Define your select option like this
SELECT-OPTIONS: s_vbeln FOR likp-vbeln MATCHCODE OBJECT vmva.
Regards,
Shiva. -
Selection options for field display text instead of key
Hi All,
In the selection screen in my reports, when the user clicks on the selection options for one the fields to display the possible values they can use. Instead of the key the pop up box only displays the text for that field. This is an issue because one of the fields is equipment number and the user needs to be able to see the key not the descriptions. This is occurring in multiple reports and for multiple fields. I haven't been able to find anything in the infoobject properties or the query properties to change this.
Please help!
Edited by: Anthony Loh on Sep 29, 2010 10:57 PMHi Anthony,
Cud u pls check in backend how it is created ...
RSA1>Mdeling>IO Properties>Second tab BEx properties>Display-->it shud be Key and not text...
Check this and come back ..
Rgds
SVU123 -
Select options: Restricting Value Display in Search Help Parameters
Hello friends,
I have following requirement.
I have declared one select option. On that select options I'am having different search help paremeters on which I can restrict the search help values display.
Can I specify the restriction in search help at the time of programming so that it would display only the values that follows the given restriction?
I can ofcourse do this by AT SELECTION-SCREEN ON VALUE REQUEST, however I am trying to avoid this.
How can I proceed?
Points will be rewarded generously.
Best Regards,
NavinhI
SEE THIS CODE
**************DATA TYPES DECLARATION **********************
TABLES: HRP1001, HRP1026, HRP1000,PCHDY.
TYPE-POOLS SLIS.
TYPES :BEGIN OF ST_OUTPUT,
COUNT TYPE STRING,
OBJID TYPE HRP1001-OBJID,
STEXT TYPE HRP1000-STEXT,
BEGDA TYPE HRP1000-BEGDA,
ENDDA TYPE HRP1000-ENDDA,
CANCRT TYPE T77CRT-CANCRT,
AEDTM TYPE HRP1026-AEDTM,
UNAME TYPE HRP1026-UNAME,
LSTEXT TYPE HRP1000-STEXT,
RINVT TYPE T777V-RINVT,
END OF ST_OUTPUT.
TYPES: BEGIN OF ST_HRP1000,
OBJID TYPE HRP1001-OBJID,
STEXT TYPE HRP1000-STEXT,
END OF ST_HRP1000.
TYPES : BEGIN OF ST_HRP1001,
OTYPE TYPE HRP1001-OTYPE,
OBJID TYPE HRP1001-OBJID,
RELAT type hrp1001-RELAT,
BEGDA TYPE HRP1001-BEGDA,
ENDDA TYPE HRP1001-ENDDA,
SCLAS TYPE HRP1001-SCLAS,
SOBID TYPE HRP1001-SOBID,
END OF ST_HRP1001.
TYPES : BEGIN OF ST_HRP1026,
OTYPE TYPE HRP1026-OTYPE,
OBJID TYPE HRP1001-OBJID,
AEDTM TYPE HRP1026-AEDTM,
UNAME TYPE HRP1026-UNAME,
DELET TYPE HRP1026-DELET,
CANCR TYPE HRP1026-CANCR,
END OF ST_HRP1026.
TYPES : BEGIN OF ST_REASON,
CANCR TYPE HRP1026-CANCR,
CANCRT TYPE T77CRT-CANCRT,
END OF ST_REASON.
TYPES : BEGIN OF ST_SOBID,
OTYPE TYPE HRP1001-OTYPE,
OBJID TYPE HRP1001-OBJID,
RELAT type hrp1001-OBJID,
BEGDA TYPE HRP1001-BEGDA,
ENDDA TYPE HRP1001-ENDDA,
SCLAS TYPE HRP1001-SCLAS,
SOBID TYPE HRP1001-OBJID,
END OF ST_SOBID.
TYPES : BEGIN OF ST_OBJID,
OBJID TYPE HRP1001-OBJID,
END OF ST_OBJID.
TYPES : BEGIN OF ST_LOCATION,
OTYPE TYPE HRP1001-OTYPE,
OBJID TYPE HRP1001-OBJID,
RSIGN TYPE HRP1001-RSIGN,
RELAT TYPE HRP1001-RELAT,
SCLAS TYPE HRP1001-SCLAS,
SOBID TYPE HRP1001-SOBID,
END OF ST_LOCATION.
TYPES : BEGIN OF ST_LOCATION1,
OTYPE TYPE HRP1001-OTYPE,
OBJID TYPE HRP1001-OBJID,
RSIGN TYPE HRP1001-RSIGN,
RELAT TYPE HRP1001-RELAT,
SCLAS TYPE HRP1001-SCLAS,
SOBID TYPE HRP1001-OBJID,
END OF ST_LOCATION1.
TYPES : BEGIN OF ST_LSTEXT,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1000-OBJID,
LSTEXT TYPE HRP1000-STEXT,
END OF ST_LSTEXT.
TYPES : BEGIN OF ST_OBJID_SH,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1000-OBJID,
END OF ST_OBJID_SH.
DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
DATA : IT_LSTEXT TYPE STANDARD TABLE OF ST_LSTEXT. "TOS STORE THE TEXT OF COURCE LOCATION
DATA : WA_LSTEXT TYPE ST_LSTEXT.
DATA : IT_LOCATION TYPE STANDARD TABLE OF ST_LOCATION. " TO STORE THE LOCATION OF COURCE
DATA : WA_LOCATION TYPE ST_LOCATION.
DATA : IT_LOCATION1 TYPE STANDARD TABLE OF ST_LOCATION1. " TO CONVERT SOBID INTO OBJID FOR COURCE LOCATION
DATA : WA_LOCATION1 TYPE ST_LOCATION1.
DATA : IT_SOBID TYPE STANDARD TABLE OF ST_SOBID. " TO CHANGE THE SOBID OF HRP1001 TO OBJID OF HRP1026
DATA : WA_SOBID TYPE ST_SOBID. " BY USING FOR ALL ENTRIES
DATA : IT_REASON TYPE STANDARD TABLE OF ST_REASON. "TO STORE T HE REASON FOR CANCELL TEXT
DATA : WA_REASON TYPE ST_REASON.
DATA : IT_OUTPUT TYPE STANDARD TABLE OF ST_OUTPUT. "OUTPUT FEILDS OF REPORT.
DATA : WA_OUTPUT TYPE ST_OUTPUT.
DATA : IT_OUTPUT_1 TYPE STANDARD TABLE OF ST_OUTPUT. " TEMP OUTPUT FEILDS OF REPORT.
DATA : WA_OUTPUT_1 TYPE ST_OUTPUT.
DATA : IT_HRP1000 TYPE STANDARD TABLE OF ST_HRP1000. "DATA FROM HRP1000 TABLE
DATA : WA_HRP1000 TYPE ST_HRP1000.
DATA : IT_HRP1001 TYPE STANDARD TABLE OF ST_HRP1001. "DATA FROM HRP1001 TABLE
DATA : WA_HRP1001 TYPE ST_HRP1001.
DATA : IT_HRP1026 TYPE STANDARD TABLE OF ST_HRP1026. "DATA FROM HRP1026 TABLE
DATA : WA_HRP1026 TYPE ST_HRP1026.
DATA : IT_OBJID TYPE STANDARD TABLE OF ST_OBJID. " TO STORE THE OBJID OF HRP1001
DATA : WA_OBJID TYPE ST_OBJID.
DATA: WS_FCAT TYPE SLIS_FIELDCAT_ALV . " FEILDCATALOG FOR ALV REPORT
DATA: IN_FCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: W_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA : LV_COUNT TYPE I. "FEILD FOR SERIAL NUMBER
***************************END OF DATA DECLARATION******************************************
************SELECTION SCREEN DESIGN************************
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
*SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
***********END OF SELECTION SCREEN DESIGN******************
*****INITIALIZATION VENT TO ASIGN DEFAULT VALUES TO OTYPE
*INITIALIZATION.
S_OTYPE-LOW = 'D'.*
S_OTYPE-SIGN = 'I'.*
S_OTYPE-OPTION = 'EQ'.*
APPEND S_OTYPE.*
CLEAR S_OTYPE.*
**************END OF EVENT INITIALIZATION******************
**********VALIDATION FOR SCREEN FIELDS*********************
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
IF S_OBJID IS NOT INITIAL.*
SELECT OTYPE OBJID FROM HRP1000
INTO TABLE IT_OBJID_SH
WHERE OTYPE = 'D'.
IF SY-SUBRC EQ 0.
SEARCH HELP FOR QUALIFICATION.*
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '*
RETFIELD = 'OBJID'
PVALKEY = ' '*
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_OBJID'
STEPL = 0*
WINDOW_TITLE =*
VALUE = ' '*
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '*
DISPLAY = ' '*
CALLBACK_PROGRAM = ' '*
CALLBACK_FORM = ' '*
MARK_TAB =*
IMPORTING*
USER_RESET =*
TABLES
VALUE_TAB = IT_OBJID_SH
FIELD_TAB =*
RETURN_TAB = RETURN_TAB*
DYNPFLD_MAPPING =*
EXCEPTIONS*
PARAMETER_ERROR = 1*
NO_VALUES_FOUND = 2*
OTHERS = 3*
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. -
Hi,
can anyone explain me the internal format of the select-option...
Thanks in advance..Hi Raj,
Select-options are just like internal tables. they are used to give user a multi selection option.
<b>Example:
tables: sflight.
select-options: carrid for sflight-CARRID.</b>
<b>select-option have.</b>
LOW : lower range limit
HIGH : high range limit
SIGN : operator used like =, <> , <= , >=.
OPTION : I = inclulde, E = exclude.
following are the addition for it.
SELECT-OPTIONS sel FOR f.
1. ... DEFAULT g
2. ... DEFAULT g ... OPTION xx ... SIGN s
3. ... DEFAULT g TO h
4. ... DEFAULT g TO h ... OPTION op ... SIGN s
5. ... MEMORY ID pid
6. ... MATCHCODE OBJECT mobj
7. MODIF ID key
8. ... NO-DISPLAY
9. ... LOWER CASE
10. ... OBLIGATORY
11. ... NO-EXTENSION
12. ... NO INTERVALS
13. ... NO DATABASE SELECTION
14. ... VALUE-REQUEST
15. ... VALUE-REQUEST FOR LOW/HIGH
16. ... HELP-REQUEST
17. ... HELP-REQUEST FOR LOW/HIGH
18. ... VISIBLE LENGTH vlen
<b>Reward points... if you feel helpful,
Cheers !
Moqeeth.</b> -
HI All,
Can anyone of you tell me wat is wrong in the below code.
TABLES:
EKKO, "Purchasing Document Header
EKPO, "Purchasing Doc Item
MARA, "Material
MARC, "Material at plant
USR02, "User address data
T024E, "Purchasing Organization
EORD. "Purchasing Source List
tables : kna1.
GLOBAL DATA
DATA: " Work fields definition
W_SPONO LIKE RSPOTYPE-RQNUMBER,
W_MAIL_SUBJECT(50) TYPE C,
W_MAIL_REPT(1),
W_TIME LIKE SY-UZEIT.
DATA W_CNTRFLG.
DATA :W_HEADFLG.
DATA W_NETWR(16).
Counters
DATA: W_COUNT_READ(6) TYPE N, "Records Read
W_COUNT_SKIP(6) TYPE N, "Records Skipped
W_COUNT_NEW(6) TYPE N, "New Records to create
W_COUNT_PO(6) TYPE N, "Number of PO records
W_COUNT_CALL_TXN_ERR(6) TYPE N, " # of CALL TXN errors
W_COUNT_CALL_TXN(6) TYPE N, "Total # Call Trans
W_COUNT_BDC_RECORDS(6) TYPE N, "Total # BDC Trans
W_COUNT_LINES(2) TYPE N, "number lines on T/O
W_COUNT_SESS_TOT(4) TYPE N. "Total session count
General Data
DATA: W_REQ_DATE_N TYPE D, "Req date converted to DAT
W_REQ_DATE(10) TYPE C, "Req date converted to CHAR
W_DONE_FILE(85) TYPE C, "Output done file name
W_MESSAGE(60) TYPE C, "Work message field
W_PAGE TYPE C VALUE '1', "report type: 1=audit, 2=error
W_QTY LIKE EBAN-MENGE, "Qty converted to numeric field
W_TAX_CODE LIKE EKPO-MWSKZ, "Tax Code
W_RETCODE(2) TYPE N,
W_MAXLNS TYPE N.
DATA:W_CONTRACT_PREV LIKE EKKO-KONNR.
CALL TRANSACTION fields
DATA: W_TRANSACTION LIKE TSTC-TCODE. "Transaction to call
Constants
CONSTANTS: C_PO_TYPE LIKE EKKO-BSART VALUE 'NB',
C_PLANT LIKE EKPO-WERKS VALUE '5050', "V01
C_PO_CREATE LIKE TSTC-TCODE VALUE 'ME21',
C_X(1) TYPE C VALUE 'X',
C_TRANS(10) TYPE C VALUE '.transfer',
C_2300 LIKE EKPO-WERKS VALUE '2300'. "V02
CONSTANTS:C_CREATEDPO(15) TYPE C VALUE 'Created PO',
C_CALLTRAX(20) TYPE C VALUE 'Call Txn error'.
Record Layout *
Input File Layout
DATA: BEGIN OF R_INPUT1,
REC_TYPE(32) TYPE C, "Record Type
VERSION(4) TYPE C, "Version
EBELN(20) TYPE C, "Order Number
EMPTY1(20) TYPE C, "Empty Field
ORDER_LINE(5) TYPE C, "Order Line Number
EMPTY2(4) TYPE C, "Empty Field
BSART(4) TYPE C, "PO type
EKORG(4) TYPE C, "Purchasing Org
EKGRP(3) TYPE C, "Purchasing Group
EMPTY3(4) TYPE C, "Empty Field
VENDOR(10) TYPE C, "Vendor
MATNR(18) TYPE C, "Material
MENGE(17) TYPE C, "Purch Order Quantity
REQ_DATE(8) TYPE N, "Requested Date (yyyymmdd)
WERKS(4) TYPE C, "Plant
EMPTY4(4) TYPE C, "Empty Field
CONTRACT(10) TYPE C, "Contract Number
CONTR_ITEM(5) TYPE C, "Contract Item Number
EMPTY5(10) TYPE C, "Empty Field
LGORT(4) TYPE C, "Storage Location
END OF R_INPUT1.
Internal Table Definition With Structure Included *
DATA: IT_INPUT LIKE R_INPUT1 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF IT_MARC OCCURS 0,
MATNR LIKE MARC-MATNR,
WERKS LIKE MARC-WERKS,
EKGRP LIKE MARC-EKGRP,
END OF IT_MARC.
JIT Purchase Order Table
DATA: BEGIN OF IT_JIT_PO OCCURS 10.
INCLUDE STRUCTURE R_INPUT1.
DATA: TAXCODE(2) TYPE C. "V01
DATA: END OF IT_JIT_PO.
DATA:IT_JIT_PO1 LIKE TABLE OF IT_JIT_PO WITH HEADER LINE.
Messages Table (errors & success)
DATA: BEGIN OF IT_MSGTAB OCCURS 10.
DATA: RKEY(2) TYPE C. "Record type key
INCLUDE STRUCTURE R_INPUT1.
DATA: MSG(60) TYPE C.
DATA: NAME1 LIKE LFA1-NAME1. "Vendor Name
DATA: PONUMBER LIKE EKPO-EBELN.
DATA: BCODEDESC LIKE T024-EKNAM.
DATA: NETWR LIKE EKPO-NETWR. "Total PO $ Value
DATA: END OF IT_MSGTAB.
Temp Table to save data for one PO at a time
DATA: BEGIN OF IT_PODAT OCCURS 10.
INCLUDE STRUCTURE R_INPUT1.
DATA: END OF IT_PODAT.
DATA: IT_MSGTAB_E LIKE IT_MSGTAB OCCURS 0 WITH HEADER LINE.
DATA: IT_MSGTAB_O LIKE IT_MSGTAB OCCURS 0 WITH HEADER LINE.
DATA: IT_MSGTAB_ERR LIKE IT_MSGTAB OCCURS 0 WITH HEADER LINE.
For F4 at Event Name
DATA: BEGIN OF LV_EVT OCCURS 0,
EVENTID LIKE BTCUEV-EVENTID,
END OF LV_EVT.
To print selections
DATA: BEGIN OF SELECTIONS OCCURS 0,
Z(2) TYPE C,
LINE LIKE RALDB-INFOLINE,
END OF SELECTIONS.
DATA: BEGIN OF T_MESSAGE OCCURS 10. "#EC *
INCLUDE STRUCTURE BDCMSGCOLL.
DATA: END OF T_MESSAGE.
DATA: BEGIN OF IT_NETWR OCCURS 0,
NETWR LIKE EKPO-NETWR,
END OF IT_NETWR.
DATA: BEGIN OF IT_BDC OCCURS 0.
INCLUDE STRUCTURE BDCDATA.
DATA: END OF IT_BDC.
DATA: W_MATNR LIKE MARC-MATNR,
W_LNUM(6) TYPE N,
INT_MATNR LIKE MARA-MATNR, "Internal format
W_TFILE(60).
DATA: BEGIN OF IT_RECEIVERS OCCURS 0.
INCLUDE STRUCTURE SOOS1.
DATA: END OF IT_RECEIVERS.
SELECTION SCREEN
SELECT-OPTIONS: S_EKORG FOR EKKO-EKORG OBLIGATORY
NO INTERVALS
DEFAULT '9000'.
SELECT-OPTIONS: S_WERKS FOR MARC-WERKS OBLIGATORY ."NO INTERVALS. "V01
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_INPUT(80) TYPE C "Input file from DRP
DEFAULT '/sapdaemon/I2/spp/in/daily/po_upload_spk21.dat'
OBLIGATORY LOWER CASE,
P_OUTPUT(80) TYPE C "Error/warning error records
DEFAULT '/sapdaemon/I2/spp/in/daily/po_upload_spk21.err'
LOWER CASE.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN COMMENT 01(53) TEXT-005.
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_DONEFL AS CHECKBOX DEFAULT 'X', "Create .done file?
P_UPDT AS CHECKBOX DEFAULT ' '. "Simulation Run only?(x=yes)
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_MODE(1) TYPE C DEFAULT 'N'
OBLIGATORY,
P_UPDATE(1) TYPE C DEFAULT 'S'
OBLIGATORY,
P_BDCERR LIKE APQI-GROUPID DEFAULT 'ZMXU510',
P_USERID LIKE APQI-USERID DEFAULT SY-UNAME
MATCHCODE OBJECT USER_ADDR.
PARAMETERS : P_MAXLNS(3) TYPE N DEFAULT 10 OBLIGATORY.
select-options: S_MAXLNS for kna1-kunnr.
SELECTION-SCREEN COMMENT 42(40) TEXT-011.
PARAMETERS:
P_STOP(6) TYPE N. "MAX # of records to read from input file
SELECTION-SCREEN COMMENT 42(40) TEXT-003.
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_REPTD AS CHECKBOX DEFAULT 'X',
P_REPTP AS CHECKBOX DEFAULT ' ',
P_SPOOL AS CHECKBOX DEFAULT ' ',
P_EMAIL AS CHECKBOX DEFAULT ' '.
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_EVENT AS CHECKBOX DEFAULT 'X',
P_EVNAM LIKE BTCUEV-EVENTID DEFAULT 'Z_ITWO_START_ZI2X14'.
SELECTION-SCREEN SKIP 1.
PARAMETERS: P_TRANS AS CHECKBOX DEFAULT 'X',
P_TFILE(80) TYPE C DEFAULT
'/sapdaemon/I2/spp/in/daily/zi2spk21.trig'(099)
LOWER CASE.Hi,
You have writen the Selsection screen comments, but that is over writing some of the parameters, so it is not genarating the selection screen, you need use the / for every comment on the selection screen, so that it will print in the next line
Here is the changed code
TABLES:
EKKO, "Purchasing Document Header
EKPO, "Purchasing Doc Item
MARA, "Material
MARC, "Material at plant
USR02, "User address data
T024E, "Purchasing Organization
EORD. "Purchasing Source List
tables : kna1.
GLOBAL DATA
DATA: " Work fields definition
W_SPONO LIKE RSPOTYPE-RQNUMBER,
W_MAIL_SUBJECT(50) TYPE C,
W_MAIL_REPT(1),
W_TIME LIKE SY-UZEIT.
DATA W_CNTRFLG.
DATA :W_HEADFLG.
DATA W_NETWR(16).
Counters
DATA: W_COUNT_READ(6) TYPE N, "Records Read
W_COUNT_SKIP(6) TYPE N, "Records Skipped
W_COUNT_NEW(6) TYPE N, "New Records to create
W_COUNT_PO(6) TYPE N, "Number of PO records
W_COUNT_CALL_TXN_ERR(6) TYPE N, " # of CALL TXN errors
W_COUNT_CALL_TXN(6) TYPE N, "Total # Call Trans
W_COUNT_BDC_RECORDS(6) TYPE N, "Total # BDC Trans
W_COUNT_LINES(2) TYPE N, "number lines on T/O
W_COUNT_SESS_TOT(4) TYPE N. "Total session count
General Data
DATA: W_REQ_DATE_N TYPE D, "Req date converted to DAT
W_REQ_DATE(10) TYPE C, "Req date converted to CHAR
W_DONE_FILE(85) TYPE C, "Output done file name
W_MESSAGE(60) TYPE C, "Work message field
W_PAGE TYPE C VALUE '1', "report type: 1=audit, 2=error
W_QTY LIKE EBAN-MENGE, "Qty converted to numeric field
W_TAX_CODE LIKE EKPO-MWSKZ, "Tax Code
W_RETCODE(2) TYPE N,
W_MAXLNS TYPE N.
DATA:W_CONTRACT_PREV LIKE EKKO-KONNR.
CALL TRANSACTION fields
DATA: W_TRANSACTION LIKE TSTC-TCODE. "Transaction to call
Constants
CONSTANTS: C_PO_TYPE LIKE EKKO-BSART VALUE 'NB',
C_PLANT LIKE EKPO-WERKS VALUE '5050', "V01
C_PO_CREATE LIKE TSTC-TCODE VALUE 'ME21',
C_X(1) TYPE C VALUE 'X',
C_TRANS(10) TYPE C VALUE '.transfer',
C_2300 LIKE EKPO-WERKS VALUE '2300'. "V02
CONSTANTS:C_CREATEDPO(15) TYPE C VALUE 'Created PO',
C_CALLTRAX(20) TYPE C VALUE 'Call Txn error'.
Record Layout *
Input File Layout
DATA: BEGIN OF R_INPUT1,
REC_TYPE(32) TYPE C, "Record Type
VERSION(4) TYPE C, "Version
EBELN(20) TYPE C, "Order Number
EMPTY1(20) TYPE C, "Empty Field
ORDER_LINE(5) TYPE C, "Order Line Number
EMPTY2(4) TYPE C, "Empty Field
BSART(4) TYPE C, "PO type
EKORG(4) TYPE C, "Purchasing Org
EKGRP(3) TYPE C, "Purchasing Group
EMPTY3(4) TYPE C, "Empty Field
VENDOR(10) TYPE C, "Vendor
MATNR(18) TYPE C, "Material
MENGE(17) TYPE C, "Purch Order Quantity
REQ_DATE(8) TYPE N, "Requested Date (yyyymmdd)
WERKS(4) TYPE C, "Plant
EMPTY4(4) TYPE C, "Empty Field
CONTRACT(10) TYPE C, "Contract Number
CONTR_ITEM(5) TYPE C, "Contract Item Number
EMPTY5(10) TYPE C, "Empty Field
LGORT(4) TYPE C, "Storage Location
END OF R_INPUT1.
Internal Table Definition With Structure Included *
DATA: IT_INPUT LIKE R_INPUT1 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF IT_MARC OCCURS 0,
MATNR LIKE MARC-MATNR,
WERKS LIKE MARC-WERKS,
EKGRP LIKE MARC-EKGRP,
END OF IT_MARC.
JIT Purchase Order Table
DATA: BEGIN OF IT_JIT_PO OCCURS 10.
INCLUDE STRUCTURE R_INPUT1.
DATA: TAXCODE(2) TYPE C. "V01
DATA: END OF IT_JIT_PO.
DATA:IT_JIT_PO1 LIKE TABLE OF IT_JIT_PO WITH HEADER LINE.
Messages Table (errors & success)
DATA: BEGIN OF IT_MSGTAB OCCURS 10.
DATA: RKEY(2) TYPE C. "Record type key
INCLUDE STRUCTURE R_INPUT1.
DATA: MSG(60) TYPE C.
DATA: NAME1 LIKE LFA1-NAME1. "Vendor Name
DATA: PONUMBER LIKE EKPO-EBELN.
DATA: BCODEDESC LIKE T024-EKNAM.
DATA: NETWR LIKE EKPO-NETWR. "Total PO $ Value
DATA: END OF IT_MSGTAB.
Temp Table to save data for one PO at a time
DATA: BEGIN OF IT_PODAT OCCURS 10.
INCLUDE STRUCTURE R_INPUT1.
DATA: END OF IT_PODAT.
DATA: IT_MSGTAB_E LIKE IT_MSGTAB OCCURS 0 WITH HEADER LINE.
DATA: IT_MSGTAB_O LIKE IT_MSGTAB OCCURS 0 WITH HEADER LINE.
DATA: IT_MSGTAB_ERR LIKE IT_MSGTAB OCCURS 0 WITH HEADER LINE.
For F4 at Event Name
DATA: BEGIN OF LV_EVT OCCURS 0,
EVENTID LIKE BTCUEV-EVENTID,
END OF LV_EVT.
To print selections
DATA: BEGIN OF SELECTIONS OCCURS 0,
Z(2) TYPE C,
LINE LIKE RALDB-INFOLINE,
END OF SELECTIONS.
DATA: BEGIN OF T_MESSAGE OCCURS 10. "#EC *
INCLUDE STRUCTURE BDCMSGCOLL.
DATA: END OF T_MESSAGE.
DATA: BEGIN OF IT_NETWR OCCURS 0,
NETWR LIKE EKPO-NETWR,
END OF IT_NETWR.
DATA: BEGIN OF IT_BDC OCCURS 0.
INCLUDE STRUCTURE BDCDATA.
DATA: END OF IT_BDC.
DATA: W_MATNR LIKE MARC-MATNR,
W_LNUM(6) TYPE N,
INT_MATNR LIKE MARA-MATNR, "Internal format
W_TFILE(60).
DATA: BEGIN OF IT_RECEIVERS OCCURS 0.
INCLUDE STRUCTURE SOOS1.
DATA: END OF IT_RECEIVERS.
SELECTION SCREEN
SELECT-OPTIONS: S_EKORG FOR EKKO-EKORG OBLIGATORY
NO INTERVALS
DEFAULT '9000'.
SELECT-OPTIONS: S_WERKS FOR MARC-WERKS OBLIGATORY ."NO INTERVALS. "V01
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_INPUT(80) TYPE C "Input file from DRP
DEFAULT '/sapdaemon/I2/spp/in/daily/po_upload_spk21.dat'
OBLIGATORY LOWER CASE,
P_OUTPUT(80) TYPE C "Error/warning error records
DEFAULT '/sapdaemon/I2/spp/in/daily/po_upload_spk21.err'
LOWER CASE.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN COMMENT /01(53) TEXT-005.
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_DONEFL AS CHECKBOX DEFAULT 'X', "Create .done file?
P_UPDT AS CHECKBOX DEFAULT ' '. "Simulation Run only?(x=yes)
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_MODE(1) TYPE C DEFAULT 'N'
OBLIGATORY,
P_UPDATE(1) TYPE C DEFAULT 'S'
OBLIGATORY,
P_BDCERR LIKE APQI-GROUPID DEFAULT 'ZMXU510',
P_USERID LIKE APQI-USERID DEFAULT SY-UNAME
MATCHCODE OBJECT USER_ADDR.
PARAMETERS : P_MAXLNS(3) TYPE N DEFAULT 10 OBLIGATORY.
select-options: S_MAXLNS for kna1-kunnr.
SELECTION-SCREEN COMMENT /42(40) TEXT-011.
PARAMETERS:
P_STOP(6) TYPE N. "MAX # of records to read from input file
SELECTION-SCREEN COMMENT /42(40) TEXT-003.
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_REPTD AS CHECKBOX DEFAULT 'X',
P_REPTP AS CHECKBOX DEFAULT ' ',
P_SPOOL AS CHECKBOX DEFAULT ' ',
P_EMAIL AS CHECKBOX DEFAULT ' '.
SELECTION-SCREEN SKIP 1.
PARAMETERS:
P_EVENT AS CHECKBOX DEFAULT 'X',
P_EVNAM LIKE BTCUEV-EVENTID DEFAULT 'Z_ITWO_START_ZI2X14'.
SELECTION-SCREEN SKIP 1.
PARAMETERS: P_TRANS AS CHECKBOX DEFAULT 'X',
P_TFILE(80) TYPE C DEFAULT
'/sapdaemon/I2/spp/in/daily/zi2spk21.trig'(099)
LOWER CASE.
Regards
Sudheer -
Hello, and thank you in advance for any assistance.
I need to create a .pdf with conditional text. Ideally, the user would select (via checkboxes) certain options, and only the text relevant to those selections would be included in the .pdf. Is this possible in Acrobat? If so, how? If not, what tool accomplishes this?
Many thanks.Sorry 'bout that ! I was responding from e-mail and as you can see it's not working quite right. This is what I had wrote;
Tools ? What do you mean tools ? Adobe Acrobat is your tool. :-)
If you don't know javascript then you should entertain learning some if
you wish to "extend" Acrobat. That's the nature of the beast.
You may find some precompiled javascripts; but if you want customization
then you'll either have to pay someone to do it or yeah, learn javascript.
Check out Acrobatusers.com they have an excellent Acrobat Javascript section.
Best Regards,
Steve
Message was edited by: S.D.A. -
Select option in Dialog program screen
Hi friends,
do we have any way to get a select option displayed in dialog programming ?
or
create a screen field with the properties of a select option in dialog screen ?
or
any standard function module to support this scenario ?
Thanks and Regards
Sakthi.Hi,
i don't know you checked it or not, but i am able to do it, i send the screen shot also to you check it..
it is possible,with some coding also check it once...
REPORT ZTEST_SCREEN .
DATA : BEGIN OF IT_DYNPFIELDS OCCURS 3.
INCLUDE STRUCTURE DYNPREAD.
DATA : END OF IT_DYNPFIELDS.
DATA: TEST(10) TYPE C.
RANGES: R_UNAME FOR SY-UNAME.
DATA: V_USERNAME LIKE SY-UNAME.
DATA : V_PROG LIKE D020S-PROG VALUE 'ZTEST_SCREEN',
V_DNUM LIKE D020S-DNUM VALUE '0100'.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
* text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'TEST'.
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module GET_CURSOR_USERNAME INPUT
* text
MODULE GET_CURSOR_USERNAME INPUT.
REFRESH IT_DYNPFIELDS.
CLEAR IT_DYNPFIELDS.
MOVE 'V_USERNAME' TO IT_DYNPFIELDS-FIELDNAME.
APPEND IT_DYNPFIELDS.
CLEAR IT_DYNPFIELDS.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = V_PROG
DYNUMB = V_DNUM
TRANSLATE_TO_UPPER = 'X'
TABLES
DYNPFIELDS = IT_DYNPFIELDS
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11.
IF SY-SUBRC = 0.
READ TABLE IT_DYNPFIELDS WITH KEY FIELDNAME = 'V_USERNAME'.
IF SY-SUBRC = 0.
V_USERNAME = IT_DYNPFIELDS-FIELDVALUE.
ENDIF.
ENDIF.
PERFORM GET_MULTIPLE.
ENDMODULE. " GET_CURSOR_USERNAME INPUT
*& Form GET_MULTIPLE
* text
* --> p1 text
* <-- p2 text
FORM GET_MULTIPLE .
* Dynamically holding Field name
FIELD-SYMBOLS: <FST> TYPE STANDARD TABLE.
IF R_UNAME[] IS INITIAL.
IF NOT V_USERNAME IS INITIAL.
R_UNAME-SIGN = 'I'.
R_UNAME-OPTION = 'EQ'.
R_UNAME-LOW = V_USERNAME.
APPEND R_UNAME.
CLEAR R_UNAME.
ENDIF.
ENDIF.
ASSIGN R_UNAME[] TO <FST>.
CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
EXPORTING
TITLE = 'Select Multiple Value'(059)
TEXT = 'Finish Group'(058)
SIGNED = 'X'
LOWER_CASE = ' '
NO_INTERVAL_CHECK = 'X'
JUST_DISPLAY = ' '
JUST_INCL = 'X'
TABLES
RANGE = <FST>
EXCEPTIONS
NO_RANGE_TAB = 1
CANCELLED = 2
INTERNAL_ERROR = 3
OTHERS = 4.
IF SY-SUBRC = 0.
READ TABLE R_UNAME INDEX 1.
IF SY-SUBRC = 0.
V_USERNAME = R_UNAME-LOW.
ENDIF.
ENDIF.
ENDFORM. " GET_MULTIPLE
Flow loogic....
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
PROCESS ON VALUE-REQUEST.
*- To capture the cursor and for f4
FIELD V_USERNAME MODULE GET_CURSOR_USERNAME.
in screen i have one field v_username
for that field do this
<b>double click on field which you want to make it as select option, it will display the attributes screen, in that click on program attributes button , now go to poss. entries in the dropdown choose 1 show at selection.</b>
Regards
vijay -
Hi,
On selection screen i have to display 4 select-options and 2 checkboxes.
My requirement is as soon as i enter into selection screen out of 4 select-options it should display only 2 and rest should be hidden and if i check the below checkboxes then only the remaining 2 select-options should be displayed.
so how should i hide the select -option and should be displayed only when i check the checkboxes.
<removed_by_moderator>
Edited by: Julius Bussche on Feb 4, 2009 12:07 PMHi Mahesh ,
here s sample code to do it.
Consider you have the select-options as s1,s2 , s3,s4 and check boxes as c1 and c2 (user-Command)
heres how you define your checkboxes .
PARAMETERS: C1 AS CHECKBOX,
C2 AS CHECKBOX DEFAULT 'X'
select-options : s1,s2 (modif id sc1)
,s3,s4(modif id sc2) .
Now write Yuor code at At-selection output because your processing on the selection screen and you have to make some modifications to it .
At selection-screen output .
if c1 = 'X' .
loop at screen .
if screen-group1 = 'sc1' .
screen-active = 1 .
modify screen .
endif .
endloop.
elseif c2 = 'X' .
loop at screen .
if screen-group1 = 'sc1' .
screen-active = 0 .
modify screen .
endif .
endloop.
endif .
That is when ever u check the checkbox C1 the 1st 2 select options s1 and s2 will be displayed and if you check the 2nd check box the other 2 select options will be displayed .
All the best and do get back if there s prob.!
Regards ,
Amuktha . -
Select option for a character type field
Hi all as per my requirement i have a selection for a data type char40
Hence in my wddoinit method i used the following code to generate the select options in WD
create a range table that consists of this new data element
LT_RANGE_TABLE = WD_THIS->M_HANDLER->CREATE_RANGE_TABLE( I_TYPENAME = 'CHAR40' ).
add a new field to the selection
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD( I_ID = 'CHAR40'
IT_RESULT = LT_RANGE_TABLE I_READ_ONLY = READ_ONLY I_NO_INTERVALS = 'X').
The select option is properly displayed but "char" word is infront of the selection fields.
I want to remove this char word.
Can someone please advice me on this ?Hi
Modify the Add_selection_field call to add descrption for the field.
if you dont want anything pass space.
* add a new field to the selection
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
I_ID = 'CHAR40'
IT_RESULT = LT_RANGE_TABLE
I_READ_ONLY = READ_ONLY
I_NO_INTERVALS = 'X'
I_DESCRIPTION = ' ' " whatever you pass here will come as a label to the field or we can say
" inplace of CHAR
thanks
sarbjeet singh -
Chain-end_chain for a select-option in a subscreen
hi all, I have a program with a screen 0010 with some fields....one of this fields must have "multiple input" (as with select-options) so I´ve created a subscreen 0020 within this screen 0010 (it´s the only way I know to put select-options in a screen)
The problem is in screen 0010 I have a chain end_chain to check data in the custom fields:
CHAIN.
FIELD zget_assigner-fipex.
FIELD zget_assigner-ebeln.
FIELD zget_assigner-belnr.
MODULE check_fields. " ON CHAIN-REQUEST.
and in my screen 0020 i have other chain endchain to check the select-option....
CHAIN.
FIELD S_BNAME-LOW.
MODULE %_END_OF_SCREEN.
MODULE %_OK_CODE_1000.
module check_fields_0020.
ENDCHAIN.
the problem is when I enter data in the select-option and hit enter the program give me an error message saying I can´t use "set screen and leave screen in a subscreen" and the program finish....
if I don´t hit enter but press OK to continue the process....the chain end chain from 0020 give me a message saying the data is wrong (this is ok) but the select-option stay in display mode (chain endchain did this) and I can´t modify the data in the select-option...
What I need to do in order to get editable the select-option after the error messager from chain is showed????
Thanks in advance....
How can I check the data in the select-option S_BNAME is correct????hi all, thanks for your kindly answers...
finally I fixed the problem using
"at selection-screen on s_bname" and a bit of new code in the module where I manage actions to do in base to the values of the sy-ucomm.....
so If the data in the select-option is wrong I show an error message in the "at selection-screen" and I call screen 0010 in my user_command_0010 where I checks the sy-ucomm values....
Thanks again. -
Providing input in one field should activate the req select -options field
in mpool-pgming ,say i have 10 selct options in the selction screen of an application
but first only one input field(one select-option) should be active i.e should be displayed
and all should be inactive(invisible),on providing input inthat the remaining select options
should get displayed,for this how to write code and in which event? is it PBO or PAI?
please provide me the coding ,am in desperate need.Hi Kudala,
You have to give a loop
loop at screen.
if screen-group2 eq value1
screen-active = 1.
screen-invisible = 0.
elseif screen-group2 eq value2.
screen-active = 0.
screen-invisible = 1.
endif.
modify screen.
endloop.
where value1 and value2 are the ids you have defined for the text field in the layout editor.
reward points if it helps -
Hye techies,
I have a requirement, where i have 3 select options. Atleast data one select option should be entered. So, i cannot use obligatory tag.
i am writing the code as follows.
select-options: s_a for ztab-a,
s_b for ztab-b,
s_c for ztab-c.
data: chk_input type i.
chk_input = 0.
if s_a is not initial.
chk_input = chk_input + 1.
endif.
if s_b is not initial.
chk_input = chk_input + 1.
endif.
if s_c is not initial.
chk_input = chk_input + 1.
endif.
case chk_input.
when 0:.
MESSAGE 'Select atleast one entry in block 2' TYPE 'I'.
when 1.
when others.
MESSAGE 'Too many inputs in block 2' TYPE 'E'.
endcase.
I have 2 problems here.
1. When i am clicking on the arrow next to select options, it is displaying the first message considering the entry as empty.
2. If i enter one entry in one of the select options and then click on arrow for multiple selection, second error message is coming.
Please help me, as my requirement is one entry should be dere in one select options and it can have multiple values. but one entry is mandatory.. If the entry is wrong, previously entered values should be cleared.
At selection-sceen output.
Thanks in advance
Imran.Hi İmran,
You firstly create a block and then put the select options within this block like this:
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-003.
SELECT-OPTIONS:
s_lgort FOR ekpo-lgort NO-EXTENSION NO INTERVALS,
s_vtweg FOR vbak-vtweg.
SELECTION-SCREEN END OF BLOCK block1.
Afterwards,
AT SELECTION-SCREEN ON BLOCK block1.
IF s_lgort[] IS INITIAL AND
NOT s_vtweg[] IS INITIAL.
MESSAGE e101(c+) WITH
'Please enter the value.... write here whatever you want'
ELSEIF s_vtweg[] IS INITIAL AND
NOT s_lgort[] IS INITIAL.
MESSAGE e101(c+) WITH
'Please enter the value.... write here whatever you want'
ENDIF.
In the past I have used this and it works.
Hope helps.
Edited by: Deniz Toprak on Jun 17, 2008 10:12 AM -
How can I re-display my selected option?
In my jsp, I gain option values for a list of 'types' and 'names'
If the currentType = null I do not show the form that accepts the 'names'.
When a type is selected the Action class calls the getMethod in the ActionForm
and upon success returns to the jsp page and presents the 'name' form.
Unfortunately the 'type' form redisplays the first type in the list and not the
currentType.
Question. How can I set the selected option in my form to display the currentType?
<!-- Access session bean for picklist types -->
<jsp:useBean
id="typesBean"
scope="session"
class="com.aaa.zzz.refdata.beans.CPartyTypesBean" >
<jsp:setProperty name="typesBean" property="*" />
</jsp:useBean>
<%
CPartyTypesBean typeBean = (CPartyTypesBean) session.getValue("typesBean");
String[] PicklistTypes = typeBean.getTypes();
%>
<!-- Access Form Bean (ActionForm) for current Name & Type -->
<jsp:useBean
id="pb"
scope="session"
class="com.aaa.zzz.refdata.beans.CPartyPicklistBean" >
</jsp:useBean>
<jsp:setProperty name="pb" property="*" />
<%
String currentType = pb.getType();
String currentName = pb.getName();
%>
<html:form action="/typeAction" focus="type">
<table>
<tr>
<td WIDTH="20%">
Picklist Type
</td>
<td WIDTH="30%">
<select name="type">
<%
for(int i=0; i<PicklistTypes.length; i++)
out.println("<option>" + PicklistTypes[i] + "</option>");
%>
</select>
</td>
<td WIDTH="20%">
<html:submit property="submit" value="GetType"/>
</td>
<td WIDTH="30%">
</td>
</tr>
</table>
</html:form>
<%
if (currentType != null)
%>
<html:form action="/nameAction" focus="name">Thanks Beattris, I guess 'selected' is the obvious answer but what I was looking for was
how to apply 'selected' to the loop that prints my options.
However I figured it out and did this:
<%
for(int i=0; i<PicklistTypes.length; i++)
String sel = null;
if(currentType != null && currentType.compareTo(PicklistTypes)==0)
sel = " SELECTED>";
else
sel = ">";
out.println("<option value=" + PicklistTypes[i] + sel + PicklistTypes[i]+"</option>");
%> -
Clearing the displayed value for a SELECT-OPTION
How do I clear the displayed value of a SELECT-OPTION?
I have 2 SELECT-OPTIONs on my screen (standard basic report program screen). I use code like this to populate the drop-down boxes for each one.
=====
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prgrp-low.
PERFORM fill_prgrp_values.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prctr-low.
PERFORM fill_prctr_values.
=====
The value the user picks for the first SELECT-OPTION will affect what values I put in the drop-down list for the second SELECT-OPTION.
If a user enters a value for the second SELECT-OPTION, and then goes back and changes the value of the first SELECT-OPTION, then I want to do two things:
1. Create a new set of values for the drop-down list for the second SELECT-OPTION (no problem; working fine);
2. Clear the displayed value from the second SELECT-OPTION that the user entered previously. That value became invalid when the user picked a new value for the first SELECT-OPTION.
How do I clear that second displayed value?
I have tried CLEAR and REFRESH for the second variable using the formats s_prctr, s_prctr[], and s_prctr-low. They will erase the values of the internal table or part(s) of it, but the displayed value stays on the screen.
I need to clear out the displayed value so the user will either leave it blank or enter or select a new value.
I am using F4IF_INT_TABLE_VALUE_REQUEST to build the drop-down lists, and it works fine, but I do not see any function module to clear the displayed value off the screen.
Thanks for your help.Sorry, but calling DYNP_VALUES_UPDATE did not work. This is how I coded it.
fld_reset_rcd-fieldname = 'S_PRCTR'.
fld_reset_rcd-stepl = sy-stepl.
CLEAR fld_reset_rcd-fieldvalue. " re-initialize s_prctr
CLEAR fld_reset_rcd-fieldinp. " what goes in here?
APPEND fld_reset_rcd TO fld_reset_tbl.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = 'ZFI_GL_BALANCE_NGL'
dynumb = '1000'
TABLES
dynpfields = fld_reset_tbl
<Added code tags>
I have discovered that CLEAR and REFRESH of s_prctr will clear it somewhat. If I enter multiple values, ranges, etc., they will all be cleared, EXCEPT for the one single value that is displayed on the main screen. It is not cleared and it remains if you push the button to display the pop-up to enter ranges, etc.
To devrath.sampat -- Thanks for your example for building the drop-down list, but that is not the problem I am having. I am already able to build it just fine.
To repeat my problem, if I:
1. first enter / select a value for the first SELECT-OPTION s_prgrp
2. then enter / select a value for the second SELECT-OPTION s_prctr
3. And finally go back and select a new value of the first SELECT-OPTION s_prgrp from its drop-down list,
when I do, the program needs to clear the value displayed on the main screen for the second SELECT-OPTION s_prctr (any additional values, ranges, etc., are cleared by CLEAR and REFRESH, if I go look; but not the value shown on the main screen).
Edited by: Scott Crosby on Feb 14, 2012 4:20 PM
Edited by: Suhas Saha on Feb 15, 2012 12:03 PM
Maybe you are looking for
-
Keynote and clip from Imovie HD
Hello (and sorry for my english...) When i copy a clip from Imovie in Keynote, it is the original clip that is copied (and not the clip i elagued). Is everybody knows how to copy a clip from imovie to keynote that is not an original clip? Thank you D
-
Scene Detection in Final Cut Pro
It would be really awesome if Apple could develop some sort of scene detection software for Final Cut Pro and Color. A lot of color correction work that we do in the DaVinci comes from edited programs off of tape. It would be nice to speed up the not
-
N95 crashes when reconnecting BT handsfree device
Hi Everyone... i've been using the N95 since early Apr and the problem starts about 1.5months ago.. the phone used to hangs and restarts itself 3-4 times a day when i answer a call, but off late, it's been restarting once i re-connect my BT handsfree
-
All my photos from iPhoto are in iCloud now? and the app is gone???
for some strange reason my iphoto ap disappeared from the dock--it is gone from my mac as i have tried to find it. i have no place to put phots from my camera -- i don't feel i should have to buy a new version--i had one and don't want another one
-
5.0.1 no network
Hi I've updated to 5.0.1 but now my iPhone 4s wan't find a network. I'm able to get WLAN connection, but it refuses to connect to my Phone network. Is this a known issue with 5.0.1? What can i do? sincerely Gilo