Changing between forms
Hi All,
I am trying to switch between two active forms but keep getting the error "Form - failed to set focus [66000-131]". This happens on curform.select.
I use the following code:
// Open Delivery form
form.Items.Item("56").Click(BoCellClickType.ct_Regular);
SAPbouiCOM.Form delForm = B1Connections.theAppl.Forms.ActiveForm;
//store current active form information
int nDelForm = delForm.Type;
int nDelCnt = delForm.TypeCount;
// focus on original form
SAPbouiCOM.Form curForm = B1Connections.theAppl.Forms.GetForm(pVal.FormType.ToString(), pVal.FormTypeCount);
curForm.Select();
curForm.Mode = BoFormMode.fm_FIND_MODE;
Any ideas on what I am doing wrong?
Thanks Karen
karen
This loads a form from XML- but the mechanism to see if the form is loaded is applicable.
JW
Dim oXmlDoc As Xml.XmlDocument
oXmlDoc = New Xml.XmlDocument
'// load the content of the XML File
Dim sPath As String
sPath = "C:\MSA\source\September06\MSAAddon\"
oXmlDoc.Load(sPath & "\" & FileName)
Dim i As Integer
For i = 0 To SBO_Application.Forms.Count - 1
If SBO_Application.Forms.Item(i).UniqueID = "ToolDFrm" Then
temp = True
End If
Next
If temp = False Then
SBO_Application.LoadBatchActions(oXmlDoc.InnerXml)
End If
Similar Messages
-
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 -
Oracle forms display bright white flash when transitioning between forms.
We recently migrated an application from Oracle Application Server to WebLogic and we are noticing that in the WebLogic environment while transitioning between forms there is a quick bright white flash that has caused several complaints. We are not sure if this is related to a performance issue which may be preventing the form from painting quick enough or if there is a configuration problem somewhere. Has anyone else seen this behavior?
We are running WebLogic Server Version 10.3, Fusion Middleware 11gR1, and Oracle DB 11.2Unfortunately we don't have any errors to work off of. The application works fine, it's just that their is a very short delay when transitioning from one form to another and during that transition the whole form turns bright white which has caused users to complain that it could cause an epileptic seizure. I assumed maybe there was some performance tuning/caching that could be done to make it so it loaded quicker. Our DBA team recieved a response from Oracle support stating that although the forms themselves are relatively unchanged, due to the underlying software changes in 11g we are to expect some differences compared to previous versions. We have since set background in formsweb.cfg to use a light grey image which seems to be more acceptable for our users.
Edited by: user4597705 on Oct 12, 2012 1:18 PM -
Difference between form and shop paper
Hi Guys,
I want to know the difference between Form, smart form and shop paper.
Our problem is one form is there, so user want to modify the form with some changes, they have provided the form name.
i have checked in the customization and able to find only shop paper related data.
Could you please suggest me how to find the forms.
Is there any customization available to link the forms with shop papers?
Thanks for reply.
JoshitaHi,
A shop paper is a combination of print program and form.
Look at customizing transaction OIDA, Use this to adjust what form is used by a particular shop paper. Transaction SE71 can be used to adjust the form.
Do not adjust standard forms (PM_COMMON, etc), make a copy and adjust your own version.
-Paul -
Hello,
What is the diference between Forms 11.1.1.1.0 and Forms 11.1.1.2.0 ?
And is better to install with Oracle WebLogic Server 11gR1 10.3.1?
ThanksFrom a Forms point of view, there really were no changes worth speaking of between .1 and .2. There were minor changes, but mostly changes that improved usability and stability. This release was actually intended to be a patch (bug fixes), however it was decided that some features (unrelated to Forms) should be included so a new release was created. There were also some technical difficulties around actually patching the .1 release, so again the need for a new distribution was required.
As for WLS, the version you use is not optional. FMw 11.1.1.1 required WLS 10.3.1 and FMw 11.1.1.2 requires WLS 10.3.2.
More information can be found in the 11.1.1.2 documentation:
http://download.oracle.com/docs/cd/E15523_01/index.htm -
Slide transition between forms?
Hi,
How can I make a transition between forms so that it appears the second form slides in from the right?
I know its possible to make a slide effect with a timer, but how do I do it to move a form?
Thanks!To make it slide in from the left, change the starting point and the direction of movement.
Public Class Form2
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Top = Form1.Top
Me.Left = Form1.Left
timer1.enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If Me.Width < Form1.Width - 5 Then
Me.Width += 5
Else
Me.Width = Form1.Width
Timer1.Enabled = False
End If
Me.Focus()
End Sub
End Class -
Change between FormGuide and PDF
Few months ago there was some Adobe presentation that showed, how user could change the view between form guide and pdf at runtime in workspace. Is it possible now in livecycle ES?
If it is, how can I make it work?I just want to add some clarifications to what Philip explained.
When you first design an xfa based form (xdp), you use the LC Form Designer. At that point you create and XDP and LC Forms can render that XDP into PDF or HTML (or other transformations).
Now with LC Designer ES, you have a new menu that allows you to generate a Form Guide for that XDP. The Guide Builder is a plug-in written in Flex that helps you design your Guide.
It creates a basic Form Guide that you can customize. Once you save the Form Guide, it adds a little bit of information in the XDP to tell LC Forms that the form can be generated as a Form Guide.
So the things I wanted to clarify, is yes, you can generate a PDF, HTML or Form Guide from the same XDP template. You do need to "Guide Enable it" by creating a form guide within the form designer.
Because a Form Guide is built from an XDP within the Form Designer, you'll always have a PDF representation of that guide which comes from that XDP.
Both format Form Guide and XDP are sharing the same data model and some of the same logics (some script, validations, mandatory fields, etc).
Jasmin -
Excel activex call changes between Office 2000 and Office XP. How does one manage that?
I have several Active X calls from within a VI. One in particular is
the Excel Cell Value property node in Office 2000. MS has decided to
call it Excel Cell Value2 in Office XP.
I have built and exe on a machine with Office 2000 and can run the code
on a machine with Office XP, but I can not build on the machine with
Office XP. I can also run a VI with that call
on the Office XP box, but if I mass compile the VI I get the broken arrow.
I guess I am confuesed as to why it can run but not compile. If the
ActiveX call is not there for the compile why is it there for the run?
If I can expect this does it work in reverse where I
build on an Office XP box and run on a Office 2000 box?These problems you are experiencing do stem from the ActiveX changes between Excel versions. When you mass compile LabVIEW checks to see if everything is linked correctly, including ActiveX portions of your code. Since there are slight changes the LabVIEW compiler detects something is wrong, but cannot isolate the problem. You might need to force a recompile of that VI. Check out this link.
http://digital.ni.com/public.nsf/websearch/50D06DEE8B9DC018862565A0006742F2?OpenDocument
Hope this helps!
Andy F.
National Instruments -
Dynamic Action On change tabular form question
Hi guys!
I've wanted to add dynamic action on change (tabular form) to execute PL/SQL which checks if column of the tabular form has changed and if yes it changes walue of text field to Y or N. It doesnt work...and I don't know why. If I create validation with this PL/SQL it works. Can you help?
DA:
On change - Tabular Form
PL/SQL;
DECLARE
nazwa VARCHAR2(4000);
counter NUMBER := 0;
BEGIN
FOR i IN 1 .. apex_application.g_f08.COUNT
LOOP
SELECT NAZWISKO INTO nazwa FROM SPR_META.M_UZYTKOWNICY WHERE NAZWA_UZYTKOWNIKA = apex_application.g_f02(i);
IF wwv_flow_item.md5(nazwa) <> wwv_flow_item.md5(apex_application.g_f08(i)) THEN
counter := counter + 1;
END IF;
END LOOP;
IF counter > 0 THEN
:P5_IS_TABULAR_FORM_CHANGED := 'Y';
ELSE
:P5_IS_TABULAR_FORM_CHANGED := 'N';
END IF;
END;Page items to submit: P5_IS_TABULAR_FORM_CHANGE
What's wrong?
With regards,
PsmakRRegion static id shouldn be in bracketsYou missed the '#' informt of the region id.
why my original PL/SQL process did not work
FOR i IN 1 .. apex_application.g_f08.COUNTThis works only when the application array has values and that happens only when the page is submitted.When you submit the dynamic action , it isn't.
This script combined with script to detect changes makes apex page running very slowIf you use that PLSQL code(assuming it works as expected) , then its going to take a server request every-time you change a field in the tabular form and loop though all the array values(if they would be submitted before) and recalculate and compare the checksums . Isn't that going to be very inefficient.
As for that JS code, it only runs at the client side. You can do all the server side checks on submit, when the user expects some delay due to processing. -
Difference between Form & Report Painter
Hi Experts,
What is the difference between Forms and Report painter reports? (My understanding is that Forms for PCA and Report painter for Cost Center).
Could also any one provide me the like related to SAP Documents to create Report Painter & Forms reports
Thanks in Advance
Gowsi<b>Form painter</b> is a term used in SAP Smart form context
http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/83fb48df8f11d3969700a0c930660b/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/83fb42df8f11d3969700a0c930660b/content.htm
http://www.thespot4sap.com/articles/Code_CostCentreReport.asp
<b>Report painter</b>
A tool for creating reports that meet specific business and reporting requirements.
The Report Painter enables you to report on data from various applications. It uses a graphical report structure that forms the basis for the report definition. When defining the report, you work with a structure that corresponds to the final structure of the report when the report data is output.
The SAP System is delivered with several row and column models that can be used as building blocks to help you create reports quickly and simply.
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/frameset.htm
Regards
Vivek
*Assign points for all the useful answers -
How to track changes between documents
We are trying to find ways to track/compare changes between two or more versions of an InDesign document. We need to be able to store these version changes in a master version tracking document. We know InDesign can track text changes in a story but we need to know more than that, like graphic or style changes. Is there a plugin out there that can compare two versions of an InDesign document and list/print out the differences? Acrobat has this feature but we haven't found this for InDesign. Any suggestions?
Hello,
I hesitated to post the plugins because my company is the publisher of one of them.
You will find them all at:
http://www.pluginsworld.com/
Search for BlackLining from EMS, CtrlChanges from Ctrl Publishing and EditMarks BlackLining from Kerntiff Publishing Systems.
We are responsible for EditMarks.
As I said we do not track changes to objects.
All the best.
P.
( I am not connect to pluginsworld in any way ) -
Is there a way to find all config changes between clients and sap system
We have our Dev system with clients
310 - Developer make changes and create transport
400 - Test client
410 - a copy of our Production system (over 1 year ago0
TST - this is our quality system with one client
101
Production system one client
101
I know if i do a database copy from Production to our TST system, both systems would be exact.
Abaper Director wants to know all the configuration changes that are different between Devopment client 310 - Test and production.
I told him that in development client 310 the abaper or functional users make most of the changes if they do not get transported they would be missing.
I cannot copy to client 310 otherwise we would loose all of our version management.
Is there another way that I can see the config changes between all these clients.
Thanks
JoeYou should be able to use tcode SCU0
Regards,
Brian -
How to change the form of a COPA report?
Hi,
I want to change the form of a COPA report. How can i do that?
Moderator: Please, search SDNSave it back.
InfoObject.save or InfoStore.commit(InfoObjects).
Sincerely,
Ted Ueda -
How do I change a form created by a departed employee?
How do I change a form created by a departed employee?
Some of those things involves using the various form field tools that are available in Acrobat 7 Pro (but not Standard). More information on working with forms is in the help doc.
Moving text that's part of the regular page contents can be difficult or impossible. Deleting things is easier, but still may be difficult to get everything just as you want. The ideal way to make such changes is to change the source document and generate a new PDF, and then in Acrobat replace the old pages with the new (Document > Replace Pages). Any fields and other annotations, bookmarks, code, etc. will be retained. -
Display FirstName and Last Name on change password form
Hi,
I have to display FirstName and Last Name in change password form instead of DN of the user the below syntax is displaying complete DN.
resourceAccounts.currentResourceAccount[$(name)].accountDisplayName, would appreciate if anybody can guide me on this.
ThanksHi,
For anyone searching how to do this, I've modified the Change User Password Form to contain a user's first and last names. As the User view is not accessible from this form, I added the following:
<Field name='fullname'>
<Display class='Label'>
<Property name='title' value='Full Name'/>
<Property name='value'>
<rule name='EndUserRuleLibrary:getRealName'>
<argument name='accountId' value='$(resourceAccounts.id)'/>
</rule>
</Property>
</Display>
<Disable>
<or>
<ref>answersVerified</ref>
<isnull>
<ref>resourceAccounts.id</ref>
</isnull>
</or>
</Disable>
</Field> I'm not at all sure this is the best way of accomplishing this, but I couldn't find forum search results that would allow me to display additional user attributes on this form.
Hope it helps!
Nick.
Maybe you are looking for
-
17 inch March 26-29 (order date – shipping date) 2011 MacBook Pro, 256GB Solid State Drive, 2.3 GHz Quad-core Intel Core i7, 1 processer, 4 Cores, 256 KB L2 Cache per core, 8 MB L3 Cache, 8 GB Memory (8GB 1333MHZ DDR3 SDRAM - 2X4GB), AMD Radeon HD 67
-
IPad can't find ANY wifi networks or personal hotspot each time I return to my home network
I have an iPad 2 as well as iPad 4, iPhone 4 and Macbook Pro. Each of these connect fine to my home network, however my iPad 2 suddenly couldn't find any networks or my iPhone 4 personal hotspot, bluetooth or wifi. I went to Singapore and hey presto,
-
Several instances of MDB accessing a Q and one rolling back a message
I have one input queue being served by several instances of an identical MDB. When a problem occurs with an MDB processing one of the messagse read on the queue (for instance, it could not forward the answer, the bean is
-
Business Data Toolset for BP - 0BPARTNER_ATTR is getting no delta.
Hey there, I have the requirement to extract custom elements from the business partner. The elements have been added using Business Data Toolset (BDT). Now when I change a field of these custom elements, the CHDAT field of BUT000 ist set. However, th
-
Can't finish Tutorial 18 of medrec either
I can't find the "AdminWebApp Web Application" (adminWebApp.zip ) on the dev2dev Web site. Is there any alternative way to do that or where can I find the file adminWebApp.zip ? Thank you.