How to create a grid like the sample of "profit Centre - Report" use sdk ?

hi
in the grid of "profit Centre - Report", it has a button,if you click it ,it can show the detaildata. it can implement many levels "Expand " and "Collaspe",but it's not implemented by group! i want to know how to implement it by ui dpi or udo .
thanks!

Hi,
You need:
- to know the relevant queries
- to make copies (use GetAsXML) from the relevant system forms to mimick the standard functionality
- to do it via UI API (use Grid and DataTable - then you don't need DI API at all)
Here's some more information on DataTable / Grid:
The UI sample no. 19 shows you how to load data into the Grid - via the DataTable...
You can find an enhanced version of the sample (showing you how to get linked buttons, combo boxes etc) in the Education area on SAP Service Marketplace (SMP): http://service.sap.com/smb/education
Or just try these links (need SMP user account for that...) to download the sample from the Archive of "Live Expert Sessions" (includes a few more things):
http://service.sap.com/~sapidb/011000358700006282762006E.zip
That's the link to the PDF for the session:
http://service.sap.com/~sapidb/011000358700006282742006E.pdf
...and that's the recording:
http://service.sap.com/~sapidb/011000358700006280182006E.wrf
HTH,
Frank

Similar Messages

  • How to create a button like the one pictured here

    How would I create a button like the print button below?
    I was thinking actually make it two separate buttons placed next to each other. The print button obviously would just be a modified boolean, that's easy. But the drop down is a bit harder. I figure I could customize a drop down but because I haven't been able to play around with it in LabVIEW (don't have it at home) I'm not sure if you can modify the alignment of the box that actually drops down etc. Is the drop down box location and look something you can modify within the control editor?
    I'm guessing I could also use .net correct? But I am trying to keep it all with just control modification in LabVIEW if possible. Thanks.
    CLA, LabVIEW Versions 2010-2013
    Solved!
    Go to Solution.
    Attachments:
    buttonexample.PNG ‏6 KB

    for(imstuck),
    I'd use a multicolumn listbox and toggle it's visibility when the user clicks on the button.  I've attached an example:
    ~Simon
    Attachments:
    8-2-2010 2-04-25 PM.png ‏24 KB
    Print Drop Down Snippet.png ‏55 KB
    Print Drop Down.vi ‏29 KB

  • How to create vector portrait like the images as attached

    i want to create these kind of portrait. How will I do ...

    Pen tool to create the vector shapes and gradient mesh tool to make smooth transitions for the highlights and shadows. Illustrator doesn't have a function or tool that creates images like these.. Only the basic tools to create images like these. This question is kind of like what is the method to create an oil painting on canvas. you use a brush and paint to create the desired image..l
    I Know that's not helpful but it's the answer.. Here's a decent start  regarding how to begin vectorizing an image in this fashion..
    http://m.youtube.com/watch?v=aiPAG5eCG20

  • How to create own attributes in the graph.xml of 10g Reports

    Hi,
    Iam using 10g reports. Iam recreating the graphs in 10g which were created in Graphics builder earlier. While doing that I found lot of features are missing in 10g reports charts wizard. It has only limited number of Graph types when compared to the Graphics builder. Like there is no Curve graph in 10g. The available are Line, Bar and Area. So how can I draw a curve instead of line? 10g Legend looks very ugly. There is lot of space between the values. Is there anyway that I can add my own attributes in the graph.xml and register in the reports?
    Please advise.
    Thanks.
    Ram Dontineni.

    Hi Ram,
    how can I draw a curve instead of line?I have posted a Q in BI Beans Forum for you, we should get an answer there:
    Curved Line Graph?
    10g reports charts wizard. It has only limited number of Graph types when compared to the Graphics builderThat may not be exactly true.
    10g Graph Wizard supports 11 major graph types, and 47 sub-types
    While 6i Graphics Builder supported 5 major graph types and 35 graph sub-types
    There are differences between 6i Graphics and 10g Graph Wizard, so certain things you might have been able to do in 6i may not be entirely possible in 10g. However, the main advantages of the 10g Graph option are - it internally uses BI Beans, which is used in ALL Oracle poducts like JDeveloper, Discoverer, Oracle Apps etc. So the customer gets a consistent look-and-feel. And that it is possible to define your Graph in XML format (and through Java API in JDeveloper).
    We have published a list of FAQ's on OTN where you should get answers to at least some of your Q's:
    http://otn.oracle.com/products/reports/index.html (click on Graphing FAQ)
    Is there anyway that I can add my own attributes in the graph.xml and register in the reports?This will not be possible, however, you should take a look at the complete list of elements and their attributes that is exposed in Graph.dtd - you can then choose the attributes you want, and add them to your Report's Graph.xml:
    http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/graphdtd/graph_dtd_technote_2.html
    Navneet.

  • Its possible to create a grid like this?!?!?

    hello to all, im new in Mii and i have a sql statement to populate the table but i want to know if it is possible to create a grid like the image in this link :
    http://img17.imageshack.us/img17/3021/gridx.jpg
    and then put the information that comes from the sql in the blank spaces
    regards and thanks for the help in advance
    Mário

    hello, correct me if i say something wrong of yours steps:
                1) Create a Doc action block with three columns like: Shift,Quantity,Scrap......
                       and then i put another field Total....correct?!?! or not?
                2) Add SQLQuery Action block and configure it with already created SQL Query.
                       the result of my SQLQuery comes like this...
                       Yield                 Scrap
                       5000                 1100
                        this is the result of this query:
                       select sum(max(yieldqty)), sum(max(scrapqty))
                       from z_event
                       where linenumber= '[Param.1]' and shiftnumber = '[Param.2]'
                        and (eventtimestamp >= to_date('[Param.3] 00:00:00', 'dd.mm.YYYY hh24:mi:ss'))
                        and (eventtimestamp <= to_date('[Param.4]', 'dd.mm.YYYY hh24:mi:ss'))
                        group by ordernumber
                       its better that the shiftnumber comes to???if yes the result comes like this:
                         Yield         Scrap     ShiftNumber
                          3720          35                  1
                         30878         117                  1 
                3) Put a repeater action block below that and configre with XPATH.
                4)Add a Row action block,configure with Doc.output and map the each column from the repeater.
                5) Also add other row with the total and take the sum of the quantity and scrap.
                how to make the SUM?!?! There isnt SUM Function...
                 like this Total = Total + Repeater_0.Output{/Row/MAX_YIELDQTY_}    ???
    regards and sorry for all this questions
    matinha

  • How to create a group on the iPhone 4S?

    How to create a group on the iPhone 4S?

    yes  By using this group will it use the cell phone numbers?

  • How to create new or delete the existing row in the grid....

    hi my friends...
    i am developing report using Reuse_alv_grid_display...
    my requirement is... At runtime
              1.  i may create new row on the grid (empty row inwhich  i may enter the data).
              2.  i may delete a existing row in the grid
              3.  i may edit the existing data...
    then i have to trace the modification in the grid in one internal table...
    how can i get into this.....
    note:
    i have some idea to edit the existing record in the grid and trace those modification,
    but i don't know abt how to create new or delete the existing row....
    can you give me some idea...

    Hi deva,
    write a class which implemets these methods
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
    To handle the toolbar on alv
         handle_toolbar
           FOR EVENT toolbar OF cl_gui_alv_grid
              IMPORTING e_object e_interactive,
    To handle the buttons on the alv grid
         handle_user_command
           FOR EVENT user_command OF cl_gui_alv_grid
           IMPORTING e_ucomm.
    endclass.
    Now Implement these methods.
    CLASS lcl_event_receiver IMPLEMENTATION.
    To handle the toolbar on alv
      METHOD handle_toolbar.
       DATA ls_toolbar  TYPE stb_button.
        CLEAR gs_toolbar.
        MOVE 3 TO gs_toolbar-butn_type.
        APPEND gs_toolbar TO e_object->mt_toolbar.
        CLEAR gs_toolbar.
        PERFORM icon_create USING 'ICON_INSERT_ROW' gs_toolbar-icon.
        MOVE text-010 TO gs_toolbar-function.
        MOVE text-012 TO gs_toolbar-quickinfo.
        MOVE ' ' TO gs_toolbar-disabled.
        APPEND gs_toolbar TO e_object->mt_toolbar.
        CLEAR gs_toolbar.
        PERFORM icon_create USING 'ICON_DELETE_ROW' gs_toolbar-icon.
        MOVE text-011 TO gs_toolbar-function.
        MOVE text-013 TO gs_toolbar-quickinfo.
        MOVE ' ' TO gs_toolbar-disabled.
        APPEND gs_toolbar TO e_object->mt_toolbar.
      ENDMETHOD.
       METHOD handle_user_command.
    In this form, check the function code(e_ucomm has the function code), based on that do the required action.
    as i said yesterday(i.e for appending a row, deleting a row, modifying a row)
        PERFORM user_command USING e_ucomm.
      ENDMETHOD
    endclass.
    Before calling the alv method, create a object of this class.
    DATA :
          gref_event_receiver  TYPE REF TO lcl_event_receiver,
          gv_tables_alv          TYPE REF TO cl_gui_alv_grid.
          CREATE OBJECT gref_event_receiver.
          SET HANDLER   gref_event_receiver->handle_user_command
                        FOR gv_tables_alv.
          SET HANDLER   gref_event_receiver->handle_toolbar
                        FOR gv_tables_alv.
    check this program for event handling, it is the similar way
    demo_abap_objects_events
    Hope u understood this.
    Regards,
    Prasant
    reward if helpful

  • How can I create a drawing like the one pictured from a photo?

    How can I create a drawing like the one pictured from a photo?

    OK, you are getting closer. Now, use your result, and place a Layer above that. Use the Pen Tool to create the "pen strokes" basically tracing over your background image. Then, when you have created each Path (or Sub-Path), choose Stroke Path, with probably the Pencil Tool and a Brush size that is small enough.
    Not sure which versions of PS these are good for, but here are some plug-ins, that might be helpful.
    AKVIS Sketch
    EdgeLine
    Sketch Effects
    Sketch Master
    I see that one of my old favorites, Flaming Pear's India Ink is not around any more.
    Good luck,
    Hunt

  • How can i create a Laptop like the ones use in SAP TecEd?

    How can i create a Laptop like the ones use in SAP TecEd hands on labs? with all the NW products install on it.

    Hi,
    Vague question, but to create a laptop with the solution installed - you need to order the solution and and then install it on the laptop. Or download trial versions from SCN and install those as well.
    Regards,
    Srikishan

  • How to create a grid

    Hi Friends,
    How to create a Grid, not a form or table.
    I want a grid to hold about 10 fields.
    so :-
    f1 v1 f2 v2
    f1 v1 f2 v2
    f--fields
    v--values
    I can get it using simple form ,but it doesnot look like a grid.
    I need the look and feel of a grid.
    Thanks!

    Hi Naveen,
    Check http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf Section "7.6 Layout managers"
    It will give you the most exhaustive description of how to build a grid in WD.
    Best tregards, Maksim Rashchynski.

  • How to create exchange grid in web entry form...

    Hi to all,
    I am new to HFM..my query is How to create exchange grid in web entry form...i try it a lot but it didn't get the solution...
    i did this exchange grid in web grid..any one can share the document or ppt or video clip related to this..which will be helpful for me...
    Thanks

    Hi...
    Its better to create the Exchange Rates in a Data Form than in an Data Grid, so that you can easily Import and Export the form and even can feed the values easily....
    Select the POV like in Scenario-Actual,Year-Your particular year,Period-In Period Dimension do not choose any option so that it can be selected in Columns and Rows,View--the same as Period Dimension,Entity-[None],Value-<Entity Currency>,Account-Do Not select ,ICP- [ICP None],Custom 1-[None], Custom 2-[None], Custom 3-[None], Custom 4-[None]...
    In Columns Select Scenario -Actual,Period-{[Fourth Generation]},Currency-#USD(Default Currency)
    In Rows Select-Account-A#AVGRATE,View-w#Periodic,Currency-C2#EUR
    A#AVGRATE.w#Periodic.C2#CFA and so on for rest of the currencies....
    and same in the below rows for the Closing Rates---- A#CLORATE.w#Periodic.C2#EUR
    A#CLORATE.w#Periodic.C2#CFA
    This might help you.....

  • How to create many user in the same database

    hi
    my question is "How to create many user in the same database(application)?"
    for example, i have students, teachers, and staffs user using my application.
    i can create many users to use the same application right?, how ^^''' ???
    (right now i can only create application and then it shows every data in my DB
    but i want it to show only the data for the user who login to that application)
    Thanks.
    ps. i'm newbie, please help T^T

    You need to create a user table within your application that maintains their privileges. If you have LDAP you could use this for authorisation otherwise the table would handle that as well (store passwords etc). Your reports etc would then be filtered on information from this table.
    Check out some of the sample applications to see how authorisation and access is implemented (Online store is one). The how-to on the issue tracking system should also have some useful pointers.
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/issue_track.htm#BABBGBJG
    cheers,
    Ron

  • How to create a "Explorer" like in java

    i'm just wonderin if there's a way on how to create "Windows Explorer" like in Java wherein you can view all your directories with yellow folder icon and also you can view all your files and drives....
    And when you double click the yellow folder icon it will then expand and will show all the subfolders and files ...
    How????
    Thanks!

    Yes, there is a way. Look up JTree in the API.-can you post some code.... i cant figure out on how to use JTree...
    i'm still confused on where will i get the entire directories of my drives...
    thanks

  • How to create a validation for the project coding mask

    Hi,
    Would just like to ask how to create a validation for the project coding mask wherein the WBS elements hierarchy will be checked against the template saved. For example,
    project coding mask is XXXX-XXXXX-XX-X-X-X-00-X
    mother WBS should be XXXX-XXXXX-X and lower level WBS would be XXXX-XXXXX-XX.
    The validation should not allow a mother WBS to be XXXX-XXXXX-XX.
    How can we go about this?

    Hi Jacquiline Bersamin,
    You can use validation with the combination of the level and the coding mask.
    In the validation:
    Pre requisite: WBS level = 1
    Validation: Prps-posid = prps-posid :1-12:
    Message : Error
    If required you can give the parameters for your detail error message.
    Please let me know if this does not work.
    Thanks
    Regards
    Srinivasan Desingh

Maybe you are looking for

  • How do I "delete all" emails at one time ??

    I use POP3 email accounts. There isn't a slick way (that I can see) to select every email from your inbox and delete them. Has anyone come up with a solution for this ?? And please don't answer with: switch to an imap account. iPhone 4s Thanks!

  • ITunes app store update button not working

    I'm using iTunes 11 on a windows 7 pc, and the problem is that the for apps with update available, the app page in the store is shown to be "downloaded" and not clickable, whereas in iTunes 10 the button says "update". I have a quite large app librar

  • How to track Error message no.

    Hi, Could anyone please expalin how to track error messages using message no. Urgent??????????????????? Reg, CM

  • Creating a sales order with reference/BAPI_SALESDOCUMENT_COPY

    Hi, I have to create a sales order with a reference to another order and have to change some fields in the new document. According to SAP note 370988 the function BAPI_SALESDOCUMENT_COPY should allow to create a sales order with reference to another

  • Copy photos with info  and data to a cd

    I have Adobe Photoshop Album Starter Edition 3.2 and put in all the photos I had in my files. Then marked every single photo with information and data (a hell of work) and decided to make a backup copy on cd. To my astonishment on the cd all the phot