Default value on the selection screen.

Hi All,
We have a field on the selection that is Sales Organisation.
Now for this field we want the default value coming from the User Parameters.
i.e On SAP menu under SYSTEM there is User profile, In that user profile if you go to OWN DATA, There is tab called parameters.
Here VKO Parameter ID the sales Organisation is defined. They want this value to come as default on the screen.
Please help out how can this be done.

In the INITIALIZATION write the code as below.
get paramater id 'VKO' into field p_sfiled.
here p_field is your selection screen field.
Reward points if useful
Regards,
Nageswar

Similar Messages

  • Changing of default values on the selection screen dynamically

    Hi,
          I have 2 radiobuttons R_A & R_B and i have one text field like P_TEXT. Based on selection of radio button i have to change the default values in P_TEXT on the selection screen. like if i select R_A i have to display P_TEXT = 'A'. if i select R_B then it has to display P_TEXT = 'B'. I tried like as below
    in AT SELECTION-SCREEN OUPUT EVENT.
                 IF R_A = 'X'
                   P_TEXT = 'A'.
                 ELSEIF R_B= 'B'.
                   P_TEXT = 'B'.
                 ENDIF.
            But it's not working. it is working only for first radio button. when i select second radio button it is not giving the second value. can any one tell the sol.
    Tks in advance.

    Hi Pammi,
    Use this code, its working:-
    PARAMETERS : r_a RADIOBUTTON GROUP gp1 DEFAULT 'X' USER-COMMAND rb,
                 r_b RADIOBUTTON GROUP gp1,
                 p_text(20).
    "we use user command with the radiobutton so that some event is occured in order to call AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT.
      IF r_a = 'X'.
        p_text = 'Hello'.
      ELSEIF r_b = 'X'.
        p_text = 'Hi'.
      ENDIF.
    In the above case 'AT SELECTION-SCREEN OUTPUT' will act as PBO of the selection screen and will change value of selection text as per condition.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • How to display the sort value in the selection screen in the report title

    Dear All,
    How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
    Good day,
    Thanks and regards
    Arun S

    Hi Arun,
    Try this.
    1, Set one dynamic parameter,
    2, Drag and drop that parameter into  your report title.
    3, Pass the value(sort value) dynamically from your application,
    4, Cheers..
    Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then  set the data source from CR designer. and darg and drop that data column into the report.
    Hope this will work,
    Regards,
    Salah
    Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM

  • Retrieve input values from the selection screen

    I have a requirement to retrieve the variable value or values inputed from the selection screen and label the worksheet tab to replace the tab name 'Sheet1' from the Excel. The only way to do this would be to write a macro to label the sheets but how would I retrieve the value(s) from the selection screen criteria? Is the value of the selection screen entered by the user stored in some table? How would I write the macro to retrieve this value?
    For example, I want to retrieve the company code entered from the selection screen and lets say the company code entered as 10; I would want to replace the worksheet from 'Sheet1' to '10' . Texts would be more recognizable.

    Use the option Layout->Display Text Elements->Variables from the BEx toolbar. This will display Variable screen user input on your workbook in a fixed location. Then you can use your macro to name the worksheet with the cell reference.
    Thanks
    Vineet

  • Default Value for a selection screen field

    Hi Experts,
    I am having a selection screen with a date field i am defaulting the date field to sy-datum but i also have a option of changing the date field value.
    The issue is i have defaulted the date field value in PBO event,so when i change my field value in selection screen every time the defaulted value is appearing instead of my new changed value.
    Plzz suggest a solution.

    Hi ,
           Actualy u should set the default value at the time of selection screen, but now from the same logic try to write like
       If Date is initial.
         data = sy-datum.
        endif.
    in ur PBO
    Try this.
    THank
    -Anmol
    Hi Experts,
    I am having a selection screen with a date field i am defaulting the date field to sy-datum but i also have a option of changing the date field value.
    The issue is i have defaulted the date field value in PBO event,so when i change my field value in selection screen every time the defaulted value is appearing instead of my new changed value.
    Plzz suggest a solution.

  • Layout default option on the selection screen

    I have given a Select Layout box on the Selection screen of my ALV report. How can I pass the default layout value, already set in the report to the box on the selection screen as the default value.

    DATA: RS_VARIANT LIKE DISVARIANT.
    SELECTION-SCREEN : BEGIN OF BLOCK B10 WITH FRAME TITLE TEXT-024.
        PARAMETERS       : PA_VARI  TYPE SLIS_VARI.
    SELECTION-SCREEN : END OF BLOCK B10.
    FORM ALV_VARIANT_F4  CHANGING P_PA_VARI.
      DATA: "RS_VARIANT LIKE DISVARIANT,
             NOF4       TYPE C,
             G_REPID    TYPE SY-REPID.
      MOVE SY-REPID TO G_REPID.
      CLEAR NOF4.
      LOOP AT SCREEN.
        IF SCREEN-NAME    = PA_VARI.
          IF SCREEN-INPUT = 0.
            NOF4 = 'X'.
          ENDIF.
        ENDIF.
      ENDLOOP.
      RS_VARIANT-REPORT   = G_REPID.
      RS_VARIANT-USERNAME = SY-UNAME.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          IS_VARIANT = RS_VARIANT
          I_SAVE     = 'A'
        IMPORTING
          ES_VARIANT = RS_VARIANT
        EXCEPTIONS
          OTHERS     = 1.
      IF SY-SUBRC = 0 AND NOF4 EQ SPACE.
        PA_VARI = RS_VARIANT-VARIANT.
      ENDIF.
    ENDFORM.                    " ALV_VARIANT_F4
    Following code is used to get the Layout selection box on the selection screen.

  • Default values in se16 selection screen

    Hi,
    when we open SE16 along with table name , In the selection screen of that table i want some default values apper for one particular field.
    How can i do that???

    Hi,
    it`s not possible to fill the fields only for this selection.
    You can work with variants, i think, this is the best way.
    On the other hand you can work with parameter-id´s. Most of the fields have this and you can enter it in you user-paramters. This variant has the effekt that the value will shown in each transaction, where this parameter-id is used.
    Regards
    Nicole

  • Comapare the string value in the selection screen

    In the selection screen input field
    there is an option of selecting the directory and file name and not the extension .
    This is used to download the datas
    Extension can be selected by using the option button
    rtf
    csv.
    the user has to give only  the filename and not the extension.
    suppose if the user input is C:\temp\file1.doc.
    Either i should take only the filename
    or i should display the message give only the filename and not the extension . its already been selected!!!!
    I want to compare the input string contains  .doc
    how to do the comparison and to get the above results mentiond
    Thanks
    ABAPer

    hi,
    I have already done using the method given by you.
    Because the requirment is there are two option buttion for selecting the download file format
    But unknowingly if the user gives the filename along with the extension. I need to handle that error
    giving some error message or information message
    By comparing the last 4 letters of the filename.. either.doc or rtf or csv or watever
    so how to do that
    then after comparing that i should give the user a msg doc type is already selected give only the filename
    I hope u understand my req
    thanks

  • Capturing elements value in the selection screen for LDB during run time

    Hi,
    I have a program where LDB is used.
    Could anyone please suggest how to capture the values of the elements present in the LDB's default selection screen.
    Specially, the company code and the period values.
    Please reply . Its too urgent.
    Regards,
    Binay.

    I got it

  • Setting ranges as default values for a selection screen value

    i have a selection screen parameter s_yywrpc. For this s_yywrpc i have to set some range of values as default values.
    Can u tell me how can i do that .
    select-options:s_yywrpc for vbak-yywrpc.
    for this parameter i have to set MSPG, MSP, FMP, FMPG, CFEG, FCFG, CMSG, CMSP as the default values in selection screen
    can anybody tell me how can i code this
    thanks
    pavan

    >
    pavan kumar wrote:
    > i have a selection screen parameter s_yywrpc. For this s_yywrpc i have to set some range of values as default values.
    > Can u tell me how can i do that .
    >
    > select-options:s_yywrpc for vbak-yywrpc.
    > for this parameter i have to set MSPG, MSP, FMP, FMPG, CFEG, FCFG, CMSG, CMSP as the default values in selection screen
    >
    > can anybody tell me how can i code this
    >
    >
    > thanks
    > pavan
    in the intialization event.
    INTIALIZATION.
    s_yywrpc-low = 'MSPG'.
    s_yywrpc-sign = 'I'.
    s_yywrpc-option = 'EQ'.
    append s_yywrpc.
    s_yywrpc-low = 'MSP'.
    append s_yywrpc.
    do it all for the values.

  • How make default values in the selection criteria of BEx query????

    Hi all
    I have to create a brand new query, in the selection criteria(Prompts) I have two prompts. one prompt should show current budget year and second prompt should show next budget year, both prompts are mandatory and default.
    Can any one please let me know how to obtain current and next budget year??? do I need to write any customer exit or do i need to create a offset???
    Two prompts are using same infoobject 0fiscper which is mapped to ECC Table MBEW and field is LFGJA.
    Thanks

    HI sathiyaa,
    so you want to show user with two prompts one will show current year and the other next year value by default.
    //tell me that if you user change the current year value for ex: it will show 2011 by default.. and user changed it to 2009.
    you want to show 2009 year results or 2011 even though he changed the prompt.
    Here i'm considering that even though user changed current year to some other year still you want to show the current year results.
    Create a customer exit variable for calyear with ready for input (checked).
    customer exit code in CMOD :
    when ' customer exit var for cal year'
    IF I_step = 1.
    clear l_S_range.
    l_S_range-low = sy-datum+0(4).
    l_s_range-sign = 'I'.
    L_s_RANGE-opt = 'EQ'.
    ENDIF.
    if i_step = 2.
    data: zyear(4) type c.
    zyear = sy-datum+0(4).
    ex: l_s_range-sign = 'I',
    l_s_range-opt = 'EQ'.
    L_s_range-low = zyear.
    appen l_s_range to e_t_range.
    after this create a variable offset
    create a new selection in the structure, drag the KF and calyear restricted by current year variable . Copy the same selection and insert it as a new selection, go back to the calyear restriction, right clik on the variable. specify variable offset and enter + 1.
    or search in sdn how to create variable offset it will help you
    Regards,
    Ranganath.

  • Default Values in IW73 Selection screen

    Hello Experts,
    SAP transaction IW73 has a default entry 100004731 for functional location.
    Please guide me how to remove this entry and defaulted to blank?
    Thanks!!!
    Br,
    Arun

    Hi,
    Generally default values can be assigned to transaction by BADI implementation. So, search for the BADI of IW73 transaction and deactivate the implementation.
    Hope this will be helpful for you.
    Regards,
    Supriya.

  • HR-ABAP: Defaulting Radio Button on Selection Screen of PNP LDB

    Hi all,
    I am using PNP LDB (Logical Database) for program which is used for Payroll Results.
    Now I have a requirement wherein it is necessary to select 'Up to today' as default on the selection screen.
    We are having 4.7C version of SAP. I tried following code in INITIALIZATION event:
    Initializing Selection Screen Data Selection Option to 'Up To Today'
    INITIALIZATION:
      MOVE:  'X'    TO    pnptimr4, " This is the option which I want as Default selection.
             space  TO    pnptimr1,
             space  TO    pnptimr2,
             space  TO    pnptimr3,
             space  TO    pnptimr5,
             space  TO    pnptimr6.
    But still I dont see this Radiobutton getting selected as Default selection while running the program.
    By Default it selects Option : 'Other Period' (pnptimr6).
    Any Idea how to resolve this ??
    Regards,
    Avinash

    hi...
    When the INITIALIZATION event occurs, you can set default values for the selection screen.
    The fields for the data selection are defined in structure QPPNP.
    Possible values for field PNPTIMED are:
    D     =      Today (key date)
    M     =     Current month
    Y     =     Current year
    P     =     To current date
    F     =     From today (from current date)
    The person selection fields are defined in include program DBPNPSEL. They are internal tables that must be filled using APPEND.
    so in intialization you have to write code as
    PNPTIMED : P.
    so up date will be defaulted in selection screen.
    award points if helpful.

  • The selection screen cannot choose the multiple values at first instance?

    Hi All,
       I have 2 select-options on the selection screen as follows>>
    SELECT-OPTIONS :
                       s_subusr FOR pa0105-usrid NO INTERVALS OBLIGATORY,   
                      s_period FOR vbak-erdat   NO-EXTENSION OBLIGATORY.   
    When I try to enter multiple values by clicking the multiple option button when noting is entered as input on the selection screen.I get a error"Make entry in all required fields".
    But when I enter a value on the selection screen input for s_subusr and then enter value in s_period and then click on multiple option button I am able to see the multi-option Popup.Now I can enter multiple Values.
    Please can anyone help me to enter the values on the multiple option Pop-up whenever the user want?
    Regards,
    Shashank.

    HI
    OBLIGATORY means you have to enter the values , with out filling that values and if you click any thing it will show an error message saying that fill alla required fields
    so if you want you can remove that
    or if you want to keep that OBLIGATORY then fill some values 1st in that select-options and clcik on multiple entries button then it won't show any error
    <b>Reward if usefull</b>

  • Dynamic Selection option in the selection screen

    Hi ,
    I have a requirement like this ....
    The user wants some fields to be default available in the selection screen. But they also want to be able to select the data based on additional fields (all the remaining fields ) which they want to see in the dynamic selection .
    The basic list for selections should be limited to the fields listed in the specifications provided to me and the remaining fields should be made available through the dynamic selection option.
    In the transaction FBL3N , this facility is provided.
    Kindly help me with this..
    thanks,
    Sumit .

    Hi Sumit,
    To include dynamic selection check this sample code.
    TYPE POOLS DECLARATIONS FOR VALUE REQUEST MANAGER AND ICONS
    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.*CUSTOMISING THE TOOLBARS OF THE SELECTION SCREEN
    *WITH F8 BUTTON DISABLED  APPEND :  'PRIN' TO it_ucomm,
                'SPOS' TO it_ucomm,
                'ONLI' TO it_ucomm.  CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          p_status  = sy-pfkey
        TABLES
          p_exclude = it_ucomm.
    **EVENT ON THE SELECTION
    AT SELECTION-SCREEN.* LIST BOX ONE VALUES
      CASE one.
        WHEN '1'.
          mmtable = 'MARC'.
        WHEN '2'.
          mmtable = 'MARA'.
        WHEN '3'.
          mmtable = 'MARD'.
        WHEN '4'.
          mmtable = 'MARM'.
      ENDCASE.* LIST BOX TWO VALUES
      CASE two.
        WHEN '1'.
          sdtable = 'VBAK'.
        WHEN '2'.
          sdtable = 'VBAP'.
        WHEN '3'.
          sdtable = 'VBUK'.
        WHEN '4'.
          sdtable = 'VBUP'.
      ENDCASE.* LIST BOX THREE VALUES
      CASE three.
        WHEN '1'.
          hrtable = 'PA0001'.
        WHEN '2'.
          hrtable = 'PA0006'.
        WHEN '3'.
          hrtable = 'PA0022'.
        WHEN '4'.
          hrtable = 'PA0008'.
      ENDCASE.*VALUES FOR CLICK OF THE PUSHBUTTON ON APP TOOLBAR
    *AND ENABLING THE BUTTONS TO PERFORM F8
      CASE sscrfields-ucomm.
        WHEN 'FC01'.
          tablename = mmtable.
          sscrfields-ucomm = 'ONLI'.
        WHEN 'FC02'.
          tablename = sdtable.
          sscrfields-ucomm = 'ONLI'.
        WHEN 'FC03'.
          tablename = hrtable.
          sscrfields-ucomm = 'ONLI'.
      ENDCASE.*INITIALIZATION EVENT
    INITIALIZATION.*VALUES ASSIGNED TO DROPDOWNLISTS IN THE SUBROUTINES
      PERFORM f4_value_request_pa.
      PERFORM f4_value_request_pb.
      PERFORM f4_value_request_pc.*START OF SELECTION EVENT
    START-OF-SELECTION.*SUBROUTINE FOR OUTPUT
      PERFORM output.*&----------------------------------------------------------------*
    *&      Form  f4_value_request_PA
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST1
    FORM f4_value_request_pa.  DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.  l_value-key = '1'.
      l_value-text = 'Plant Data for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '2'.
      l_value-text = 'General Material Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '3'.
      l_value-text = 'Storage Location Data for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '4'.
      l_value-text = 'Units of Measure for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'ONE'.  CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.ENDFORM. " f4_value_request_tabname*&----------------------------------------------------------------*
    *&      Form  f4_value_request_PB
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST2FORM f4_value_request_pb.  DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.  l_value-key = '1'.
      l_value-text = 'Sales Document: Header Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '2'.
      l_value-text = 'Sales Document: Item Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '3'.
      l_value-text = 'Sales Document:Header Status'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '4'.
      l_value-text = 'Sales Document: Item Status'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'TWO'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_PB*&----------------------------------------------------------------*
    *&      Form  f4_value_request_PC
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST3FORM f4_value_request_pc.  DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.  l_value-key = '1'.
      l_value-text = 'HR Master :Infotype 0001 (Org. Assignment)'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '2'.
      l_value-text = 'Address Infotype 0006'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '3'.
      l_value-text = 'Education Infotype 0022'.
      APPEND l_value TO li_list.
      CLEAR l_value.  l_value-key = '4'.
      l_value-text = 'Basic Pay Infotype 0008'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'THREE'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_PC
    *&      Form  OUTPUT
    *       text
    *      -->P_TABLENAME  text
    *fINAL OUTPUT
    FORM output.  DATA p_table(10).  p_table = tablename.*popup to display teh selected table and
    *Continue button is clicked
      CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
        EXPORTING
          titel        = 'User Selections '
          textline1    = p_table
          textline2    = 'is the Selected table'
          start_column = 25
          start_row    = 6.*assigning the table value in p_table to the
    * Table in SE16 transaction by explicitly calling
      SET PARAMETER ID 'DTB' FIELD p_table.
      CALL TRANSACTION 'SE16'.
    ENDFORM.                    "OUTPUT
    Regards,
    Manoj Kumar P

Maybe you are looking for

  • Open ePrint from a web link?

    Hello, I'm looking for a way to open ePrint (app) from an iPhone via its web browser (Safari) when a link gets clicked. Is there any built in tags\parameters that would allow the ePrint app to open if a link was clicked with a specific parameter?

  • Change of GL code in Maintenance Order

    Dear All, We have got a requirement that when stores is issuing maintenance material against reservation created through a maintenance order the default GL consumption Ac debited is " Consumption of Stores and Spares Indigenous " , instead of this GL

  • How to get the currency of the logged in user using an el expression

    I want to get the currency of the logged in user using an el expression. I can get the same using ApplSessionUtil.getCurrency(). But can i get the same using an el exprssion?. I want to use this el expression for setting the default value of a VO att

  • Extract Customer Master attachment service text

    Hi All, I have got a requirement wherein I have to extract the texts attached in the Customer Master "SERVICES FOR OBJECT ' tab. When I go to XD03 & enter the customer number & then When We click on SERVICES FOR OBJECT tab we get an attachment list &

  • UI Dimensions for iPhone

    What dimensions should I create the UI as for iPhone development in Flash?    When I created a new AIR for iOS document in Flash 5.5, the default stage size was created at 320 x 480. In Flash 6, the default stage size was created at 640 x 960. I'm as