Selection Screen Validation Help

HI,
   I have used the function module rrms_message_handling in i_step = 2 to validate user entry...The message pops up correctly.....But when i try to use RAISE AGAIN or RAISE NO_REPLACEMENT the program terminates.....Did any one of you face this issue.....is there a solution for the same
<b>source code and dump analysis</b>
IF WA_VAR1-HIGH > p_calmon.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
      EXPORTING
        I_CLASS = 'RSBBS'
        I_TYPE = 'E'
        I_NUMBER = '000'
        I_MSGV1 = ' message'
      EXCEPTIONS
        DUMMY = 0
        OTHERS = 0.
      CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
      CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
>>>>    RAISE NO_REPLACEMENT.
  endif.
<b>Error analysis</b>
    A RAISE statement in the program "SAPLZ_SK_BEX_VARIABLES" raised the exception
    condition "NO_REPLACEMENT".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.

Thak you for all .
AS per my request the validation issue is resolved, now my client want to filter the data based on app id with company code , date and pay run id.
Here the the app id is from global constan table, there is no key field, but we fetch the same app id in the form print using the below query, i dont know how to use this for selection.
     SELECT SINGLE high FROM zglobconstants INTO v_app_name
                 WHERE programname = 'ZFI_OK_FILEVALUE'
                 AND  low = v_file_name.
Once again thanks for all your help.
Vijay.

Similar Messages

  • Selection screen validation when using PNP LDB

    Hi guys,
    I want to validate my selection screen parameters.Thats is if somebody wants to run the program without giving any input parameters to the selection screen(trying to run the report with a blank screen) I want to pop up an error/information message so that it will return the selection screen.I am using PNP Logical database for my selection screen.Please help.Thanks in advance.
    Thanks,
    Karthik.

    Welcome to SDN.
    If you are using PNP logical data base then validating the fields will be little tricky...
    You canc check all the other fields in START-OF-SELECTION and if they are empty return eroor. Remember all the field s on the scree... so I will suggest you to choose HR report Category accordingly.
    Also,when it comes to date field then you need to check for the start and end dates rather than blank fields as SAP defaulted them to system start and end date.
    Still, I will prefer to create a HE Report Category for the PNP database and use the screen while validating....that will be easy...

  • Problem in selection screen validation.

    Hi All,
    I am having the following in the selection screen:
    PARAMETERS : p_r1 RADIOBUTTON GROUP grp DEFAULT 'X' USER-COMMAND dlvy,
                 p_r2 RADIOBUTTON GROUP grp .
    SELECTION-SCREEN BEGIN OF BLOCK b1 with frame title text-001.
    SELECT-OPTIONS: s_vbeln FOR lips-vbeln             MODIF ID dly.
    SELECT-OPTIONS: s_lfart FOR likp-lfart  OBLIGATORY MODIF ID dly.
    SELECT-OPTIONS: s_vstel FOR likp-vstel             MODIF ID dly.
    SELECT-OPTIONS: s_matnr FOR lips-matnr             MODIF ID dly.
    SELECT-OPTIONS: s_wadat FOR likp-wadat  OBLIGATORY MODIF ID dly.
    SELECT-OPTIONS: s_wbsta FOR vbup-wbsta             MODIF ID dly.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 with frame title text-002.
    SELECT-OPTIONS: s1_matnr FOR lips-matnr MODIF ID mat.
    SELECT-OPTIONS: s_extwg  FOR mara-extwg MODIF ID mat.
    SELECT-OPTIONS: s_werks  FOR marc-werks MODIF ID mat.
    SELECTION-SCREEN END OF BLOCK b2.
    If I choose Radio Button 1, only option 1 should be triggered,
    If I choose Radio Button 2, only option 2 should be triggered,
    For this I have:
    AT SELECTION-SCREEN OUTPUT.
      IF p_r1 = 'X'.
        blk_hide = 'MAT'.
        blk_show = 'DLY'.
      ELSE.
        blk_hide = 'DLY'.
        blk_show = 'MAT'.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 = blk_hide.
          screen-active = 0.
        ELSE.
          IF screen-group1 = blk_show.
            screen-active = 1.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    Now I need to validate the selection Screen, I am facing issue in doing selection screen validation:
    Can any one help me in how to go about this?
    Thanks,
    Debrup.

    pls. replace the AT SELECTION-SCREEN OUTPUT event with this one:
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        CASE 'X'.
          WHEN p_r1.
            CASE screen-group1.
              WHEN 'DLY'.
                screen-active = '1'.
              WHEN 'MAT'.
                screen-active = '0'.
            ENDCASE.
          WHEN p_r2.
            CASE screen-group1.
              WHEN 'DLY'.
                screen-active = '0'.
              WHEN 'MAT'.
                screen-active = '1'.
            ENDCASE.
        ENDCASE.
        MODIFY SCREEN.
      ENDLOOP.

  • Selection Screen Validation for Character

    Hi All
    My query is regarding the selection screen validation for character.
    I am using a Select-option: S_ORDER FOR VBAK-VBELN OBLIGATORY.
    and S_order should be only having the numeric field.
    Please help how to validate it for character field.

    Hi,
    Do as below :
    at selection-screen.
    if not s_order[] is initial.
       if s_order-low CA 'ABCDEF.............Z'.
         message 'Enter only numerics only' type 'E'.
      endif.
    "similarly for s_order-high also.
    endif.
    Thanks,
    Sriram Ponna.

  • Problem in AT selection screen validation

    Hi,
    I am having problem in AT SELECTION SCREEN Validation.
    I have 2 radiobutton and 6 parameter. if i click first radio button  all the 6 radiobutton should enable and take the user input, that is working fine for me.
    if i click second radiobutton , out of 6 , 3 parameter should disable and remaining 3 should enable. thats also working fine.
    My problem is program has written the validation for this 3 parameter in the AT SELECTION SCREEN.
    For first radioutton all the validation working  fine, for second validation as soon as i press the radiobutton it will display error message. Based on 2 parameter user is filling value for 3 rd parameter.
    I want the same validation to be done for second radio button after user pressing enter.
    PARAMETER: p_single RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND f1,
               p_multi RADIOBUTTON GROUP rad1.
    PARAMETERS: s_pwwrk LIKE plaf-pwwrk.          
    PARAMETERS: p_lgort LIKE plaf-lgort.
    PARAMETERS: p_kostl LIKE cobl-kostl.
    here is my code:
    AT SELECTION SCREEN.
    CLEAR t001w.
      CLEAR t001k.
      CLEAR marv.
      SELECT SINGLE * FROM t001w WHERE werks EQ s_pwwrk.
      IF sy-subrc NE 0.
        MESSAGE e999 WITH 'Plant' s_pwwrk 'does not exist'.
      ELSE.
        SELECT SINGLE * FROM t001k WHERE bwkey EQ t001w-bwkey.
        SELECT SINGLE * FROM marv WHERE bukrs EQ t001k-bukrs.
        IF p_budat0(4) NE marv-lfgja OR p_budat4(2) NE marv-lfmon
    IF marv-xruem IS NOT INITIAL.
            IF p_budat0(4) NE marv-vmgja OR p_budat4(2) NE marv-vmmon.
    MESSAGE e999 WITH p_budat4(2) p_budat0(4)
                                'is closed.
                                            Please try again.'.
            ENDIF.
          ELSE.
            MESSAGE e999 WITH p_budat4(2) p_budat0(4)
                              'is closed.
                                          Please try again.'.
          ENDIF.
        ENDIF.
      ENDIF.

    For your Case ,
    If i understand clearly,You can do the validation when you want on AT SELECTION SCREEN ON WP_FIELD.
    If you say your validation to be done only for Selection of Second Radio Button, then..
    AT SELECTION SCREEN.
    if p_multi  eq 'X'. "<- Make Validation to be done only if user select Second Button
    CLEAR t001w.
    CLEAR t001k.
    CLEAR marv.
    SELECT SINGLE * FROM t001w WHERE werks EQ s_pwwrk.
    IF sy-subrc NE 0.
    MESSAGE e999 WITH 'Plant' s_pwwrk 'does not exist'.
    ELSE.
    SELECT SINGLE * FROM t001k WHERE bwkey EQ t001w-bwkey.
    SELECT SINGLE * FROM marv WHERE bukrs EQ t001k-bukrs.
    IF p_budat+0(4) NE marv-lfgja OR p_budat+4(2) NE marv-lfmon
    IF marv-xruem IS NOT INITIAL.
    IF p_budat+0(4) NE marv-vmgja OR p_budat+4(2) NE marv-vmmon.
    MESSAGE e999 WITH p_budat+4(2) p_budat+0(4)
    'is closed.
    Please try again.'.
    ENDIF.
    ELSE.
    MESSAGE e999 WITH p_budat+4(2) p_budat+0(4)
    'is closed.
    Please try again.'.
    ENDIF.
    ENDIF.
    ENDIF.
    endif.

  • Selection-screen validation

    Hi Experts,
          Please can any one give me the details ..
      1)What is the actual use of selection screen  validation?
    2) When we use Selection-screen validation?
    3)If we are not written the selection-screen validation is there any effect?
    I know how to write the validation for a selection screen. But why i am asking above questions is I am very new to ABAP .My Functionl people also new to ABAP. They told me one report.I asked me what are the validation for selection screen . At that time they told there is no validation.
         Thats the reason to ask above questions..
      please tell me the details..
    Thanks In Advance..
    Thanks and Regards
    Siri..

    Abhi,
    Selection Screen Validation are used for correct input processing.
    Selection screen elements are used further in select queries to fetch data. if user enters some wrong input
    we will unnecessarily hit the data base with wrong values and select will fail , hence validation of the input
    will avoid unnecessary data base hit.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 27, 2008 12:26 PM

  • Raising Exception in Selection screen validation

    Hi All,
    I am doing a selection screen validation in BI report using the CMOD. If my validation fails i need to raise a error message instead showing the report. How can i perform that. How should i handle this using abap.
    Thanks in advance
    Prem

    Hi,
    But this does not stop the execution of the report, the error message which i have given is been displayed in the report top and still the report gets executed.
    Please suggest how to stop the report execution and to stay on the same selelction screen page.
    Thanks
    Prem

  • At selection-screen value- help

    Hi All,
    I have a requirement that based on a radio button one at selection-screen value-help is triggered and on based on a different radio button another at selection-screen value-help should be triggered.
    can it be achieved.
    Regards,
    Jeetu

    AT SELECTION-SCREEN - selscreen_event
    Syntax
      | { ON {para|selcrit} }
      | { ON END OF selcrit }
      | { ON BLOCK block }
      | { ON RADIOBUTTON GROUP radi }
      | { }
      | { ON {HELP-REQUEST|VALUE-REQUEST}
      |   FOR {para|selcrit-low|selcrit-high} }
      | { ON EXIT-COMMAND }.
    Alternatives:
    1. ... OUTPUT
    2. ... ON {para|selcrit}
    3. ... ON END OF selcrit
    4. ... ON BLOCK block
    5. ... ON RADIOBUTTON GROUP radi
    6. ... { }
    7. ... ON {HELP-REQUEST|VALUE-REQUEST} FOR
          {para|selcrit-low|selcrit-high} }
    8. ... ON EXIT-COMMAND
    Effect
    These additions allow individual evaluation of specific elements of the selection screens of the program. The information as to which selection has triggered the event is contained in the system field sy-dynnr.
    Alternative 1
    ... OUTPUT
    Effect
    This event is triggered at the screen event PBO of a selection screen. In the event block, the selection screen can be prepared through assignments to the data objects of parameters and selection criteria and through dynamic screen modifications.
    Note
    The assignments to input fields in the event block AT SELECTION-SCREEN OUTPUT always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen. Assignments in the event blocks LOAD-OF-PROGRAM oder INITIALIZATION, on the other hand, only have an effect at first program start.
    Alternative 2
    ... ON {para|selcrit}
    Effect
    This event is triggered at the screen event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again.
    No parameter that is defined as a radio button can be specified. For this purpose, the addition ON RADIOBUTTON GROUP is provided.
    Note
    If a user action takes place in the dialog box for the multiple selection of a selection criterion selcrit, the entries of the selection table are passed to the program, line by line. For each line, the event AT SELECTION-SCREEN ON selcrit is triggered.
    Alternative 3
    ... ON END OF selcrit
    Effect
    This event is triggered after the selection table selcrit has been fully passed to the program after a user action in the dialog box for the multiple selection has taken place. In the event block, the entire selection table can be checked.
    Alternative 4
    ... ON BLOCK block
    Effect
    This event is triggered at the screen event PAI of a selection screen if all the input fields of a block block of the selection screen were passed to the ABAP program. In the event block, the user inputs can be checked. Sending a warning or an error message in the event block makes all the fields of the block block ready for input again.
    Alternative 5
    ... ON RADIOBUTTON GROUP radi
    Effect
    This event is triggered at the screen event PAI of a selection screen if all the fields of a radio button group radi of the selection screen were passed to the ABAP program. In the event block, the user input can be checked. Sending a warning or error message in the event block makes all the radion buttons of the block radi ready for input again.
    Note
    The individual fields of a radio button group are not passed individually and do not trigger the event AT SELECTION-SCREEN ON par.
    Alternative 6
    Effect
    The event AT SELECTION-SCREEN itself is triggered as the last event of selection screen processing if all the input values were passed to the program. In this event block, all the user inputs can be checked. Sending a warning or an error message in the event block makes all the screen fields ready for input once again.
    Alternative 7
    ... ON { HELP-REQUEST | VALUE-REQUEST } FOR
        {para|selcrit-low|selcrit-high} }
    Effect
    The two events ON HELP-REQUEST and ON VALUE-REQUEST are triggered at the screen events POH and POV of a selection screen if - for the input field of a parameter para or one of the input fields of a selection criterion selcrit - the field help F1 or the input help F4 was called. Other selection events are not triggered.
    In the event blocks, a self-defined field or input field can be programmed, which overrides any helps possibly defined in the ABAP Dictionary.
    Notes
    These event blocks can only be implemented for fields of the selection screen that are defined in the same ABAP program and not in a possibly linked logical database.
    With the events for the field and input help, no data is transported between the selection screen and the ABAP program. As with general screens, suitable function modules must be used for these. The parameters and selection criteria changed for the input help are transported to the selection screen.
    Alternative 8
    ... ON EXIT-COMMAND
    Effect
    This event is triggered if the user has called one of the functions Back, Exit or Cancel. In the event block, possible clean-up actions can be executed.
    Example
    In these executable programs, a standard selection screen and a further selection screen are defined. In the event blocks AT SELECTION-SCREEN, the inputs in the selection screens can be specially handled using the name p_carrid and the screen number in sy-dynnr.
    REPORT demo_at_selection_screen.
    Global data
    DATA: sflight_tab TYPE TABLE OF sflight,
          sflight_wa  LIKE LINE  OF sflight_tab.
    Selection screens
    PARAMETERS p_carrid TYPE spfli-carrid.
    SELECTION-SCREEN BEGIN OF SCREEN 500.
      SELECT-OPTIONS s_conn FOR sflight_wa-connid.
      DATA s_conn_wa LIKE LINE OF s_conn.
    SELECTION-SCREEN END OF SCREEN 500.
    Handling selection screen events
    AT SELECTION-SCREEN ON p_carrid.
      IF p_carrid IS INITIAL.
        MESSAGE 'Please enter a value' TYPE 'E'.
      ENDIF.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                          ID 'CARRID' FIELD p_carrid
                          ID 'ACTVT'  FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE 'No authorization for carrier' TYPE 'E'.
      ELSEIF sy-subrc <> 0.
        MESSAGE 'Error in authority check' TYPE 'A'.
      ELSE.
        IF sy-ucomm = 'ONLI'.
          CALL SELECTION-SCREEN '0500'.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN.
      IF sy-dynnr = '0500'.
        IF s_conn IS INITIAL.
          MESSAGE 'Please enter values' TYPE 'W'.
        ELSE.
          SELECT *
                 FROM sflight
                 INTO TABLE sflight_tab
                 WHERE carrid = p_carrid AND
                       connid IN s_conn.
          IF sy-subrc <> 0.
            MESSAGE 'No flights found' TYPE 'E'.
          ENDIF.
        ENDIF.
      ENDIF.
    Main program
    START-OF-SELECTION.

  • At Selection screen validation

    Hi All,
    I Have a Situation, If User does not enter any thing on seelction screen my report still displays the data based on the selection criteria, what validation can be done at seelction screen to resolve this issue.
    Regards,
    VB

    put your cursor on Selection-screen and press ABAP help...
    or, use the appropriate program event, in this case: AT SELECTION-SCREEN [for screen-name is an addition].
    If structure SSCRFIELDS-UCOMM eq 'SJOB' or 'PRIN' or 'ONLI', the user has selected an execution mode and you can enforce entry of something into your ranges tables (SELECT-OPTION creates a table of the same name).
    In cases like this, please search forum and/or utilize SAP's excellent ABAP HELP capability.

  • Re selection screen validation

    Hi experts,
    In one of my report I have to put validation on selection screen. I have  4 fields defined under select-options (S_LGNUM, S_WERKS S_EXIDV2, S_EXIDV).
    Now
    When warehouse(LGNUM) and Plant(WERKS) are blank then Case# (EXIDV2) or HU#(EXIDV) become mandtory at selection screen.
    How to code for this Please help.Points sure.
    Anshu.

    Hi ,
    Please go through the sample code.
    tables: mara.
    select-options: matnr for mara-matnr,
                    mbrsh for mara-mbrsh,
                    meins for mara-meins ,
                    mtart for mara-mtart.
                    at selection-screen.
                    if matnr is initial and mbrsh is initial.
                      if meins is initial or mtart is initial.
                      message e000(0) with 'Please enter values'.
                      endif.
                    endif.
    Hope this solves the problem.
    Reward points if helpful.
    Thanks and Regards.

  • Needed  selection screen validation for all entries in the range

    Hi all,
    I'm using the below code for Material validation in selection-screen.
    SELECT SINGLE MATNR FROM MARC INTO MARC-MATNR
      WHERE MATNR IN S_MATNR.
      IF sy-subrc NE 0.
        MESSAGE e000(su) WITH text-035.     "Invalid Material Number
      ENDIF.
    This validation is working only for one record in the range.
    If I give multiple material numbers in the range having a record which doesn't exist in MARC, its not throwing the error.
    Seems like loop should be placed at s_matnr. Is that correct procedure or any pointers on the same would be of great help.
    Regards,
    Vamsee Priya.

    Hi priya
    Use this way,
    REFRESH IT_LIPS. CLEAR IT_LIPS.
      SELECT VBELN
             POSNR
             MATNR
             WERKS
             LFIMG
             ARKTX
             VGBEL
             VGPOS
             BWART
             FROM LIPS INTO TABLE IT_LIPS
             WHERE PSTYV IN
       ('ZZTC', 'ZTAD', 'ZMVN', 'ZCVA', 'ZCVB', 'ZCVC') AND "ASR 18721
                   WERKS IN ('1140', '1143', '1149').
      IF IT_LIPS[] IS INITIAL.
        MESSAGE E000 WITH TEXT-005.
    endif.
    revert back if you need any help..
    Help us to help you, Manas

  • Selection screen validation - facing an issue

    Hi All,
    I am facing an issue while doing validations on selections screen of a report program.
    On selecting a checkbox, a field related to that should become mandatory.
    But if I do the validation in selection screen events,
    for the first time also, when I select the check box, it is displaying error message saying no data in mandatory field.
    So I am doing the validation in start-of-selection event.
    Is there any work around for this?
    Please help me in this regard.

    Hi
    maybe you could try coding the validations at selection-screen.
    Also remove OBLIIGATORY syntax in selection screen coding.
    check the value in your check box and make the required field mandatory there.
    at selection-screen.
    if chk_val = 'X'.
      if s_mblnr[] is initial.
        if s_ebeln[] is initial.
          if s_matnr is initial or s_budat is initial.
            message e000(fb) with 'Enter at least a PO and material number/GR date!'.
          endif.
        endif.
      endif.
    else.
    endif.
    regards
    Isaac Prince
    Edited by: prince isaac on Nov 9, 2010 11:45 AM

  • Selection screen validation for batch

    This is my scenario:
    If program is executed in background, plant (in selection screen) is not mandatory.
    If program is executed directly, plant (in selection screen) needs to be filled (mandatory).
    I tried using sy-batch and coding at the AT SELECTION-SCREEN portion for validation but it seems that sy-batch is only populated after START-OF-SELECTION.
    How do i code it so that if user does not execute program in background, it will prompt an error message and prompt user to fill the plant field in the selection screen?

    HI,
    use sy-batch in start-of-selection. not in at selection-screen.
    start-of-selection.
    if sy-batch = ' X' . (If it runs in background)
    Then raise message.
    endif.
    This will work.
    Reward If helpful.

  • Selection screen validation in HR ad hoc query

    Hi Experts,
    I have created a query in SQ01. My infoset is created using Logical database PNPCE. Selection criteria contains Fields  Personnel Number and Employment status. so when the query will be run, I want to display error message if invalid personnel number or Employment status is entered. Please let me know, How do I achieve it.
    Thanks in advane.
    Regards.

    Hi
    After declaring selection screen fields.
    select the field to handle validation and click on the button 'Check coding for
    Element' .
    you will get a block to handle the validation.

  • Selection-screen F4 help

    suppose in a selection screen, there are 2 parameters. one for storage location & other for material. if one storage location is selected, then by clicking F4 help in material corresponding material related to storage location should come ?

    hi,
    try like this.
    TYPES : BEGIN OF ty_kna1,
              kunnr TYPE kna1-kunnr,                                    "CUstomer Code
              name1 TYPE kna1-name1,                                    "Customer Code
            END OF ty_kna1.
    DATA : wa_value_tab TYPE ty_kna1.
    DATA : value_tab LIKE wa_value_tab OCCURS 0 WITH HEADER LINE.
    DATA : field_tab LIKE dfies  OCCURS 0 WITH HEADER LINE.
    DATA : return_tab LIKE ddshretval OCCURS 0 WITH HEADER LINE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR kunnr-low.
      CHECK NOT bukrs IS INITIAL .
      SELECT kna1kunnr kna1name1
        INTO TABLE i_kna1
        FROM kna1 INNER JOIN vbrk
        ON kna1kunnr = vbrkkunag
        WHERE vbrk~bukrs = bukrs.                   "dyfields-fieldvalue.
      SORT i_kna1 BY kunnr.
      DELETE ADJACENT DUPLICATES FROM i_kna1.
      CLEAR : value_tab,field_tab,return_tab.
      REFRESH : value_tab,field_tab,return_tab.
      field_tab-fieldname = 'KUNNR'.
      field_tab-tabname = 'KNA1'.
      APPEND field_tab.
      field_tab-fieldname = 'NAME1'.
      field_tab-tabname = 'KNA1'.
      APPEND field_tab.
      field_tab-fieldname = 'KUNNR'.
      LOOP AT i_kna1 .
        value_tab-kunnr = i_kna1-kunnr.
        APPEND value_tab.
        CLEAR value_tab.
        value_tab-name1 = i_kna1-name1.
        APPEND value_tab.
      ENDLOOP.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = field_tab-fieldname
        TABLES
          value_tab       = value_tab
          field_tab       = field_tab
          return_tab      = return_tab
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc = 0.
        kunnr-low = return_tab-fieldval.
      ENDIF.
    here i entered BUKRS and according to that i want Customer name.
    hope it will b helpful.

Maybe you are looking for

  • Deliveries

    hi all i have a query i have defined free goods condition record for every 2 quantity of material X, 1 quantity of material X is free i created sales order with 4 quantity(2 free goods) my requirement is when i create delivery for the same order and

  • How do I get Preview Slideshow to appear in external monitor/projector

    In Preview in Snow Leopard, I could set up a slideshow and use it for presentations through an external monitor or on a screen using a projector. I did this by dragging the Preview window onto the external monitor and then clicking on View/Slideshow.

  • Pdf form, submit by?, and captcha

    I am a bit of a newbie to the programming side of web design. I have a handful of clients, mostly friends and small ministries, for whom I have created primarily html websites (some CSS and simple PHP). Two of the clients have pdf forms for visitors

  • Oracle Form designing problem...

    Hai experts, I am facing some problem in the oracle form desiging. we are receiving the dates from the customer and we are capping,washing and stuffing more than 10 service we are doing. refno -- primary key header table refno cust name mobile no wei

  • Hyperion  Finanacial Management Question

    can i install the Hyperion financial management in Linux Environment..