How to add a column to a list created with the Dynamic List Wizard to display the values of the fiel
Hi,
ADDT, Vista, WAMP5.0
We have 2 tables: clients_cli (id_cli, name_cli, tel_cli, and several more fields) and cases_cas (id_cas, idcli_cas, court_cas, and a lot of other fields).
Clients may have many cases, so table cases_cas have a foreign key named idcli_cas, just to determine which case belongs to which client.
We designed the lists of the two tables with the Dynamic List Wizard and the corresponding forms with Dynamic Form Wizard.
These two forms are linked with the Convert Dynamic List and Form Wizards, which added a button to clients list named "add case".
We add a client and then the system returns to the clients list displaying all clients, we look for the new client just added and then press "add case", which opens the Dynamic Form for cases, enter all case details and everything processes ok.
However, when we view the cases list it display all the details of the case, including the column and values for the foreign key idcli_cas. As you can image, it is quite difficult for a human to remember the clients ids.
So, in the cases list we added a another column, named it Name, to display the names of the clients along with cases details. We also created another recordset rsCli, selected the clients_cli table, displaying all columns, set filter id_cli = Form Variable = idcli_cas then press the Test button and everything displays perfect. Press ok.
Then, we position the cursor inside the corresponding cell of the new Name column, go to Bindings, click on name_cli and then click on insert. The dynamic field is inserted into the table cell as expected, Save the page, and test in browser.
The browser call the cases list but fails to display the values of the Name column. The Name column is simply empty.
This issue creates a huge problem that makes our application too difficult to use.
What are we doing wrong?
Please help.
Charles
1. Start transaction PM01, Create Infotype, by entering the transaction code.
You access the Create Infotype screen.
2. Choose List Screen.
3. In the Infotype no. field, enter the four-digit number of the infotype you want to create.
When you specify the infotype number, please remember to enter any leading zeros.
4. In the Screen Number field, enter the screen number of the list screen you want to enhance.
5. Choose Create.
The Dictionary: Initial screen appears:
6. Create the list screen structure.
7. Choose Activate.
8. Return to the Enhance List Screen in the Enhance Infotypes transaction (PM01).
9. Choose Create All.
The additional fields are displayed on the list screen, however, they contain no data.
The fields can be filled in the FORM routine FILL-LISTSTRUCT in the generated program ZPnnnn00. The FORM routine is called for each data record in the list.
Structure ZPLIS is identified when it is generated with a TABLES statement in the program ZPnnnn00.
The fields can be filled from the Pnnnn structure or by reading text tables.
Similar Messages
-
How to add a column in Item Master form with chooselist
Hi Experts
I add a column in Item Master Form in Stock Data Tab. In this column I want to add Choose list. For this I use AfterFormLoad event. It gives Error "Matrix Line Exist" . My code is given below
If pVal.FormType = "150" Then
form = B1Connections.theAppl.Forms.GetForm(150, pVal.FormTypeCount)
form.PaneLevel = 3
oItem = form.Items.Item("28")
oMatrix = oItem.Specific
Dim chooseObj As ChooseListClass
chooseObj = New ChooseListClass
chooseObj.AddChooseFromListBinCode(form.UniqueID)
oColumns = oMatrix.Columns
oColumn = oColumns.Add("BINCODE", BoFormItemTypes.it_EDIT)
oColumn.Width = 100
oColumn.DataBind.SetBound(True, "OITW", "U_BINCODE")
oColumn.TitleObject.Caption = "Def BinCode"
oColumn.Editable = True
oColumn.ChooseFromListUID = "CFL5"
oColumn.ChooseFromListAlias = "U_BinCode"
oColumn = oColumns.Item("U_BINCODE")
oColumn.Visible = False
End If
please give your suggestion
Regards
JitenderHi Noor
Thanks for reply
I tried your suggestion but problem still there. I am using after form load event. Here matrix has 9 lines (all warehouse). If remove the line then how can I reload warehouse data. Can you suggest in more detail.
my code is given below
form = B1Connections.theAppl.Forms.GetForm(150, pVal.FormTypeCount)
form.PaneLevel = 3
oItem = form.Items.Item("28")
oMatrix = oItem.Specific
MsgBox(oMatrix.RowCount)
oMatrix.DeleteRow(1)
Dim chooseObj As ChooseListClass
chooseObj = New ChooseListClass
chooseObj.AddChooseFromListBinCode(form.UniqueID)
oColumns = oMatrix.Columns
oColumn = oColumns.Add("BINCODE", BoFormItemTypes.it_EDIT)
oColumn.Width = 100
oColumn.DataBind.SetBound(True, "OITW", "U_BINCODE")
oColumn.TitleObject.Caption = "Def BinCode"
oColumn.Editable = True
oColumn.ChooseFromListUID = "CFL5"
oColumn.ChooseFromListAlias = "U_BinCode"
oColumn = oColumns.Item("U_BINCODE")
oColumn.Visible = False
oMatrix.AddRow(1)
Thanks
Waiting for reply
Regards
Jitender -
FBL5N : how to add a column of the Account's name?
Hi,
the list displayed by Tcode : FBL5N contain only the number of account, please how to add a column of Account's name ?
Please advise
Regards.When you are in the FBL5N display results screen, use the menu option Settings --> Special Fields.
There are also the following notes which would explain you how to add special or new fields to the line items :
- 310886 Line items: Dynamic selections ignored
- 215798 FBL*N: Special fields are not displayed
- 373268 Line item: new display field
The special field has to exist in table T021S. -
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 -
How to add a column in table control
Hi ,
Can any one tell me how to add a column in table control? My requirement is to add two columns ( custom fields ) into table control ( It is a standard program). I have added the column in the table and also in the table control. But when I am running the standard program, The newly added column is not there. But I have added in the perticular screen. Change is not reflected.
Can anyone help me on this please.
Thanks in advance.
Regards,
Lakshmi.Hi,
Ensure the following :
1. After adjusting the database, you`ll have to use the database utility and activate the table.
2. If you have changed the standard screen, in tcode se80 -- right click on the program and click activate all. This activates all objects related to that program.
Now execute the program.
Reward if helpful.
Regards -
How to add different columns in a single dashboard prompt?
Hi
I am new to this forum. I got a new requirement, my client is asking me to show multiple columns with multiple tables in a single dashboard prompt
for Ex: Column name Table name
1. Customer 1. Customer Details
2. Market 2. Region
3. Order 3. Order Status
4. Product 4. Product Type
He wants to show all these column names in a single prompt when user click on the particular column name it should appear on report. Is it Possible? if possible tell me how?See this thread...
Re: How to add new columns by using Multiselect -
How to add two columns in OBIEE report?
Hi to All,
Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
Thanks in Advance,
ThenmozhiAssume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
Let me know if you are looking for something else.
Thanks -
In Advanced search Page, How to add custom column under property restrictions?
Hi,
The Navigation control can be added into your HTML page in the Snippet Gallery:
The two links below about how to create HTML master page and adding snippets needed into it for your reference:
http://borderingdotnet.blogspot.jp/2012/12/how-to-create-html-masterpage-for.html
http://msdn.microsoft.com/en-us/library/office/jj822370(v=office.15).aspx
Feel free to reply if there still any question.
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
How to add multiple columns?
Using designer API, how to add multiple columns to the repository tables? I want to add number of columns at a time instead of adding column by column.
Thanks in advance.Can you use sqlplus?
ALTER TABLE table_name ADD (column_name data_type), (Column_name datatype),...
Check the SQL Reference 11-9.
Hope this helps.
Bill Swanson -
How to add one column in existing search help.
Hi Folks,
My quesion is
How to add one column in existing search help and also Now search help on that field is not an explicit search help. It should be implement using check table.
ShivamHi,
If you want to add a field in Elementary search help, get the search help name for the and go to change mode and add the field in it.
If you want to add a field in collective search help, go to included search helps tab and a new search help name and add the fields to it.
I think this should help you to certain extent.
Regards,
Kranthi
Edited by: Kranthi on Jan 14, 2010 11:15 AM -
How to add one column to the standard t.code : CAT2.
Hi,
How to add one column to the standard t.code : CAT2.
thanksHi Chinna
see the enhancements by using SMOD <b>CATS0007</b> , or <b>CATS0012</b> and create a project using CMOD and you can implement your requirement.
Hope This Info Helps YOU.
<i>Reward Points If It Helps YOU.</i>
Regards,
Raghav -
How to Add the Dynamic List Wizard Form to a Spry Accordion Panel?
Is it possible to add ADDT Dynamic Forms to the Spry Widgets?
- I have been trying to add the Dynamic List Wizard to my existing Accordion but everytime I do, the Accordion turns into plain text?
-Also, If it is possible then how do I target the Panels and have the detail record open up in Panel number 2?
I plan on having the ADDT Dynamic Form in Panel 1, and want the Add, Edit, New, Delete form to open up in Panel 2.
Thanks for your help,
jligI figured this out.
1) First add all the Fields to the Form using the ADDT Insert Record Form Wizard.
2) View the ADDT form in the browser to make sure the fields all display.
3) In DW design view, move the cursor just to the left of the ADDT Form and hit Enter to Add a line just above the ADDT Table.
4) With the cursor below the Red Form line and just above the ADDT table add the SPRY widget. (ex..Tabs)
5) Now highlight the rows you want to move & hit Cut, then open up Tab1, highlight Content1 and hit Paste.
I decide to leave my date_added, modified_By & date_modified fields below the SPRY tab widget so that these fields are visible all the time. When I click on the Insert button, the record was added correctly to my Table after Validation passed.
Thanks,
jlig -
How to add new columns in predefined matrix in system form
Hi all,
I am new to SAP B1. I am going to add New column to Good Receipt PO matrix. I faced the one error " Matrix Line Exists " While adding new column to good receipt PO matrix".
=========================================================
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
oMat = oForm.Items.Item("38").Specific
oCols = oMat.Columns
oCol = oCols.Item("U_MyCol")
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.BeforeAction = True And pVal.FormType = "143" Then
Try
oForm = SBO_Application.Forms.Item(pVal.FormUID)
oMat = oForm.Items.Item("38").Specific
oCols = oMat.Columns
'oCol = oCols.Item("U_MyCol1")
oCol = oCols.Add("U_MyCol1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oCol.TitleObject.Caption = "Qty Accepted"
oCol.Width = 40
oCol.Editable = True
oCol = oCols.Item("U_MyCol1")
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
End If
oDBDataSource = oForm.DataSources.DBDataSources.Add("PDN1")
''oEdit.DataBind.SetBound(True, "PDN1", "U_QtyAccepted")
============================================================
And i also added for Datasource to Databind. what there is no result ??i wanted Clear information regarding this to add new columns in matrix in middle of Matrix items. I wanted Clear coding& information for this to add new Columns in Matrix ?help me regarding this asap??
Regards
ANANDAnand,
If you use the "search" feature of this forum and type "add column", you will find many posts that may help you such as this one ...
How to add a column on sales order matrix?
HTH,
Eddy -
How to add Two Columns in SQL
For Example
Jan Feb
215 NULL
How to add these two values in SQLAnything + NULL is NULL.
Check this:
SQL> SELECT 1 + NULL from dual;
1+NULL
SQL> You have to do this:
SQL> with t as (SELECT 235 JAN, NULL FEB FROM dual)
2 SELECT NVL(JAN,0) + NVL(FEB,0) FROM t;
NVL(JAN,0)+NVL(FEB,0)
235
SQL> -
How to add customize columns to update logic of vanilla etl code
Hi Experts,
How to add customize columns to update logic of vanilla etl code.
example we added a column and passes through custom expression and passed to target it worked fine for full load.
but when the code move to QA we found defect that some of the data is not loaded. we are unable to get the updated data for customize columns.(not incremental load using DAC)
In documnet it was mentioned to add to update logic port. can any one help us in this issue.
Thanks
NareshYou now that you need to ask BI Apps related questions on this forum: Business Intelligence Applications because I see the same question here: How to add customize columns to update logic of vanilla etl code
This kind of cross-posting isn't correct forum behavior.
Regards,
Stijn
Maybe you are looking for
-
Is the canvas something like "the final output"? Or is that the viewer?
I am making a video of my HD footage i shot with my Full HD Camcorder (Sony HDR-SR12). When i go through te timeline and play something, it shows fully in my viewer, but in the canvas i get only a selection of the full image (it seems that it is zoom
-
FW CS5 - Severe Color Sample Issue
Howdy, I know there is another thread on color variations when using the color sampler but I am having a severe issue with sampling colors. No matter what I color sample the color it gives back is way off. An example would be purple comes back as a l
-
Error code -13 when building installer
Hello, I need some help! I am trying to create an installer for my application; which was created with no problems; but I keep getting a message about an error code -13. I'm adding an image of the message since it is a long one. I really don't unders
-
i installed tata docomo micro sim in i phone 4s but phone showing no sim installed but other mobile recogmnise it. plase help
-
After Effects and Premiere dont start on a new Mac.
Heyho community, one thing up front... my english is not the best, so please be patient if i dont understand everything straightaway. my macbook is just a few weeks old, means i am a noob to mac osx. i recently installed the adobe creative suite and