I need to execute a formatted search when the field loses focus
Is this even possible? I do NOT want to force the users to press shift-f2 every time to validate/search on every field on the form. This is absurd. How can I trigger a formatted search on a field when it loses focus?
I tried activating menu item #7425, but it's not executing the one on the field that loses focus, but a different one. I guess it only works on the active field??
I tried catching an earlier event, but after it executes the formatted search on the right field, it places the value on whatever field just gained focus instead of the one it was assigned to.
Any ideas here? We cannot force our users to press shift-f2 on all these fields!
The only other idea I have is to not use a formatted search but instead try to create some sort of popup form with a grid and my own query. There has to be an easier way, right?
Bryan:
I use the following on a KeyDown event for when the User tabs out of a field after entering data if the data they entered is not valid. Perhaps you could try this in the LostFocus event:
g_B1Connection.Application.SendKeys("+")
Also, I have used this in the KeyDown event:
DisplayLookup("txtWO0")
Private Sub DisplayLookup(ByVal objText As String)
Try
WOItem = WOForm.Items.Item(objText)
WOItem.Click(SAPbouiCOM.BoCellClickType.ct_Regular)
g_B1Connection.Application.SendKeys("+")
Catch ex As Exception
g_B1Connection.Application.MessageBox(ex.Message, "Ok", 1)
End Try
End Sub
Thanks,
EJD
Similar Messages
-
Remove Formatted Search on the field or Delete Formatted Search
How to Delete or Remove the Formatted Search set on the Field ?
Appreciate your help.Alt-Shift-F2
Without search
Update -
How to keep the highlight when the JTextComponent lose focus?
I wanted to do some basic copy/cut/paste on the JTextPane from the Menu. But when I selected the menu, the highlight disappeared. How do keep the highlight?
The only topic I found about this was here:
http://forum.java.sun.com/thread.jsp?forum=57&thread=214931
but it appeared intimidating and not exactly what I needed.Most javax objects will accept things in <html> tags why don't you try setting them onto the JTextPane (never tried this btw but should be worth a try) using html and the transferring the same syntax to the output email
-
Playback pauses when the window loses focus. Can I fix that?
When going through footage, I might be multitasking -- talking on chat, looking at to do lists, etc. Whenever I tab away to some other application, playback pauses in Adobe Premiere Elements 13. This is really annoying -- any way to turn that off?
JustinPierce
Your type of situation has been written about before and remains the same up to and including the current version 13.
What you describe is what it is. There is no way to change that behavior. The Premiere Elements playback in progress stops when you
switch to another application. No user turn off switch to prevent this from happening.
ATR -
Event happening when a field loses focus...
If I have a field called , say, "text_txt" - is there a way
to make it so that something happens (like a goto action or
whatever) as soon as the focus goes OFF of that text field?...
Thanks!...DIY_Lobotomy,
> If I have a field called , say, "text_txt" - is there a
way
> to make it so that something happens (like a goto
> action or whatever) as soon as the focus goes OFF of
> that text field?...
This question is likely to get more answers in the
ActionScript forum,
but since it's here, I'll answer it here.
For the vast majority of ActionScript questions, here's the
scoop: just
about everything in ActionScript can be referred to as an
object. Objects
are defined by their namesake classes (movie clips by the
MovieClip class,
dynamic and input text fields by the TextField class, sounds
by the Sound
class, and so on). Classes are your Owner's Manual for the
object in
question. Things the an object can do are called methods;
characteristics
an object has are called properties; things an object can
react to are
called events. At least one of these three categories appears
in each class
entry of the ActionScript 2.0 Language Reference.
In your case, you're looking for the Events summary of the
"TextField
class" entry, because you want to know what things a text
field can react to
(such as focus leaving the object).
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design." -
I need a help from you. All my movies are in 4:3 scale.
I use always the same Easy SepUp in Final Cut. My movies is compressed as DV NTSC in 4:3 format.
I need to finalize a dvd, and when the movie enters in iDVD, the preview appears already written in green "widescreen preview", and so the finallized dvd goes to 16:9 format.
I checked in Idvd, and the size is choosed to 4:3.
Interestingly, I've used iDVD several times, including by using templatesmade to 16:9, and changing the format to 4:3 it always worked well.
Maybe is an Idvd update that causes it?Sorry,I know this is a month late, but I think I remember this happening to myself some time ago. As I can best recall, I believe I had used an MP3 music file in my project (exported from FCP 7) and that was the cause in some strange way. I remember deleting a file (again, I believe the mp3 file) and then it worked fine as 4:3.Not positive, but I hope this helps.
-
2 Formatted Searches on the same field
Good Evening
Experts:
I thought maybe one of you might have come across a similar need to what I have to do and could help out. I have a screen that uses Whse id as the unique identifier for each record. I have a Formatted search on the Whse id in my screen that displays the Whse Code and Name from the OWHS table. This is good for adding records so the User can see which ones are valid in the table OWHS. However, when I switch to Find mode, I would like the User to see a list of records for my screen by Whse Id.
So, the Add needs to see all the valid Warehouses(OWHS) and the Find needs to see all records in my screen table that have been entered.
Do you have any suggestions how I can achieve this?
Thanks,
EdThanks for responding Owen...
After re-reading my question here this morning, it appears I was not very clear in my explaining what I need to do here.
Table OHWS has the following records:
Whse Name
01 Location 1
02 Location 2
03 Location 3
04 Location 4
I have a custom screen with a field called Whse id...it is the unique identifier for the table records in a table called "Test".
I started with the Add on my custom screen and put a formatted search on the Whse id field(Select Whse, Name from OWHS). This is great for the User when doing an Add so they can see all the possible Whse to pick from.
So, the User adds a few records to the "Test" table and they might look like:
Whse Item Buyer
01 X Joe
04 Z Bob
Now, when in Find mode for that Whse id field on my custom screen, I want the Formatted search to display the Whse's in my "Test" table that have been used already. So, the Formatted search would display 01 and 04 instead 01,02,03 and 04 like it would for the Add.
Thanks,
EJD -
Formatted search in the User defined table
Hi All..
I created two user defined table one is for document row and other is for document master.So in the master table created one column named as Sales order no and through formatted search call the sales order no in that column.Now i want that in my child table i want to show the those items which belongs to the selected sales order no in the master table.So how can i do that through Formatted search.Is there any query of it then please forward it..
ThanksYa Sure..
I need some quality check on the items after delivery so i am trying to manage it through the user defined tables.I created two tables first is document type ,Second is Document type rows.Now i created 5 user defined field in both the table.Now i want to call my sales order and its items in the UDT.so i created one fms and call the sales order in the Document table now when i double click on the first row after that i am able to see the new table which is the document row table .Now i need the item code and description of the selected sales order in the document rows table.So how the items and description can come in the row type table through FMS..
I hope now u r able to get my scenario.. -
I have Word 2011 on a Mac Book Pro and have had problems with a dissapearing cursor - it makes editing tricky
After googling it I found out that there is a bug where the Mac loses focus if you click away from the document - it also does this with italics according to other users.
I had a play with it and found out that when I click on the toolbar in a document where this happens, the cursor disappears, e.g. changing font colour etc. And then, when I click on Format - Font - Cancel it returns
I'd be interested if anyone else has a comment to add, please do
thanksBTW (speaking as a Dad of 3 daughters in Grad school) if you don't already have and use a DropBox account, or some other similar online "cloud" based backup of your school documents, you should start doing so immediately. By keeping all of your important documents in the Dropbox folder on your computer, you have instant access to them from any other computer (or iPad), should you be w/o your computer while in for repairs (or if, God forbid, it is stolen). It's free for 2 GB of online storage, which is more than enough for a few years worth of Word documents, etc. (If you get other people to sign up via your email "invitation", then Dropbox gives you even more free storage space.) Every time you close a document, it is updated on the Dropbox servers (encrypted), if it is in the Dropbox folder (assuming you give it a few seconds to update before turning off your computer). Do a google search of "Cloud based storage comparisons" to compare the amount of free space each of the competing services give you.
-
Ff_5 Formatting error in the field COBL-KOSTL
When automatically posting bankstatements we have several searchstrings in place.
Most of them post against a bookingrule, but in this case I have a posting on a costcenter as well.
I created two equal searchstrings, one for the bookingrule and one for the costcenter.
When executing FF_5 SAP only books in area 1 and not in area 2. The error message states:
00: 298 Formatting error in the field COBL-KOSTL.
The costcenter is an active one, it is also in OKB9 linked to the cost account number.
Profitcenter is default.
What does this message mean, and how can I find out what I did wrong? I am absolutely sure I have made no typo when entering the costcenter in the mapping area of the searchstring.Hi Siermann,
How are you mapping these two in search string , could you tell me ..?..
Seems to be that cost center is mandatory field but the field is suppressed in GL.
Thanks, -
FF_5 - Import Bank Statement, Err: Formatting error in the field COBL-KOSTL
Hi
When importing the bank statement I'm getting the error
Error: (00 298) Formatting error in the field COBL-KOSTL ; see next message
Why is it doing this? In OKB9 I have the GL Account and the cost center assigned. It is the ne GL that is giving this problem, in the classic GL I do not have this problem.
Thanks in advanceHi
No, it is not that. For some reason in the new GL it does not seem to determine the cost centers and profit centers as usual.
For exampl to allocate the Profit Center for Balance Sheet Account I used to use 3KEH in the classic gl but in the New gl we must use FAGL3KEH.
Now with cost center i'm having the same problem, does not determine the cost center when importing the bank statement.
Can someone help me.
Thanks in advance
Edited by: Louis De Gouveia on Mar 3, 2009 7:07 AM -
PDF forms have problems displaying text and only appears when the field is selected
Hello,
I created some pdf forms to distribute to the company clients. But we are having some people complaining about the text visibility. When they have work in team, the pdf that they receive from a third person often appears unfill or without text, the text is only visible when the field is selected. I need to find a solution for this because our company products are base on this forms.
If there is any addition information that I should add to understand what is happening and how to fix it, I'll be happy to write it.
In the company, we all have mac and the forms where created innitially in Adobe acrobat 9 pro, but we have now Adobe acropabt XI pro.
The users have both Mac and Windows systems.
Thank you,This is usually caused by the form being filled-in and saved by a Mac user who is using the Preview application to view the PDF. More information is here: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html
It is a good idea to inform your users that Adobe Reader (or Acrobat) should be used to work with the forms. -
Formatting error in the field COBL-GSBER - FF_5 Upload
Hi Experts,
When I upload the bank statement in FF_5, I am getting the following error.
"Error: (00 298) Formatting error in the field COBL-GSBER ; see next message"
If I make the field "Businees Area" Optional in Field Status Group of the "Bank Main Accout", then I am not getting the above error and the posting also happens to the "Bank Main Account".
But if I make "Business Area" Required Entry Field then I get the above error.
Is there any other method to rectify this problem, i.e can this be resolved even after keeping Business Area as a required field.
Pl advice.
Rgds,
Prasad.Hi,
I hope making Business area optional field is not a wise decision...user may go without inputting the business area in the field which later on will create problem for clearing...
If required go for activating user exit FEB00001... which will give you the business area...
try the same with your ABAPer....
Cheers
PK -
Tabs smartform don't work when the field content is blank
Hi,
I'm doing a report with smartform, I created a paragraph with 4 tabs, when the field content is blank the next field don't stop in the right tab. Anybody know why ??
Thanks.
Suzuki - Brasilsee example prgram sf*
Here is the step by step procedure
http://sap.niraj.tripod.com/id67.html
Procedure:
1. Create a new smartform
Transaction code SMARTFORMS
Create new smartforms call ZTEST
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. To define the table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collect all the table data in your program, and pass once to SMARTFORMS
In SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZTEST'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html -
Searching for the fields of a table(very very urgent)
Hi all,
i am in graet trouble now.i am searching for the fields like
1)country of origin where the finished good is created.
2) customer sales order number
3)customer sales order line number
i am writing a report for delivery order.in this report i have to refer customer PO & customer SO .
i mean, my company has a customer ( seagate) & seagate has a customer (let maxtor).initially maxtor will give a PO to seagate then seagate will raise a SO againest maxtor.
Then seagate will send PO number(of maxtor), PO line number,SO number(seagate), SO line number(seagate) to our company.
Then i have to write a report for sales order & delivery order.in these reports i have to refer seagate PO number & seagate SO number for reference.
i got PO number as vbkd-bstkd but not getting any field for reference Sales order.plz advice me on this. it is very very urgent.
ur idea is highly appreaciated.
Thank u very much.
Regards
pabitracheck out tables VBAK(sales order header), VBAP(sales items)
Maybe you are looking for
-
View Links for Programmatic View Objects
Hi All, I created a read only VO called MyVO based on a sql query. I created 2 programmatic view objects, MasterView and ChildView. In a custom method in AMImpl class ,I iterate through this MyVO resultset and get the rows in a Row object. Based on s
-
I would like to print out the icon and title of each of my IOS apps to another document for printing and sharing within my family. My son has my old iPod touch so I erased it so he could put whatever games he wants to play on that I used to play wit
-
How to edit text that is too fuzzy
I am trying to edit a psd doc that I received form someone else. It is supposed to be a diet guide that someone created for me. I need to edit it. When I open it, it opens very small. In image size, it is 105*75. The doc is 7*5. The resolution is 15
-
Is it possible to use music like ringtone for iphone 5?
How can I put music as ringtone? Help me
-
How to control jsr184 animation player
I want to control the animation sequences separately from 0 to 670ms670 to 1000ms animation How can I make thanks a lot