How to get ME23 screen using selection-screen

Hi,
I am trying to get the ME23 screen using selection-screen with following code.
select-options: purordno for ekko-ebeln NO intervals.
SUBMIT SAPMM06E VIA SELECTION-SCREEN .
But at the time of execution i got this error "INCORRECT PROGRAM TYPE WITH SUBMIT".
Can any one please provide me some sample code how to get the ME23  screen
using Abap program.
Regards,
krishna/rajesh.

Hi Rajesh,
You can't submit a pool modul ( SAPMM06E ).
Only executable prog can be submit .
What you can try is use "CALL TRANSACTION" statement.
Hope this helps,
Erwan

Similar Messages

  • How to get default values on selection screen(multiple ranges)?

    i want to know how to maintain default ranges in selection screen...like 2000 to 3000 and 7000 to 8000 and 11000 to 15000
    all the above ranges must get by default how to provide those to selection screen by default...please give me idea...with example...

    Hi Suresh,
    You can either use select-options or Ranges. If you want the selection screen to be displayed with allwoing user to enter values apart for the default ones use select options else use ranges. With ranges what ever values use hard code would be set and the end user will not be able to add any more values (or range of values).
    Simply write the following code
    tables : <name of the table from which the field belongs>
    select-options <fieldname> for <tablename>-<fieldname>.
    <fieldname>-sign = 'I'.
    <fieldname>-option = 'BT'.
    <fieldname>-low = '7000'.
    <fieldname>-high = '8000'.
    append <fieldname>..
    similiarly add all the ranges that you need to include as default and in your select statement use the IN operator inthe where clause to include the range.
    If using range replacethe select-option with the range statement.
    Thanks.

  • How to get data based on selection screen on the output

    Hi Expert,
    Can any one tell me based on material number on slection screen correspondind field i.e on selection scren
    WERKS,MTART,EKGRP,DISPO,BESKZ,MATNR should also get. i.e if i give mtart on selection screen corresponding to material number mtart shoul get.
    NOTE: I HAVE WRITTEN SELECT QUERY FOR TWO TABLES I.E MARA,MBEW.
    Below is my code
    TABLES:MARA,MARC,MARD.
    TYPES: BEGIN OF ty_mbew,
          matnr TYPE matnr,
          bwkey TYPE werks_d,
          lbkum TYPE lbkum,
          END OF ty_mbew.
    TYPES: BEGIN OF ty_close_stk,
           mandt TYPE mandt,
           matnr TYPE matnr,
           cdate TYPE zwkdate,
           bwkey TYPE werks_d,
           meins TYPE meins,
           zlbkum TYPE lbkum,
           WERKS  TYPE WERKS,      "
           MTART  TYPE MTART,
           EKGRP  TYPE EKGRP,
           DISPO TYPE  DISPO,
           BESKZ TYPE BESKZ,      
           salk3 TYPE salk3,
           END OF ty_close_stk.
    TYPES: BEGIN OF ty_mbewh,      
           matnr type matnr,
           bwkey type bwkey,
           lbkum type lbkum,
           lfmon type lfmon,
           end of ty_mbewh.        
    TYPES: begin of wa_matnr,
                matnr type matnr,
           end of wa_matnr.
    dATA : it_matnr type standard table of wa_matnr.
    DATA : it_close_stk_del TYPE STANDARD TABLE OF zclose_stock WITH HEADER LINE.
    DATA : it_close_stk TYPE STANDARD TABLE OF ty_close_stk,
           it_mbew TYPE STANDARD TABLE OF ty_mbew,
           wa_close_stk TYPE ty_close_stk,
           wa_mbew TYPE ty_mbew,
           it_mbewh TYPE STANDARD TABLE OF ty_mbewh,            "89286
           wa_mbewh TYPE ty_mbewh.                              "89286
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT-001.
    89286*********************
    SELECT-OPTIONS: WERKS FOR MARD-WERKS,    "Plant
                    MTART FOR MARA-MTART,    "Material type
                    EKGRP FOR MARC-EKGRP,    "Purchasing group
                    DISPO FOR MARC-DISPO,    "MRP Controller
                    BESKZ FOR MARC-BESKZ,    "Procurement type
                    s_MATNR FOR MARA-MATNR.  "Material number
    ************89286***************
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE TEXT-002.
    select MATNR INTO CORRESPONDING FIELDS OF TABLE IT_MATNR
           FROM MARA
           WHERE MATNR IN S_MATNR.
    SELECT matnr
             bwkey
             lbkum
             salk3            "MSK25072011
             FROM mbew INTO CORRESPONDING FIELDS OF TABLE it_mbew
            WHERE lfgja = fis_year
              where matnr  in s_matnr
               and  bwkey in werks.

    Hi
    Perhaps I don't understand yet, but you have several select-options in your selection-screen, every select-options can be assigned to different tables (MARA, MARC, MBEW), so you need to decide if to use a JOIN o single SELECTION in order to get all data in one step or many steps.
    IF you need to do several selections, these have to be linked in order to get the data for the records selected in the previous selection, something like that:
    SELECT matnr mtart INTO TABLE t_mara
        FROM mara
          WHERE matnr IN s_matnr
            AND mtart IN s_mtart.
      IF sy-subrc = 0.
        SELECT matnr werks ekgrp INTO TABLE t_marc
          FROM marc
            FOR ALL ENTRIES IN t_mara
              WHERE natnr = t_mara-matnr
                AND ekgrp IN s_ekgrp.
        IF sy-subrc = 0.
          SELECT matnr bwkey lbkum salk3 INTO TABLE t_mbew
            FROM mbew
              FOR ALL ENTRIES IN t_marc
                WHERE matnr = t_marc-matnr
                  AND bwkey = t_marc-werks.
        ENDIF.
      ENDIF.
    But you can use an single join with all tables
    Max

  • How to get modified values in selection screen

    address data  is filled in selection screen by default.
    if  we want to change the address on selection screen
    and pass it to another variable .how to handle this  please let me know

    Hi,
    Change the value of address in the selection screen by delting the default value and replcaing it by new 1.
    Then assigh this value of that variable to the new variable
    new_variable = variable.

  • How to get the values of selection screen.

    Hi experts..
                    Using call transaction i just called one screen where two input fields are there eid and ename...after giving the input
    i want to get the eid value using get parameter id..how it is possible...
    CALL TRANSACTION 'ZT11'.
    GET PARAMETER ID 'ZEID' FIELD EID.
    but i did'nt get value in EID..can any one please help me....
    Regards,
    Veena.

    Hi,
    In call transaction function module you must set parametr id value in function module 'ZT11'
    then it will accesible to you program using get parameter.
    Rgds
    Ravi Lanjewar
    Edited by: Ravishankar Lanjewar on May 25, 2010 12:42 PM
    Edited by: Ravishankar Lanjewar on May 25, 2010 12:43 PM

  • Designing a calculator using selection screen(abap)

    hi i just now stepped into this technology. iam learning abap.  i like to jknow how to design a calculator using selection screen. 
    could any one give your  suggestions or any sites having such example programs . 
    thankyou

    Hi
    Welcome to SDN.
    Use the sample peace of code for design Calculator.
    Hi,
    Create push buttons for the + , - , / , * , = in your dialog program.
    Create an input field with the data type that can accept decimal places..
    When the enter 12 then press the push button "+" button store the value 12 in a variable v1..Then clear the input field..
    Then when the user enters another number..lets say "13"..
    Then if the user presses the "=" button...Then sum the values from the variable v1 with the input field..
    Hope this helps..
    Check this sample code..
    MODULE USER_COMMAND.
    CASE SY-UCOMM.
    WHEN 'ADDITION'.
    ASSUMING THE INPUT FIELD NAME IS P_INPUT.
    V_V1 = P_INPUT.
    V_OPERATION = '+'.
    CLEAR: P_INPUT.
    WHEN 'EQUALTO'.
    CASE V_OPERATION.
    ADDITION
    WHEN '+'.
    SUM UP THE VALUES.
    P_INPUT = P_INPUT + V_V1.
    ENDCASE.
    MULTIPLICATION
    WHEN '*'.
    MULTIPLY UP THE VALUES.
    P_INPUT = P_INPUT * V_V1.
    ENDCASE.
    ENDCASE.
    ENDMODULE.
    Regards,
    Sree

  • Can i get multiple records if selection screen is 900 using PROVIDE

    Hi All,
    Iam using following statement for fetching MULTIPLE records from infotype 0008. In Attributes if i declare LDB as pnp and selection screen as 900, then iam not getting any records.
    Instead of th selection screen 900 is empty. then records will getting properly.
    How can i get multiple records if selection screen is 900?
      PROVIDE * FROM p0008
                    between pn-begda and pn-endda.

    Hi Ranjith
    You can use
    PYBEGDA and PYENDDA instead of PN-BEGDA AND PN-ENDDA.
    Regards
    Muneer.VK

  • How to get the values of Select-options from the screen.

    The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.

    Hi,
    Refer this following code..this will solve your problem...
    "Following code reads value entered in s_po select options and willprovide search
    "help for s_item depending upon s_po value.
    REPORT TEST.
    TABLES : ekpo.
    DATA: BEGIN OF itab OCCURS 0,
    ebelp LIKE ekpo-ebelp,
    END OF itab.
    SELECT-OPTIONS   s_po FOR ekpo-ebeln.
    SELECT-OPTIONS s_item FOR ekpo-ebelp.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
      DATA:
      dyn_field TYPE dynpread,
      temp_fields TYPE TABLE OF dynpread,
      zlv_dynpro TYPE syst-repid.
      zlv_dynpro = syst-repid.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = zlv_dynpro
          dynumb     = syst-dynnr
          request    = 'A'
        TABLES
          dynpfields = temp_fields
        EXCEPTIONS
          OTHERS     = 0.
      LOOP AT temp_fields INTO dyn_field.
        IF dyn_field-fieldname EQ 'S_PO-LOW'.
            SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
            WHERE ebeln EQ dyn_field-fieldvalue.
            EXIT.
        ENDIF.
      ENDLOOP.

  • HOW TO USE SELECTION SCREEN

    HOW TO USE SELECTION SCREEN
    I WANT TO INSERT PURCHASE DOCUMENT NUMBER
    AND WANT TO SEE ALL INFORMATION FOR THAT PURCHASE DOCUMNET NUMBER.
    THANKS IN ADVANCED.

    The main use of the selection-screen is to select screen in the back ground
    ex :    
    TABNAME
    IN THE ABOVE FIGURE  TABNAME IS THE FIELD AND THE BACK END IS   CREATED SCREEN IN THE BACK END
    THIS SCREEN CREATION WE CAN USED THE SCREEN SELECTION

  • How to set my own gui status when i use selection-screen

    how to set my own gui status when i use selection-screen command
    and
    how to set the names in the application tool bar when function keys are created

    Make sure that you do this in event "AT SELECTION-SCREEN OUTPUT".
    Run Txn ABAPDOCU and check 'DEMO_SEL_SCREEN_STATUS' for sample.
    Also check out following discussion -
    Selection Screen PF-STATUS
    Cheers,
    Sanjeev

  • How to hide input fields on selection screen using variant attribute

    Hello all,
    I want to know how to hide input fields on selection screen using variant attribute conpletely.
    As you know, when setting the attribute of variant "Hide field" checked, the field is temporarily hidden, but when clicking "All Selections(F7)" button on the selection screen, the fileds become appeared.
    I want to hide the field completely. Di you know how to do ?
    Thank you for your support.
    Regards,
    Hideki Kozai

    Use this attribute hide field and save the variant. Then create transaction for this program setting default variant for parameter Start with variant . The user who runs it will have it by defualt set.
    Otherwise
    in PBO simply use LOOP at screen and output = 0 for this field. This will ensure that field is invisible in any case.
    Regards
    Marcin

  • I have a new Macbook pro, I cannot get past the country selection screen.  'Continue' is greyed out and keys just make error sounds. How do I move it on?

    I have a new Macbook pro, I cannot get past the country selection screen.  'Continue' is greyed out and keys just make error sounds. How do I move it on?

    sideeque wrote:
    I have the same problem. What did you do last time?
    What  should I do now? Its around 40 miles away the apple store? Would they pay my taxi fare to go and return?
    How can we trust this apple product?
    You are still under warranty.  Call Apple Care.

  • How to accept multiple attachments on selection screen?

    Hi All,
    I need to know how to accept multiple attachments on selection screen and send them as email to external system (outlook).
    Basically, my req is to send a common email with attachments to certain users. These users are displayed in ALV. User will select ALL or specific user from ALV and send an email with message entered on selection screen.
    I used text editor control to input message body. I need to know how to accept attachments and send them.
    Appreciate any inputs.
    Thanks,
    SKJ

    SAP uses a nifty little button called 'Object Services' on ME23N (top left) which you can use to attach documents to business objects.
    http://help.sap.com/saphelp_nw70/helpdata/EN/be/3fe63659241157e10000009b38f889/frameset.htm
    It's a complicated way of doing it but might give you extra functionality in the long run.

  • HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?

    HI,
    HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?
    thanks,
    samba.

    By selection screen, what do you mean?   There is no selection screen in WDA as there was in classic dynpro. Do you mean you are using the Select-Options reusable component?  Are you wanting to call a standard transaction via ITS - SAPGUI for HTML?  Please provide more details to your question.

  • Problem in getting parameter value from selection screen in web dynpro abap

    Hi,
    I am facing problem in getting parameter value from selection screen.
    Please find my code below:
    DATA LT_PAR_ITEM TYPE IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.
    FIELD-SYMBOLS:<FS_PAR_ITEM> LIKE LINE OF LT_PAR_ITEM,
                                 <FS_OBJ_USAGE>    TYPE REF TO data.
      WD_THIS->M_HANDLER->GET_PARAMETER_FIELDS( IMPORTING ET_FIELDS = LT_PAR_ITEM ).
      LOOP AT LT_PAR_ITEM ASSIGNING <FS_PAR_ITEM>.
        CASE <FS_PAR_ITEM>-M_ID.
          WHEN `OBJ_USAGE`.
             ASSIGN <FS_PAR_ITEM>-M_VALUE->* TO <FS_OBJ_USAGE>.      
    [ Here, sy-subrc is 4,  <FS_OBJ_USAGE> is not assigning.]
        ENDCASE.
      ENDLOOP. 
    So, can any one solve this problem.
    Thanks in advance,
    Radhika

    Hi Radhika,
    Try using GET_RANGE_TABLE_OF_SEL_FIELD...
    Please Refer below code..
       DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA: RT_CARRID TYPE REF TO DATA.
      DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
      DATA: WSFLIGHT TYPE SFLIGHT.
      FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
    Retrieve the data from the select option
      RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    Assign it to a field symbol
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
      CLEAR ISFLIGHT. REFRESH ISFLIGHT.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
                           WHERE CARRID IN <FS_CARRID>.
      NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
      NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
    Thanks,
    Regards,
    Kiran

Maybe you are looking for

  • How do I download my Photosmart D5160 virtual printer to my windows 7

    I have been using my Photosmart D5160 printer in a XP Vertual mode on my Windows 7 computer for about eight years now to print lables on DVDs.  Somthing happened in the last couple of weeks and the virtual printer won't conect to my Windows 7 compute

  • Adobe Acrobat Std XI - Quick Pick Toolbar

    Had issues with Acrobat Pro 9.5 so uninstalled and upgraded to XI Std. Customized the quick pick toolbar with all the tools used most often. Opened a pdf and all the customization disappeared. Added the tools back in but they keep disappearing. Am I 

  • Skype 6.18 APPCRASH KERNELBASE.DLL

    Hello, Skype will no longer start on my Windows 7 machine. I would be most grateful if anyone has the solution to this problem: Problem signature: Problem Event Name: APPCRASH Application Name: Skype.exe Application Version: 6.18.60.106 Application T

  • Nokia Maps on E71 again - does not load a detailed...

    Hello All! I've looked through previous discussions on Nokia Maps @ E71, however did not find a solution for my problem. Noka Maps runs on my E71, however, it does not load a detailed maps. Sattelite images work perfectly. My area is well covered wit

  • Raw files on iphoto

    hi folks! i have a nikon d80 and currently using iphoto '08 and wanted to use adobe ilustrator cs to edit my photos. i already set iphoto to transfer the photographs as raw but everytime i double click, for some magical reason iphoto converts my raw