Create fields on a container

Is it possible to create fields on a container? I know how to create an alv or insert a graphic, but can I also create fields on a container?

ALV is a gui control , which means it can be bind with the screen via custom container and container on the screen. Generally most of "modern" controls are created dynamically by instiantating one of delivered class (i.e. cl_gui_alv_grid, cl_salv_table, cl_gui_alv_tree etc).
On contrary, we have classical controls just called controls . These, on the other hand have to be phisically placed on the screen (like fields, checkboxes, radiobuttons, pushbuttons etc) or can be used on selection screen via parameters or select-options statements. These controls must reside on screen itself (without container). You set them statically (and possibly change their attributes dynamically in loop at screen loop).
As for the question itself: NO, fields (as part of controls ) can be placed only on the screen or subscreen which you can in turn display dynamically druing program execution (using subscreen area ). No container is involved here.
Regards
Marcin

Similar Messages

  • I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    George - Thanks you so much!  Actually, i'd love for the text color to be red font color.  Could you send me the script for that? And I assume I just copy and paste the script into the field properties (see screenshot)?
    thanks again!
    Seth

  • Creating fields in a PDF file..

    I downloaded an application from a web site in PDF file form, how do I create fields in the form so I can fill it out?
    Thanks

    Hi DenisonDoc,
    There is no option right now to set properties globally primarily for Text fields. You may make sure fields doesn't contain anything.
    Select all the text filed from the form and right click any of the selected field make sure all of them are selected choose properties --> Appearance there you can choose Font Size and Font type.
    - End users cant change size and type of font. It is up to designer.
    Regards,
    Ajlan Huda.

  • Function module to create FIELD CATALOG

    I am displaying data through ALV using SET_TABLE_FOR_FIRST_DISPLAY method of class CL_GUI_ALV_GRID.
    is there any function module available to create the field catalog for that??
    the F.M. "REUSE_ALV_FIELDCATALOG_MERGE" is giving some error for that. any other function moudle  is available or not??
    how to use above function module for that??

    Hi,
    There are many ways in which to build a field catalog, some of which can be found below:
    Building a fieldcatalog based on a dictionary structure/table
    This Method requires you to create a dictionary structure via
    SE11 and pass that in the 'I_STRUCTURE_NAME' parameter.
    The below example will be for all of EKKO but you could create a new
    structure containing only the fields you require.
    *For Function module ALV (report)
    DATA: it_fieldcat  TYPE slis_t_fieldcat_alv,
              wa_fieldcat   LIKE LINE OF it_fieldcat.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = 'EKKO'
        CHANGING
          ct_fieldcat            = it_fieldcat
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *For object ALV (Screen)
    DATA: gd_fieldcat2 type LVC_T_FCAT.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING                             
           I_BUFFER_ACTIVE                =        
          I_STRUCTURE_NAME            = 'EKKO'  
          I_CLIENT_NEVER_DISPLAY   = 'X
          I_BYPASSING_BUFFER         =        
       CHANGING
          ct_fieldcat                              = gd_fieldcat2
        EXCEPTIONS
          INCONSISTENT_INTERFACE = 1
          PROGRAM_ERROR              = 2
          OTHERS                               = 3.
    Regards,
    Shyamala
    Edited by: Shyamala S on May 25, 2009 3:21 PM

  • Simple way to create field catalogs in ALV Reports using subroutine

         In ALV Reports When creating field catalog, instead of giving field catalog for every field seperatly we can use following simple method to create field catalog.
         This method makes your code very easy to read as well as to understand. I am going to show code only to prepare field catalog to make this method easy to understand. Their also contains code for fetching data from requires table and calling function module for ALV . I am not including it in this program but it should be their in program -
    REPORT ZALV_INTERACTIVE_REPORT.
    TYPE-POOLS SLIS.
    TYPES : BEGIN OF TY_MARA,
         MATNR TYPE MATNR,
         MTART TYPE MTART,
         MBRSH TYPE MBRSH,
         MEINS TYPE MEINS,
    END OF TY_MARA.
    DATA IT_MARA TYPE STANDARD TABLE OF TY_MARA.
    DATA WA_MARA TYPE TY_MARA.
    " Internal table and work area for Field Catalog
    DATA IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA WA_FIELDCAT LIKE LINE OF IT_FIELDCAT.
    START-OF-SELECTION.
    * PERFORM FETCH_DATA .
    " FIELDS IN FIELD CATALOG (PASSED IN SUBROUTINE):-
    "     'FIELDNAME'<SPACE> 'SELTEXT_M' <SPACE>'KEY'<SPACE> 'HOTSPOT'
    PERFORM PREP_CATALOG USING : 'MATNR' 'MATERIAL NO.' 'X' 'X' ,
                                                           'MTART' 'MATERIAL TYPE' ' ' ' ' ,
                                                           'MBRSH' 'IND SECTOR' ' ' ' ' ,
                                                           'MEINS' 'UOM' ' ' ' ' .
    * PERFORM CALL_ALV_FM .
    " Subroutine to create field catalog
    FORM PREP_CATALOG USING VALUE(P_FIELDNM)
                                                                  VALUE(P_SELTEXT)
                                                                  VALUE(P_KEY)
                                                                  VALUE(P_HOTSPOT) .
    WA_FIELDCAT-FIELDNAME = P_FIELDNM .
    WA_FIELDCAT-SELTEXT_M = P_SELTEXT .
    WA_FIELDCAT-KEY = P_KEY .
    WA_FIELDCAT-HOTSPOT = P_HOTSPOT .
    APPEND WA_FIELDCAT TO IT_FIELDCAT .
    ENDFORM .
              Above code will repeat the execution of subroutine PREP_CATALOG for every set of values passed to subroutine because we used
    USING : (chain operator) to pass value to subroutine.
              Subroutine will assign passed values to corresponding field and simply appends those values in ITAB created for field catalog(IT_FIELDCAT). It repeates this process until all the passed values are appended into ITAB.
              This method will reduce complexity of the code as well as time required to write code for every field's field catalog seperatly. It does lots of work in very few lines of codes.

    Scott,
    I don't think there is a way to divide all numbers by a million in one shot, but you could divide the numbers by million by writing code for each amount field as needed: <?FIELD1 div 1000000?> and the use the round function <?xdoxslt:round(2.777,2)?>
    combined function: <?xdoxslt:round((12345605.6 div 1000000),2)?>
    Thanks,
    Bipuser

  • I/p parameter field in docking container

    How to get the field parameters in a docking container that shud be able to fetch data from Database ? for eg., in se80 tcode(in left container) we have an i/p field for program/class and another i/p field for their name.....

    Hi,
       You can use the following class cl_gui_textedit, and an object for the same can be created in the docking container.
    data : text type ref to cl_gui_textedit.
    * create the docking container
        CREATE OBJECT docking
                      EXPORTING repid     = repid
                                dynnr     = dynnr
                                side      = docking->dock_at_left
                                extension = 180.
    * create the text container
        CREATE OBJECT text
                      EXPORTING parent = docking.
    for further options look for the class CL_GUI_TEXTEDIT.
    also for reference you can see the BC example RSDEMO_DOCKING_CONTROL.
    Hope this helps.
    Regards,
    Kinshuk

  • How to create a element that contain a element generated in another document

    Hi,anybody.
    I want to create a element that contained a element generated in another document.The following is my coding:
    doc1 = new XMLDocument();
    ele1 = (XMLElement)doc1.createElement("AAA");
    doc2 = new XMLDocument();
    ele2 = (XMLElement)doc2.createElement("BBB");
    ele2.appendChild(doc2.createTextNode("bbb"));
    XMLNode ele = (XMLNode)ele2.cloneNode(true);
    ele1.appendChild(ele);
    but there is a DOMException,Node doesn't belong to the current document.
    Thanks in advance.
    null

    Hi Marc,
    it is currently not possible to check for values in other tables within different repositories (main tables).
    If you want to check for values in flat lookup tables, use the "Fields" menu in the expression editor. You will get sth like this:
    IS_NULL(Category.Item)
    whereas "Category" could be a lookup table (flat, hierarchy, taxonomy) and "Item" a field in it.
    Checking across qualified lookup tables is only possible in a very restricted manner.
    Hope that helps.
    Christian

  • Getting HTTP 400 while creating field in Account using Eloqua REST 2.0 API.

    I tried to create field in Account using /API/REST/2.0/assets/account/field, but got HTTP 400-"Request contains a message that does not conform to the contract."
            "constraint": null,
            "detail": null,
            "field": "permissions",
            "stackTrace": null,
            "value": "fullControl"
    I refered http://secure.eloqua.com/api/docs/Static/Rest/2.0/doc.htm#AccountField for AccountField API.
    As mentioned in API, permissions is of type InstancePermissions and has valid values as read,write and fullControl.
    Here is my sample request for creating account field.
      "name":"employee_office_address",
      "description":"field created for office address",
      "permissions":"fullControl",
      "folderId":null,
      "sourceTemplateId":null,
      "accessedAt":null,
      "scheduledFor":null,
      "depth":"complete",
      "internalName":"employee_office_address",
      "optionListId":null,
      "checkedValue":null,
      "uncheckedValue":null,
      "displayType":"text",
      "dataType":"text",
      "defaultValue":null,
      "isReadOnly":false,
      "isRequired":true,
      "isStandard":true,
      "outputFormatId":null
    Why I am getting this error? Am I doing something wrong here?
    Also, how will I able to know which field are mandatory and which are optional for making AccountField call?
    Could anyone please share information on this ?
    Thanks in advance.

    Hello,
    In order to solve your issue, I recommend you post your issue to exchange server development forum for more appropriate.
    http://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=exchangesvrdevelopment
    Cara Chen
    TechNet Community Support

  • Custom created field created using Addon is overlapping in BP Master form

    Hi All,
    I have developed an addon to create some custom field in Business partner master data form. Every thing is working fine but the issue is that when I am maximizing and minimizing the BP form the custom created fields are overlapping with existing SAP B1 field. i have created this fields as the sample specified in SAP B1 SDK. I am giving the sample code below please rectify me if I have made any mistake.
                       lItem = form.Items.Add("CBWBCUSTGR", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX);
                        lItem.FromPane = form.Items.Item("222").FromPane;
                        lItem.ToPane = form.Items.Item("222").ToPane;
                        lItem.DisplayDesc = true;
                        lItem.Left = form.Items.Item("222").Left;
                        lItem.Top = form.Items.Item("222").Top + 15;
                        lItem.Width = form.Items.Item("222").Width;
                        lComboBox = (SAPbouiCOM.ComboBox)lItem.Specific;
                        lComboBox.DataBind.SetBound(true, "OCRD", "U_WBCUSTGR");
    l                  Item = form.Items.Add("STWBCUSTGR", BoFormItemTypes.it_STATIC);
                        lItem.FromPane = form.Items.Item("223").FromPane;
                        lItem.ToPane = form.Items.Item("223").ToPane;
                        lItem.Left = form.Items.Item("223").Left;
                        lItem.Top = form.Items.Item("223").Top + 15;
                        lItem.Width = form.Items.Item("223").Width;
                        lStaticText = (StaticText)lItem.Specific;
                        lStaticText.Caption = "Web Customer Group";
    Thanks and Regards
    Utpal Maity

    Hi All,
    I have tried the solution provided by you by modifying the code as written below but when i am minimizing it the fields are getting overlapped.
          lItem = form.Items.Add("CBWBCUSTGR", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX);
                        lItem.FromPane = form.Items.Item("222").FromPane;
                        lItem.ToPane = form.Items.Item("222").ToPane;
                        lItem.DisplayDesc = true;
                        lItem.Left = form.Items.Item("222").Left;
                        lItem.Top = form.Items.Item("222").Top + 15;
                        lItem.Width = form.Items.Item("222").Width;
                   lItem.LinkTo = "STWBCUSTGR";
                        lComboBox = (SAPbouiCOM.ComboBox)lItem.Specific;
                        lComboBox.DataBind.SetBound(true, "OCRD", "U_WBCUSTGR");
    l                  Item = form.Items.Add("STWBCUSTGR", BoFormItemTypes.it_STATIC);
                        lItem.FromPane = form.Items.Item("223").FromPane;
                        lItem.ToPane = form.Items.Item("223").ToPane;
                        lItem.Left = form.Items.Item("223").Left;
                        lItem.Top = form.Items.Item("223").Top + 15;
                        lItem.Width = form.Items.Item("223").Width;
                   lItem.LinkTo = "CBWBCUSTGR";
                        lStaticText = (StaticText)lItem.Specific;
                        lStaticText.Caption = "Web Customer Group";
    Thanks and Regards
    Utpal maity

  • HOW TO CREATE A VIEW WHICH CONTAINS A PARAMETER

    Hi all
    I am trying to create a view which contains paramaters.
    Lets assume that the view may look like this:
    STEP 1:
    CREATE OR REPLACE procedure Myproc(v_count in NUMBER) as
    BEGIN
    EXECUTE IMMEDIATE
    'CREATE OR REPLACE VIEW myview AS
    SELECT COUNT(*) FROM DUAL WHERE ROWNUM like '''||v_count||'%'' ';
    END myproc;
    SHOW ERRORS;
    Procedure created.
    Elapsed: 00:00:00.31
    SQL&gt; SHOW ERRORS;
    No errors.
    STEP 2:
    SQL&gt; EXEC Myproc(2);
    BEGIN Myproc(2); END;
    ERROR at line 1:
    ORA-00998: must name this expression with a column alias
    ORA-06512: at "MYUSERNAME.MYPROC", line 3
    ORA-06512: at line 1
    Elapsed: 00:00:00.16
    It seems that doesn't really likes the third line: "EXECUTE IMMEDIATE".
    Can I get any help with this one ?
    Thank-you
    Robert

    Bear in mind that VIEWs are not supposed to be parameterised. That is why Nature gave us a WHERE clause. However, there is one, albeit slightly clunky, way of doing it....
    SQL> CREATE OR REPLACE VIEW emp_view AS
      2  SELECT * FROM scott.emp
      3  WHERE deptno = sys_context('userenv','client_info')
      4  /
    View created.
    SQL>
    SQL>
    SQL> exec dbms_application_info.set_client_info(10)
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM emp_view
      2  /
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7782 CLARK      MANAGER         7839 09-JUN-81       2450
            10
          7839 KING       PRESIDENT            17-NOV-81       5000
            10
          7934 MILLER     CLERK           7782 23-JAN-82       1300
            10
    SQL> Cheers, APC

  • What events change the Created field in, finder, get info

    On my laptop, in finder, in the get info screen there are 2 fields the Created Date and Modified Date fields.
    I was looking at these fields for an app that I use on my iPhone, it was listed in finder, so I clicked the get info option.
    The created date and modified date were 10/16 both the same.
    I have not used this app in a long time, my question is this.
    What event changes the created field?  If the app was downloaded on the Iphone will the created field get updated in finder?
    or if it was an update on itunes, would that change the created date in finder?
    Does the created date mean that the app was downloaded and installed on that date?

    Thank you so much.  That works just fine.  However, I also just discovered something.  Evidently, at least some of the fields in list view are editable.  By adding Grouping to the columns shown and clicking on the empty field, I was actually able to type whatever I needed into the field.
    I have not yet tried it with other fields, but will do so to see if it works for all fields in the list view.
    Laura

  • How do I insert a 'date created' field into a template?

    I know that you can insert date & time fields into templates and make them auto-update whenever I open the document, but I am wondering if I can make the date field be set to the date when I created the document and then stay that date even if I reopen the file?
    In other words, is there a "Date Created" field?
    Thanks in advance for any help given.
    I am using Pages '09.

    I believe the date will either update always or never, depending on how you set it's options. I don't believe you will find an option for Update Once and Never Again.
    You will have to update the date upon creation and then set the option to not update. You can always find the creation date in the Document Inspector, Info tab, Show File info. You can also read this information in the Finder.
    Jerry

  • How to create Field Set in flex

    I need to know best way to do create Field Set as following
    You can see the HTML field set reference from here..
    HTML CODE
    <form>
      <fieldset>
        <legend>Personalia:</legend>
        Name: <input type="text" size="30" /><br />
        Email: <input type="text" size="30" /><br />
        Date of birth: <input type="text" size="10" />
      </fieldset>
    </form>
    So,how can I do it?

    This link should set you off on the right track.
    http://livedocs.adobe.com/flex/3/html/help.html?content=layouts_08.html

  • Invalid date format for 'Created' field in the getVersions web service Response.

    Hi all,
    I am trying to get all versions for selected document by calling getVersions method Versions.asmxweb service, but getting ‘Created’ date attribute value is in the format "29-05-2012 12:01"
    but I am expecting either one of the following date formats.
     1.      yyyy-MM-dd HH:mm:ss  or  yyyy-MM-ddTHH:mm:ssz
     2.      MM/dd/yyyy HH:mm a   (a means AM/PM)
     3.      MM/dd/yyyy
     4.      yyyyMMdd HH:mm:ss
    where do I need to change?
    what are all the formate will be support by SharePoint?
    please find attached response xml of getVersions call.
    <results xmlns="http://schemas.microsoft.com/sharepoint/soap/">
        <list id="{6A6F6CD1-2E9C-44CC-B1F5-56G7JB5C8778}"/>
        <versioning enabled="1"/>
        <settings url="http://hbngjfgj47s20/reg/_layouts/LstSetng.aspx?List={7S6F6CD1-2E9C-44CC-B1F5-KO9J8Y7Y6H78}"/>
        <result version="@0.3" url="http://vmesxsrv47s20/register/Shared Documents/Parent/child/my_doc" created="29-05-2012 12:01" createdRaw="2014-12-02T12:46:02Z" createdBy="my_dom\agi_sharepoint"
    createdByName="AGI_Sharepoint" size="288" comments=""/>
        <result version="0.1" url="http://hbngjfgj47s20/register/_vti_history/1/Shared Documents/Parent/child/my_doc" created="29-05-2012 10:01" createdRaw="2014-12-02T10:55:18Z" createdBy="my_dom\my_sharepoint"
    createdByName="my_sharepoint" size="288" comments=""/>
        <result version="0.2" url="http://hbngjfgj47s20/register/_vti_history/2/Shared Documents/Parent/child/my_doc.txt" created="29-05-2012 11:01" createdRaw="2014-12-02T10:59:25Z" createdBy="my_dom\my_sharepoint"
    createdByName="my_sharepoint" size="288" comments=""/>
    </results>
    Kindly help me on this.

    Hi,
    According to your post, my understanding is that you want to change date format for ‘Created’ field in the getVersions web service.
    Per my knowledge, you can get the date format for ‘Created’ field as “MM/dd/yyyy HH:mm a”.
    For more information, you can refer to:
    Versions.GetVersions Method (Versions)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Speed up time of AI Create Channel.vi task containing thousands of channels

    I am creating an AI task containing a total of 8000 channels of different channels with each channel being acquired many times before the next channel is acquired.  The channel list is something like 0,0,0,...,1,1,1,...,2,2,2...3,3,3... where each channel number would be acquired 2000 times.  The purpose is to perform averaging.  I am seeing that DAQmx Create Channel.vi takes about 100 msec to create 1000 channels for a total of 800 msec to create all channels (DAQmx 9.4, LV 11, WIN 7, CoreDuo P8700 2.5 GHz).  I would like to speed this up by a factor of 10 if possible.  Test vi attached.
    Attachments:
    Create Multiple Channels duration.vi ‏17 KB

    Hi SteveP,
    The DAQmx task contains data structures representing channels, which in turn contain other data structures representing channel properties and such. Most of the execution time of DAQmx Create Channel is spent allocating and initializing these data structures. They are separate from the task's input buffer (where data is stored until DAQmx Read is called). The input buffer is allocated when you reserve the task (which is normally done by DAQmx Start Task), and it is indeed allocated as a single large array.
    DAQmx support for repeated channels focused on the SCXI use case, where hundreds of milliseconds of channel creation time seemed to be an acceptable tradeoff for measuring thousands of thermocouples. During development of NI-DAQmx 7.0, we used 3072 channels as our large system benchmark for channel creation, since that's the maximum number of channels supported by an SCXI task: 8 chassis x 12 modules x 32 channels (ignoring CJC channels). Repeated channels also make your use case possible, but this wasn't the original goal, otherwise we would have tried to make it easier to use for this purpose.
    When replying to your previous thread on this topic (DAQmx AI Task with many samples CH0, then many CH2, then many CH3), I assumed that you were doing this because you were having problems when you took the straightforward approach to averaging, but Ben is right to point out that there are ways to deal with ghosting, cross talk, etc. What is the source impedance of the signals that you are measuring? How Do I Eliminate Ghosting From My Measurements? lists some options for dealing with high source impedance.
    Failing that, is it possible for you to reduce the frequency at which your program creates and destroys tasks? If you can extend the task lifetime by reusing the same task more than once, you can avoid the channel creation overhead, or at least amortize it over the lifetime of the task. Note that you don't have to clear one task before you create a second one; you only have to make sure that two tasks don't have the same hardware reserved at the same time--if you do, you will get a reservation error. In most cases, stopping the first task before starting the second is sufficient to avoid this. It is possible to create multiple tasks up front, then switch between them throughout the rest of your program.
    Brad
    Brad Keryan
    NI R&D

Maybe you are looking for

  • Javascript validation on a textbox, help please!

    I can do it for letters only, need it to be able to allow '-' (dashes) and spaces too function checkname() var theirname = document.form1.dname.value; var numchars = theirname.length; for (i = 0; i< numchars; i++) if (theirname.charAt(i) < 'a'|| thei

  • Text animations in iwork '08

    Hi, I'd like to know how to do to make a text appear/disappear by clicking on the slide... I've to use the animation tool? How? It seems that I can use it only with images.

  • Alternate Lot Sizing for KMAT (configurable) materials

    Hi friends, We are using KMAT(configurable) materials. During MPS/MRP run, SAP plans KMAT production with Lot-to-Lot production(EX) by default! We have some capacity planning situations, due to which, we need the lot sizing options like u2018Fixed lo

  • Calendar Page

    Hi, Can someone explain to me the benefit of the calendar page in apex. Is it only to view the data entered by a form in the calendar format? Thank you

  • Why won't my iPhone 5 connect to my macbook pro 13 over bluetooth?

    I downloaded the iKeyboardRemote app  on my mac so i can control my phone across the room. The two both have bluetooth on and show up as recognized on both devices. I have paired them and all. The problem is they say disconnected so on my phone i pre