ChooseFromList for Customers by Screen Painter

Hi,
I don't know how to start on just adding a ChooseFromList for customers on my Screen Painter form.
Any tutorials, videos anything out there to show me how to compelte this task ?

aruntb wrote:
...Make sure that your edittext control must be binded with either DBDatasource or user data source of alphanumeric type.
>
> hope this helps
>
> Regards
> Arun
I already did all this and once run it wasn't working at all so I don't know if your last sentence above is made in Screen Painter also but if not, this was probably the missing piece for the whole thing to work.  Never read this anywhere not even in Screen painter documentation which is so poor actually.
Well after all, I did everything by code and it seems to work ok.  I will make myself a favor ad add a nice single method that do it all and save it in my library.  I will even come here and give to everyone this method so it's easier for other people having a hard time with that.
Thank you for the information

Similar Messages

  • Tutorials for dailog programming & screen painter

    HI,
    I am new to the topics above and i want to have information about it . plzz proivde me d simple and easiest tutorials for it.

    Hi,
    A dialog program consists of the following basic components:
    Screens (dynpros)
    Each dialog in an SAP system is controlled by dynpros. A dynpro (DYnamic PROgram) consists of a screen and its flow logic and controls exactly one dialog step. The flow logic determines which processing takes place before displaying the screen (PBO-Process Before Output) and after receiving the entries the user made on the screen (PAI-Process After Input).
    The screen layout fixed in the Screen Painter determines the positions of input/output fields, text fields, and graphical elements such as radio buttons and checkboxes. In addition, the Menu Painter allows to store menus, icons, pushbuttons, and function keys in one or more GUI statuses. Dynpros and GUI statuses refer to the ABAP/4 program that control the sequence of the dynpros and GUI statuses at runtime.
    ABAP/4 module pool
    Each dynpro refers to exactly one ABAP/4 dialog program. Such a dialog program is also called a module pool, since it consists of interactive modules. The flow logic of a dynpro contains calls of modules from the corresponding module pool. Interactive modules called at the PBO event are used to prepare the screen template in accordance to the context, for example by setting field contents or by suppressing fields from the display that are not needed. Interactive modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
    All dynpros to be called from within one transaction refer to a common module pool. The dynpros of a module pool are numbered. By default, the system stores for each dynpro the dynpro to be displayed next. This dynpro sequence or chain can be linear as well as cyclic. From within a dynpro chain, you can even call another dynpro chain and, after processing it, return to the original chain.
    Check this link for basics.
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    Check this link for Dialog Programming/Table Control
    http://www.planetsap.com/Tips_and_Tricks.htm#dialog
    Check this SAP Help for Dialog Program doc.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    Check this SAP Help link for Subscreens.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
    Check this link for subscreen demo program.
    http://abapcode.blogspot.com/2007/05/demo-program-to-create-subscreen-in.html
    Also check this link too.
    http://abapcode.blogspot.com/2007/06/dialog-programming-faq.html
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld004.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ccf35c111d1829f0000e829fbfe/frameset.htm
    Reward if it is useful
    Harimanjesh AN

  • Background color change option for box in screen painter

    have created a box in screen painter . is there any option to change the back ground color of this box.
    please help

    No, you can not change the background color of your screen painter box.

  • Image in Screen Painter

    How can i place an in image in the screen painter?

    Hi, first checkout whether your picture is present in your server or not.
    i am pasteing a code where i have taken sap enjoy pictur which is present default.
    Please see that your custom container name when u create for picture in screen painter will be PICTURE_CONTAINER1.
    Copy paste this code....
    In TOP declarations....
    TYPES pict_line(256) TYPE c.
    DATA :init,
    container TYPE REF TO cl_gui_custom_container,
         editor    TYPE REF TO cl_gui_textedit,
    picture   TYPE REF TO cl_gui_picture,
    pict_tab TYPE TABLE OF pict_line,
    url(255) TYPE c.
    in PBO
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'ZTECH'.
    SET TITLEBAR 'SELECT'.
      IF init is initial.
        init = 'X'.
        CREATE OBJECT:
               container  EXPORTING container_name = 'PICTURE_CONTAINER1',
               picture    EXPORTING parent = container.
      ENDIF.
      IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
      CALL FUNCTION 'DP_CREATE_URL'
        EXPORTING
          type    = 'IMAGE'
          subtype = 'GIF'
        TABLES
          data    = pict_tab
        CHANGING
          url     = url.
      CALL METHOD picture->load_picture_from_url
        EXPORTING
          url = url.
      CALL METHOD picture->set_display_mode
        EXPORTING
          display_mode = picture->display_mode_fit_center.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    Hope this helps.
    Thks

  • Screen painter -reg

    I am new to ABAP
    Can any body give me the sites for material abt screen painter
    thanks in adv
    sateesh

    hi sateesh,
    check these...
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    http://www.allsaplinks.com/dialog_programming.html
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-basis-abap.com/sapabap.htm
    http://www.erpgenie.com/sap/abap/index.htm
    do reward if it helps,
    regards,
    priya.

  • How do you open graphical screen painter

    Hi all-
    I'm using PlatinGUI 6.30r2.  How do I open the graphical screen painter (after going into object navigator, I want to place controls on a screen)?
    I clicked Layout, but get what appears to be a bunch of horizontal lines-- nothing like a screen painter.
    thanks,
    Kevin

    Actually, the GUI provided on the CD is 6.30r4.  After trying to install I got this:
    rpm –Uvh path/PlatinGUI-Linux-6.30-4.i386.rpm
    >./gui
    JAVA=/usr/lib/java/bin/java: Command not found
    PH=/opt/sapgui/6.30rev4/jar: Command not found
    SOI=/opt/staroffice7/program/classes: Command not found
    JAVA: undefined variable
    I read elsewhere on one of these forums that the free GUI on the sneak preview doesn't work so well with the database (and learned this by sad experience myself), so I downloaded and installed an earlier version from the website:
    ftp –d ftp.sap.com
    name: anonymous
    pw: email account
    cd to /pub/sapgui/
    get PlatinGUI-Linux-630r2.jar
    I installed that with java –jar PlatinGUI-Linux-630r2.jar, but I didn't see any prompts about installing specific components, so I have no idea what you are referring to (must be on the software that people pay for).  That is the version I am currently using, and it is working fine except for this graphical screen painter is not coming up.  Now my ABAP book is from 2002, so I'm sure it is included somewhere.  Do you have any suggestions?  Don't worry, you will get your points.
    thanks-

  • Selecting Cell from Choosefromlist - Screen Painter

    Hi ...
    I've used screen painter for my form. In the preview mode, everything seems to be ok, I have my column matrix editable with choosefromlist. But when I run the add-on, I can't even select a cell. I've also tried creating the matrix through coding but still, I can't select a cell. Anyone knows what could be the problem?
    Thanks!
    Loren

    Hi Loren Flores,
    Actually you are not adding the row to your matrix, thats why you are not able to select a cell.
    Add the row to your matrix on Form Load event.
    and also on the lost focus of the column, add a new row in next line.
    on form Load---
    oMatrix.AddRow(1, 1);
    on lost focus--
    if (pVal.ItemUID == "Mtrx" && pVal.ColUID == "COL1")
                        if (pVal.Row >= oMatrix.RowCount)
                            if (pVal.Row == 1)
                                oEditText = (SAPbouiCOM.EditText)oMatrix.Columns.Item("COL1").Cells.Item(pVal.Row).Specific;
                                string sr = oEditText.String;
                                if (oEditText.String != "")
                                    oMatrix.AddRow(1, oMatrix.RowCount);
                                if (oMatrix.RowCount > 2)
                                    return;
                            else
                                oEditText = (SAPbouiCOM.EditText)oMatrix.Columns.Item("COL1").Cells.Item(pVal.Row).Specific;
                                string sr = oEditText.String;
                                if (oEditText.String != "")
                                    oMatrix.AddRow(1, pVal.Row);

  • ABAP Dictionory type FLTP is nt allowed for  screen Painter!!

    Hello All,
    ABAP Dictionary type FLTP is nt allowed for  screen Painter!!  am getting this error message if am giving some input.
    Thanks
    santu
    Edited by: santu4u on Oct 23, 2009 1:48 PM

    Hi
    Instead of FLTP use Quantity or Currency or Packed Decimals type fields for the Screen Elements.
    While you save the data into the database if the database field is of type FLTP the values entered would be automatically converted into FLTP type. We need not take care of this.
    ---?? What do you mean by IDES version --->
    You mean in SE11 or SE16, Wherever it may be you can not use FLTP type on Screen Fields.
    This is Standard SAP Procedure, As mentioned Above you can use Packed Decimals or Currency or Quantity Fields
    Cheers
    Ram
    Edited by: Ramchander Krishnamraju on Oct 23, 2009 2:10 PM
    Edited by: Ramchander Krishnamraju on Oct 23, 2009 2:13 PM

  • How to set Function Code for Radion Buttons in Screen painter

    Hi,
    I have faced problem of grouping 3 radio buttons in screen painter (no graphical editor). How to do it?
    I have checked similiar threads in SDN, but those are for graphical editor.
    Radio Buttons in custom screeen
    http://****************/Tutorials/ABAP/Checkbox/page1.htm
    http://****************/Tutorials/ABAP/Checkbox/page2.htm
    Regards,
    Sukhbold

    Hi,
    U want to create radio button in the selection screen  then u can create like this
    PARAMETERS : c1 AS CHECKBOX USER-COMMAND cd,
    r1 RADIOBUTTON GROUP rad,
    r2 RADIOBUTTON GROUP rad.
    AT SELECTION-SCREEN OUTPUT.
    IF c1 = 'X'.
    LOOP AT SCREEN.
    IF screen-name = 'R1'.
    screen-input = '0'.
    screen-active = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ELSE.
    LOOP AT SCREEN.
    IF screen-name = 'R1'.
    screen-input = '1'.
    screen-active = '1'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Thanks,

  • F4 help for the selection screen field designed in screen painter

    Hi all,
    I have designed selection screen in the screen painter. in that for one of the fields i have to give f4 help. for that i have writter the code in PAI event. in this event i have used the standard Function module for f4 help. but no f4 help is comming for that field. can any body suggest what i have to do.
    Thanks & Regards,
    Giri.

    Hi,
    You must use the correct event to meet ur requirement use  POV event instead of  PAI event.
    for more clarification and example program see  below the demo program
    DEMO_DYNPRO_F4_HELP_DYNPRO
    DEMO_DYNPRO_F4_HELP_MODULE
    Cheers
    fareed

  • Screen Painter - search help for field

    Hello All,
    I have some fields in a screen created with Screen Painter.
    The filelds's types are standard system types like BU_PARTNER or other.
    How do I have to define them so that in the screen to appear the match code?
    Thank you very much,
    Diana.

    Hi Diana Cotelea,
    You can use standard search help 'BUPA'.
    Do as follows,
    1. Goto 'Dict' tab of the property of BU_PARTNER field in your screen, in 'Search Help' property enter the search help name 'BUPA'.
    2. Goto 'Program' tab, for 'Poss. Entries Key' property select 2 or 3 from its DropDowm List values.
    Try this.
    Regards,
    R.Nagarajan.

  • Screen painter, ChooseFromList and et_EDIT

    Hi,
    I'm in Screen Painter and I did set a it_EDIT with a ChooseFromList Business Partner.
    When I hit PREVIEW, it works fine,  the list of Business Partners appear and I choose one but the choosen one do not go in the et_EDIT textbox.
    I don't understand the Aliases because the help do not let me understand what it is and there's no way to see by a demo or anything else so I can understand clearly. 
    First is this all possible just by the Screen Painter or I do need to code something else ?  Any video tutorials ? Anything could help understand how to make it work.
    I beg anyone to give me a working solution.
    Thank you
    Edited by: Marc Roussel on Dec 20, 2010 3:16 PM

    Just a mall thing.  Everything seems to work except that when I did choose the BP, a message pop saying :
    "Item - Can't set value on item because the item can't get focus. [66000-153]"
    However once I clicked OK of that message, I see my choosen BP in my EditText and everything is fine so I don't understand why I receive this message.  Here's the code I use
    if (pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE && pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_LOAD)
        if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST)
            SAPbouiCOM.IChooseFromListEvent oCFLEvento = null;
            oCFLEvento = ((SAPbouiCOM.IChooseFromListEvent)(pVal));
            string sCFL_ID = null;
            sCFL_ID = oCFLEvento.ChooseFromListUID;
            SAPbouiCOM.Form oForm = null;
            oForm = SBO_Application.Forms.Item(FormUID);
            SAPbouiCOM.ChooseFromList oCFL = null;
            oCFL = oForm.ChooseFromLists.Item(sCFL_ID);
            if (oCFLEvento.BeforeAction == false)
                SAPbouiCOM.DataTable oDataTable = null;
                oDataTable = oCFLEvento.SelectedObjects;
                string val = System.Convert.ToString(oDataTable.GetValue(0, 0));
                if ((pVal.ItemUID == "it_BPCode") && pVal.ActionSuccess)
                    ((SAPbouiCOM.EditText)oForm.Items.Item("it_BPCode").Specific).Value = val;

  • How do i download a patch(ex: level 10) and screen painter patch for gui ?

    Hello,
    how do i download a patch(ex: level 10) and screen painter patch for gui ?
    Thanks,
    Shehryar

    Hi,
    Please see 323878 and 303476.
    I believe that you 'll find there the solutions.
    Regards
    Nuno Mendes Fernandes

  • Screen shot for screen painter..

    hi.. can anyone give me screen shots or kink for screen painter using module pool programing..

    Hi,
    Check this link for STEP-BY-STEP DEMO FOR SCREEN PAINTER with screen shots
    http://abapliveinfo.blogspot.com/2007/12/working-with-screen-painter-in-sap.html
    Check this link for Screen Painter Concepts http://help.sap.com/saphelp_nw04s/helpdata/en/d1/801c54454211d189710000e8322d00/frameset.htm
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/MENU&SCREEN_Painter_tutorial.html
    http://abap-gallery.blogspot.com/2007/08/screen-painter.html
    http://www.thespot4sap.com/articles/SAP_Design_Screen_Elements.asp
    Reward points if useful....
    Regards
    AK

  • SAP GUI 7.20 for Windows and problem with Screen Painter

    Hello,
    I just installed the SAP GUI 7.20 for Windows and it looks good.
    But when when I start the Screen Painter for a dynpro I get the following message:
    Graphical Layout Editor not available. Continue with alphanumeric editor.
    And: EU_SCRP_WN32 Connection broken  '..' / CPIC
    The SCreen Painter is installed correctly (I can start ist manually from file system) and the RFC destination works.
    Any idea?
    Regards,
    Ole.

    Hello,
    I've uninstalled all SAP installations, cleaned the registry of Windows XP and deleted all folders with SAP content. Then I've installed the SAP Gui 7.20 again and it works.
    And now I will update the Screen Painter with the information from the OSS-Note!
    Thank's for your help!
    Regards,
    Ole.

Maybe you are looking for