One question about Selection screen

Hi experts,
I am writing a report, on the selection screen, I need to input the file path and then do the file upload.
My question is about how to check the file path I put is correct or not? If it is incorrect, I want to get a message and the cursor still in the field and don't jump to the next page.
How can I do like that?
Any one has any suggestion, please help me.
Thanks in advance.
Regards,
Chris Gu

Hi Chris,
    do it this way: check my code after calling gui_upload what condition i am using.
parameters:
  p_file type rlgrap-filename.          " File name
*           AT SELECTION-SCREEN ON VALUE-REQUEST EVENT               
at selection-screen on value-request for p_file.
  perform get_file_name.
*                       AT SELECTION-SCREEN EVENT                    
at selection-screen on p_file.
  perform validate_upload_file.
*  Form  GET_FILE_NAME                                               
form get_file_name.
  call function 'F4_FILENAME'
   exporting
     program_name        = syst-cprog
     dynpro_number       = syst-dynnr
     field_name          = ' '
   importing
     file_name           = p_file.
endform.                               " GET_FILE_NAME
*  Form  VALIDATE_UPLOAD_FILE                                        
form validate_upload_file.
  data:
    lw_file  type string.              " File Path
  lw_file = p_file.
  call function 'GUI_UPLOAD'
    exporting
      filename                    = lw_file
      filetype                    = 'ASC'
      has_field_separator         = 'X'
      dat_mode                    = 'X'
    tables
      data_tab                    = t_final_data.
  IF sy-subrc ne 0 and t_final_data is initial. " here message if file path is wrong
    Message 'File not found' type 'E'.
  ELSEIF sy-subrc eq 0 and t_final_data is initial.
    Message 'File empty' type 'E'.
  ENDIF.                              
endform.                               " VALIDATE_UPLOAD_FILE
With luck,
Pritam.
Edited by: Pritam Ghosh on May 8, 2009 8:57 AM

Similar Messages

  • One question about Pricing and Conditions puzzle me for a long time!

    One question about Pricing and Conditions puzzle me for a long time.I take one example to explain my question:
    1-First,my sale order use pricing procedure RVAA01.
    2-Next,the pricing procedure RVAA01 have some condition type,such as EK01(Actual Costs),PR00(Price)....,and so on.
    3-Next,the condition type PR00 define the Access Sequences PR00 as it's Access Sequences.
    4-Next,the Access Sequences PR00 have some Condition tables,such as:
         table 118 : "Empties" Prices (Material-Dependent)
         table 5 : Customer/Material
         table 6 : Price List Type/Currency/Material
         table 4 : Material
    5-Next,I need to maintain Condition tables's Records.Such as the table 5(Customer/Material).I guess the sap would supply one screen for me to input the data of table 5.At this screen,the sap would ask me to select one table,such as table 5.When I select the table 5,the sap would go to the screen to let me input the data of table 5.But when I use the T-CODE VK31 or VK32 to maintain Condition tables's Record,I found it's total different from my guess:
    A-First,I can not found one place for me to open the table,such as table 5,to let me input the data?
    B-Second,For example,when I select the VK31->Discounts/Surcharges->By Customer/Material,the sap show the grid view at the right side.At the each line of the grid view,you need to select the Condition Type at the first field.And this make me confused very much.Why the sap need me to select one Condition Type but not the Condition table?To the normal logic,it ought not to select Condition table but not the Condition Type!
    Dear all,I'm a new one in sd.May be this is a very stupid question.But it did puzzle me for a long time.If any one can  explain this question in detail and let me understand the concept,I will appreciate him/her very much.Thank you.

    Hi,
    You said that you are using the T.codes VK31 or VK32.
    These transaction codes are used to enter condition records for standard condition types. As you can see a grid left side having all the standard condition types like price, discounts, taxes, frieghts.
    Pl check using T.code VK11 OR VK12 (change mode)
    Here you can enter the required condition type, in the intial screen. (like PR00, MWST, K004, K005 .....etc)
    After giving the condition type, press enter or click on Combinations icon on top of the screen. Then you can see all the condition tables which you maintained for that condition type. Like as you said table 118, table 5, table 6 and table 4.
    You can select any table and press enter, then you can go into the screen in which you have all the field cataglogues you maintained for that table. For example you selected combination of Customer/Material (table 5) then after you press enter then you can see customer field on top, and material fields.
    You can give all the required values and save the conditon record.
    Hope this is clear.
    REWARD IF HELPFUL.
    Regards,
    praveen

  • Question about selecting vector paths in Photoshop

    Hi, I have a question about selecting path points in photoshop.
    This is the setup. I have a vector shape layer (the redi circle). but that's placed inside a group with a vector mask (the black pentagon). What I want to do is select parts of the red circle using click and drag) so I can modify portions of the circle).
    This is Photoshop's behavior as I've noticed it. Photoshop likes to select the shapes for you, and will target layers on its own when you use the Path Selection Tool. It tends to want to select the top most shape. If I target the shape layer first, I can use the Direct Selection tool to select individual points. I can add selected points bu shift+clicking.This is all well and good.
    If I try to select multiple points using click+drag though, it gets a bit weird.
    If I try to click+drag to select multiple points from within the vector mask (from the black), it will fail and select the vector mask. If i try to click+drag to select multiple points from outside the vector mask (from the white), then it will allow me to select points from my vector shape like i intended.
    I could also shift click to hide the vector mask, and it will work the way i want.
    Is there an easy way to tell photoshop not to auto target vector shapes? or a better way to select paths inside vector masks?
    Thanx for any input

    canvai wrote:
    Is there an easy way to tell photoshop not to auto target vector shapes? or a better way to select paths inside vector masks?
    Sure.
    Simply click once on the vector mask for the shape layer (red circle) to highlight that vector mask in the Layers Panel. Then when you click-drag the anchors of that path will be selected, not the group's path.
    If you have no mask highlighted, Photoshop assumes it should select the first path it comes in contact with.

  • A question about keeping screen field unchangable in selection screen

    Hello Expert,
    I have a program as below.
    REPORT Z_TEST.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-i01.
    SELECT-OPTIONS: s_kappl FOR a017-kappl DEFAULT 'M' NO INTERVALS.
    SELECTION-SCREEN: END OF BLOCK b1.
    INITIALIZATION.
      LOOP AT SCREEN.
        IF screen-name CS 'KAPPL'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    When I executed the report, the field for S_KAPPL is unchangable. This is as expected. But if I select one variant,  the filed will change back to changable.
    My question is how can I keep the field unchangable after I select variant?
    Thanks in advance,
    Regards, Johnny

    Hello Johnny,
    When you're creating the variant you've to mark the check-box "Protect field" as true.
    This will make the field as output only.
    BR,
    Suhas

  • About selection-screen's question?

    Dear gurus:
    I have declare a screen like below:
    SELECTION-SCREEN BEGIN OF BLOCK blk_d WITH FRAME TITLE text-004.
    PARAMETERS: p_matnr TYPE resb-matnr. "Material
    PARAMETERS: p_bdmng LIKE resb-bdmng. "Request Qty
    PARAMETERS: p_meins LIKE resb-meins.
    SELECTION-SCREEN END OF BLOCK blk_d.
    How to achieve such an effect:
    after i input a materical code to p_matnr, display the corresponding unit in p_meins.
    Actually, when the user input the qty, them want know the unit of currently material. So i want show the unit in parameter(p_meins) after them input the p_matnr,but before them input the qty.
    Message was edited by:
            Shao Hui Young

    Hi shao,
    1. User has to press ENTER,
        just after entering / selecting via F4,
        the material number.
    2. This is one way.
    3. Just copy paste.
    4.
    REPORT ABC.
    SELECTION-SCREEN BEGIN OF BLOCK BLK_D WITH FRAME TITLE TEXT-004.
    PARAMETERS: P_MATNR TYPE RESB-MATNR. "Material
    PARAMETERS: P_BDMNG LIKE RESB-BDMNG. "Request Qty
    PARAMETERS: P_MEINS LIKE RESB-MEINS.
    SELECTION-SCREEN END OF BLOCK BLK_D.
    <b>*----
    AT SELECTION-SCREEN OUTPUT.
      SELECT SINGLE MEINS
      INTO P_MEINS
      FROM MARA
      WHERE MATNR = P_MATNR.</b>
    regards,
    amit m.

  • One question about posting periods

    When creating or changing (T-CODE VL02N ) an outbound delivery, I select Edit -> Post goods issue on one of the overview screens.But the sap show the error message:"posting only possible in periods 2000/01 and 0000/00 in company code HJW1".So my question was how to config to let the posting possible in other periods,such as 2007/09?Thank you.

    hi gg,
    follow the steps, if u are working on IDES client then follow this
    1. In spro-> enterprises strusture-> remove all plants assigned to your company code
    2. tcode: omsy> enter fiscal year-2007 & period:09>save
    3.Again In spro-> enterprises strusture-> assign all plants to your company code
    regards,
    Arunprasad

  • Question on selection-screen

    Hi,
    1) How we can provide two fields on selection-screen side by side
    2) How we can provide Text on selection-screen (ie some comments regarding selection-screen fields)

    Moderator message - Welcome to SCN
    However, this is not a training forum for ABAP. Please read the appropriate documentation.
    Thread locked..
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.

  • Question on selection screen in a subscreen in dialog prorgamming

    hi,
    i have a module pool in which the main program has the definition of the selection screen as follows:
    SELECTION-SCREEN BEGIN OF SCREEN 0101 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    SELECT-OPTIONS: S_VSTEL FOR  TVST-VSTEL,
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN END OF SCREEN 0101.
    In the PBo of screen 100 this is called
    CALL SUBSCREEN SUBSCREEN1 INCLUDING SY-REPID L_DYNNR.
    The subscreen is displayed as
    Shipping point  _______ To _________  =>
    When I click that arrow (( extension )) nothing happens !! I am supposed to get the standard extension screen in whcih i can select single values, ranges, exclude values, ranges !!
    why is this not displayed..any idea ?
    i have the same code in a normal report program and it works fine ..
    thks

    in module pool you need to add code for the => this is not been handled by SAP in module pool whereas it is been handled in report program.
    There is one FM which needs to be used so that when => is clicked it works...

  • About selection screen validation

    Hi all,
            I have query regarding a selection screen.
            I have one field in a selection screen where i ve put the matnr field as a parameter from MARA table.
             My requirement is that when I will select any material by pressing F4 and select the value the corresponding material description will come automatically in another field which I had taken in the Selection screen.I must get it automatically without any push button or execute button.
             Now where I have to write the logic of the code and at which event of the report .
             Please experts help me.
    With regards,
      Abir.

    REPORT  ZSRIM_TEMP10.
    tables : mara,makt.
    data : v_maktx type makt-maktx.
    parameters : p_matnr type mara-matnr,
                 p_maktx type makt-maktx.
    AT SELECTION-SCREEN OUTPUT.
    if p_matnr is not initial.
       select single maktx from makt into v_maktx
             where matnr = p_matnr and spras = sy-langu.
        p_maktx = v_maktx.        
    endif.
    I am sorry, this code will works only if you click any enter key etc.. then only Description will appear.
    Regards
    Srikanth.
    Message was edited by: Srikanth Kidambi

  • About selection screens

    we define a user defined selection screen in one program 'x'.Can we call it in another program 'Y'? and Why?

    There are many use. Ex: you want a basic selection screen for some criteria. No you want farther selection that will based on the basic selection. Means farther selection screen should change dynamically according to the input of basic selection screen.
    REPORT demo_call_selection_screen.
    SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE tit1.
    PARAMETERS: cityfr TYPE spfli-cityfrom,
                cityto TYPE spfli-cityto.
    SELECTION-SCREEN END OF BLOCK sel1.
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN INCLUDE BLOCKS sel1.
    SELECTION-SCREEN BEGIN OF BLOCK sel2
                              WITH FRAME TITLE tit2.
    PARAMETERS: airpfr TYPE spfli-airpfrom,
                airpto TYPE spfli-airpto.
    SELECTION-SCREEN END OF BLOCK sel2.
    SELECTION-SCREEN END OF SCREEN 500.
    INITIALIZATION.
      tit1 = 'Cities'.
    AT SELECTION-SCREEN.
      CASE sy-dynnr.
        WHEN '0500'.
          MESSAGE w888(SABAPDOCU) WITH 'Screen 500'.
        WHEN '1000'.
          MESSAGE w888(SABAPDOCU) WITH 'Screen 1000'.
      ENDCASE.
    START-OF-SELECTION.
      tit1 = 'Cities for Airports'.
      tit2 = 'Airports'.
      CALL SELECTION-SCREEN 500 STARTING AT 10 10.
      tit1 = 'Cities again'.
      CALL SELECTION-SCREEN 1000 STARTING AT 10 10.

  • About selection screen

    hi all,
      i have 3 radio button and corresponding thier 3 input loist box . i just want to deactivate 2 list box on the click of one radio button.
    please give the solution if possible .
    Thanks and Regards
    priyank dixit

    Hi,
    Check the following code:
    TYPE-POOLS : vrm,
                 icon.
    *SELECTION SCREEN FIELDS
    TABLES : sscrfields.
    *GLOBAL DECLARATIONS
    DATA : flag TYPE c,
          tablename(10),
          mmtable LIKE dd02l-tabname,
          sdtable LIKE dd02l-tabname,
          hrtable LIKE dd02l-tabname.
    *DECLARATIONS FOR SELECTION SCREEN STATUS
    DATA it_ucomm TYPE TABLE OF sy-ucomm.
    ***********SELECTION-SCREENS*********************
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
    *FOR DYNAMIC DISPLAY OF MODULES
    PARAMETERS :  pa RADIOBUTTON GROUP rad USER-COMMAND com MODIF ID mod,
                  pb RADIOBUTTON GROUP rad MODIF ID rad,
                  pc RADIOBUTTON GROUP rad MODIF ID cad.SELECTION-SCREEN SKIP.
    **TO INCLUDE DYNAMIC ICONS
    SELECTION-SCREEN COMMENT 2(6) text_001.
    *DYNAMIC LIST BOX BASED ON USER SELECTIONS
    PARAMETERS one AS LISTBOX VISIBLE LENGTH 20  MODIF ID mod.
    PARAMETERS two AS LISTBOX VISIBLE LENGTH 20   MODIF ID rad.
    PARAMETERS three AS LISTBOX VISIBLE LENGTH 20 MODIF ID cad.
    SELECTION-SCREEN END OF BLOCK blk1.
    *DISPLAY DYNAMIC PUSHBUTTON ON APP TOOLBAR ON USER CLICKS
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2,
                      FUNCTION KEY 3.
    **EVENT ON SELECTION SCREEN FOR OUTPUT DISPLAY
    AT SELECTION-SCREEN OUTPUT.
    *CLICK OF FIRST RADIO BUTTON
      IF pa = 'X'.
        sscrfields-functxt_01 = 'Materials Management'.
        WRITE icon_plant AS ICON TO text_001.
    *CODE TO GET DYNAMICS BASED ON THE SELECTED RADIO
        LOOP AT SCREEN.
          IF screen-group1 = 'MOD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'RAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *CLICK OF SECOND RADIO
      IF pb = 'X'.
        sscrfields-functxt_02 = 'Sales And Distribution'.
        WRITE icon_ws_ship AS ICON TO text_001.
        LOOP AT SCREEN.
          IF screen-group1 = 'RAD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MOD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *CLICK OF THIRD RADIO
      IF pc = 'X'.
        sscrfields-functxt_03 = 'Human Resources'.
        WRITE icon_new_employee AS ICON TO text_001.
        LOOP AT SCREEN.
          IF screen-group1 = 'RAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MOD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Regards,
    Bhaskar

  • Adding one field in selection-screen in rfitemar

    hi experts
    1)  I am converting the rfitemar to z or y program after that i have to add one field   wbs element(projk) in selection screen.
    2) The WBS Element values should be displayed in the output report ie one column which contain wbs element values .
    Plz help me as soon as possible

    Hi,
       In this report,
    1. find out the final table for display.
    2. add ur custom fields in that table using appending structure.
    3. find out correct enchance spot or BADI,...etc...before diaply(befor calling FM REUSE_GRID_DISPLAY or method  SET_TABLE_for_display or..etc).
    4. in that enchance spot or badi u can write ur logic.
    Regards,
    Ramesh.

  • Choose  one item in selection screen

    hallow i doing a selection screen and i wont that in field c_course u can <b>mark</b> just <b>one course</b>.(when u do f4 in c_course u have catalog of lot of courses )
    becouse i have a problem that if u choose more then one course the program is run to alv but not bring any data .how can change this maybe in popup(with warnning) or disabled this option but i dont now how .
    thanks
    this my declertion
    SELECT-OPTIONS c_course FOR z_course_table-objid with no intervals no-extension
      REFRESH: c_course.
      CLEAR:  c_course.
      PERFORM get_objid USING 'D'
                        CHANGING c_course-low.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR c_course-high.
    *======================================================
      REFRESH: c_course.
      CLEAR:  c_course.
      PERFORM get_objid USING 'D'
                        CHANGING c_course-high.
    FORM get_objid
       USING    p_otype
                    CHANGING p_c_course.
    *p_so_orgeh_low
      CALL FUNCTION 'RH_OBJID_REQUEST'
         EXPORTING
           plvar                   = '01'
           otype                   = p_otype
            seark                   = '*'
           seark_begda             = so_date-low
           seark_endda             = so_date-high
           set_mode                = 'X'
      DYNPRO_REPID            = ' '
      DYNPRO_DYNNR            = ' '
      DYNPRO_PLVARFIELD       = ' '
      DYNPRO_OTYPEFIELD       = ' '
      DYNPRO_SEARKFIELD       = ' '
      CALLBACK_PROG           = ' '
      CALLBACK_FORM           = ' '
      RESTRICT_FB             = ' '
      RESTRICT_DATA           = ' '
      WITHOUT_RSIGN           =
      WITHOUT_RELAT           =
      WITHOUT_SCLAS           =
      ORGBEG                  = SY-DATUM
      ORGEND                  = SY-DATUM
      WIN_TITLE               =
      APP_DATA                =
         IMPORTING
           sel_plvar               = wa_plvar
           sel_otype               = wa_otype
           sel_object              = wa_objid
       TABLES
      OTYPE_TABLE             =
      CONDITION               =
      BASE_OBJECTS            =
      MARKED_OBJECTS          =
         sel_objects             = itab_object
      SEL_HROBJECT_TAB        =
      SEL_HRSOBID_TAB         =
         EXCEPTIONS
           cancelled               = 1
           wrong_condition         = 2
           nothing_found           = 3
           internal_error          = 4
           illegal_mode            = 5
           OTHERS                  = 6
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF wa_otype = 'D' .
    OR wa_otype = 'DC' OR wa_otype = 'L'.
        REFRESH: c_course.
        CLEAR:  c_course.
        LOOP AT itab_object.
          CLEAR c_course.
          c_course-low    = itab_object-objid.
          c_course-option = 'EQ'.
          c_course-sign   = 'I'.
          APPEND c_course.
        ENDLOOP.
        CLEAR:   itab_object.
        REFRESH: itab_object.
      ENDIF.

    HI Antonio,
    make the SET_MODE = ' ' or comment the value.
    SET_MODE = 'X' for multiple selection.
    then u can choose only 1 course at a time.
    Regards
    CNU

  • HI Question On Selection Screen

    Hi Abapers,
                       i  declared four parameters , one is assigned with one parameter is , and the other three are assigned with another parameter id , initially only one parameter has to display , if the entered parameter is valid one , then other three parameters has to be displayed, i wrote the folling code kindly make any corrections to the below code.
    parameters:p_kunnr type kna1-kunnr modif id ABC.
    parameters:p_vbeln type vbak-vbeln modif id DEF,
               p_bukrs type bukrs  modif id DEF,
               p_werks type werks modif id DEF.
    data: w_kunnr type kunnr,
          val type i value 1.
    at selection-screen .
    select single kunnr from kna1 into w_kunnr where kunnr = p_kunnr.
    if sy-subrc eq 0.
    val = 100.
    else.
    message e000(0) with 'invalid '.
    endif.
    start-of-selection.
    write:/ 'success'.
    at selection-screen output .
    IF VAL = 1.
    loop at screen.
    if screen-group1 = 'DEF'.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    endif.
    endloop.
    ENDIF.
    IF VAL NE 1.
    loop at screen.
    if screen-group1 = 'DEF'.
    SCREEN-ACTIVE = 1.
    MODIFY SCREEN.
    endif.
    endloop.
    ENDIF.
    Thanks & Regards
    Bhaskar Rao.M

    hai,
    Bhaskar try this code...
    parameters:
    p_kunnr type kna1-kunnr modif id ABC .
    parameters:p_vbeln type vbak-vbeln modif id DEF,
    p_bukrs type bukrs modif id DEF,
    p_werks type werks modif id DEF.
    data:
      w_kunnr type kunnr,
      val type i  value 1.
    at selection-screen output .
    IF  p_kunnr is initial.
    loop at screen.
    if screen-group1 = 'DEF'.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    endif.
    endloop.
    ENDIF.
    at selection-screen .
    select single kunnr from kna1 into w_kunnr where kunnr = p_kunnr.
    if sy-subrc ne 0.
    message e000(0) with 'invalid '.
    endif.
    start-of-selection.
    if p_vbeln is initial.
    message 'error' type 'I'.
    else.
    write:/ 'success'.
    endif.
    regards,
    ananth

  • Question reg. selection screen

    I am writing a report. On selection screen, I have a field for Sales order (vbeln) from a custom table zsales.  Now when the user selects this field on selection screen and press F4, he/she should be able to select the salesorders from the table zsales.
    I wrote:
    SELECT-OPTIONS: s_vbeln FOR zsales-vbeln.
    But on the output, when I press F4, I am still not getting any input help. What change can you suggest?
    Appreciate your input.
    Thanks,
    Krishen

    Try something like this.
    report zrich_0001 .
    tables: zsales
    data: begin of izsales occurs 0,
           vbeln type vbak-vbeln,
          end of izsales.
    select-options s_vbeln for zsales-vbeln.
    initialization.
      select vbeln into table izsales from zsales.
      sort izsales ascending by vbeln.
      delete adjacent duplicates from izsales comparing vbeln.
    at selection-screen on value-request for s_vbeln-low.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'VBELN'
                dynprofield = 'S_VBELN'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = izsales.
    start-of-selection.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Nano Sync Issues

    Hi, I had my new Nano working great and had my music on it no problem. Then I was offered to upgrade to software version 1.0.2 or something to that extent, I also had to upgrade to Itunes 7.4 before it would recognise my nano to begin with. Anyway, t

  • Albums in iPod no longer in order

    Since I updated my iPad 2 to iOS7 every single album on the iPod has rearranged the songs so they're no longer in order. On iTunes and my iPhone they're all in the correct order but for some reason it's different on my iPad.

  • Collective requirement for Raw materials for the whole week during mrp ru

    hi gurus,       I have a requirement like this. the raw materials required for on different requirement dates has to be clubbed together  per week and one single purchase requisition for that raw material for that week. I had created a availability c

  • BAPI for Price Change using Transaction VK12

    Hi All.. Can any one help in locating a BAPI for making price changes using transaction VK12. Rgds

  • How to change the frameset in Contribute CS3

    How can I make changes in an existing frameset in Contribute CS3 4.1 Where can i find the frameset file? It seems that everything in de project/website is live, not local. I appreciate it to get help to solve this.