How to add hierarchical Grid ActiveX in B1
hi all
i want to use hierarchical grid activeX provided by .Net
in business one but unable to use it
i can easily add the activeX in business form but unable to bound it with any datasourse.
i want a grid which display all the data returned
by any query or store in any recordset.
Hi Sébastien,
I see a lot of requests for your sample(s) and nearly everybody writes the plain email address in the reply!
Maybe you are not aware that spammers might use Internet search engines to filter them out and use them...; I propose to at least manipulate the addresses so that a "human being" can change it back to the real address (e.g. sth like JonMurdoch@_I.don't.like.spam_sdnmail.com) whereas a "machine" might find it too diificult...
But basically, I would like to propose to send the sample via https://www.sdn.sap.com/sdn/submitcontent.sdn to the SDN people to prepare a download (as well as your UDO sample???)!
Thanks,
Frank
Similar Messages
-
Elements 9 - how to add the grid over "free transform" to twist an image/layer
Hi Every one!
Im sure I asked this before, but I cant for the life of me find the post!! I think I must have dreamed it!! (shame I didnt dream the answer lol)
OK so Im now on photoshop elements 9, Is there a way to properly bend and transform a layer? I USED to for to free transform (control
+T) then click on a grid at the top of the screen which ment I could bend any part of the picture...
If I tell you what Im trying to do it might help?
Im trying to bend a rainbow.. at the moment Ive used the rectangle tool and created a rectangle rainbow, but Id like to bend it into shape, maybe even distort it a little to look like this...
stbanabaspreschool.vpweb.co.uk/default.htmlWell, I think the best way to create a rainbow would be to use a vector program, but there's a way to use PSE9 to get a rainbow effect that might be useful.
Create a new image.
Use the fill tool with a spectrum fill (I used the "Medium" spectrum):
Create a small, tight circular fill:
Zoom in to give yourself room to work on it.
Make a circular selection around the outer edge of the spectrum, invert the selection and delete it:
Make a small circular selection in the center, delete that; make a rectangular selection covering the bottom half and delete that:
Select the spectrum and use Layer...New...Layer via Copy to get the spectrum on its own layer with a transparent background. Then squish the spectrum:
Rotate the spectrum 90 deg. right and move it to the left of the image area:
Use Filter...Distort...Shear with these settings to pull the spectrum into an arc:
Rotate the spectrum back left, and transform it into something useable:
The layers look like this:
It ain't perfect, but might be good enough.
Ken -
Add Array grid report into Layout/tab ExtJS?
How to add Array grid report into Layout/tab ExtJS?
Array grid examples are from >
http://apex.oracle.com/pls/apex/f?p=43040:4:467728553403435
js>
Ext.onReady(function(){
4
5var munkyData = [
6
7["7369","SMITH","CLERK","7902","17-DEC-80","800"," ","20"]
8,["7499","ALLEN","SALESMAN","7698","20-FEB-81","1600","300","30"]
9
10,["7521","WARD","SALESMAN","7698","22-FEB-81","1250","500","30"]
11
12,["7566","JONES","MANAGER","7839","02-APR-81","2975"," ","20"]
13
14,["7654","MARTIN","SALESMAN","7698","28-SEP-81","1250","1400","30"]
15
16,["7698","BLAKE","MANAGER","7839","01-MAY-81","2850"," ","30"]
17
18,["7782","CLARK","MANAGER","7839","09-JUN-81","2450"," ","10"]
19
20,["7788","SCOTT","ANALYST","7566","09-DEC-82","3000"," ","20"]
21
22,["7839","KING","PRESIDENT"," ","17-NOV-81","5000"," ","10"]
23
24,["7844","TURNER","SALESMAN","7698","08-SEP-81","1500","0","30"]
25
26,["7876","ADAMS","CLERK","7788","12-JAN-83","1100"," ","20"]
27
28,["7900","JAMES","CLERK","7698","03-DEC-81","950"," ","30"]
29
30,["7902","FORD","ANALYST","7566","03-DEC-81","3000"," ","20"]
31
32,["7934","MILLER","CLERK","7782","23-JAN-82","1300"," ","10"]
33
34];
35
36var store = new Ext.data.SimpleStore({
37 el: store,
38 fields: [
39 {name: 'empno', mapping: '0'},
40 {name: 'ename', mapping: '1'},
41 {name: 'job', mapping: '2'},
42 {name: 'mgr', mapping: '3'},
43 {name: 'hiredate', mapping: '4'},
44 {name: 'sal', mapping: '5'},
45 {name: 'comm', mapping: '6'},
46 {name: 'deptno', mapping: '7'}
47 ]
48 });
49
50store.loadData(munkyData);
51
52var grid = new Ext.grid.GridPanel({
53 el: grid,
54 store: store,
55 columns: [
56 {id:'empno',header: "Employee",sortable:true, width:100,dataIndex:'empno'},
57 {header: "Name", sortable:true,width:75, dataIndex:'ename'},
58 {header: "Job", sortable:true, dataIndex:'job'},
59 {header: "Manager", sortable:true,width:75, dataIndex:'mgr'},
60 {header: "Hire Date", sortable:true,dataIndex:'hiredate'},
61 {header: "Salary", sortable:true,width:50,dataIndex:'sal'},
62 {header: "Commission", sortable:true,dataIndex:'comm'},
63 {header: "Department", dataIndex:'deptno'}
64 ],
65 stripeRows: true,
66 width:700,
67 autoHeight:true,
68 title:'Array Grid'
69 , renderTo: 'munkyDiv'
70 });
71});
any references?
regards
GordanHi Mark,
thanks for reply, I was making example on
http://apex.oracle.com/pls/otn/f?p=43048:22:2659745156195172
using debug grid layout and put into REGION_05
...< div id = "munkyDiv" > #REGION_POSITION_O5# < / div>
in this way I can add 1,2,3 or more reports as tab and grid.
Simple example as first step is basic layout (integration ExtJS and Apex)>
http://apex.oracle.com/pls/otn/f?p=43048:15
username/pass EXTJS/EXTJS
regards
Gordan
Edited by: useruseruser on Aug 8, 2010 2:51 PM
Edited by: useruseruser on Aug 8, 2010 2:52 PM -
How to add check box in SAP B1 grid controls..
hi all,
Anyone know how to add check box in SAP grid control?
It will be great if you could show me some sample code.
thanks.
regards,
sohchHi Sohch,
1. First of all you should define the Column in a matrix as it_CHECK_BOX. Like
oColumns = oMatrix.Columns
oColumn = oColumns.Add("chk_YesNo", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
oColumn.TitleObject.Caption = "YesNo"
oColumn.Width = 60
oColumn.Editable = True
2. Bind it with a DBDataSource as defined
oColumn = oColumns.Item("chk_YesNo")
oColumn.DataBind.Bind("UDTable", "U_YesNo")
3. Make Sure that the value that is being put into the Database is either 'Y' or 'N'.
Hope this Helps
Rizwan Hafeez
Team Lead
SAP Addon Development Section
Abacus Consulting - Pakistan -
How to Add a new Currency in HFM Data form and grid (Rates)
Hi Gurus,
Am very new to this forum.
Can someone explain me how to add a new currency to the existing data for or grid in the Workspace.
Regards,
VinodHi Sandeep,
To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location. -
How to add a new server to the grid control
Hi ,
OEM 10g grid control has already bee installed n our site . But I don't know how a add /configure a new sever / database into that . Do I need to install the agent software on the destination machine OR is there any way to add the new sever from the 10g grid control itself ... Please help me out . You can also revert me back on my id [email protected]
redgs
RAHULthnx for replying .
Could you please tell me the patch number that I need to download for OEM grid control 10.2.0.3 . Actually I searched for lot of docs . But didn't found doc regarding installation of oem agent and agent PATCH number .
So , Please revert back with necessary Patch number and all the steps that I need to be follow . Thanx in advance
regds
RAHUL -
How to add radiobuttons in ALV Grid
Hi,
I refered the threads in SDN but i am not able to get proper solution for my requirement.
I am displaying output in ALV Grid format. After displaying the output i mean in the output screen i need few buttons and radio buttons . when user selects the record and clicks the radio button accordingly my logic should work. Anybody can tell me how to add the radiobuttons in the output of the screen. Please find the below output format for the requirement is
Push button1 Pushbutton2 Radiobutton1 Radio button2
MY program output in Grid format.
Anybody can suggest me how to approach.
Regards,
MaheedharCheck if this link helps..
http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-RadioButtonsinALVGRIDREPORT -
How to add the REFRESH button in OOPs ALV grid
how to add the REFRESH button in OOPs ALV grid
Hi Naidu.
Check the below code:
Local Class Definition and implementation For events handeling
CLASS LCL_EVENT DEFINITION .
PUBLIC SECTION.
METHODS :TOOLBAR FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
IMPORTING E_OBJECT,
USER_COMMAND FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
IMPORTING E_UCOMM.
ENDCLASS.
CLASS LCL_EVENT IMPLEMENTATION.
METHOD TOOLBAR.
WA_TOOL-FUNCTION = 'ZFC1'.
WA_TOOL-TEXT = 'TEST'.
WA_TOOL-ICON = '@EA@'.
APPEND WA_TOOL TO E_OBJECT->MT_TOOLBAR.
ENDMETHOD. "DISPLAY
METHOD USER_COMMAND.
IF E_UCOMM = 'ZFC1'.
ENDIF.
ENDMETHOD. "USER_COMMAND
ENDCLASS. "LCL_EVENT IMPLEMENTATION
MODULE STATUS_0200 OUTPUT.
SET PF-STATUS 'ZALV_BTON'.
SELECT * FROM VBAK INTO TABLE GT_VBAK
UP TO 30 ROWS.
**** CREATE CONTAINER OBJECT
CREATE OBJECT MY_CONTAINER
EXPORTING
CONTAINER_NAME = 'CC1'
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
OTHERS = 6 .
****** GRID TO CONTAINER
CREATE OBJECT ALV
EXPORTING
I_PARENT = MY_CONTAINER
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
OTHERS = 5.
CREATE OBJECT OBJ.
SET HANDLER : OBJ->TOOLBAR FOR ALV.
SET HANDLER : OBJ->USER_COMMAND FOR ALV.
****** ALV DISPLAY
CALL METHOD ALV->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'VBAK'
CHANGING
IT_OUTTAB = GT_VBAK[]
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
OTHERS = 4.
ENDMODULE. " STATUS_0200 OUTPUT
*& Module USER_COMMAND_0200 INPUT
* text
MODULE USER_COMMAND_0200 INPUT.
IF SY-UCOMM EQ 'BACK'.
LEAVE PROGRAM.
ENDIF.
ENDMODULE. " USER_COMMAND_0200 INPUT
Regards
Kumar M -
How to add linked button in grid?
Hi,
Does anyone know how to add linked button in a grid? I can't find it but i saw someone ask similar question but seems none of them works.
Thanks a lot!
P.S. For some reason, i can't use matrix because the data is from a SQL query.
LanHi,
as far as I know it is not possible, since this adjustment is made for the whole column. I have created a grid and I open the shown document by double clicking the row header. In the grid I can see if it is sales or purchase and so I use a workaround by opening the specific system form (e.g. sales invoice) in find mode and search the document by document number (also shown in the grid).
Sample:
oSBOapp.ActivateMenuItem("2053"); //sales invoice
oForm = oSBOapp.Forms.ActiveForm;
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
oEdit = (SAPbouiCOM.EditText)oForm.Items.Item("8").Specific;
oEdit.Value = Convert.ToString(dNum);
oForm.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular);
By the click event, you get the specific row number. Hope it helps...
Regards
Sebastian -
How to add a push button on an ALV grid ?
Hi,
How to add a push button on an ALV grid, using ON_TOOLBAR, ON_USERCOMMAND Methods. Clicking on that push button, a new screen has to be displayed.Hi,
Assuming that you want to have a "push-button" column, i.e. push-buttons within an ALV grid then you need to implement the following steps:
(1) Set the style of the column as button
ls_fcat-style = CL_GUI_ALV_GRID => MC_STYLE_BUTTON.
(2) When the user pushes the button event BUTTON_CLICK is triggered. Thus, define an appropriate event handler method.
<b>Reward points</b>
Regards -
How to add F1 help for a field on ALV grid
Hi All,
When we execute a program, the output is displayed using ALV grid.
on the ALV grid, if we press F1 on a field, it should popup the help document.
How to add F1 help for a field on ALV grid.
Thank you all in advance.fill field LVC_S_FCAT-ROLLNAME of your fieldcatalog in method SET_TABLE_FOR_FIRST_DISPLAY
A. -
How to add ALV button using OO in module pool program using ALV grid
Hello Gurus!!!
Want some tips related how to add button using ALV Grid(OO).
I want to display the button for search, sort ....
Please suggest the step -by-step procedure for implementation of these button.
I am designing the code for transaction FB03. Header data has been displayed but want to display the line items.
Kindly suggest your answers.
Thanks,
SachinHi,
CLASS SELSCR_APPLICATION DEFINITION DEFERRED.
CLASS SELSCR_APPLICATION DEFINITION.
PUBLIC SECTION.
METHODS:
HANDLE_TOOLBAR
FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
IMPORTING E_OBJECT E_INTERACTIVE,
HANDLE_USER_COMMAND
FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
IMPORTING E_UCOMM.
ENDCLASS. "SELSCR_APPLICATION DEFINITION
CLASS SELSCR_APPLICATION IMPLEMENTATION.
METHOD HANDLE_TOOLBAR.
DATA: LS_TOOLBAR TYPE STB_BUTTON.
append SAVE icon
CLEAR LS_TOOLBAR.
MOVE 'SAVE' TO LS_TOOLBAR-FUNCTION.
MOVE ICON_SYSTEM_SAVE TO LS_TOOLBAR-ICON.
MOVE 'Save' TO LS_TOOLBAR-QUICKINFO.
MOVE ' ' TO LS_TOOLBAR-DISABLED.
APPEND LS_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
CLEAR LS_TOOLBAR.
ENDMETHOD. "handle_toolbar
METHOD HANDLE_USER_COMMAND.
CASE E_UCOMM.
WHEN 'SAVE'.
PERFORM UPDATE_FIELDS.
ENDCASE.
ENDMETHOD.
ENDCLASS. "SELSCR_APPLICATION IMPLEMENTATION
these lines should be after calling method SET_TABLE_FOR_FIRST_DISPLAY
SET HANDLER G_APPLICATION1->HANDLE_TOOLBAR FOR GRID1.
CALL METHOD grid1->set_toolbar_interactive.
rgds,
bharat. -
How do you add a grid on the viewer?
How do you add a grid on the viewer so you can lign up text and whatnot? Thanks!
I do just as you outline. It's covered in my article on Alignment Grids: http://forums.adobe.com/message/4319250#4319250
I also agree that the Snap Tto Grid would be nice, like in Photoshop. I have sent in several Feature Requests for Grids, with full functions, like Snap To, though not recently.
Hunt -
How to add ChooseFromList in the Grid!!
I would like to know how to add a ChooseFromList in the Grid. I am using SAP B1 2005 and to program in VB.Net.
Hi Carlos... In order to set the ChooseFromList UID and alias you need to convert the GridColumn into an EditTextColummn.
Like this (C#)
oGrid.Columns.Item("UID").Type = BoGridColumnType.gct_EditText;
EditTextColumn editCol = (EditTextColumn)oGrid.Columns.Item("UID"));
editCol.ChooseFromListUID = "UID";
editCol.ChooseFromListAlias = "Alias";
Hope it helps -
HOW TO: Add /manipulate columns for a GridControl
HOW TO: Add /manipulate columns for a GridControl when the columns (attributes) are from different entity objects.
This HOWTO describes the basic steps of using attributes from different entity objects for a GridControl.
One way you can create a GridControl which contain attributes from different entity objects is to create a view object and base it on the entity objects which contain
the desired attributes.
Here are the basic steps:
1.Create a new view object (or use an existing view object) by selecting File>New from the menu, clicking the Business Components tab and double-clicking
on the View Object icon.
2.In the View Object wizard change the name to something meaningful.
3.Select the entity objects you will base your view object on.
4.Nivigate to the attribute screen and select the attributes you would like to include in your view object from each entity object. At this point you can also create
a new attribute by clicking the "New" button. The new attribute can be a concatenation of other attributes, derived from a calculation etc.
5.In the query panel of the View Object wizard, click "Expert mode" and enter a query statement. You write complex queries such as decoding a set of attribute
values.
6.Add your newly to your newly created view object to the application module by double-clicking on the application module in the navigation pane and selecting
your view object from the list.
7.Create a new row set.
8.Bind row set to a query by editing their queryinfo property and selecting your view object and its attributes from the queryInfo pane.
9.Create a GridControl and bind it to the row set by editing the dataItemName property of the GridControl. Since the GridControl is bound at the row set level
all of the related attributes are automatically added.
nullMichael,
Are you intending this as a commercial solution or a work around?
To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
null
Maybe you are looking for
-
Help! My button is huge, ugly, and non-button like...
Hopefully this is an easy one. But I'm just stumped why I can't shrink this button down. Its taking up the entire SOUTH despite that I am trying to set its dimensions explicitly with setSize. This is in an Applet. Can someone tell me why setSize is n
-
Video is randomly distorted (color inverted) in Premiere Pro CC 2014
Below is a screen grab of what the distortion looks like. It happens regardless of CODEC, sequence setting or type of video file. It happens to MPG, MOV and AVI files equally. It even happens to still graphics. Here are the particulars for my compute
-
Hi gurus, I have customised planning layouts and folders for BPS. When the client is trying to use the system, they are locking each other in folders with different layouts. How do i fix this problem. They are getting the following error message: Dat
-
Ethernet configuration with SMC router and Titanium
This concerns a Titanium Powerbook G4/500 and an SMC 2804WBR router. I plugged in a known-working Ethernet cable, and in System Preferences/Network, under Network Status for Built-In Ethernet, I got the message "The cable for Built-In Ethernet is not
-
Problem accessing application from portal
I am trying to access an application running on iAS 6 SP2 from iPS 3.0 SP4. App server and the portal server are running on two diff Solaris machines.I am using URL Scrapper. In the application I am trying to get the portal session : Session lPortalS