Default Forms
Hi,
Would it be possible while creating a project to default some forms in the Forms tab of project module than adding or importing them from library? In Document setup-> Project Types i dont see any features that would let me default the forms, Would this be possible by any other means?
Try creating a project template and import forms. This should set default forms for all projects created throug this template.
Good Luck
Similar Messages
-
Hello,
I want to use the user tables default forms (after adding the user table in Uer Tables menu, it's generated a form to view that table: add, delete, update info).
I'd like to lauch this form from my add-on menu. I know how to do that, but I wonder if that MenuID of the menu depends on the SBO installation (on what other tables were added before in SBO). Also, I'd like to put Choose from list capabilities in that form. I know also how to do this (just like a system form), but I also don't now if the FormID is the same on each installation.
Thank you for your answer.
I hope I made myself clear.
Irina StancaYou may try this to find the MenuUID of your UDT:
Start Saved Query through menuitem
Have you checked Application.ResourceData? I'm not sure whether UDT forms are considered system forms, though. Anyway, you should be able to get the FormID of your UDT form on the fly by iterating the Application.Forms collection and checking the Title property, which equals the UDT Description.
HTH
Juha -
Problem in Creating Default Form Through DI API
Hi All,
I am using the below code to create UDO and make it as Default Form through DI API. But the Default Form property is not getting set, that is the Default Form is not being created. The UDO is getting created. Any help is appreciated.
// Verify that UDO is defined
if (!(oCreateUDO.UDOExist(oCompany, "WEB_USER")))
SAPbobsCOM.UserObjectsMD MyUDO = (SAPbobsCOM.UserObjectsMD)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD);
//Set Services
MyUDO.CanCancel = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanDelete = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanFind = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanClose = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanLog = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tNO;
//MyUDO.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.Code = "WEB_USER";
MyUDO.Name = "Define Portal User";
MyUDO.ObjectType = SAPbobsCOM.BoUDOObjType.boud_MasterData;
MyUDO.TableName = "PORUSR";
MyUDO.FindColumns.ColumnAlias = "Code";
MyUDO.FindColumns.ColumnDescription = "Code";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "Name";
MyUDO.FindColumns.ColumnDescription = "Name";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_name";
MyUDO.FindColumns.ColumnDescription = "Name";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_Email";
MyUDO.FindColumns.ColumnDescription = "Email";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_Status";
MyUDO.FindColumns.ColumnDescription = "Status";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_TAG";
MyUDO.FindColumns.ColumnDescription = "TAG";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_bp";
MyUDO.FindColumns.ColumnDescription = "BP Code";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_password";
MyUDO.FindColumns.ColumnDescription = "Password";
MyUDO.FindColumns.Add();
if (MyUDO.Add() != 0)
MessageBox.Show("Failed to add UDO");
Thanks and Regards,
Noor HussainDear All,
Thanks a lot. I had forgot to add the form columns to the UDO object while creating UDO.
Regards,
Noor Hussain
Edited by: noor_023 on Mar 1, 2012 11:54 AM -
Search Facility in User Defined Object (Default Forms)
Hi,
I have created a User Defined Object in the Default Forms section and chose the 'Find' tickbox when registering the UDT. Now I have populated the data into the UDO but I can't search for data in columns.
Am I doing something wrong please? Can this be done?
Thanks.Hi Vankri,
Check the thread
UDO Default form "find" function
Regards
Jambulingam.P -
Problem with UDO Registration through SDK (Default Form Option)
Hello All,
I am trying to create a UDO Registration through SDK which is done easily but the udo contain default form option.
But after creating the udo , the defualt form option is clicked in the wizard but the system is not showing that default form in SAP.
Please suggest if i am missing something for making this udo a default form .
Code which i have written is following :-
Dim oUserObjectMD1 As SAPbobsCOM.UserObjectsMD
oUserObjectMD1 = Class_Law_Main.ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)
If oUserObjectMD1.GetByKey("OSL_LawStage_Master") = False Then
oUserObjectMD1.CanCancel = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD1.CanClose = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD1.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tYES
oUserObjectMD1.FindColumns.ColumnAlias = "Code"
oUserObjectMD1.FindColumns.ColumnDescription = "Code"
oUserObjectMD1.FindColumns.Add()
oUserObjectMD1.FindColumns.ColumnAlias = "Name"
oUserObjectMD1.FindColumns.ColumnDescription = "Name"
oUserObjectMD1.FindColumns.Add()
oUserObjectMD1.FindColumns.ColumnAlias = "DocEntry"
oUserObjectMD1.FindColumns.ColumnDescription = "DocEntry"
oUserObjectMD1.FindColumns.Add()
oUserObjectMD1.FindColumns.ColumnAlias = "U_StgName"
oUserObjectMD1.FindColumns.ColumnDescription = "Stage Description"
oUserObjectMD1.FindColumns.Add()
oUserObjectMD1.FindColumns.ColumnAlias = "U_StgSeq"
oUserObjectMD1.FindColumns.ColumnDescription = "Stage Sequence"
oUserObjectMD1.FindColumns.Add()
oUserObjectMD1.FormColumns.FormColumnAlias = "Code"
oUserObjectMD1.FormColumns.FormColumnDescription = "Code"
oUserObjectMD1.FormColumns.Add()
oUserObjectMD1.FormColumns.FormColumnAlias = "U_StgName"
oUserObjectMD1.FormColumns.FormColumnDescription = "Stage Description"
oUserObjectMD1.FormColumns.Add()
oUserObjectMD1.FormColumns.FormColumnAlias = "U_StgSeq"
oUserObjectMD1.FormColumns.FormColumnDescription = "Stage Sequence"
oUserObjectMD1.FormColumns.Add()
oUserObjectMD1.CanDelete = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD1.CanFind = SAPbobsCOM.BoYesNoEnum.tYES
oUserObjectMD1.CanLog = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD1.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tNO
'oUserObjectMD1.ChildTables.TableName =
oUserObjectMD1.Code = "OSL_LawStage_Master"
oUserObjectMD1.ManageSeries = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD1.Name = "Law Stages Master"
oUserObjectMD1.ObjectType = SAPbobsCOM.BoUDOObjType.boud_MasterData
oUserObjectMD1.TableName = "OSL_OLSG"
lRetCode = oUserObjectMD1.Add()
'// check for errors in the process
If lRetCode <> 0 Then
Class_Law_Main.ocompany.GetLastError(lRetCode, sErrMsg)
MsgBox(sErrMsg)
End If
End If
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserObjectMD1)
oUserObjectMD1 = NothingHi Robert,
I recommend you do your changes in your file/XML file before you load your form. It's much quicker and easier this way
e.g
//make your changes in your xml form
SBO_Application.LoadBatchActions(ref YourXMLFileString);
Cheers, Lita -
F-27 customer statement For progremme the default form set is missing
Hi all,
Can anybody solve me the error while running customer statement F-27 iam getting the error is for "program default form set is missing".I have checked all the configuration settings in correspondence,But i am able to identify the error.We are using SAP standard program (RFKORD10) and form also (Z140-ACC_STAT_01).For company code we have assigned program and form also.
If anybody can solve the issue really i appreciate them.
Thanks & Regards,
Vasu.Hi,
Here are answers of your questions:-
Questions:
1. How to convert PDF file per customer .
A. Get spool id per customer and use FM CONVERT_OTF_2_PDF or CONVERT_OTFSPOOLJOB_2_PDF or 'CONVERT_ABAPSPOOLJOB_2_PDF' SAPSCRIPT to PDF for conversion.
2. How to split the spool request for per customer .
A. This you have to design in your driver program and club your spools for particular customer.
3. Script converted PDF file how to place in application server.
A. You have to use destination for PDF as file name and then use Open dataset for output to keep it on application server.
Regards,
Gaurav -
I have made an absolute default form with f60desm and successfully posted and run it from the web. The problem is, I can't get any data into it. According to the cue cards, an execute query with a blank form should retrieve all records...it doesn't. I even tried a % in a field and it still retrieves nothing. I plugged in a known value to exist in the database it retrieved nothing. What am I doing wrong? (Oracle 8i 8.1.5, Forms 6i, 9iAS)
yes, it is connected...default makes you log on before it will even bring up the form. It is behaving like this in the form designer, as well, which I had to be connected for the datablock wizard to pull up the table fields.
-
How i will modified default form.
eg. i want to add a link button in existing default form colum.
Any idea.....
Regards,
avijitHi Avijit,
You may want to consider using something other than Default Form as it is meant for quick testing and may not fit the business requirements. Create your own form or use UDO Form Generator (if applicable) etc.
Regards
Aravind -
Default columns in default form
Hi,
I want to add default fields to default form while creating UDO by code. I can add only one column i.e. "Code" to default form.
I want to add multiple fields on it.
Can anybody help me for this on priority basis?Hi Praveen,
You have a code sample in the Help file -> DI API -> UserObjectMD_FormColumns object.
There is also a sample in the UDO sample given with the SDK.
You have to use the SDK Help file and samples to search for information, in this forum we help you to identify which objects-methods you have to use.
Regards
Trinidad. -
URGENT!!! Create a user form like SBO Default Form
Hi every one,
I would like to create a user form like the SBO Default Form, from an UDO.
A form only with a Matrix, that I can Add, Delete e Update information from the matrix.
I have tried the UDO Form Generator, but it didn't work.
I'm desperate...
Thanks.
Fran.Hi Fran,
Its quite simple, all you have to do is, to create a form using Screen Painter, the columns should be db data source bound and then, assign UDO for the same. It will work fine.
Satish. -
Assign new default forms to list causes other content types forms to fail.
I have a list with multiple content types and I want to modify the forms. I've created new forms but when I assign them as default and go back to the new item menu, no matter which item I select I get the new default form. If I set the
NewForm.aspx back as default everything works.
How can I modify for one content type and ensure the forms are not affected?
By modify I mean I want to put a hyperlink on one of the forms but not the other.Form libraries can be very painful if you can't foresee the direction that the form will be evolving over time. I've run into times when users have been using a form for months - years, and then a sudden change is needed (such as a change in calculations)
that they want to show ONLY in new forms, and the old calculations (for the same calculated fields) to show up in the old form, and you can't have 2 different versions of the same form working on a library unless you use content types.
You also, however, need to plan for columns and column types because of limitations around the number of Int columns or date/time columns, etc... that are allowed in a list. If you plan on using content types, I would say use a base content type (if
the content types will have the same fields) and then the fewer fields are different, the fewer columns are required on the library. In different content types, you can use different forms, and then you can make different calculations within the forms
for the same field (if that is ever a requirement).
Its best to plan this out ahead of time, because switching strategy after running for a while can create monstrous headaches. -
Error : default form set missing
Hi,
An error message is coming while trying to print a form ,it says ." for company code .... in program... the default form set is missing.
Please help.Hello Experts
For my case also it is showing same problem. I have created the script and driver program . Now I try to execute it but it is giving the same error message. it is customized program and script. During debugging I have checked, data not get filled from T001F and T001G table.
It is urgent , please try to give your valuable suggestions.
Thanks
Pravasini -
How To Add ChooseFromList to UDO Default Form
Dear All,
I have one problem in UDO's (Master Data Type). I created one default form it's working fine but i want to add choosefrom list to this form how to add it is system created form.Please give me you suggestions.
thanks
MadhuGanjiC:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\17.ChooseFromList
-
Hi All,
I'm newbie to SDK. I've created an UDO for a user table of object type master data and Default form is created. now i want to enter data into that by using SDK. How can this be done.
Thanks in advance
jaideep
Edited by: jaideep amuloju on Apr 20, 2009 12:55 PM
Edited by: jaideep amuloju on Apr 20, 2009 12:56 PMIt's not clear to me what's you need to do.
If you want to use UDO, for simple data editing, you doesn't need to use SDK.
If your needs are more complex, I suggest you to build your own form with screen painter and with SDK write the necessary code for the addon.
I can send you some example if you need.
Bye.
Diego -
The record has been changed....on default form
Hi,
I'm facing a strange problem....
Trying to alter the prompt in the menu default form, for one and only one record, the message "The record has been changed.Re-query to see the changes." appears...!!!
I have seen this message on custom forms.... but on default form which also insists even when i close the form and re-open it..., first time....
What do you suggest me to do...???
Note: I use eBS 11.5.10.2 and DB10g v.2
Thank you,
SimHi sgalaxy,
It looks the system is detecting something different between the record shown in the form and the record stored in the DB table, and that's why it's showing the error message. Typically the issue is caused by date columns that are truncated in the form or by trailing spaces in text columns. You will need to compare columns in form and DB table until you find the problematic column and update it manually (truncating date or removing trailing spaces in DB)
Hope it helps.
Maybe you are looking for
-
How to back up one mac to an external using another mac
I want to back up my old MacBook Pro onto an external hard drive. The old MacBook Pro is bad shape, hard to use in normal mode. The apple store genius told me I could use my new MacBook Air as a conduit for this back up. I purchased a FireWire cable
-
User Control Settings in Windows 7
I want to change the user control settings in Windows 7. I can move the control setting, but when I click OK, the change isn't implemented. It doesn't matter what user account I'm in. Is this a simple fix? Thank you. Dan
-
Hi All, I want to send a mail to a person whenever a PO is created. Is there any other method than a user exit ?
-
!! HELP !! error 10008, cant download movie !! HELP !!
I have been trying to download a movie I purchaced off of iTunes for about two weeks. Every time I try to downlad it, it gets to the "finalizing purchace" stage, then a window pops up and tells me that the file is corrupted and that all I need to do
-
Hi experts, I want to find information which is stored in the particular transaction (find the table name) tcode is COR3 in that enter process order and enter after that go to adminstrative data in that created user. I want find user information will