Module pool doubt

HI we created a custom info type  of various fields ,were a set of 3 fields wer created with  length 80 of char.
When we wanted to realign the fields of screen 2000 of the infotype ,we couldnt see the 3 fields  which were of 80 char in the screen layout.
We tried to increase the box containg the fields but still those fields wer not visible in screen painter layout.also wen ever we make changes I/o  box in screen attributes gets deleted throwing a syntax error
however wen we use pa30 transaction to enter data for info type we can see the 3 fields and also enter data..
Any way to realign the screen layout of screen 200 for the info type

Hi Ramachandran,
Once u created fields through PM01, Your screen fields get automatically created and no need to create again.
This can be seen in your PA30 screen.
Reward points if it is helpful.
regards,
hk.

Similar Messages

  • Module pool Program Doubt

    Hi Xperts,
    I am Working an object on module pool.I have a small doubt regarding that.
    tables:lfa1.
    data:begin of itab occurs 0,
    lifnr like lfa1-lifnr,
    land1 like lfa1-land1,
    name1 like lfa1-name1,
    end of itab.
    case sy-ucomm.
    when 'disp'.
    select lifnr land1 name1 from lfa1 into itab where lifnr = lfa1-lifnr.
    append itab.
    endselect.
    when 'exit'.
    leave program.
    endcase.
    Here comes the doubt.Why do we use the statement underneath and why is this always under PBO.As lfa1 is an SAP standard table how can we move anything into that.
    Move-corresponding itab to lfa1.
    Query#2: Suppose a Z table was used.We pulled the fields onto the layout.For only retrieving of database values, do i need to declare an internal table like the way i defined here.
    Thanks in advance.Hope i get my queries resolved.
    --Ranjith.T.

    Hi,
    The declaration "tables:lfa1" means you are declaring a work area of type lfa1. Anything you change in this workarea does not change the filed in the actual database table.
    PBO means Process before output. It contains declarations and some initializations.
    Yes you need an internal table and use that internal table to populate your values.
    Regards,
    Subramanian

  • Doubt regarding module pool program

    Hi experts,
    I need to use bapi in module pool program
    can we use it ? I hope we can use,
    Please any body give some sample code
    Thanks in advance
    Ranga

    bapi like another function module can be used in module pool based ojn ur desire
    a sample code is :
    case sy-ucomm.
    when 'create'
    call bapi u require
    end case
    hope it gives u an idea
    regards
    navjot
    reward accordingly

  • Doubt in Radiobutton handling in Module-pool program

    Hi Experts,
    I have requirement in where in a module pool screen I am creating two Radio-buttons say R1 and R2 under one group.
    When I do this the first radio button R1 is by default gettimg checked. What is that I need to do for making secand radiobutton R2 by default getting cheked.....?
    Please note that it is in Module-pool not a Report.
    Kindly help me out in this aspect.
    Regards,
    Rama Murthy.P

    Hi,
    You can set check/uncheck value of radio buttons in PBO.
    But that check box button should be declared in main program(se38) also.
    for e.g
    data: R1 type c,
            R2 type c.
    declare above in your main program.
    now go to se51. In layout go to Dictionary/Program fields or press F6.
    Now click on Get from program button and drag R1,R2 to your layout.
    Now right click on it and under convert option you will get radio button.
    In main program under PBO make that radio button check.
    Loop at screen.
    if screen-name = 'R2'.
        R2 = 'X'.
    endloop.
    Modify Screen.
    Regards,
    SUDHIR MANJAREKAR

  • Doubt in Radiobutton handling in Module-pool

    Hi Experts,
    I have requirement in where in a module pool screen I am creating two Radio-buttons say R1 and R2 under one group.
    When I do this the first radio button R1 is by default gettimg checked. What is that I need to do for making secand radiobutton R2 by default getting cheked.....?
    Kindly help me out in this aspect.
    Regards,
    Rama Murthy.P

    Hi,
    You can try out the following.
    In you ABAP code declare a Global Data Element of the same type as the Screen Element. Then create a Module in the PBO of the calling screen. There you write the following statement.
    <data element2> = 'X'.
    Then after the execution of the PBO the ABAP and screen elements will automatically gets transfered. This will mark the second radio button as checked.
    Let me know if require any more details.
    Thanks,
    Samantak.
    Rewards points for useful answers.

  • Doubt in Module-pool

    Hi Experts,
                 I have requirement in where in a module pool screen I am creating two Radio-buttons say R1 and R2 under one group.
    When I do this the first radio button R1 is by default gettimg checked. What is that I need to do for making secand radiobutton R2 by default getting cheked.....?
    Kindly help me out in this aspect.
    Regards,
    Rama Murthy.P

    At Screen Painter set two radio button (ZRADIOBUTTON1 and ZRADIOBUTTON2),select bothor and click Edit->Grouping->Radio Button Group->Define.
    REPORT  Z_TEST_YW.
    DATA: OK_CODE TYPE SY-UCOMM,
          ZRADIOBUTTON1(1),
          ZRADIOBUTTON2(1).
    START-OF-SELECTION.
    CALL SCREEN '100'.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '100'.
    SET TITLEBAR 'xxx'.
      ZRADIOBUTTON2 = 'X'.  "set the second radiobutton selected
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
      CASE:OK_CODE.
        WHEN:'BACK' OR 'EXIT' OR 'CANCEL'.
          LEAVE TO SCREEN 0.
        ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT

  • Can we use Initilization event in module pool program?

    Hi All,
    Can we use Initialization event in module pool program? If not why?
    Thanks In Advance!!!!!!!!!

    The runtime environment creates the INITIALIZATION event and calls the corresponding event block (if it has been defined in the ABAP program).
    http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb2d67358411d1829f0000e829fbfe/content.htm
    SEE THE ABOVE LINK...THINK IT WILL SOLVE ALL YOUR DOUBTS
    REGARDS
    RACHEL

  • Regarding selection-screen in module pool

    hi
    experts,
    i am having doubt in module pool programing...
      i want create selection screen(pop screen with field)  in modulepool., before the display screeen deatils
    ex :   if i want display the   record   details  for  that particular
    record number.......
    while  i am click on display..
      pop-up-selection screen will come  with record number field..
    i f enter the record no, display s the  details...
    Ananand

    Please see Rich's answer here:
    [Dialog programming - How to place a select-option field in a dialog screen;
    Rob

  • How to set error message inside the loop...module pool

    Dear all,
         Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.
    Thanks,
    Santhosh.R

    If i understood your doubt, here goes the answer.
    LOOP AT itab INTO wa_itab.  " This is your loop
      l_tabix = sy-tabix. "l_tabix receives the line of the loop
      READ TABLE itab WITH KEY itab = wa_itab.  "itab is the same tab of your loop
      IF sy-subrc EQ 0 AND l_tabix NE sy-tabix.    "Here the sy tabix have the value of the read table.
    *     Here you do your error treatment.
      ENDIF.
    ENDLOOP.
    Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
    Maybe there is someway easier to do this, but this is what i thought now.
    I hope this was your doubt hehe.
    Thales Schmidt

  • Selection screen in module pool programming..

    hi,
    I designed some screen elements for KUNNR and MATNR and handled their value selection thru POV request.
    I want to select data from my table using these values. Will a simple select statement with AND condition on these values work ? I doubt as even if the user does not enter value for one of these, my select is giong to fail. for e.g. he enters value for KUNNR but not for MATNR.
    If that is so then shud i need to design a screen which must display select options like for KUNNR, MATNR etc ? if yes then the value that is displayed there when user selects F4 must be controlled by me. how to design this in module pool ?? where to write statements related to selection screen definition and how to handle its selection ?
    thks

    it is possible.
    I am involved in this topics check my post for one method .
    https://forums.sdn.sap.com/click.jspa?searchID=14529204&messageID=1412188
    https://forums.sdn.sap.com/click.jspa?searchID=14529204&messageID=1501162
    in the above post there is alternative by Rich. that is simple and easy.
    Regards
    Vijay Babu Dudla

  • Use of application module pool and ADF Busines Components

    Hi to all;
    Lets suppose an web application with about 10 CRUD forms and 15 to 20 reports or forms just to query and show data;
    That's clear to me, all the advantages of using App modules pool.
    But for that reports ..... Just an Read only and Forward Only data ?
    I was wondering, if it will be more effective and lightweight if we just take an JNDI JDBC connection query data and show it.
    This imaginary application will make use of application module pool to provide that 10 CRUD web forms and in other hand, will have for reports,JNDI data sources;
    What are your opinion about having this two architectural approach working together in one application ?
    Very thanks;
    Marcos Ortega
    Brazil;

    Hi Deepak;
    BC4J in my opinion is great and i am proud to share this opinion with all of you;
    As a meter of fact, i post this thread to help me better understand BC4J architecture.
    I think that my doubt main point is ...
    Are application modules pool's life cycle an extra work , when the job is just to read and show data ?
    Perhaps, an document about statefull and/or stateless application service release, help me;
    IMHO;
    cached data most of the time must to be discarted for reports, always we want to query database directly, View's object ClearCache() method would be called to reports.
    I think that it's different, when we are talking about sequent requests when we need to span the session, views and entities states.
    Forwards Thanks;

  • Query regarding translation in module pool

    Hi ppl,
    I have created a module pool program which has a screen with a number of screen elements.
    Now, I have translated the texts of the fields into oher languages also (using GOTO-> Translation through the program).
    My doubt is that will the translation also be captured in the same TR under which my module pool report is created or is there any other procedure to transport the translations done?
    I am working on SAP version 4.6C.
    Please help.
    Thanks,
    David.

    Hi,
    You can translate elements using SE63 , also the way u have done also is fine .
    TR gets attached to program request.
    TC
    Sajimon Chandran

  • OO ABAP is a must or not for Module Pool

    Hi all,
      I want a valuable suggetion from you.
    Is Object Oriented ABAP Programming is a must for Module Pool Programmer not. Because, I think I am preti much confident abt Module Pool but not in OO ABAP.
    Please help me out my doubt.
    Thanks & Regards,
    Ajoy Chatterjee

    Sorry, can't agree that they are obsolete... I've done dozens of dialog programs over the last few years, with more on the current "to do" list...  it depends on what you client site are doing - if they want online data entry transactions inside the SAPGui, then that's what you build.
    As you can't have screens in a class pool, so you're going to need to define these dynpros somewhere else (although my usual preference is having them within function groups rather than module pools).
    But I do agree that getting your head around ABAP OO is unavoidable - and can add a level of elegance to your code if implemented well, and add a level of future-proofing when it comes time to change your presentation layer to Web Dynpro or whatever, or exposing some logic via web services. 
    However you can stil make "classic" ABAP elegant - there's little difference between the readability of :
    call method z_my_class=>get_region_of_rental_object
      exporting
        io_contract = ls_contract
      importing
        rd_region   = l_region
        os_return   = ls_return
      exceptions
        others      = 1.
    and
    call function 'Z_GET_REGION_OF_RENTAL_OBJECT'
      exporting
        io_contract = ls_contract
      importing
        rd_region   = l_region
        os_return   = ls_return
      exceptions
        others      = 1.
    i.e. it's often the way you modularise and encapsulate your logic that is the most important step.
    Jonathan
    p.s. perhaps this should head off to the Coffee Corner...!

  • Dropdown list in module pool program

    Hi,
    I need to display a dropdown list for LFA1-LIFNR in my module pool program.
    In the screen painter I have added an Input/Output field with name LFA1-LIFNR and corresponding to the Dropdown option I have selected Listbox. When I execute the program empty dropdown list is coming. It is not taking the values of LIFNR from the table LFA1. Please let me know the solution for this.
    Thanks,
    Neethu.

    Hello Abaper,
    You have very well designed the drop-down box that is to be reflected in your program. The next thing for you to do is use any 1 method for populating the values i.e. using the function module F4IF_INT_TABLE_VALUE_REQUEST or VRM values. I prefer to use the the F4IF_INT_TABLE_VALUE_REQUEST as it is easy to use and understand. If you use the following function module then you need to call in a module under the flow logic of the screen i.e. PROCESS ON VALUE REQUEST.
    Let me just illustrate you with the syntax -
    Module Pool Code
    *internal table declaration
    TYPES : BEGIN OF ty_lifnr,
                     lifnr TYPE lfa1-lifnr,
    END OF ty_lifnr.
    DATA : itab_lifnr TYPE STANDARD TABLE OF ty_lifnr.
    *Dialog Modules for PBO
    *Dialog Module for PAI
    MODULE cancel INPUT.
       LEAVE PROGRAM.
    *Dialog Module Process on value reuest
    MODULE create_dropdownbox INPUT.
       SELECT lifnr
       FROM LFA1
       INTO CORRESPONDING FIELDS OF TABLE itab_lifnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
       EXPORTING
             retfield      = 'LIFNR'
             value_org = 'S'
       TABLES
             value_tab = itab_lifnr
       EXCEPTIONS
    ENDMODULE.
    Now for the Flow Logic -
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
       MODULE cancel AT EXIT-COMMAND.
       MODULE user_command_0100.
    PROCESS ON VALUE REQUEST.
       FIELD lfa1-lifnr MODULE create_dropdownbox.
    Hope this helps ! Let me know if any other doubts arises.

  • How to keep f4 help in module pool-urgent

    hi,
    i have one doubt.
    in my screen '101' i have one field. for this i have to keep f4 help. when i press f4 help it has to show 02 only in f4 help screen . can you please tell me what shall i do this case.
    thnaks,
    maheedhar.t

    hi
    chk this thread
    Re: HOW to ADD F4 help to a  field on SCREEN (MODULE POOL)
    chk sudheer's post, which says
    In the Layout, Just double click on the field, then Attributes pop up will open, there we have an option to enter the F4 help(a Check box) there itself, even you can give the Data element then the F4 help will come automatically. or else, you can give the Search help in the attributes screen, then the F4 will come automatically
    **reward if helpful
    regards,
    madhu

Maybe you are looking for

  • Quicktime to YouTube = No Audio

    Hello- I've uploaded a QT movie to YouTube. Now there is no Audio on the YouTube version. Tried uploading a couple times with no luck. Format: MPEG-4 Video, 852 x 480, Millions AAC, 2.0 (Mono Mono), 44.100 kHz AAC, Stereo (L R), 44.100 kHz Any though

  • Spend Performnace Management (SPM) Iview

    Hi Experts, i am facing the error in SPM iview. it's a standard iview provided by SAP. when click on preview on SPM iview , i  got this error warnings [App_type]   [FATAL] [Details]         [SPEND_ANALYTICS_STARTUP_FAILED] but it's working fine in De

  • ActionCommand and getSource() are not enough

    Hi, I have a question about the basic concept of event-handling in Java. I'll illustrate my problem by example. Suppose my program contains two classes, i.e Main and GUI, whereas MainClass implements ActionListener. The action takes place on a JPanel

  • BrTools not working

    Hi All, In one of our system brtools is not working and giving the following error. None of the brtools function is working at present...plz help me to resolve this issue BR0051I BRBACKUP 7.00 (13) BR0252E Function fopen() failed for 'C:\Oracle\produ

  • Call Recording/Monitoring in UCCX7

    Hello, we are getting ready to upgrade to CUCM 7.1 and UCCX 7.0 and I have a question.  Does call recording and monitoring work the same in this version as it does in version 4.1.  We are in a Citrix environment and currently use spanning to get the