Hiding items in system form by changing record
Hi,
I have on system form textbox binded to UDF. If user change the record, the textbox is not showing. I know about possibility to catch events like form_load, resize and data_load where I can set visible to true to this textbox, but my question is, if exists some better method how to say to SBO that this field will be always visible.
thx
Petr
I found the problem, in some forms in diferent modes is set diferent panelevel...
Similar Messages
-
Refresh view forms after change records in db?
Hello,
I have problem with refresh view in master-detail form. If I press button with trigger which inserts records in master and detail table, I see change only in master table in forms. In trigger is clause execute_query; but it doesn't work. If I refresh internet search (internet explorer) then I see change in all tables, but I want see this changes after press button with trigger.
Any suggestion?
regards PsiezulThis is large trigger and I make simplest this code.
There are two tables: sprawy and watki. Table sparwy is master table and watki is detail table. And button with trigger is on master object in forms.
DECLARE
BEGIN
SELECT * INTO rekord_sprawa FROM sprawy WHERE .......;
--some changes on records rekord_sprawa, and save this records in DB.
INSERT INTO sprawy(........) VALUES(.......);
COMMIT;
In this palce is ok and I see changes on my form in IE.
Under are records which are inserted in database, but I can't see this changes in form.
If I take count_query, then I get message that there are new records, but if I press execute_query, forms told my that, there aren't any records ! In DB are all records which I inserted. But If I click refresh on Internet Explorer, that I see changes.
SELECT * INTO rekord_watek FROM watki WHERE .......;
INSERT INTO watki(......) VALUES(........);
COMMIT;
END LOOP;
END;
Execute_query;
It's not work(execute_query) for second table 'watki' which is visible in detail component.
Sorry for my terrible english
regards
I find solution but not very good
open_form('dokument');
close_form('dokument');
this clauses make refresh all table in master-detail model.
Edited by: user515960 on 2010-06-08 04:56 -
hello,
I want to read the user input in the system item master form. The data is not in database. Could i read it via datasource?? Is there any easy way to do this?? Any idea?? My version is 2005A SP:01 PL:11
Regards,
KitIf the data is not in the database, usually you should
use UserDataSources. Read the e-learning section to
understand how this works. -
How to control item between Form mode change
Hi Experts
I am using B1DE to do something like some item's enable status will be changed following the Form mode change.
For instance, add a new matrix into system form, if changing the Form mode to Find, I want to disable this matrix, if changing to Add mode, the matrix should be enable.
Do you how how to do this?
Thanks
TimHi,
You need to capture Menu Event in your code and can make matrix either editable or non editable.
Sub MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean)
Try
Dim oForm As SAPbouiCOM.Form = objMain.objApplication.Forms.ActiveForm
If pVal.BeforeAction = False Then
If pVal.MenuUID = "1281" Then // For Find Mode
//make matrix editable or non editable
End If
End If
Catch ex As Exception
objMain.objApplication.StatusBar.SetText(ex.Message)
End Try
End Sub
regards:
Sandy -
What is difference between additive delta and new status for change record
Hi Experts
Can any one explain me about the difference between additive delta and new status for change record with example
if any one has a document please post it iam thank full to u
thanks
Ahmed
Please search the forum before posting a thread
Edited by: Pravender on Feb 12, 2012 1:54 PMHi
Additive delta --- We will get the changed quantity.
say suppose you have sales order and quantity like 1111 30 which is loaded to cube(BW).
now same record qty has changed from 30 to 40. As we have additive delta, we will get new record as 1111 10.
new status for change record: This is same as like After image delta type in standard SAP data sources. for every change in record you should have new record.
say if you have any number which will be generated by system for new/changed record, then you can use this.
You can use this option when delta option set to "numeric pointer"
Regards,
Venkatesh -
Item ID for Minimize, Maximize button at system form title bar
Hi,
Can anyone help me out finding Item ID for Minimize, Maximize and close buttons at system form title bar (Left side Title of form and right side three buttons). I need ID for these items, if anyone knows please reply. will appreciate help on same.
Thanks,
JayI'm tryin to get over with Item master screen strech machenism. I've Added matrix at pane 6 and position is not fixed when ever form is rezised or base product font size is changed. I've alredy tried providing values to top left width height through oexisting item vaues, I'm not using any integer value. Let me know if i can freez it's position ....... Sample code below
oExistingItem = oForm.Items.Item("174")
oItem = oForm.Items.Add("mtx_MFGALS", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
oItem.Top = oExistingItem.Top + oExistingItem.Height + oExistingItem.Height
oItem.Width = oExistingItem.Width + oExistingItem.Width
oItem.Height = oExistingItem.Width
oItem.Left = oExistingItem.Left
oItem.FromPane = "6"
oItem.ToPane = "6"
oMatrix = oItem.Specific
oMatrix.Columns.Add("Col0", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oMatrix.Columns.Item("Col0").TitleObject.Caption = "Line #"
oMatrix.Columns.Add("Col1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oMatrix.Columns.Item("Col1").TitleObject.Caption = "Name"
oMatrix.AutoResizeColumns()
Regards,
Jay -
Hi All,
Is it possible to change the name/description of system forms? For eg. I want to change the name of "Sales Order" form to "Service Order" or probably something else..can this be done?
If it is possible, can anyone please help me with a sample code? Also, if the changes are possible then will the name change also reflect in the main menu?
Thanks in advance.HI,
Write this code inside Item Event
If pVal.FormTypeEx = "139" Then
If pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD Then
Dim oForm As SAPbouiCOM.Form
Try
oForm =SBO_Application.Forms.Item(FORMUID)
oForm.Title="Service Order"
Catch ex As Exception
End Try
End If
End If
Hope this will help you
Regards,
BBN -
How can i change the title in the system form 'Sales Order Form'
hai
how can i change the title in the system form 'Sales Order Form' and then how can i call this form?Hi Sanjoy,
You find the form property like this :
SAPbouiCOM.Form oForm = null;
oForm = SBO_Application.Forms.Item(pVal.FormUID);
oForm.Title = "New Title";
Michael -
New outputs generated when changing logical system in output master record
Hi!
We are sending documents from ECC 5 to a legacy system via XI/PI. We are about to move from an old XI installation to a new PI installation. The output record used (for example in a billing document) is set up based on logical system. When moving from the old to the new platform, we need to change the output records from the old logical syste to the new logical system. However this leads to generation of new outputs in all billing docs when opened in change mode. This goes also for billing docs where we already generated outputs via lthe old logical system in the past. Is there any solution to prevent the automatic generation of outputs for documents where the condition type already was successfully processed (as it works when the logical system is not changed)?
Best regards
/BjörnNormally the same output is not supposed to be generated, unless 'Multiple issuing' checkbox is checked in the output type configuration.
Also you can probably add a requirement in the output determination procedure and check if output record already exists. Take a look at the standard 'Reprint' routine, kind of the opposite is needed in this case. -
No IDOC's for the change record in child and CUA systems.
Hi,
The user profile was modified and assigned roles and profiles on so and so date by someone as it is showing in the change record of the user in the child system with a batch user id.
I have search the IDOC's with respective of the child system, date & time but I didnu2019t find any IDOC with respective of the above criteria.
So kindly help me out is there a way I can find the information as who changed the user profile via CUA system....
Thanks for your help...
Thanks & Regards
Sukumar. VRelease:
700 Master & Child
SP level
Can i know for which area you need it...
BASIS
0015 Master
0013 Child
Netweaver
0016 Master
0015 Child..
Please let me know if you need any further info....
SV -
Form Component changing the Item Name to match new Column Name
I have a working Portal Form Component that is associated with a
particular database table. If for some reason a table column
name is changed, is there a way to modify the Item in the Form to
use the new column name?I can not guarantee that this will work. But try this:
1) Create a copy of the form (for backup).
2) Now edit the original form.
3) Delete the Item(Database Column Item) that has been renamed.
4) Now add an item with the same name as that of your new
database column.
Pls tell if it worked or not.
Good Luck,
Chetan. -
How to re-query changed record in multi-row block after update in a called form
Hi,
I have a form that I use to perform searches, which is a multi-record block.
The user can navigate to a record, press a button on call another form which provides
more detail, and allows update of the record.
If the user changes it, and returns to the original search form, how can I re-query the
changed record to update the fields on the search form.
Is there a way other than to re-query the
whole block - a built-in to just update on record if it's changed on the database.
If not, can I use globals to pass back the data (since only a few fields are updatable),
and change the record without effecting its forms status.
Many thanks
BernieBD,
I haven't managed to look at a solution yet, but the block is a large multi-row block,
with an ORDER BY, and since it can return a large number of records, there is a short
delay. I was hoping there was a way of just
re-querying the one record, which was displayed
in the second form for update.
I'll give the query a go, or might try and pass back some globals with the update values.
By the way, DML Return Value is an excellent feature, but only works against Oracle 8.
It basiclly adds the RETURNING clause to any DML statement (see SQL manual), so that if
a trigger changes/adds values you didn't provide, it will return them back to you
so the values in your form are correct.
I use a trigger on the DB to populate history fields (create/update,who/when) and
the PK sequence. Using this feature, those values are returned to the block and displayed.
Regards
Bernie -
How can I change the tax formula in system form ?
Hi,
Usually the tax is extra-added for 5% in calcaulating.
But now I need to change the formula of tax to be embeded.
How can I change the tax formula in system form ?
Besr regard!Great!
I suppose "Speed-button" is the same as "toolbar button", right?
To all (more or less):
It confirms that I am on the right track when I bother the participants in this forum time-after-time with remarks to train themselves - or get trained - in application + customization features (+ SDK).
Of course as developers we can use the SDK for whatever purpose and try to develop additional functionality - ... that might already be there, but we just don't know about it
In addition the power of customization features (UDFs/UDTs/queries/formatted searches (also bound to fields on SAP Business One forms)...) should not be underestimated!!!
When starting development with SDK you - or the person who writes the specifications for an Add-On must IMHO be familiar with the application + the customization features + being trained with SDK to avoid unnecessary development or getting into trouble latest when the solution is shipped to a customer...
Please again note that there's a lot of eLearning available in the education area in the SMB Portal on SAP Service Marketplace.
Regards,
Frank -
Hi all,
I want to modify the BP master data form title.
I have developed an add-on where i used a BP master data form. when i click on my submenu the BP master data form is activate but i won't the title "Business Partners master data". I want "Fiche consignataire" when BP master data form is activate.
Help me please.Hi,
If I understand you question wll you should try this:
Select Case pVal.FormTypeEx
Case "134"
Select Case pVal.EventType
Case SAPbouiCOM.BoEventTypes.et_FORM_LOAD
Dim form As SAPbouiCOM.Form = SBO_Application.Forms.Item(pVal.FormUID)
form.Title = "my title"
End Select
End Select
Hope it helps,
D. -
Form Settings getting cleared for system form
Hi All,
I have added the code for setting editable=false for the following items in Updatemode and Ok mode.Then in add mode,i made the columns to editable = true .First time it is working fine.
the next time, I got the error message as "item is not a user defined item" on ItemCodeCol.editable = true.Then i check the form settings, the Active field for the itemcode cleared.When i set to Active as checked and run my code,it is working fine.How to solve the issue and how to avoid the setting of the fields.
This is my code :
If oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE Then
oSQItemCodeCol.Editable = True
oSQItemNameCol.Editable = True
oSQQtyCol.Editable = True
oSQWhsCodeCol.Editable = True
ElseIf oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE Or oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE Then
oSQItemCodeCol.Editable = False
oSQItemNameCol.Editable = False
oSQQtyCol.Editable = False
oSQWhsCodeCol.Editable = False
End If
Thanx in advance
Regards
Mohana
Edited by: Mohana Annadurai on Feb 20, 2009 5:28 AMHi,
This is not UDF in system form.That is , the itemcode,itemname,qty,warehouse field in the content tab of the sales quotation form.when i change the field to editable and noneditable,
1)it is allowing to set the editable property to false and true for the first time.
2) After adding the record,i navigate the record to check ,at that time,as per my code,in update mode,it is not allowing to edit.
3)When i click add menu,and i chose customer, at that time it is not allowing to add a itemcode,becoz the itemcode field is disabled.
4)when i check in form settings, in Table format, Active gets unchecked for the above fields.
5)I want to avoid this changing of active in form settings.How to to this...
Regards
Mohana
Maybe you are looking for
-
How do I select multiple calendars?
Somehow iCal has given me multiple -- as in hundreds -- of "untitled" calendars (a sync issue?). I want to select and delete a whole bunch of them at once. Otherewise it's a painfully slow process of selecting and deleting one at a time. Any ideas ho
-
Canon Pixma 922 constantly losing network connection
I own a Canon Pixma 922 and from the very start I have been having issues with the netrworking staying connected. My network is a simple 3 computer connected to a D-link 655 router with WPS abilities. before this printer I had a very similar, older m
-
New Xine-ui 0.9.23 won't compile
Hi All, I'm trying to build a package for xine-ui 0.9.23 but the compile fails with : if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../readline -I../../readline -I../../src -I../../src -I../../src/common -I../../src/common -I../../src/x
-
Count(*) returns 'Column 'Count' not found' SQLException
I am trying to get the count from a table using the following: String query = "SELECT COUNT(*) FROM myTable;" I know that the connection is open and working because I am getting back an SQLException: 'Column 'Count' not found' . The same command work
-
I have a second coppy of cs6 design and web premium. Its only for mac and I need it for pc. Can i swap its platform?