How to create a container in se51

hi,
i have two doubts
1. how to create a container in se51.
2. For eg: while calling a function i click on pattern which and give the function module name it will give the function module with the exporting and the importing parameter.
My question is how to create an object.

Hello Preethi,
First in the code:
DATA container TYPE REF TO cl_gui_custom_container.
create the custom container
    CREATE OBJECT container
                  EXPORTING container_name = 'CUSTOM'.
Second in graphical screen painter you must build an custom control with same name:  'CUSTOM'
An example of this is the program: RSDEMO_CUSTOM_CONTROL
Regards.

Similar Messages

  • How to create a container class for 2 object?

    I use JDK to create 2 objects, one is Customer and one is Book. I need to enqueue these 2 objects, but they canot share the same queue class. Some one told me that I can create a container class for these 2 objects but I don't know how to create it. Can some one tell me how to create the container class?

    I use JDK to create 2 objects, one is Customer and one
    is Book. I need to enqueue these 2 objects, but they
    canot share the same queue class. Some one told me
    that I can create a container class for these 2
    objects but I don't know how to create it. Can some
    one tell me how to create the container class?
    class CustomerBook{
    Book m_book;
    Customer m_customer;
    pulbic CustomerBook (Customer customer, Book book){
    m_book = book;
    m_customer = customer;
    }If you want to create a class that represents one customer and many books, do this:
    class CustomerBooks{
    Vector m_books;
    Customer m_customer;
    pulbic CustomerBook (Customer customer){
    m_books = new Vector();
    m_customer = customer;
    public void addBook (Book book){
    m_books.addElement (book);
    public void displayBooks (){
    //I assume the Book class has a toString method or something similar
    for (int i = 0;i < m_books.size();i++){
      System.out.println ("book: "+((Book)m_books.elementAt(i)).toString());

  • How to create a container?

    I have installed Designer 6i r4.1.1
    I can create workarea, but I don'know and don't find how to create a container.
    Please expand me how to do it?
    Thanks.

    Hi,
    Just go to Repository Object Navigator from the Designer front panel.
    Right-click on the Workarea in the navigator. Select create child from the menu and select Application system from the
    list that appears.
    HTH
    Ritu

  • How to create a container element?

    Hi,
    Could somebody please tell me how to create a container element and how to create a multi container element? How is this element used in the fork step?
    I am using a fork with 3 branches but the agent assignment is a problem.The workitem does not go to the user set in the agents tab.
    Regards,
    Monica.

    Hi Monica,
    Within your Workflow Builder, there is a box on the left hand side that (Workflow Container). You should have an option (in change mode) to right-click and create or double-click on the <Double-Click to create> tab.
    Or you can go to the Workflow Container "Goto -> Workflow Container" and click on the "Create" <F5> icon.
    Same theory applies to creating a container element in your task. Go to your task and click on the "Container" button and select "Create".
    When creating your container, you can specify if it is a multiline container by checking "Multiline" under the container attributes.
    In a fork step, you would really only use your "Container Element" in the "End Condition" of a Fork step.
    Please advise what the "Agent Assignment" is referring to when you're using it in your fork? Which step in the fork?
    If you are assigning agents in one step of the fork, you cannot expect these agents to apply to your other 2 fork steps. The forks work independently of each other (to a point).
    Please provide more information if you need more help.
    Kind regards,
    Tom

  • How to create workflow container element from workflow builder?

    How to create workflow container element from workflow builder?

    in workflow
    three are five container, for each container we have define according to requirement of that particular container.
    1. event container
    2. workflow container
    3. task container
    4. method container
    5. rule container
    1. event container
    in evernt contianer we have to create elements in BOR where we create event in parameters
    2. workflow container
    in workflow container we have to create elements in workflow builder itself. in left side of the screen we see <double click to create element>
    3. task container
    in task container we have to create in task itself it has a tab called container elements
    4. method container
    in method container we have to create in BOR. it is created in parameter of that BOR.
    5. rule container
    in rule container we have to create in PFAC transaction

  • How to create Shellscript containing CallSAPurgeAllCache statement.

    How to create Shellscript containing CallSAPurgeAllCache statement.Can it be scheduled through informatica and Linux environment.

    You can have a text file or any ext with content as Call SAPurgeAllCache()
    in other file use this
    nqcmd -d AnalyticsWeb -u Administrator -p Administrator -s <filename.ext>
    Pls mark if helps

  • How to create a container element in workflow container

    Hi,
    I am learning WF by a Tutorial. In which absence of notification was considered as example. As per tutorial, I created two task for creating a Notification and checking a absence
    In the next step it ask to create a container element(approver) to workflow container. How i can create the same.
    Also, please clarify me on the binding between task container and workflow container....with this example
    Thanks
    Suresh

    Hi,
    On the workflow builder LEFT side below the navigation area u can see this <Double-Click to Create>.
    Double click and create the container.
    During binding it looks as follows.
    Workflow  -
    >   Task
    Workflow <----
    Task
    What happen here is from workflow the data passed to task and it is used for processing, after that it returned back to the workflow. Now u can create the container on bothside and bind the data. ie Variables.
    Creating container u can refer : http://www.****************
    Reward for useful answer.
    Richard A

  • How to create custom "container"??

    Hi.
    If I wanna simulate the GUI develope tools(such as VAJ or JBuilder...) which can let me drag and edit custom elements in it. Could I have to create a container???
    or someone know the conception of the GUI develope tools...
    thanx

    Hi,
    In WDP , graoics section , there is one element called graphics container. You can use that element to upload and display  your image.
    For WDP JAVA you can visit this URL
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71">WDP java Image Upload & DW-Load</a>
    I am sending some code , hope it will help you
    graphic_table is the table with field XSTRING and contains the Image uploaded in XSTRING format
    DATA:h_picture TYPE REF TO cl_gui_picture,
    h_pic_container TYPE REF TO cl_gui_custom_container.
    DATA: graphic_url(255),
    graphic_refresh(1),
    g_result LIKE cntl_true.
    DATA: BEGIN OF graphic_table OCCURS 0,
    line(255) TYPE x,
    END OF graphic_table.
    DATA: graphic_size TYPE i.
    CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
    type = 'image'
    subtype = cndp_sap_tab_unknown " 'X-UNKNOWN'
    size = graphic_size
    lifetime = cndp_lifetime_transaction "'T'
    TABLES
    data = graphic_table
    CHANGING
    url = graphic_url.
    CREATE OBJECT h_pic_container
    EXPORTING container_name = 'LOGO'.
    CREATE OBJECT h_picture EXPORTING parent = h_pic_container.
    CALL METHOD h_picture->load_picture_from_url
    EXPORTING
    url = graphic_url
    IMPORTING
    RESULT = g_result.

  • How to Create the Container

    Hi All,
    I know the 3 type of Container.
    1. Abstract Interface
    2. Simple XSD Data Type and
    3. Receiver.
    Here My dought is Which secnarios we have to create this 3 containers...
    Please give me Clear idea .. It's usefull to me whenever i am doing BPM...
    Regards
    SReddy

    Hi Reddy,
    1.Abstract Interface
    Whenever you need to pass some iformation to and from your BPM< you have to go for a ABSTRACT INTERFACE. There is no outbound or inbound for your ABSTRACT INTERFACE.
    So, consider a case when you want to pick up a file, do a transformation and then send another file as the output.
    In this case, you will have one Outbound Interface that is Simple to enable the file to be picked up. One inbound interface on the reciver side so that the output file can be passed to the receiver system and finally, you will have 2 abstract interfaces. one for the sender side to receiver the file and another for the receiver side to pass the file to the receiver system.
    To sum it all up, ABSTRACT INTERFACE are the means by which you can interact with your BPM.
    For info on this , check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/55/c5633c3a892251e10000000a114084/content.htm
    2. Simple XSD datatype
    This is used as a variable within your BPM.
    Regards,
    Bhavesh
    Message was edited by: Bhavesh Kantilal

  • How to create a container or library that is not send as a request.

    Hi. I'm trying to create a library or container and the object is not created immediately, rather it is send as a create request to the administrador. I have tested this as a user with create privilege and even the orcladmin user. I have done this previously in the desired way, but now i can't. What has changed?.
    Regards, Luis ....!

    Give "All Site Users" the "Create Library" or "Create Container" role for your site.

  • How to create custom control  in SE51

    Hi,
    Can any1 help me out to create a custom control in se51.
    Thanks in advance.

    *****Class variables*********
    DATA:
    GO_GRID type ref to cl_gui_alv_grid,
    go_custom_container type ref to cl_gui_custom_container.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'ZMENU'.
      PERFORM CREATE_OBJECTS.
      PERFORM DISP_DATA.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  CREATE_OBJECTS
          text
    -->  p1        text
    <--  p2        text
    FORM CREATE_OBJECTS .
      CREATE OBJECT GO_CUSTOM_CONTAINER
        EXPORTING
          CONTAINER_NAME              = 'CUST_CONTROL'.
      CREATE OBJECT GO_GRID
        EXPORTING
          I_PARENT          = GO_CUSTOM_CONTAINER.
    *&      Form  DISP_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM DISP_DATA .
    CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IS_LAYOUT            = LS_LVCLAYOUT
          IS_PRINT             = LS_PRINT
          IT_TOOLBAR_EXCLUDING = IT_EXCLUDE
        CHANGING
          IT_OUTTAB            = <TEMP_TAB>
          IT_FIELDCATALOG      = LT_LVCFIELDCAT[]
          IT_SORT              = LVC_TSORT[].

  • What create docking container on a subscreen?

    Hi Experts,
    How to create docking container on a subscreen?
    What parametr "parent" in constructor CL_GUI_DOCKING_CONTAINER?
    Thanks
    Mike Fedorov

    Here's an example...Kindly steal from Rich Heilman -;)
    report zrich_0001 .
    data:
          dockingleft  type ref to cl_gui_docking_container,
          text_editor    type ref to cl_gui_textedit,
          repid type syrepid.
    data: itext type table of tline-tdline,
          xtext type tline-tdline.
    parameters: p_check.
    at selection-screen output.
      repid = sy-repid.
      create object dockingleft
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingleft->dock_at_left
                            extension = 1070.
      create object text_editor
                  exporting
                       parent     = dockingleft.
      xtext = 'http:\\www.sap.com'.
      append xtext to itext.
      call method text_editor->set_text_as_r3table
         exporting
               table              = itext
         exceptions
               others             = 1.
    start-of-selection.
      call method text_editor->get_text_as_r3table
         importing
               table              = itext
         exceptions
               others             = 1.
      loop at itext into xtext.
        write:/ xtext.
      endloop.
    Greetings,
    Blag.

  • Cannot create a container

    Hi
    I am trying to create a container inside the default site logging in as orcladmin, but the create new container option is disabled. I am only able to create a library within the site.
    orcladmin is assigned the access role <Container Administrator>
    Following groups have access to the site: -
    1. <All Site Administrator Users> with access roles: <Container Administrator, Container Viewer>
    2. <All Site Users> with access roles: <Container Viewer>
    Any help on how to create a container is highly appreciated.
    Thanks and Regards
    venu

    Thanks Matt.
    The administration mode was set to True but still couldnt create the container.
    Closed all browsers and re-opened Content Services in a new browser and it solved the problem.
    Regards
    - Venu.

  • How to create a webdynpro view dynamically and embed into view container?

    Hi all,
    Anyone knows how to create a view dynamically and embed the view into an existing view container?
    My layout looks like this:
    I have an existing view named main_view.
    Inside main_view, I create a view ui container named vcu_view.
    I embed the main_view into my window.
    I need the codes to create a view dynamically and embed the view into the view container. Anyone have any idea?
    Thanks in advance.
    Rgds,
    Siong Chao

    hi Siong Chao   ,,
    empty view insence ..( create a view without any UI element in it  ) in design time ..
    >
    Siong Chao wrote:
    > Hi Chinnaiya,
    >
    > How do you create an empty view dynamically then? Thanks in advance.
    i think we cannot create a new view dynamically because it is a webdynpro restriction ..
    NOTE: experts correct me if i am wrong in this answer
    Regards
    Chinnaiya P

  • How to create a folder (in unified folders) which contains all the messages of inboxes and outboxes

    Hi, i've searched without success how to create a folder (in unified folders) which contains all the messages of inboxes and outboxes (as it exists in Windows Live Mail).
    For me, it would be very useful to search in only one folder when i try to find something in sent and received mails.
    Thank's

    This is what Unified Folders does. I'm not sure what exactly you're trying to achieve.
    http://kb.mozillazine.org/Global_Inbox#Unified_Folders
    You might take a look at this article.
    https://support.mozilla.org/en-US/kb/global-search

Maybe you are looking for

  • How to find out the index in string.

    Hello Experts, I have a requirement in which i have to find out the index of the last space before the 50th position in a string. is there any way other than spliting the string. e.g. if string is - 'aaaa aaaa aaa........ aaa aaa'(length is more than

  • Strange error in SUM function in XI

    Hi geeks, We are encountering a strange issue in SUM functionality in XI. The Scenario is : We have a pipe delimited source file and INVOIC01 idoc as target.  each line in the source file will create a segment E1EDP01 in the target IDOC. All the valu

  • Use of WPA wireless secuity on 10.2

    I just picked up a used G3 iBook with an airport card for my kids to check e-mail and for web surfing. I cannot get the iBook to log on my wireless network (a Netgear b/g wireless router) when I have the WPA security active. I would prefer not to use

  • MIRO & MIGO posting date

    Hi experts,                 My MIGO(101) date is 5/1/2008. In MIRO my user has input the posting date as 1/1/2008. So system is allowing to post it. How to stop it? Plz explin me........ Thank you Sap MM

  • To creative as i cant email

    hi creative.. i seem to have problems emailing you. your suopport page is the pits.. i need acopy of webcam go plus instal cd.. do you have an adress i could post to.. and how much would this cost. your drivers on the net dont work cos it ask for a f