Module Pool - Layout Problem

Hi All,
I am new to ABAP, so need your help.
First of all I had created Interface, then in Form I attached that Interface. Now I moved all my object to CONTEXT.
Problem:  When I try to press LAYOUT button it is throwing me out of the Transaction Form.
& when I try to Ctrl+F2, it is gving me error that "No Layout exist for given Language EN"
So what exactly is the problem & pls. give the solution.
Thanks,
Suhradam.

Hi
You have to manage it in your PBO not PAI, change your code in this way:
PROCESS PBO
MODULE LOOP_SCREEN.
PROCESS PAI
MODULE user_command_0200
MODULE LOOP_SCREEN.
CHECK FL_SCREEN_INPUT = 'X'.
LOOP AT SCREEN.
IF NOT screen-name CS 'PERNR'.
screen-input = '1'.
MODIFY SCREEN.
ENDIF.
ENDMODULE.
FORM layout200.
FL_INPUT_SCREEN = 'X'.
ENDFORM. " layout200
Max

Similar Messages

  • Module pool related problem

    Dear all,
    No, Suppose i have created one Module pool.
    When i m going to use code Inspector for that one error is occured......................ZZWERKS1 has no accessible label.
    Actually for Plant i have created only input field without Label as per requirement.
    Now my question is that how i can hide this error message.
    Plz help me as soon as possible.

    I don't think you can hide this message, but an alternative would be to create the input field anyway and set it to no-display (setting in the attributes of the screen layout).
    The other alternative would be to ignore the error message at all. If you can activate the report / module pool, there really is no problem. Code inspector is just very thourough when it comes to these kind of things.

  • Module Pool programming problem

    I have a problem with subscreen  that i developed.
    In screen 200 there are 2 subscreens 270 and 250, user comes to the screen 200 when he hits create button in screen 100. now if i hit  a back button on screen 200 and hit create again, the subscreen areas 270 and 250 are not getting cleared.
    actually i am clearing all the variables for this subscreen areas before i say SET SCREEN 0.LEAVE SCREEN.
    can anyone help me?
    thanks

    Hi,
    You need to clear the values in the 200 screen, it will not clear if you write the clrear in the subscreen ......
    Regards
    Sudheer

  • How to hide subscreen in module pool

    hello expert.
    i created one Box, and inside box i created one subscreen in Module pool ->layout.and  two radio button out side of the Box.
    if i select 2nd radio button , want to hide subscreen.
    how to hide subscreen. could you please send me the solution asap , it's urgent.
    i written below code but not working.
    LOOP AT SCREEN.
      IF rad2 Eq  'X'
         IF SCREEN-NAME = 'SUB1' .
                SCREEN-INPUT  = 0.
                SCREEN-INVISIBLE = 1.
                MODIFY SCREEN.
         ENDIF.
      ENDIF.
    ENDLOOP.
    Regards
    srinivas

    example:
      BOX1
            MATNR [                          ]  (Normal screen)
      BOX2
            BOM  [ BOM-OW]  TO [BOM-HIGH] (subscreen)
    BOX3
           radio buttons
           push button
           selection screnn etc..
    if i selection 2nd radio button i will get.
      BOX1
            MATNR [                          ]  (Normal screen)
      BOX2
            empty
    BOX3
           radio buttons
           push button
           selection screnn etc..
    my requirement is:
    BOX1
            MATNR [                          ]  (Normal screen)
    BOX3
           radio buttons
           push button
           selection screnn etc..

  • A query in module pool

    hi all,
               I have a query in module pool, my problem is
    lets say i have two fields in a screen.
           out of which one is a date field and other one is a field which has got F4 help.
    When i pick some values from the F4 help i have to populate the date field simaultaneously.
    EG: when i pick value 1 from F4 help then i have to pass
    the date value to screen as soon as i pick.
    Can anybody help me out..
    Regards,
    Krishnakumar

    Hi,
    Check this sample code and kindly reward points by clicking the star on the left of reply,if it helps.
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    FIELD s_begru MODULE abc ON INPUT.
    Process on value-request.
    field s_begru module f4_help.
    *& Report  ZZZ_JAYTEST1                                                *
    REPORT  ZZZ_JAYTEST1                            .
    tables kna1.
    data:
    begin of t_values occurs 2,
    value like kna1-begru,
    end of t_values,
    t_return like ddshretval occurs 0 with header line.
    data s_begru like kna1-begru.
    call screen 9000.
    *&      Module  f4_help  INPUT
          text
    module f4_help input.
    refresh t_values.
    t_values = 'PAR*'.
    append t_values.
    t_values = 'UGG'.
    append t_values.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
    retfield = 'BEGRU'
    value_org = 'S'
    tables
    value_tab = t_values
    return_tab = t_return
    exceptions
    parameter_error = 1
    no_values_found = 2
    others = 3.
    if sy-subrc = 0.
    read table t_return index 1.
    s_begru = t_return-fieldval.
    *Populate the date field also here
    endif.
    endmodule.                 " f4_help  INPUT
    *&      Module  abc  INPUT
          text
    module abc input.
    read table t_values with key value = s_begru.
    if sy-subrc ne 0.
    clear s_begru.
    endif.
    endmodule.                 " abc  INPUT

  • Problem in Screen field position ( Module pool )

    Hi Experts,
    We changed the screen field position ( GUI ) of SAP standard module pool program.  we had taken the access key from SAP and modified the layout.
    Our Problem :   We had transported  these change request to Quality and Pre Production. The changes are transferred correctly in Quality .  when coming to Pre Production the changes are not visible on  the screen.
    Checks Performed :  1. We had analyzed the Transport request - They are imported correctly.
                                        2. We had rechecked the layout that we had changed its good and correct.
    Can you experts help me out in identify the exact solution for this problem.
    - Best Regards,
    Sudhakar Puppala
    Edited by: CRM Sudhakar on Sep 16, 2010 11:25 AM

    Hi, no idea can be given without having a look..
    but just check the screen layout in the pre-production itself..instead checking transport..

  • How to draw table in layout in module pool

    how to draw table in layout in module pool with wizard or table control

    Hi
    Goto Screen Painter .
    here we can create table in 2 ways,
    with wizard and without wizard.
    with wizard it will step by step...
    for without wizard (its quite easy)
    Click Table control and Drag into ur screen.
    then --> click input box and place into to that table control
    for two column do this two times.
    then for header click the text icon in left side and drag into
    correspoding places .. then ur table is ready..
    then give names using double clicking the elements
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    Reward if useful.

  • Problem in custom infotype module pool

    Hi experts,
    I have created custom infotype using PM01 where i am showing fields Basic and HRA. When I enter the value for Basic, automatically the calculation for HRa should be done depending on formula. Also, the HRA fields should be only output field. When I do the changes in the module pool PBO and regenerate the object , the changes I made get disappered. Do I have to create Z of the includes. If so, how to assign it to the infotype?  Please help me to solve this problem since its urgent.
    Thanks in advance.
    Proper solution would be rewarded.
    Ujjwala

    C
    This is the flavour of Infotype.
    When you regenerate the Infotype, you are again reassigning the Chanrecterstcis of your Infotype. so the Existing will get regenerated with the Standard Code.
    To avoid this what I suggest you is.
    After finishing the Regeneration then edit the Module pool of the Infotype basically Screen 200 then add your code and Activate it there itself. Hope you got it.
    If you again Regenerate it you loose your Code.
    If you have further Questions please let me know.

  • Strange problem in module pool programming

    Hi all,
    we have a module pool program which consists of screen 100 and 200 and 3 sub-screens 201,202 and 203.the problem is when we double click on any field we get a pop up message which should appear only when we press the 'SAVE' button for which ok_code is 'CHNG'.I have debugged the program for screen 100 pbo,pai,200 pbo but the value of ok_code is not equal to 'CHNG' then it takes me to screen 200 and when i double click then popup appears and and in 200 PAI the value of ok_code had already got changed  to 'CHNG' without entering the change logic and I have not even pressed the SAVE button which has 'CHNG' code associated with it.Can any one help me solve this problem.I wish I could give a better explanation.
    Thanks and Regards,
    Sangram

    Hi,
    This is because the Shortcut key assigned to SAVE button in PF-STATUS is "F2". F2 is for Double Click. Assign some other Function Key to SAVE or any Button. Try to avoid assigning F2 key.
    This would solve the problem.
    Best regards,
    Prashant
    PS : Please reward all helpful answers !

  • Data type selection Problem in ztable to use in the Module Pool Program

    Dear Experts,
    I have created a z-table which is used in Module Pool Program in which i have to save the information saved by the endusers in z-table. But the problem comming is that the amount of information saved by the endusers is so havey & our table is just limited for the 50 characters which is not sufficiet. So I urge you to please tell me what & which type of data type should I have to use to store maximum amount of information in our zt-able which is available in SAP ECC6.0.
    Thanks & Regards,
    Akg

    Dear Akg,
    u can resolve ur problem in following ways,
    1. You can declare the field in a table without an Data element.
          i.e. In the length field . using F4 help in length field how many characters u want u enter.
    2. In the same u can search for an standard data element and use the same.
    3. Creating an custom data element .
    Reward if helps to u!!!
    Regards,
    MNR

  • Module pool problem

    Hi,
    I m using module pool and i have used select-options in the screen, for that i have definged select-options as subscreen and called using call subscreen... in module pool.
    My problem is when i validate select-options im thrown error message and that select-options getting disabled i tried to keep chain and endchain in the module program and that says that it can not recognize the select-options(fields).
    any solution for this.
    Thanks,
    Nagaraju.

    Hi,
    Please check out the below links . they might be helpful.
    http://help.sap.com/saphelp_46c/helpdata/en/34/8e72da6df74873e10000009b38f9b8/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba9e735c111d1829f0000e829fbfe/frameset.htm
    Rgds
    Mohit

  • Select-options Problem in module pool

    Hi,
         I have created select-options in a seperate program and i have called the subscreen in module pool program.
    I dont have any problem with the display of select-options but whatever the value given is not getting in to the program. Hw to solve this problem
    Assured Points
    Thanks in Advance
    Jai

    hi,
    did you declare that in top include?
    if not declare it globally.
    In stead of subscreen, try to do with screen itself.
    Create screen like this.
    selection-screen begin of screen 300.
    selection-screen begin of block b1 with frame title text-000.
    select-options : so_ebeln for v_ebeln modif id g1,
                     so_vbeln for v_vbeln modif id g2.
    selection-screen end of block b1.
    selection-screen end of screen 300.
    Call this screen : in PAI of ur another screen.
    call selection-screen 300.
    Regards
    Sandeep REddy

  • Problem in Module Pool Program

    Hi All,
    I got one problem in Module pool program.Im using table control.when selected multiple coloms by table control option left top.
    when I want to de-select one by one,unable to de-select. Please suggest me.
    thank you,
    Anu.

    Thank You All.
    Solved my self.
    The coding as below.
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN SUB INCLUDING SY-REPID '110'.
      LOOP AT GT_ITAB INTO WA WITH CONTROL VCONTROL.
        MODULE SET.
        MODULE STATUS_0100.
      ENDLOOP.
    PROCESS AFTER INPUT.
       CALL SUBSCREEN SUB.
      LOOP AT GT_ITAB .
        CHAIN.
          FIELD WA-EBELN.
          FIELD WA-EMATN.
          FIELD WA-EBELP.
          FIELD WA-MATNR.
          FIELD WA-MARK.
          MODULE MODIFY ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
        MODULE USER_COMMAND_0100.
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
        WHEN 'SAVE'.
          PERFORM SAVE_VARIANT.
          PERFORM VARIANT_EXISTS.
        WHEN 'SEL'.
          LOOP AT GT_ITAB INTO WA.
            WA-MARK = 'X'.
            MODIFY GT_ITAB FROM WA .
          ENDLOOP.
    endmodule.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'ZTESTING'.
      SET TITLEBAR 'ZTEST'.
      SET PF-STATUS  'ZTESTING' EXCLUDING IT_EXTAB.
      MOVE:WA-EBELN TO EKKO-EBELN,
           WA-EBELP TO EKPO-EBELP,
           WA-MATNR TO WA-MATNR.
      MOVE:WA-EMATN TO WA-EMATN.
    MODIFY GT_ITAB FROM WA INDEX VCONTROL-CURRENT_LINE.
      VCONTROL-LINES = SY-DBCNT.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE SET OUTPUT.
      SET CURSOR FIELD CURSORFIELD OFFSET POS.
    ENDMODULE.                 " SET  OUTPUT
    Thank You,
    Anu.

  • Selection screen problem in module pool

    Hi friends,
    I am working on module pool programming, I need to put select screen on the screen of the module pool porgramming. I used Input/Output field to do that and activated. But I am getting message invalid field format (screen error) can any one tell me why I am not able to run the seletion screen when I am using input/output field, also please let me know how to solve this problem.
    Regards,
    Line

    Hello,
    Think that this is useful for u/
    SELECTION-SCREEN - Defining selection screens
    Variants:
    1a. SELECTION-SCREEN BEGIN OF SCREEN scr.
    1b. SELECTION-SCREEN END   OF SCREEN scr.
    2. SELECTION-SCREEN BEGIN OF SCREEN scr AS SUBSCREEN.
    Effect
    Defines a selection screen with the number scr. scr may be up to 4 digits.
    SELECTION-SCREEN BEGIN OF SCREEN scr.
    Additions:
    (zu SELECTION-SCREEN BEGIN OF SCREEN scr) 1. ... TITLE title
    2. ... AS WINDOW
    Notes
    In reports (type 1 programs), a selection screen with number 1000 is created automatically when you use the SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statments. This selection screen appears when you SUBMIT the report.
    In any type of program (apart from subroutine pools - type S), you can define further selection screens using SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN. You enclose these statements between the SELECTION-SCREEN BEGIN OF SCREEN and SELECTION-SCREEN END OF SCREEN statements.
    You call these screens using the CALL SELECTION-SCREEN statement.
    Screen number 1000 is not allowed (reserved for standard selection screen).
    When you generate the program, all user-defined selection screens are also generated.
    Within a report (type 1 program), all SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statements outside a SELECTION-SCREEN BEGIN/END OF SCREEN block form part of selection screen 100 (standard selection screen)
    Regards,
    LIJO JOHN.

  • List Box Problem In MODULE POOL PROGRAM(EDIT MODE)

    I Have Developed A MODULE POOL PROGRAM ,
    It Basically Consists Of   CREATE  EDIT and DISPLAY Modes.
    CREATE MODE:
    When I am Creating For Example FORM NO 1,it is having Fields With drop down list box with values
    A,B and C. if I Choose A then That form will Get Created With A value and Form 1 will be created.
    EDIT MODE:
    The same form If u want to edit In EDIT Mode ,it is displaying value A and it Showing the list box in the fillowing Manner.A,B,C,and A.(This is what the problem I am Facing Know).It Is Displaying the value two times.How to Avoid this ,PLs Help me in this regard.
    Thaks & Regards,
    Anuradha.

    Where ever you are populating the List Box, write a REFRESH statement just before that.
    Means Refresh the old content and add new content

Maybe you are looking for

  • Accidentally deleted firefox "profiles.ini" and now says firefox is already running when I try to open it.

    Accidentally deleted firefox "profiles.ini" and now says firefox is already running when I try to open it. "a copy of firefox is already open. only one copy of firefox can be open at one time. Now I'm aware this happens often and people have posted s

  • Urgent!!! 1099 vendor reporting issues.

    Hi SAP Gurus,   I have few issues on 1099 reporting I wonder if anyone could help address these below issues. 1. I did all the configuration for 1099 reporting on vendor master and I am running RFW1099M and RFIDYYWT programs to see the cleared vendor

  • [Solved] WoW and Wine: Run time errors and massive lag.

    Ok, so I have a AMD A4 Kabini series APU, and I installed the ati open source drivers and added the correct settings into the /etc/X11/xorg.conf.d/20-radeon.conf , however when ever I run WoW it becomes extremely laggy and to a point where it is unus

  • MRP net requirement calcualtion for Lot sizes

    Hi all , Can some one help me on this .. I want to set up the MRP for the Raw materials Procurement . for this i want use MRP type as PD and lot size as WB Weekly lot size . but as per the requirement the MRP is run daily , i need clarification on ce

  • GoldenGate extract in Batch mode

    I like to configure the Goldengate in a scheduler. Hence I don't want to change parameter file every time for BEGIN and END commands in the extract. Is there any way to sent the parameter values from unix to process the extract for only specific time