How to create modal Form in SBO 2007
Is it still no way to create a modal SBO form
I want to create SBO Form that pause the lines of code from runing until the form is closed
Modal property of the SBO Form still ready only.
Sincerely yours
Riade Asleh
> Or you can use threading to work.
Indeed, unless I'm mistaken, one will have to. In a common GUI API, if you open a modal form on the event thread, thereby putting it in WAIT state, another event pump is set up. But that functionality isn't available in the SBO UI API AFAIK.
To put it differently: if you open a form in an SBO event handler and enter the WAIT state, the whole SBO application won't react anymore.
So the way to do it is this:
<ul>
<li>Create a new Thread and start it. Within that Thread ...</li>
<li>Create your window. </li>
<li>Register a FORM_UNLOAD (or FORM_CLOSE -- I don't remember which one is deprecated) listener for that form</li>
<li>Create a locking Object. A simple <tt>new Object()</tt> will do</li>
<li>Show the form, and then enter a WAIT state on the lock previously created. In VB, for instance, that would be written:
SyncLock waitObj
Monitor.Wait(waitObj)
End SyncLock
</li>
<li>When the FORM_UNLOAD handler is called (hopefully because the form was closed), notify the lock. For instance, VB again:
SyncLock waitObj
Monitor.Pulse(waitObj)
End SyncLock
</li>
</ul>
Mind you you might run into some trouble, as SBO suffers multi-threading somewhat less than gladly in my experience.
But it might be worth giving it a try -- it's a fairly simple operation, so it might work without too much or indeed any hassle.
PS: that nobr ain't none of mine
Similar Messages
-
How to create a form and show it as a modal window in VB6?
oform.modal -> modal is read-only property
help,please.Hi Santiago!
HTH: How to create a form and show it as a modal window? -
How to create pdf forms in wda
how to create pdf forms in wda
hi,
check these links
https://www.sdn.sap.com/irj/sdn/adobe
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
http://help.sap.com/saphelp_nw2004s/helpdata/en/37/47a2be350c4ac8afe36b691203971f/frameset.htm
The following links contain all the detailed information (PDF & PPT docs) on Adobe Interactive Form with examples which wil make u'r learning easier:
https://www.sdn.sap.com/irj/sdn/adobe
Improving the Performance of Adobe® LiveCycleu2122 Designer Forms(scripting)
http://www.adobe.com/devnet/livecycle/articles/lc_designer_perf_guidelines.pdf
Interactive Forms Based on Adobe Software: Overview
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e635e290-0201-0010-a9be-9e8e4ce04770
Adobe Interactive Forms
http://www.saplounge.be/Files/media/pdf/Huberland-Interactive-Forms-2007.10.10.pdf
Taking interactive forms to next level
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c103c36-0301-0010-cda8-f6b381bedb6e
Introduction to Adobe PDF Library SDK(PDFL SDK)(Simply scroll the document)
http://partners.adobe.com/public/developer/en/webseminars/PDFL_WebSeminar.pdf
Creating Interactive forms in webdynpro for java
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
PDF-Based Print Forms/SAP Interactive Forms by Adobe
http://help.sap.com/saphelp_nw04s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm
Date Objects in Adobe Designer
http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
Checking and Testing a PDF-Based Print Form
http://help.sap.com/saphelp_nw04s/helpdata/en/c2/1fe9aa4d7b413e8515f90b73729e97/frameset.htm
Architecture
http://help.sap.com/saphelp_nw04/helpdata/en/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
http://www.nl4b.com/Adobe/Invitation_SAPBrussels_Q407.pdf
Yogesh N -
How to create a form that will allow the applicant to upload their photo
I have Adobe Acrobat 9 Pro Extended and I know how to create forms that require text input.
How to create a form that will allow the applicant to upload their photo? I alo wish to know how to upload a photograph so that I can test the form I created.
Thank you
Adrian Wattstest@ORA10G> with x as (
2 select '234-1111' as customer, to_date('2-Jan-2008','dd-Mon-yyyy') as call_date, 'Order product' as reason from dual union all
3 select '234-1132', to_date('3-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
4 select '231-1154', to_date('4-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
5 select '234-1111', to_date('2-Nov-2007','dd-Mon-yyyy'), 'Order product' from dual union all
6 select '234-1132', to_date('9-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
7 select '231-1154', to_date('9-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
8 select '234-1111', to_date('5-Dec-2007','dd-Mon-yyyy'), 'Order product' from dual union all
9 select '234-1131', to_date('7-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
10 select '231-1154', to_date('1-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
11 select '234-1111', to_date('8-Jan-2008','dd-Mon-yyyy'), 'Order product' from dual union all
12 select '234-1131', to_date('3-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
13 select '231-1154', to_date('4-Nov-2007','dd-Mon-yyyy'), 'Forward to Sales' from dual)
14 --
15 select customer,max(call_date), reason
16 from x
17 where reason = 'Request info'
18 group by customer, reason;
CUSTOMER MAX(CALL_ REASON
231-1154 09-SEP-07 Request info
234-1131 07-DEC-07 Request info
234-1132 09-JAN-08 Request info
test@ORA10G>
test@ORA10G>pratz -
How to create one form for two Udo object
Hy ,
I have two Object Udo (header and line)
How we created a form to manage these two files (UDO)
ThanksThank you janos
it works, I put the code to other developers for information
Shared Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_application.ItemEvent
If ((FormUID = "SIR001_") And (pVal.ItemUID = "add") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
Dim oDS As SAPbouiCOM.DBDataSource
oDS = SBO_application.Forms.Item(FormUID).DataSources.DBDataSources.Item("@SIR_LOTL")
oDS.InsertRecord(oDS.Size)
oDS.Offset = oDS.Size - 1
oform = SBO_application.Forms.Item(FormUID)
oMatrix = oform.Items.Item("mtx_0").Specific
oMatrix.AddRow(1)
End If
If ((FormUID = "SIR001_") And (pVal.ItemUID = "del") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
oform = SBO_application.Forms.Item(FormUID)
oMatrix = oform.Items.Item("mtx_0").Specific
For index As Integer = oMatrix.RowCount To 1 Step -1
If oMatrix.IsRowSelected(index) = True Then
oMatrix.DeleteRow(index)
oform.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
End If
Next
End If
End Sub -
How to create a form that requires thousands of checkboxes?
Hello forum members,
I have Adobe Acrobat 8 Professional. I've been searching the internet/forums for the past few hours and I can't seem to find any information on how to create a form with many checkboxes. I do not want to have to give individual names to thousands of checkboxes. I'm hoping there's an easy solution to my problem. Maybe I don't even need to use checkboxes.
Here it is...
I'm a DJ and wedding season is coming up. For each wedding that I do, I usually give the bride and groom a list of my songs and they choose a bunch of songs that they'd like to have at their reception. In the past, I've just been sending them a webpage word document with the songs and they'd send me their selections in a different document or directly in the reply email. I'd like to make this process easy for them (and myself) by making a pdf document where they can simply place a checkmark beside the songs that they want and then send it back to me. As a bonus (if it's possible) i'd like to be able to export the songs that they selected into a separate document so that I don't have to go through the entire pdf (with thousands and thousands of songs) when they send it back to me.
I would be ever greatful if somebody help me or direct me to a link with some additional information.
Thanks in advance,
MikeGeorge, thank you very much for your quick reply and good advice.
Mike -
Quick Tip: How to create editable form fields | Acrobat X Tips & Tricks | Adobe TV
A short tip that details how to create editable form fields using Acrobat X Std. or Pro.
http://adobe.ly/wzXkmLI have created a form which will be filled out by customers and sent back to me via 'submit' button. What I am trying to figure out is when we receive the filled out form, is there any way to have it as a pdf. To clarify, when the form is filled out and sent, the receiver opens the email and attached is a non-editable pdf. This way the customers information is no longer editable.
-
How to create arabic forms using adobe central forms
How to create arabic forms using adobe central forms
Any luck here? I have just a subset of your challenge, i.e., I want to get forms designed in Designer 8.2/Acrobat 9 to work in Reader 7.0.5
Thanks! -
How to create a form contains a diagram
hi all ,
if there is a group of people in one table and the other table contains another group of people, and there is a relation between those groups, how to create a form or a report representing diagram for this relation. This diagram should be dynamic, when we change in the records of these people.
Which tool can I use and how?
Is there anyone who could help me? My email address is
[email protected]
or [email protected]
thanksGeorge, thank you very much for your quick reply and good advice.
Mike -
How to create a form and show it as a modal window?
Hi!
How can I create a form and display it as a modal window
using VB.NET?
Thanks
Zoltan SuttoThe sample 12 of the UI shows how to create a modal form.
The idea is to add a small code in the sub SBO_Application_MenuEvent and SBO_Application_ItemEvent
you set the UID value of your form in a variable when you open it, then you can add this code after the two above sub
If Not IsNothing(mst_MyModalUID) Then
Dim dsa_Form As SAPbouiCOM.Form
For Each dsa_Form In Me.SBO_Application.Forms
If dsa_Form.UniqueID = mst_FormUIDSon Then
'Form still available
Me.SBO_Application.Forms.Item(mst_FormUIDSon).Select()
BubbleEvent = False
dsa_Form = Nothing
Exit Sub
End If
Next
dsa_Form = Nothing
'Form closed, set the uid to nothing
mst_MyModalUID= Nothing
End If -
How to create a Form based on a dynamic table?
Hello,
The Select statement below creates a table based on a string (string is a value of an item):
select * from table (pkg_util.fn_get_table (:P18_VALUE))I need to create a region on a page with a Form based on this table.
I was able to create a Report, but not a Form.
I need to create a Form, which would return updated string to the page item.
How can I solve this please?Hello Gentlemen,
I have created a Tabular Form, based on APEX_ITEM API, as you suggested, here is the code below:
SELECT apex_item.checkbox (30,
CATALOG_ID,
'onclick="highlight_row(this,' || ROWNUM || ')"',
NULL,
'f30_' || LPAD (ROWNUM, 4, '0')
) delete_checkbox,
CATALOG_ID,
apex_item.hidden (31, CATALOG_ID)
|| apex_item.text (32,
LANG,
80,
100,
'style="width:100px"',
'f32_' || LPAD (ROWNUM, 4, '0')
|| apex_item.hidden (33, wwv_flow_item.md5 (LANG, DESCRIPTION)) LANG,
apex_item.text (34,
DESCRIPTION,
80,
100,
'style="width:255px"',
'f34_' || LPAD (ROWNUM, 4, '0')
) DESCRIPTION
FROM V_SYSTEM_CATALOGS_PR
UNION ALL
SELECT apex_item.checkbox
(30,
TO_NUMBER(9900 + LEVEL),
'onclick="highlight_row(this,' || ROWNUM || ')"',
NULL,
'f30_' || TO_NUMBER (9900 + LEVEL)
) delete_checkbox,
NULL,
apex_item.hidden (31, NULL)
|| apex_item.text (32,
NULL,
80,
100,
'style="width:100px"',
'f32_' || TO_NUMBER (9900 + LEVEL)
|| apex_item.hidden (33, NULL) LANG,
apex_item.text
(34,
NULL,
80,
100,
'style="width:255px" ' ,
'f34_'
|| TO_NUMBER (9900 + LEVEL)
) DESCRIPTION
FROM DUAL
WHERE :P180_TEMP = 'ADD_ROWS1'
CONNECT BY LEVEL <= 1however, the update process doe not work on that form:
DECLARE
lc_string VARCHAR2(4000);
BEGIN
FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
LOOP
lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
END LOOP;
--Database processing using the concatenated string here
END;Can you please see what's wrong with the code?
Also, I tried to set a temp. item with the value, to see if the process returns something, like that:
DECLARE
lc_string VARCHAR2(4000);
BEGIN
FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
LOOP
lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
END LOOP;
:p18_temp := lc_string;
END;and it did not work.
Also, it is the second Tabular Form on this page. The first one is created using wizard, and it works perfect, with the same update process:
DECLARE
lc_string VARCHAR2(4000);
BEGIN
FOR i IN 1..APEX_APPLICATION.G_f*01*.COUNT
LOOP
lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*03*(i) || '|' || APEX_APPLICATION.G_f*04*(i) || ']';
END LOOP;
--Database processing using the concatenated string here
END;Also, both forms are opening in a modal pop-up dialog window.
I use a Dialog Region plug-in for that.
May be this is causing a problem?
But still, the first form works fine!? -
How to create a form based on table using dynamic page?
Hi,
I need to create a form using dynamic page. How do you pass values from the html form to a oracle procedure that will get executed on submission of the form ? I could not find any documents which shows how to do that. Can anyone please help me out with an example ?
thanks,
MainakHi,
Something seems to get added to the form action because of "http". Hence I am removing it.
You need to write a procedure with the values in the as parameters. Say for example you want to insert a record into dept
table then
Dynamic page code
<html>
<body>
<form action="portalschema.insert_dept">
<input type="text" name="p_deptno">
<input type="text" name="p_dname">
<input type="submit" name="p_action" value="save">
</form>
</body>
</html>
Procedure code.
create or replace procedure insert_dept
(p_deptno in number,
p_dname in varchar2,
p_action in varchar2)
is begin
if p_action = 'save' then
insert into scott.dept(deptno,dname) values(p_deptno,p_dname);
commit;
end if;
end;
grant execute on insert_dept to public;
Hope this helps.
Thanks,
Sharmila -
How to create a form based on table@databaselink
I have created a database link under OracleXe to access an Oracle 9i and it works very well. I can manually access the tables that I like to see. Want to experiment to create a form under HTMLDB based on a table from another database that I have created DataLink to. When I go choose Create Application in HMTLDB and then select Form from page type under table or view I tried to do this tablename@databaselink but it seems it can not find the table this way. Any idea how to do this?
ThanksMike,
As I am trying to test and learn more about htmldb I was trying to get some data from oracle 9i to oracleXe, create some forms, reports and etc. At first I tried to use views and forgot to add the primary key, got the error so I posted the message on the board.
Then I did try out the long way creating tables with package and procedure and some other fun stuff to create an application which by the way it worked very well. Then I created some users and changed some password. When I tried again to run the application I start getting invalid login credentials. After many attempts finally I went home, as I was driving home I thought about something and at home I tried it.
I did some testing and noticed if I create a user under admin say userA+passwordA then login with userA+passwordA, create a table and then create an app base on that table and then run the app, with userA+passwordA I can login and app works perfectly. Then I logged out and as admin logged in, changed the userA password to passwordB. I logged out and logged in with userA+passwordB and then when I tried to run the app I get the invalid login credentials, when I change the passwordB to passwordA the app will works again. This is suppose to be this way!
Again thanks to all -
How to create custom component in CRM 2007
Hi.
I am new for the CRM 2007 Web UI.
Here we have CRM_UI_FRAME.
Like this so many Components are there.
I want how to create our own component.
I created it as follows.
Open the Transaction code bsp_wd_cmpwb.
Provide Z Name in the Component.
Zcomponent
Press Create button.
Go to Run Time Repository.
Press Change Mode.
Create a MODEL as ALL.
GO to Browser Component Structre.
Select View.
Provide View name.
Create the View.
Go to view Layout.
Provide the code like this.
<%@page language="abap"%>
<%@ extension name="htmlb" prefix="htmlb"%>
<%@ extension name="xhtmlb" prefix="xhtmlb"%>
<%@ extension name="crm_bsp_ic" prefix="crmic"%>
<%@ extension name="bsp" prefix="bsp"%>
<cthmlb:overviewFormConfig/>
Create the context under the context.
Go to Configuration tab.
Assigne the Attributes to the Screen.
GO to the Run Time Repository.
press change mode.
Assigne the view name to the Window.
Save it.
Test the Componet. But it is not diaply anything on the screen.
How i will get the data into the web UI.
Can anybody expalin about this one to me with screen shorts if possible.
I want add some fields into the web UI. Provide some values into that. Capture the values.
Navigate the data from one screen to another screen. How it is possible. I did not understand.
If i am changing any screens in the pre define component it shows dump.
So, now i need Custom component with adding of the fields.
Please give me proper information regarding this one.
Thank You.
Krishna. B.Hi,
Try put the htmlb to show a field:
<thtmlb:label design="LABEL" for="//<context>/<field>" text="<field>"/>
<thtmlb:inputField id="<field>" maxlength="31" size="20" value="//<context>/<field>"/>
In order to get value, you can write a simple code in the event_handler:
LR_BOL type ref to IF_BOL_BO_PROPERTY_ACCESS
LR_BOL = ME->TYPED_CONTEXT-><context>->COLLECTION_WRAPPER->get_current()
var1 = LR_BOL->GET_PROPERTY_AS_STRING('FIELD').
take a look at lr_bol methods so that you can see the set and get methods.
Regards,
Renato. -
How to create a form value bean.
Hi to all,
In my page I have one lov. It gives Address and Addressid. I want to show the address details (only ) to User. I dnt want to show the addressid. But I passed the addressid to database.
Set the Addressid in form value and set the Address in msgtextbean. Pass the Addressid to database. Is it possible?
I want to know how to create formvalue bean dynamically. Anyone knows plz let me know..
Thanks in Advance
Regards
SenthurHi Senthur,
Why you want to create it dynamically? You can create it at design time itself.
For your requirement create on formvalue item, create another LOV mapping that provide and set there item name from LOV region and return item.
Regards,
Reetesh Sharma
Maybe you are looking for
-
SAP R/3 4.6C installation on HP-UX 11.31
Hi Export We have the old system based IBM server with HA environment, Cluster software is HACMP. Now, the goal is: Migrate the SAP R/3 4.6C system to HP hardware. Hardware: HP rx6600 & rx8640 server with MC/SG (cluster software); DB& SAP R3 version
-
Cookbook for IC webclient 2007 or 2006, please
Hello guys, I am working on IC webclient 2007, have searched for cookbook for the version or CRM 2006, couldn't find it. Can anyone kindly post a link where I can download? (seems like sending by email is not permitted here) Thank you and your help
-
IPod does not play songs in order - iPod Shuffle 1GB
When I drag songs to the iPod it adds them to the end of the list and then I sort by song name. When I play them on the iPod they are played at the end. When I hook up the iPod they are listed in the right order but that's not how they are played. Do
-
Query on "serve servlet by class name" in weblogic
Dear Experts, We are migrating our application from WebSphere application server/Jboss application server to Weblogic Application server 10.3 I have the below query, One of our applications uses a number of servlets and all of them are not declared i
-
Formula Problem in Update Rule
Hi all, I am facing one problem with formula in update rule. I have written one formula in update rule which it is working in development, but I moved the content to quality there it is not working. I have used the following formula. IF( NEGATIVE( TR