Logical DB & program screen comined selections

Hi,
Program uses the LDB - ENM and I get the selection screen from the LDB with EBELN and EKORG and the additional  selection with all the EKKO and EKPO fields. I want to add some of the EKKO fields in the selection screen in my program (even then it exist in the addition selection) and data selection has be followed based on my selection screen fields lile LIFNR, EKGRP, PO DATE etc.
My problem is I have declared the selection screen fields but based on that how can I restrict the data selection from the LDB - ENM?
regards,
Prabhu

Obtained by copying the LDB and modifying.

Similar Messages

  • Logical database sdf in custom program not triggering selection screen?

    I added logical Database SDF (screen 905) to a custom program - but the selection screen is not getting triggered.
    Do I have to associate these somewhere?
    Thanks,
    Ven

    HI,
    Declare this statement after the Report Statement in the program.
    TABLES : SKA1, SKB1.
    You will get the selection screen now.

  • Module pool programming " to add selection-option on screen"

    I want to add selection option for a field ( matnr ) on the screen in module pool programmiing. ( how it comes in report programming). If you you know how to add Please help me to solve.....

    Sure, you need to define your selection screen as a subscreen, then embed this into your subscreen area on the dynpro.  Here is a sample program.
    report zrich_0006 .
    tables: mara.
    * Custom Selection Screen 1010
    selection-screen begin of screen 1010 as subscreen.
    selection-screen begin of block b1 with frame title text-001.
    parameters: p_rad1 radiobutton group grp1 default 'X',
                p_rad2 radiobutton group grp1,
                p_rad3 radiobutton group grp1.
    select-options: s_matnr for  mara-matnr,
                    s_matkl for  mara-matkl,
                    s_mtart for  mara-mtart.
    selection-screen end of block b1.
    selection-screen end of screen 1010.
    start-of-selection.
      call screen 100.
    *&      Module  STATUS_0100  OUTPUT
    module status_0100 output.
    *  SET PF-STATUS 'xxxxxxxx'.
    *  SET TITLEBAR 'xxx'.
    endmodule.
    *&      Module  USER_COMMAND_0100  INPUT
    module user_command_0100 input.
    endmodule.
    * Create Screen 100 with a subscreen area called "subscreen_1010"
    * Screen Flow Logic follows
    *process before output.
    *  module status_0100.
    *  call subscreen subscreen_1010 including sy-repid '1010'.
    *process after input.
    *  call subscreen subscreen_1010 .
    *  module user_command_0100.
    Regards,
    Rich Heilman

  • How to set Screen type "Selection Screen" in Dialog program

    Hi Experts,
    I have copied a screen 400 from a program into my program. In that screen in source program, the screen type was defined as 'Selection Screen'. After i copied that screen into my program, the screen type Selection Screen option is disabled. How to set the screen type of a screen to Selection Screen.
    I am currently getting the following error
    "Error when generating the selection screen "0400" of   "Ztest_screen                 ".
    I tried running the generation program RSDBGENA. There the diagnosis was given as follows:
    When generating the report Ztest_screen and its selection screen, an existing screen 1000 (not a selection screen) was overwritten.
    The selection screen was defined as follows:
    SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK blck1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    PARAMETERS:     p_werks TYPE werks_d OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blck1.
    SELECTION-SCREEN END OF SCREEN 400 .
    I am calling the screen 400 with selection screen declarations in PBO of screen 0100.
    CALL SUBSCREEN sub_scr INCLUDING 'Ztest_Screen'  '400'.
    Where am i going wrong? Your inputs are needed.
    Thanks

    Thanks Przemysław and Nabheet for your suggestions.
    I had copied the generated screen 400 also from the source program into my program. This was the error. I deleted that and the report got activated now.
    Both the source and destination programs are not module pool. They are executable programs.
    Thanks

  • How can i post the fields in the screen by selecting a record

    Hi,
      I have a problem in dialog programming.
      I need to populate the fields in the screen by selecting a single record.
      For example,
        Screen consists of 'CARRID, CONNID,FLDATE... fields.
        By pressing F4 in CARRID field it will display the contents from database table and display the records. If i select the record LH 0400 ... record then automatically the connid field should fill with the contents of the record i.e., 0400 and similarly the remaining fields.
       How can i do this in dialog programming?
       I tried with F4IF_INT_table_.. function module. There is a table parameter DYNmapping. But dont know how to use it? Can any body explain me how to use it?
       Thanks in advance..
       Suvan

    Hi Vinod,
      Thanks for your reply. I solved my problem. It is working with the table parameter 'DYNPFLD_MAPPING' in the function module 'F4IF_INT_TABLE_VALUE_REQUEST'.
      With your logic we can't decide which record is selected. Because there can be multiple records for a single CARRID.
      My question is how to post the entire record into the screen fields at a time? It is possible with the parameter I specified inthe above said function module.
      With dictionary reference it will fetch the entire entries from the Check table.
      Thanks again for your co-operation.
      Suvan.<b></b>

  • Program with Dynamic selection but no LDB is used

    Hello Friends,
    Can any one tell me the any standard program name, In which Dynamic selection (Free Selection) is used but LDB(Logical Data Base) is not used.
    Lalit Soni

    Not possoble with out LDB, it uses selection-screen dynamic selections for table <tabname> in ldb, one alternative is using the screen table to hide selection.
    E,.g
        loop at screen.
          if screen-group1 = 'FS1' .
            screen-active = 1.
            modify screen.
          endif.
        endloop.

  • Selection-screen dynamic selections for dtab

    Hey experts,
    when I add this to my code
    selection-screen dynamic selections for zbr_t_autori
    and I want activate it, it writes out an error
    The addition "DYNAMIC_SELECTIONS" is only allowed in INCLUDE DB__SSEL.
    and I don't know how to solve it, what is that include db__ssel?
    Can anybody help me.
    Regards,
    Robert

    Check this:
    Structure of Logical Databases - ABAP Programming (BC-ABA) - SAP Library
    Where are you using this code?
    selection-screen dynamic selections for zbr_t_autori
    It should be in the include reserved for your LDB selection:

  • XK01 -- Batch Input Program Screen Sequence Issue

    Guyz,
    I created a recording in shdb for xk01 and generated the program from shdb itself and modified the program (both selection screen & processing logic).... suprisingly, when i execute the program, screen sequence is different when compared to the sequence from shdb recording..... i even downloaded the BDCTABLE contents during debugging and compared with recording in SHDB which is fine....
    any pointers ?
    after filling lifnr, bukrs & account group on initial screen of xk01, usually NAME & ADDRESS details screen comes up in online and SHDB recording, but during program execution in 'ALL SCREEN' & 'SYNCHRONOUS' mode (call transaction), i'm getting first screen (as expected) but its skipping NAME & ADDRESS details screen and thus my program getting stuck?
    appreciate your pointers.....
    thanks

    On the first screen, you have to set a check-box that is normally hidden:
        perform dynpro
          tables bdcdata
          using:
         'X' 'SAPMF02K'     '0105',         "Create Vendor: Initial Screen
          ' ' 'RF02K-BUKRS'             '0001',
          ' ' 'RF02K-KTOKK'             'ZZZZ',
          ' ' 'USE_ZAV'                 'X'.         "<=======Here
    This will cause the program to use the screen in Central Address Management.
    I also think you will probably use screen 0100 rather than 0105 that I have used above.
    Rob
    Message was edited by:
            Rob Burbank

  • Detailed pop up screen in selection screen - urgent

    hai experts,
    how can we give a detailed pop up screen in selection screen.
    My requirement is,
    To display Details of spool Nos taken for current porogram to take print out from end user.
    from OWN SPOOL REQUEST displays all other programs........
    can any one give a right solution?
    reward will avail for use full answer.
    thanks in advance.
    regards,
    jai.m

    Hi Jai
    May be you can use this FM POPUP_WITH_TABLE_DISPLAY_OK with the list of spool number populated into internal table.
    If you are particulary looking for selection screen, then decalre your selection screen as below
    Selection-screen begin of screen 9000.
    Selection-screen end of screen.
    Then use the statement Call selection-screen 9000 starting at x y.
    Hope this helps !
    Regards
    Ranganath

  • Call program screen in ABAP Report

    I have a execute program which match to a transaction, in the program, which will generate a selection screen and do selection. After that, the program will call another program screen to do somethings, i want to know can i call program's screen in my execute report, thanks

    Hi
    To Call the Transaction :
      CALL TRANSACTION '<TCODE>' AND SKIP FIRST SCREEN.
    To call a Report :
      SUBMIT <REPORT> USING SELECTION-SCREEN <NO>.
    <b>Reward if Helpful</b>

  • 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

  • Supressing Tab selection screen on selection screen ....

    Hello Gurus,
    I have following program. I want to make the Tab screen on selection screen inivisible when ceratin condition is set in configuration table. I know that I have to do it in AT SELECTION-SCREEN OUTPUT using loop - endloop. But how can I do it , lets say when variable v_block = 'X'.
    REPORT  ZTOPTEST .
    data: v_block type char1.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    parameters:
            max_res(8) default '20'.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK tab_block FOR 5 LINES,
      TAB (20) tab1 USER-COMMAND tabpush1
      DEFAULT SCREEN 100,
    END OF BLOCK tab_block.
    AT SELECTION-SCREN OUTPUT.
    LOOP AT SCREEN.
    MODIFY SCREEN.
    ENDLOOP.

    Hi, Jainam
    Use the following Sample Code hope will solve out your problem,
    AT SELECTION-SCREEN OUTPUT.
      IF v_block = 'X'.
        LOOP AT SCREEN.
          IF screen-name = 'MAX_RES' or screen-name = '%_MAX_RES_%_APP_%-TEXT'.
    *        screen-active = 0. " Active this and Hide the Bellow if Compliantly Hide Fields and Lable
            screen-input = 0.   " You can see the Fields but not able to Input
            MODIFY SCREEN.
          ENDIF.
      ENDLOOP.
    ENDIF.
    Best Regards,
    Faisal

  • Calling a module pool program screen to an executable program

    Hi gurus,
    I have created a executable program to use selection-screen and want to see my output in module pool program where I have designed table control according to my requirement.
    How can I call the module-pool program screen from an executable program?
    Any help?
    Regards
    Mac

    Hi Mac,
    I think you can proceed with a report program alone . There you create a screen with the table control to populate your result.
    In the report program, after getting values for internal table for your display, just call the said screen.
    i.e.
    CALL SCREEN <screen number>.
    Hope this may help you.
    Regards,
    Smart Varghese

  • How to copy the module pool program ( Screens, codeing ) ?

    Hi guys,
           How can I copy the Module pool program to another program including screen and every thing?
          can anyone help me....

    1. GO TO SE80, and select program from drop down
    2. Enter Source Prog Name and press enter
    3. Below Object name, right click on the program
    4. Select COPY and enter the (New) Target Prog Name
    it ll ask for following check box options
    -Source
    -Text Element
    -Documentation
    -Variant...etc.
    5 Select all and press enter.
    Hope this ll be helpful.
    Thanks & Regards
    Vinsee

  • Selection Screen - multiple selection screens!!

    Hi All,
      There is one requirement where in I want my first selection screen to have 7 radio buttons and on selection of each one , there should be specific selection screens displayed. I know that one way to solve this is create multiple programs and call the program on each selection. But is there a way to do it in the same program. Kindly advice.
    Thanks & Regards,
    Sowmya

    Hi,
    Instead of different screens you can display the fields on the same screen based on the radio button selection...
    Check this example..
    PARAMETERS: P_RAD1 TYPE XFELD RADIOBUTTON GROUP G1 USER-COMMAND USR
                                  DEFAULT 'X',
                P_RAD2 TYPE XFELD RADIOBUTTON GROUP G1.
    <b>* SCREEN 1.</b>
    PARAMETERS: P_MATNR TYPE MATNR MODIF ID M1,
                P_KUNNR TYPE KUNNR MODIF ID M1.
    <b>* SCREEN 2.</b>
    PARAMETERS: P_LIFNR TYPE LIFNR MODIF ID M2,
                P_EBELN TYPE EBELN MODIF ID M2.
    AT SELECTION-SCREEN OUTPUT.
    IF P_RAD1 = 'X'.
    <b>* INVISIBLE THE OTHER SCREEN FIELDS.</b>
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'M2'.
          SCREEN-INVISIBLE = '1'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDIF.
    IF P_RAD2 = 'X'.
    <b>* INVISIBLE THE OTHER SCREEN FIELDS.</b>
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'M1'.
          SCREEN-INVISIBLE = '1'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDIF.
    Please let me know if you have any questions..
    Thanks,
    Naren

Maybe you are looking for

  • Cannot install windows on sata raid (kt6)

    I connected all the drives on my kt6delta, 2 raid disks (sata). But when i press f6 to specify the drives and put in the disk when it asks me to it says there is no information for the drives on it. When i continue there are no drives to install wind

  • OpenOffice 2.2.1 and callouts problem

    Hello, I have just noticed that my openoffice 2.2.1-3 does not correctly display callouts (I tried impress and draw), but they are displayed correctly when viewed on another computer (with OO 2.2.0 installed). Also, documents created on another compu

  • My ipod is stuck on the apple logo help

    i drop my ipod in water yesterday and i tired to dry it would and it did come on for a little bit after i turned it on and then it turned off again then i turned iut on and a sad face came on and after that a folder did and it stayed that way for the

  • SAP Best Practice for Water Utilities v 1.600

    Hi All, I want to install SAP Best Practice for Water Utilities v 1.600. I have downloaded the package (now  available only Mat.No. 50079055 "Docu: SAP BP Water Utilities-V1.600")  from Marketplace, but there is NO transport file included on it. It o

  • "Share Error: Quicktime 0" error message in FCP - any ideas why?

    Getting an error that states "Share Error: Quicktime 0" when using the share function to write to blu-ray. Of course, this comes at about 3 hours into a four hour encode, and of course everything is lost after this completely useless message. I've go