Problem using SELECT-OPTIONS in an InfoSet with a field of data type UNIT.

I have created a simple InfoSet that links MARA with MARM. In the 'Selections' section of the InfoSet I have a variable named 'ZMEINH' defined as
Description: UOM
Selection Text: UOM
Format FOR: MARM-MEINH
           EXTRAS: DEFAULT 'PAC' OPTION EQ SIGN I.
When I ran a query to allow selections on the MEINH field, instead of 'PAC' being the default, there was "***" showing in the UOM selection and if I attempted to execute the query it gave me a message that "Unit *** is not created in languague EN'.  If I overide the "***" and enter 'PAC', I get the list of records that I expect.
I assume this is because MEINH has a data type of "UNIT".
How can I do a conversion so I can define a default value 'PAC' for MARM-MEINH in the infoSet that will carry through to any queries I created.
Thank you very much for any help.
Richard Salisbury

Thank you both for you help!
In our T006 there actually is a PAC and not a PAK. The T006A had as DE-PAK though.
I had this same type of language problem when trying to match an "order type". German is the "base" language in our system so maybe that means that raw data is stored with the German constant?
Anyway, I changed it to PAK and it works. When under a time schedule, that is what counts.
Thank you again for the quick response!
Richard Salisbury

Similar Messages

  • Problem using select-options?

    Hi all,
    I am using select-options, in this 3 are selectoptions and 1 is normal.
    i am getting select-option value using..
    *cust code
      rt_KUNNR = wd_this->m_sel_opt->get_range_table_of_sel_field(
                                 i_id = 'KUNNR' ).
    but which method i ahve to use to get normal which is not of select-options.
    i am doing like this...
    *cust code
      rt_YEAR = wd_this->m_sel_opt->get_range_table_of_sel_field(
                                 i_id = 'GJAHR'
                                  ).  // I think this method is wrong place i used.
      assign rt_YEAR->* to <fs_GJAHR>.
      move <fs_GJAHR> to F_YEAR.
    *cust code
      rt_KUNNR = wd_this->m_sel_opt->get_range_table_of_sel_field(
                                 i_id = 'KUNNR' ).
      assign rt_KUNNR->* to <fs_kunnr>.
      clear S_KUNNR.
      loop at <fs_kunnr> into S_KUNNR.
        wa_kunnr-sign   = S_KUNNR-sign.
        wa_kunnr-option = S_KUNNR-option.
        wa_kunnr-low    = S_KUNNR-low.
        wa_kunnr-high   = S_KUNNR-high.
        append wa_kunnr to it_kunnr.
      endloop.
    But it is giving dump.. Field symbol has not yet been assigned.  at kunnr. but kunnar is select-option.
    Any helps...
    Thanks
    venkat.

    Hi Lekha
    thanks for your reply,
    i tried this...
    data : rt_YEAR TYPE REF TO data,
             <fs_gjahr> TYPE table,
             fs_year TYPE TABLE OF FYAC. // Fiscal year only year(4).
    call method wd_this->m_sel_opt->GET_SELECTION_FIELD(
                                 EXPORTING
                                 i_id = 'GJAHR'
                                 IMPORTING
                                 ET_RESULT =  rt_YEAR ).
      assign rt_YEAR->* to <fs_gjahr>.
      move <fs_gjahr> to fs_year.
    rt_year is still initial, and getting dum field symbol is not assigned. any helps???
    Thanks,
    Venkat.

  • Problem in using a structure with a field of  data type 'RAW STRING'

    Friends
    I have written a ZBAPI that imports a structure which has 5 fields. I have defined this in the IMPORT tab of Tr.Code <SE37>.  One of the field of this structure is of data type 'RAW STRING'.
    When I try to activate this BAPI, I get an error message as follows:
    Function Module ZBAPI_ADD_CONFIG_DNA
    "ZDAMPER_CON_DNA" Must be a flat structure. You cannot use internal table
    strings, references, or structures as components.
    Where ZDAMPER_CON_DNA is the table name that I am using.
    FOR TESTING PURPOSE, WHEN I CHANGE THE DATA TYPE FROM 'RAW STRING' TO JUST A CHAR OF LENGHT 5, IT WORKS FINE.
    Here is the source code of the simple BAPI that i am trying to activate.
    FUNCTION ZBAPI_ADD_CONFIG_DNA.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(CONFIG_DNA_DATA) TYPE  ZCONFIG_DNA_STRUCTURE
    *"  EXPORTING
    *"     VALUE(MESSAGE) TYPE  ZRETURNMESSAGE
    tables: ZDAMPER_CON_DNA.
        ZDAMPER_CON_DNA-CONFIG_ID       =     CONFIG_DNA_DATA-CONFIG_ID.
        ZDAMPER_CON_DNA-STRING_NAME     =     CONFIG_DNA_DATA-STRING_NAME.
        ZDAMPER_CON_DNA-STRING_FORMAT   =     CONFIG_DNA_DATA-STRING_FORMAT.
        ZDAMPER_CON_DNA-STRING_VALUE    =     CONFIG_DNA_DATA-STRING_VALUE.
        ZDAMPER_CON_DNA-OBJECT_NAME     =     CONFIG_DNA_DATA-OBJECT_NAME.
        INSERT ZDAMPER_CON_DNA.
        MESSAGE-SUBRC = sy-subrc.
        if sy-subrc = 0.
            MESSAGE-RETURNMESSAGE = 'SuccessfullyInserted'.
        else.
            MESSAGE-RETURNMESSAGE = 'Insert Failed'.
        endif.
    =============
    ANY KIND OF FEED BACK WILL BE HIGHLY APPRECIATED.
    THANKS
    RAM

    Hi ram,
    there is no data element exists with the name RAW STRING ,
    but check one of these names..
    Data element                   Short text
    C2S_RAWSTRING                  C2-Server: Data Element of Type Rawstring
    N2_RAWSTRING                   Byte String of Variable Length
    QISRDRAW_STRING                Data in Format RAW Character String
    RCF_RAWSTRING                  Rawstring
    RPAP_TEMPLATE_RAWSTRING        Blob of Template File
    RSRAWSTRING                    Raw String
    RSRD_RAWSTRING                 Binary Content in the Broadcasting Framework
    SWH_RAWSTRING                  Workflow: Data Type RAWSTRING
    WDR_RAWSTRING                  Byte Sequence of Variable Length
    <REMOVED BY MODERATOR>
    venkat.
    Edited by: Alvaro Tejada Galindo on Mar 7, 2008 5:15 PM

  • Problem with table-indexes when using select-options in select

    Hello experts,
    is it right that table-indexes will not be used if you take select-options to select data from the database?
    in detail:
    i have build up an table-index for one of our db-tables and test it via an test-programm. The first test with '=' comparisons worked fine. Every key of the index was used; checked via ST05!
    e.g.:    SELECT * FROM TABLEA INTO ITAB WHERE keya = '1' AND keyb = '2' AND keyc = '3'.
    Now i startet the test with select-options
    e.g.:   SELECT * FROM TABLEA INTO ITAB WHERE keya IN seltabA  AND keyb IN seltabB AND keyc IN seltabC.
    First of all i just filled the seltabs with only 1 value:    eg:  seltabA=      SIGN = 'I'   OPTION = 'EQ'   LOW = '1'     etc.
    Everything worked fine. Every key of the index was used.
    But now, I putted more than one entries in the seltabs e.g.
    seltabA:      SIGN = 'I'   OPTION = 'EQ'   LOW = '1'
                       SIGN = 'I'   OPTION = 'EQ'   LOW = '2'   
                       SIGN = 'I'   OPTION = 'EQ'   LOW = '3'
    From now on, the indexed was not used completely (with all keys).
    Isn't that strange? How can i use select-options or sel-ranges with using the complete table-indexes?
    Thanks a lot,
    Marcel

    Hi Hermann,
    i hope this helps:
    this is the first one, which uses the complete index:
    SELECT                                                                     
      "KOWID" , "LIFNR" , "KLPOS" , "ORGID" , "KOART" , "MATNR" , "GLTVON" ,   
      "GLTBIS" , "WERT" , "ABLIF" , "FAKIV" , "AENAM" , "AEDAT" , "AFORM" ,    
      "HERSTELLER" , "ARTGRP" , "OE_FREITXT" , "ARTFREITEXT" , "STATUS" ,      
      "TERDAT"                                                                 
    FROM                                                                       
      "/dbcon/01_con"                                                       
    WHERE                                                                      
      "MANDT" = ? AND "LIFNR" = ? AND "ORGID" = ? AND "KOART_BASIS" = ? AND    
      "STATUS" = ? AND "GEWAEHR_KOWID" < ? AND ( "STATUS" = ? OR "STATUS" = ? OR
      "STATUS" = ? )  WITH UR                 
    RESULT: 5 IXSCAN /dbcon/01_con05 #key columns:  4
    And the second one, which does not use the complete index! The 3 ranges are filled each with 2 values. Remember; when i fill them each with only one value, the result is the same as you can see above(/dbcon/01_con05 #key columns:  4):
    SELECT                                                                     
      "KOWID" , "LIFNR" , "KLPOS" , "ORGID" , "KOART" , "MATNR" , "GLTVON" ,   
      "GLTBIS" , "WERT" , "ABLIF" , "FAKIV" , "AENAM" , "AEDAT" , "AFORM" ,    
      "HERSTELLER" , "ARTGRP" , "OE_FREITXT" , "ARTFREITEXT" , "STATUS" ,      
      "TERDAT"                                                                 
    FROM                                                                       
      "/dbcon/01_con"                                                       
    WHERE                                                                      
      "MANDT" = ? AND "LIFNR" IN ( ? , ? ) AND "ORGID" IN ( ? , ? ) AND        
      "KOART_BASIS" IN ( ? , ? ) AND "GEWAEHR_KOWID" < ? AND ( "STATUS" = ? OR 
      "STATUS" = ? OR "STATUS" = ? )  WITH UR                                  
    and here the access-plan
       0 SELECT STATEMENT ( Estimated Costs =  5,139E+01 [timerons] )                                                                               
    5     1 RETURN                                                                               
    5     2 NLJOIN                                                                               
    5     3 [O] TBSCAN                                                                               
    5     4 SORT                                                                               
    5 TBSCAN GENROW                                                                               
    5     6 <i> FETCH /dbcon/01_con                                                                               
    7 IXSCAN /dbcon/01_con05 #key columns:  2   
    As you can see, only 2 keys were taken for indexed selection!
    Any idea?
    Kind regards,
    MArcel
    Edited by: Marcel Ebert on Jul 28, 2009 5:25 PM

  • PROBLEM IN SELECT OPTION

    Dear all, i want to display the document no,document status,date of document,document type and item details here input field is document number.tables are bkpf and bseg.i wrote the program and executed that program it causes runtime error.so please solve the problem.
    REPORT  ZOPENSQL5.
    *ENTER INPUT VALUE
    DATA : V_BELNR TYPE BELNR_D.
    SELECT-OPTIONS : K_BELNR FOR V_BELNR.
    *CREATE USER DEFINED DATA TYPES
    TYPES : BEGIN OF TY_BKPF,
            BELNR TYPE BELNR_D, "ACCOUNTING DOCUMENT NUMBER
            BSTAT TYPE BSTAT,   "DOCUMENT STATUS
            BLDAT TYPE BLDAT,   "DOCUMENY DATE
            BLART TYPE BLART,   "DOCUMENT TYPE
            END OF TY_BKPF.
    TYPES : BEGIN OF TY_BSEG,
            BELNR TYPE BELNR_D, "ACCOUNT DOCUMENT NUMBER
            BUZEI TYPE BUZEI,   "ITEM DETAILS
            END OF TY_BSEG.
    TYPES : BEGIN OF TY_FINAL,
            BELNR TYPE BELNR_D, "ACCOUNTING DOCUMENT NUMBER
            BSTAT TYPE BSTAT,   "DOCUMENT STATUS
            BLDAT TYPE BLDAT,   "DOCUMENY DATE
            BLART TYPE BLART,   "DOCUMENT TYPE
            BUZEI TYPE BUZEI,   "ITEM DETAILS
            END OF TY_FINAL.
    *CREATE INTERNAL TABLES FOR ABOVE TABLES
    DATA : IT_BKPF TYPE STANDARD TABLE OF TY_BKPF,
           IT_BSEG TYPE STANDARD TABLE OF TY_BSEG,
           IT_FINAL TYPE STANDARD TABLE OF TY_FINAL.
    DATA : WA_BKPF TYPE TY_BKPF,
           WA_BSEG TYPE TY_BSEG,
           WA_FINAL TYPE TY_FINAL.
    *MOVE DATA
    SELECT BELNR
           BSTAT
           BLDAT
           BLART
           FROM BKPF
           INTO TABLE IT_BKPF
           WHERE BELNR IN K_BELNR.
    IF NOT IT_BKPF IS INITIAL.
      SELECT BELNR
             BUZEI
             FROM BSEG
             INTO TABLE IT_BSEG
             FOR ALL ENTRIES IN IT_BKPF
             WHERE BELNR = IT_BKPF-BELNR.
    ENDIF.
    LOOP AT IT_BSEG INTO WA_BSEG.
      MOVE-CORRESPONDING : WA_BSEG TO WA_FINAL.
      READ TABLE IT_BKPF INTO WA_BKPF WITH KEY BELNR = WA_FINAL-BELNR.
      IF SY-SUBRC = 0.
        MOVE : WA_BKPF-BSTAT TO WA_FINAL-BSTAT,
               WA_BKPF-BLDAT TO WA_FINAL-BLDAT,
               WA_BKPF-BLART TO WA_FINAL-BLART.
      ENDIF.
      APPEND WA_FINAL TO IT_FINAL.
      CLEAR WA_FINAL.
    ENDLOOP.
    *DISPLAY THE DATA
    ULINE (55).
    WRITE :/1  SY-VLINE        ,
            2  'DOC NO'        ,
            14 SY-VLINE        ,
            16 'DOC STATUS'    ,
            26 SY-VLINE        ,
            28 'DATE OF DOC'   ,
            43 SY-VLINE        ,
            44 'DOC TYPE'      ,
            55 SY-VLINE        .
    WRITE : /1 SY-VLINE.
    ULINE (55).

    You violated the most basic performance principles, please read here and only post again if there is still a problem.
    Please Read before Posting in the Performance and Tuning Forum
    Thread locked.
    Thomas

  • Problem in Select Option Freely programmed F4 Help

    Hi All,
    I had a Component 'A'  where i used select option. I used Freely programmed search help for the select option field.
    If i click F4 in the select option field it will call one component in which i have one more select option in component B.
    In component B select option field if i manually entering value and search and click apply values button the values are comming in the select option field in component A.
    But if i pressing the F4 in Component B and search and click apply values the value are not comming in the Component 'A'.
    If i open again component B and closing it without any action the value is coming in component A.
    If i debugged and see the WDDOMODIFYVIEW of tHE WDR_SELECT_OPTION is not getting called for component A.In which it has Rendering delta method of CL_WDR_SELECT_OPTION.
    Any idea about this.
    Regards,
    Ganesh.

    hi Ganesh,
    i have read your post several time and i am still not able to get hold on your problem. Probably it is to do with your complex approach of nested select_option, i can not judge why you did this way. I would advice you to step back and see it for yourself
    1)if it is need to have nested select_option
    2)check component initialization and destroy
    2)check event subscriptions

  • Unable to handle event --Select-Options as Dropdown filled with Value Set

    Hi all,
    I seem to be having no luck with this problem. I have searched enough, and not come across any relevant documentation either.
    I am using a select options field made as a dropdown and am populating the dropdown values using the Value Set where i can provide a table of key values versus descriptions. Additionaly, I have hidden the standard buttons -- CANCEL, CHECK, RESET, EXECUTE.
    This appears exactly like a dropdown, just as desired.
    However, no event seems to be triggered whenever I select any value from this dropdown field.
    The interface controller of the select-options component offers 5 events and I have tried creating event handlers for all of these; with no success. With no event to track, I am frozen.
    I know I may be able to create such a dropdown list without using select-options either; but the point is if this functionality is provided by select-options, there should be a way of using it.
    I have browsed through the helper class as well as the interface controller, but am not getting a clue.
    The bottomline is, with my current situation, how can i track the on-click or on-change kind of event?
    Could anybody melt the ice?
    Thanks.

    I went to the source code of the select-options class (CL_WDR_SELECT_OPTIONS) and found the method where the UI elements are rendered (RENDER_SELECTION_SCREEN_ITEM).  In the spot where the DDLB is rendered, there is simply no code to register any events for the DDLB.  So it doesn't appear that there is any intention to allow you to handle such events from the DDLB.
    => add the dropdown as dropdownbykey
            prefix_id mc_dropdown_id i_field-m_id id.
            concatenate i_field-m_id '.VALUE' into path.
            lr_dropdown = cl_wd_dropdown_by_key=>new_dropdown_by_key(
                            id                = id
                            bind_selected_key = path
                            read_only         = i_field-m_read_only
                            state             = state
                            explanation       = i_field-m_explanation
                            tooltip           = i_field-m_tooltip
                            view              = lr_cur_container->view ).
            lr_label_low->set_label_for( id ).
            lr_matrix_data = cl_wd_matrix_data=>new_matrix_data( element = lr_dropdown width = '1%' ).
            lr_dropdown->set_layout_data( lr_matrix_data ).
            lr_cur_container->add_child( lr_dropdown ).

  • I have a problem in select-options

    hi frns,
             i am facing a big problem in select-options
    the requirement is such that
    i have 2 select-options
    one for matnr and the other for maktx
    so wen the clent select matnr with f4
    in the maktx the similar description should come by using f4
    pls help me out

    hi,
    TYPES DECLARATION
    types: begin of tp_marc,
            matnr type marc-matnr,
            werks type marc-werks,
          end of tp_marc.
    INTERNAL TABLE AND WORK AREA DECLARATION
    data: t_marc type standard table of tp_marc,
          wa_marc type tp_marc.
    data : dd like table of dselc with header line. "*--- IMPORTANT
    data : ft like table of dfies with header line.
    data : t_makt like table of makt with header line.
    parameters : matnr like makt-matnr .
    parameters : maktx like makt-maktx.
    at selection-screen output.
      loop at screen.
        if screen-name = 'MAKTX'.
          screen-input = 0.
          modify screen.
        endif.
      endloop.
    at selection-screen on value-request for matnr.
    SELECT matnr maktx  FROM makt INTO TABLE makt up to 500 rows.
      select *
       from makt
        up to 500 rows
      into table t_makt
      where spras = syst-langu.
      if sy-subrc <> 0.
        message 'INVALID MATERIAL NUMBER' type 'E'.
      endif.
    IMPORTANT
      refresh dd.
    dd-fldname = 'MATNR'.
    dd-dyfldname = 'MATNR'.
    append dd.
      dd-fldname = 'MAKTX'.
      dd-dyfldname = 'MAKTX'.
      append dd.
    *------- IMPORTANT
      refresh ft.
      ft-tabname = 'MAKT'.
      ft-fieldname = 'MATNR'.
      append ft.
      ft-tabname = 'MAKT'.
      ft-fieldname = 'MAKTX'.
      append ft.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
      exporting
    ddic_structure = 'T001' "*----- IMPORTANT IF STANDARD STRUCT
      retfield = 'MATNR'
      dynpprog = sy-repid
      dynpnr = sy-dynnr
      dynprofield = 'MATNR'
      value_org = 'S'
      tables
      field_tab = ft "*---- IMPORTANT
      value_tab = t_makt
      dynpfld_mapping = dd "* IMPORTANT
      exceptions
      parameter_error = 1
      no_values_found = 2
      others = 3.
      start-of-selection.
      select matnr
             werks
             from marc
             into table t_marc
             where matnr = matnr.
      if sy-subrc <> 0.
        message :'no results IN MARC' type 'E'.
      endif.
      write: at 1(36) sy-uline.
      format intensified on color = 7.
      new-line.
      write :sy-vline,at 10 'MATERIAL NUMBER',at 29 sy-vline, at 30 'PLANT',sy-vline.
      new-line.
      write: at 1(36) sy-uline.
      format intensified off color = 4.
      loop at t_marc into wa_marc.
        new-line.
        write :sy-vline,at 10 wa_marc-matnr ,sy-vline, at 30 wa_marc-werks, at 36 sy-vline.
      endloop.
      new-line.
      write: at 1(36) sy-uline.
    reward points if useful.
    regards,
    Vinod Samuel.

  • Search help is not coming while using select-options?

    Hi All,
    I am using select options in my selection screen, i used wdr_select_options, also i coded some parameter values also
    ( non select-options ). For that field i am not getting search help. If i create as normal i am getting? Suggestions pelase?
    Thanks,
    Venkat.

    HI
    what kind of search help is associated with the field.
    ADD_SELECTION_FIELD method has some specific parametrs for value_help
    give the input there and try again.
    these parameters are
    I_VALUE_HELP_TYPE
    I_VALUE_HELP_ID
    I_VALUE_HELP_MODE
    I_VALUE_HELP_STRUCTURE
    thanks
    sarbjeet dingh

  • How to use select-options in the function module of import parameter ?

    Hi ...
       I have created a BAPI and tested in SWO1 tcode , by giving the single value for an company code ( BUKRS ) , it executed properly .
    Same thing is working after implementing in a program .
    so now it is working for fetching a single company code details .
    My requirement is : I want to use select-options in program as well as in function module IN IMPORT PARAMETER.
    Program :
    REPORT  ZTEST.
    TABLES : T001 , ZBAPI_STR .
    TYPES : BEGIN OF TY_ITEM  .
              INCLUDE STRUCTURE ZBAPI_STR .
    TYPES : END OF TY_ITEM .
    DATA :WA_ITEM TYPE TY_ITEM ,
          ITEM LIKE STANDARD TABLE OF WA_ITEM INITIAL SIZE 0 .
    PARAMETER : BUKRS TYPE ZBAPI_STR-BUKRS.
    call function 'ZBAPI_FMT001'
      exporting
        bukrs         =  BUKRS
    IMPORTING
      RETURN        =
      tables
        itemtab       = ITEM
    IF ITEM IS NOT INITIAL .
      LOOP AT ITEM INTO WA_ITEM .
        WRITE : / WA_ITEM-BUKRS , WA_ITEM-BUTXT , WA_ITEM-ORT01 , WA_ITEM-LAND1 .
      ENDLOOP.
    ENDIF.
    FUNCTION MODULE :
    FUNCTION ZBAPI_FMT001.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(BUKRS) TYPE  EFG_TAB_RANGES
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRET2
    *"  TABLES
    *"      ITEMTAB STRUCTURE  ZBAPI_STR
    SELECT BUKRS BUTXT ORT01 LAND1 FROM T001 INTO TABLE ITEMTAB WHERE BUKRS = BUKRS .
    ENDFUNCTION.
    Regards
    Deepa.

    I have given a similiar example which i did
    Declare a
    Table type:Z_TT_PONUM             
    Short text  :  Select options  PO Number
    in SE11 tcode with row type eg: Z_ST_PONUM
    create a structure (this will be the row type)
    Structure          Z_ST_PONUM            
    Short text         Select Options Field PO number
    Compenent  Compent type
    SIGN       BAPISIGN      Inclusion/exclusion criterion SIGN for range tables
    OPTION       BAPIOPTION      Selection operator OPTION for range tables
    LOW       EBELN                      Purchasing Document Number
    HIGH       EBELN                      Purchasing Document Number
    In the function module import
    give as
    I_PO_NUM     TYPE     Z_TT_PONUM     opt  pass value Select options  PO Number
    Hope this is exactly what you want to know.
    So you create a structure simliar to mine but the low an high whould be your component
    then a table type  and then include that in the BAPI.
    Then pass your select-option value to this BAPI when you call this BAPI in the program

  • Using select option and function module in single view

    Hi All,
    I Have a requirment ,using service call i get a function module and bind to specified UI elements with low and high attributes to input fileds  which i designed in my view . And i have to keep range for input values using select options for those input values  and clicking on submit i have to display data in VC but it's going to dump
    the bug is
    Adapter error in INPUT_FIELD "SALEDOC_TXT" of view "ZSD_ORDERSTATUS.MAIN": Context binding of property VALUE cannot be resolved: Node COMPONENTCONTROLLER.1.ZSD_ORDER_STATUS.1.CHANGING.1.S_VBELN does not contain any elements
    can any one get me out of this.
    Thank U,
    Madhan

    Hi,
    Call FM using CALL FUNCTION, if you want to pass selectoptions type values to FM..
    Try like this...
      DATA : delivery TYPE TABLE OF RVBELN,
             wa_delivery TYPE RVBELN,
      wa_delivery-sign   = 'E'.
      wa_delivery-option = 'BT'.
      wa_delivery-low    = lv_FROM_DELIVERYNO.
      wa_delivery-high   = lv_TO_DELIVERYNO.
      APPEND wa_delivery to delivery.
      CLEAR wa_delivery.
    Pass Delivery to FM.
    Cheers,
    Kris.

  • How to use select options whitout ranges ie like parameter

    how to use select options whitout ranges ie like parameter and pls send me the code on that
    thanks
    raja.

    hi,
    SELECT-OPTIONS : s_kunnr for kna1-kunnr <b>no intervels.</b>
    eg: code
    <b>SELECT-OPTIONS : s_kunnr for kna1-kunnr <b>no intervels.</b></b>
    data: itab type table of kna1 with header line.
    select * from kna1 into table itab where kunnr IN s_kunnr.
    rgds
    Anver

  • ABAP WD application using Select Options  & Adobe form :Don't see form data

    Hi,
    I am trying to get multiple PDF forms by passing multiple order numbers.I was able to get one PDF form successfully and now I am enhancing this application.
    For doing this I have created nested WD Context .
    1) Created a Node for Selections. ND_SELECT  ,
    Cardinality: 1..n ,
    Selection: 1..n ,
    Intialization lead Selection : Checked ,
    Singleton : Checked
    2) Created a Node for Output Structures ADOBE_DATA
    Properties same as above
    3) As we need Nesting Under ADOBE_DATA node I have created a subnode for Header: HEADER
    Properties same as above
    4) Under HEADER node I have created a items Node : ITEM
    Properties same as above
    As I have used Select-options and I am getting both header and Item data in to button search method .
    DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
      DATA lo_nd_header TYPE REF TO if_wd_context_node.
      DATA lo_el_header TYPE REF TO if_wd_context_element.
      DATA ls_header TYPE wd_this->element_header.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <HEADER> via lead selection
      lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
      lo_nd_header->bind_table( new_items = it_header  set_initial_elements = abap_true ).
      DATA lo_nd_item TYPE REF TO if_wd_context_node.
      DATA lo_el_item TYPE REF TO if_wd_context_element.
      DATA ls_item TYPE wd_this->element_item.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <HEADER> via lead selection
      lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
    * navigate from <HEADER> to <ITEM> via lead selection
      lo_nd_item = lo_nd_header->get_child_node( name = wd_this->wdctx_item ).
    lo_nd_item->bind_table( new_items = it_item  set_initial_elements = abap_true ).
    Could you please tell me where I am doing wrong?
    In adobe form
    Created one MainForm  and its properties are
    Binding : $record.HEADER.DATA[*]
    Repeat subform for each data item Checked , Min Count: 1
    Subform Content : Flowed ,Western Text , Allow page breaks withing Content Checked
    Accessibility /Subform Role: None
    Inside this Mainform I have created a small table ITEMTABLE  with 3 fields and mapped it item data.
    Itemtable properties
    Binding : ITEM
    Uncheck Repeat table for Each Data item.
    I have Itemtablerow inside Itemtable  and its properties are:
    Binding : DATA[*]
    Repeat row for each data item Checked ,Min count: 1
    Accesibility:/Subform Role: Body row
    Row: body row, Check Allow page breaks within content
    Still donu2019t see data on form.here is what i have in Hierarchy tab.
    ADOBE_DATA (no Caption)
    - (Master pages)(no caption)
             Page1
                      Untitled Content Area(no caption)
    - Mainform(no Caption)
                       PSPID {PSPID}
              -ItemTable (No caption)
                      - ItemtableRow (no Caption)
                                   PSPID(no Caption)
                                    CJTDAT(no Caption)
                                    CPERCO(no Caption)
    What could be going wrong ?
    Rgds
    Vara

    Hi John,
    In the WD4A view, there is a button "Show/Hide Layout Preview".
    Click on that button to be able to see the Layout.
    Note that this button is next to the Pretty Print button.
    regards,
    Reema.

  • How will use Select-Options in Read table Concept.

    Hi All,
                  How will use Select-Options in Read table. For  example,
          Select-Options : test for bseg-prctr.
           Select * from bseg into table ITAB.
    Read table ITAB with key prctr in test.
    Last line is showing error. If any way to read ITAB as conditions given per select options.
    Thankx Advance,,,

    HI,
    you cannot use " IN " with read statement , read statement is used as:
    READ TABLE it_collect  ASSIGNING <fs_collect>
                      WITH KEY   rbpl = <fs_wkdet>-arbpl
                                 ufnr = <fs_wkdet>-aufnr.
    anyways you can use  loop at statement before read to use  " into "  statement as:
    LOOP AT it_master INTO l_master
                                           WHERE werks       = l_werks
    hope it will help you
    regards
    rahul
    Edited by: RAHUL SHARMA on Dec 30, 2008 9:14 AM

  • Can we use select options in smartform

    can we use select options in smartform if so can any one send me a sample code...
    Thanks
    bhaskhar

    Hi ,
    Can u explain why u want to use select options in smartforms . U can try it in program lines .
    Its better to use select options in the driver program and fetch data accordingly in the driver program or passing the selected values from select options to the smatfrom and fdetching the data there in smartform .
    Regards

Maybe you are looking for

  • Since upgrading to the latest version of Firefox (15.0.1) any keystrokes I enter into the Google search box do not register.

    Hope someone can help with this! Since upgrading to Firefox 15.0.1 most, but not quite all, keystokes I enter do not register. I've checked that my keyboard is working and it's absolutely fine with any other applications, including Internet Explorer

  • How to install NewBlueFX Into Premiere Pro CS 5.5 ?

    Hai, I Got A Plugins Pack (NewBlue FX Plugins Full Pack v2.3). But I Don't Know How To Install Into Proper Directory ! Number Of Times Tried To Install But The Thing Is Insralling Successfully But Not Getting Any New Plugins When Am Open Adobe. Adobe

  • Numbers 3.2.2 - Sum Function question

    In cell L2 I want to have a function that adds H2 - I2 - J2 - K2. In cell L3 I want it to add H3 - I3 - J3 - K3. And so forth. How can I tell it to add the H, I, J, K of the same row that the function cell is in? That way I won't have to write a new

  • Time from 100% battery indicator downward?

    I charge my ipad 3 overnight to give it a full 7-8 hour charge, using the wall charger and cable that the device came with.  I then try to gauge how much time from when the battery indicator drops to 99%, then 98%, etc., calculating the intervals. I

  • Perhaps a sign of a bad hard drive

    Just got my MacBook Pro back from Apple. The old hard drive wasn't working correctly from the very beginning. One thing I just noticed was after using it for the last hour and a half, it is significantly cooler to the touch. Could this be a sign that