How can i force flush database in toplink?pls help me
Just like hibernate's session.flush().
The JPA support in TopLink 10.1.3.1 allows you to flush an entity manager as per the JPA spec.
Prior to 10.1.3.1, you can call writeChanges() on a UnitOfWork. However this call can only be used once per unit of work and can not be used to write out changes in an incremental fashion.
Similar Messages
-
hi all
I want to do one typical login page using html,jsp.
its should display the text .
Enter your username,
Enter your password.
if the user click on the "Enter your username" that text should be disappeared and area should get the user input.
for the password field also same like this .
is it possible to implement using Html and Jsp????
else
how can we do that ????
pls give ur valuable suggestions.........
thanks in advanceAh, the input type="password", I didn't realize about that. That makes it tricky.
Well, create a text field and a hidden field along it. On every key press (use the onkeypress attribute) write to that hidden field and change the character to '*' in the this.value. Or create a hidden password field along it (with CSS set to display: none;) and then onclick hide the textfield and display/focus the password field using JS+DOM by setting it to style.display = 'block'. -
My iphone5 does not have FaceTime,how can i activate/install it??pls help
i bought my iphone 5 in saudi and it has no facetime at all,i was forced to jailbriken it and it worked,then i decided to restore my iphone to its factory setting and now im having the same problem...is there any way to enable/activate or use facetime without jailbreaking again?pls help.any attention would be highly appreciated.thanks
etumak wrote:
i bought my iphone 5 in saudi ...
FaceTime in the Middle East
iPhones sold in Saudi Arabia and several other countries have FaceTime disabled.
etumak wrote:
..i was forced to jailbriken it ...
Sorry... But...
The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
Unauthorized modification of iOS
http://support.apple.com/kb/HT3743 -
How can I force a database trigger to fire only if there is an update not when insert
Hi
Could you help me please. I have a data base trigger that need
to fire only when there is an update in some columns in a table
But the trigger is firing eventhough they only do an insert.
here is the begining of the trigger.
create or replace trigger alpha_HZ_LOCATIONS_AUR
after update of address1,address2,city,state
,postal_code,county,province,country,attribute20
on hz_locations
for each row
DECLARE
v_cust_account_id hz_cust_acct_sites_all.cust_account_id%type;
v_cust_acct_site_id hz_cust_acct_sites_all.cust_acct_site_id%
type;
v_org_id hz_cust_acct_sites_all.org_id%type;
-- cursor; all sites for this customer address
cursor sc is
select
s.site_use_id site_use_id
,s.attribute15 frk_addr_number
from
ra_site_uses_all s
where s.address_id = v_cust_acct_site_id
and s.site_use_code in ('BILL_TO','SHIP_TO');
rowcnt number;
v_system_code varchar2(15);
v_ora_cust_num varchar2(30);
v_frk_cust_num varchar2(15);
v_insert_update_flag varchar2(1);
BEGIN
v_insert_update_flag := 'U';
-- get cust_acct_site_id (address_id)
begin
select acct_site.cust_account_id,
acct_site.cust_acct_site_id, acct_site.org_id
into v_cust_account_id, v_cust_acct_site_id, v_org_id
from
hz_party_sites party_site
,hz_cust_acct_sites_all acct_site
where acct_site.party_site_id = party_site.party_site_id
and party_site.location_id = :new.location_id;
Thank you much
alphaThanks for the response. My trigger is firing when I update the
table trough a form. Also when the uses go into the oracle apps
and create a new customer they get an error saying
ora-01403 no data found
ora-06512 at'the trigger name' and gives line number
ora-04088 error during execution of trigger.
Note: and I looked trigger it's really ok.
If you can please help -
How can i design these layout in samrtform pls help me?
space myTec Logo Loading List space
myTec Address
ShipmentOrder Number Date Time
Loading Point
Shipping point
Space
We deliver according to the following conditions
Route Delivery ship to Party No. of Units Delivery Date Time Unloading point Postal Code City Total Weight / Volume
Total Value
SpaceHi
You can write your own custom Program in SE38 and write the program by fetching data from VTTK and VTTP tables(shipement) and if needed from LIKP and LIPS tables
Then design a smartform and call that smartform in the program.
see this and do accordingly.
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.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
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
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. Define 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.
Collecting all the table data in your program, and pass once to SMARTFORMS
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 = 'ZSMARTFORM'
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.
Smartform
you can check this link here you can see the steps and you can do it the same by looking at it..
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
SMARTFORMS STEPS.
1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
2. Create Table type(t_struct) of stracture in se11.
3. In your program declare Internal table(Itab) type table of structure(struct).
4. Define work area(wa) like line of internal table.
5. Open Tcode Smartforms
6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
8. In form pages and window, create Page node by default Page1 is available.
9. In page node you can create numbers of secondary window. But in form there is only one Main window.
10. By right click on page you can create windows or Go to Edit, Node, Create.
11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
13. In table there are three areas Header, Main Area, Footer.
14. Right click on the Main area create table line by default line type1 is there select it.
15. Divide line into cells according to your need then for each cell create Text node.
16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
17. Save form and activate it.
18. Then go to Environment, function module name, there you get the name of function module copy it.
19. In your program call the function module that you have copied from your form.
20. In your program in exporting parameter of function pass the internal table(itab).
SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
configure forms with data from an SAP System for the relevant business processes.
To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
SAP Smart Forms also support postage optimizing.
Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
What Transaction to start SAP Smart Forms?
Execute transaction SMARTFORMS to start SAP Smart Forms.
Key Benefits of SAP Smart Forms:
SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
These actions do not include writing of coding lines or using a Script language.
Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
For Web publishing, the system provides a generated XML output of the processed form.
Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
SmartForms System Fields
Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
System fields of Smart Forms
&SFSY-DATE&
Displays the date. You determine the display format in the user master record.
&SFSY-TIME&
Displays the time of day in the form HH:MM:SS.
&SFSY-PAGE&
Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
&SFSY-JOBPAGES&
Contains the total page number of all forms in the currently processed print request.
&SFSY-WINDOWNAME&
Contains the name of the current window (string in the Window field)
&SFSY-PAGENAME&
Contains the name of the current page (string in the Page field)
&SFSY-PAGEBREAK&
Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
&SFSY-MAINEND&
Is set as soon as processing of the main window on the current page ends
&SFSY-EXCEPTION&
Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
Example Forms Available in Standard SAP R/3
SF_EXAMPLE_01
Simple example; invoice with table output of flight booking for one customer
SF_EXAMPLE_02
Similar to SF_EXAMPLE_01 but with subtotals
SF_EXAMPLE_03
Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
Advantages of SAP Smart Forms
SAP Smart Forms have the following advantages:
1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
2. Displaying table structures (dynamic framing of texts)
3. Output of background graphics, for form design in particular the use of templates which were scanned.
4. Colored output of texts
5. User-friendly and integrated Form Painter for the graphical design of forms
6. Graphical Table Painter for drawing tables
7. Reusing Font and paragraph formats in forms (Smart Styles)
8. Data interface in XML format (XML for Smart Forms, in short XSF)
9. Form translation is supported by standard translation tools
10. Flexible reuse of text modules
11. HTML output of forms (Basis release 6.10)
12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
<b>Reward points for useful Answers</b>
Regards
Anji -
My MacBook Pro says my password is wrong, but I haven't changed it, tried resetting password with apple I'd but MacBook says that's wrong too. The apple I'd works on the ipad though. How do I log into my mac?
a virus/trojan/malware is not cross platform so they are 100% made for a device
the day a virus/trojan/malware is discovered that works on any ios devices that are not jailbroken
you will find it all over the news and all posts in this forum would be about that
try login from the browser rather then the mail program and verify each account setting one by one to verify that they are correctly because an undocumented unwanted feature in the os of your phone could be the cause -
Hi! I was browsing my facebook account when my iphone 3G restarted on its own. The apple icon appeared and when the "restarting" process was over, I lost all my installed apps, the contents of my phonebook were gone, all text meassages saved were also gone. It was as if I had a new phone again. I am really lost now and I don't know if there is a way of retrieving my contacts and my messages. Please help me if you have encountered this same problem before. This is the first time I had a problem with my phone and now everything is gone without a warning.
Please help me. Thanks!I upgraded to OS5 yesterday and all my contacts including names, email addresses, and phone numbers have been deleted. When I tried to revert to a previous back up, the only one was the one that was done right before I downloaded the new OS. All other previous backups were gone. In addition, I bought 40.00 worth of extra storage space to back up to iCloud and had to start it over several times before it finally worked...25 hours later!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I am MAD that the new OS download procedure deleted EVERYTHING in my contacts. The only thing that remains are my favorited phone numbers but none of them are labeled so I have no idea who anyone is except I sort of know where some people were on the list. This is HORRIBLE and so far I've seen hundreds of these exact kinds of posts all over the Net, not just here on the Apple website. I've done everything I could on my own and tried several things that have been suggested by other Apple users here in the forum. Nothing has worked and evidently nothing was saved to my iCloud storage, either. Now I'm having to pay for a 1pm phone call with tech support that I'm sure will cost me a freaking fortune to tell me that I'm screwed-and that'll be 75.00, please.
yeah, Genius. Nice job Apple. -
How can i open the database by force?
my database is crash because the machine power problem, when i restart again, oracle error say the control file is older than the system tablespace file,
so i have to create the controlfile again, then , the database need recover , but my database is not archived, it can't take a media recoer , what should i do?
how can i open the database even lost some data?Pallofa,
Try open img file using some software.
You need a software to mount the img file.
http://techie-buzz.com/how-to/mount-iso-files-as-a-virtual-cd-dvd-drive.html
If thinstead of using an img file, just use this command.
repair-bde e: d: -rp xxxx-xxxxx-xxxxxx-xxxxx -f -lf c:\log.txt
where d is the portable disk whereyou want the data and d drive should at least
equal to e drive.
Where xxxx-xxxx-xxxxx is the 48 digit recovery password.
-lf will generate a log file and point to a certain location, here I have pointed to c drive.
After repair-bde is completed, run chkdsk /f on D drive, then try to access your data.
Manoj Sehgal -
I had over 200 e-mails. I went to my webmail and deleted most of them. However, my iPhone still shows 200 e-mails. How can I force my iPhone to update from the e-mail server? Or will I have to delete each e-mail from my iPhone as well? Thanks.
You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.
-
How can I force-install iOs5/6 apps on my iPod Touch?
Hi, I have an iPod touch version 4.3.5 (ML1). Model is MC540C.
The App Store sometimes bars me from installing apps because the app has a minimum requirement of iOS 5 or 6. How can I force my iPod to install these apps anyway?No, it is more than the screen dimension.
You have a 4G iPod, why not update?
To update:
iOS 4: Updating your device to iOS 5 or later
You need iTunes 10.7 or later on the computer -
How can I force iTunes Match to upload a "Duplicate" to the iCloud?
I have one album where the first track was uploaded, and the other eleven tracks are all tagged as "Duplicates." These tracks were not uploaded to the iCloud. How can I force iTunes Match to upload these eleven tracks erroneously tagged as Duplicates?
I'm adding my 2¢ because I just "discovered" iTunes Match yesterday and decided to subscribe thinking there was no downside (doh!).
Well, firstly, there's the enormous downside of Apple's structure not being able to keep up with (what they should have known would be) enormous interest... my iTunes has been matching for >20-hours and has yet to reach half-way up my library. BTW: I thought I read the iTunes Match info fairly thoroughly prior to subscribing and did not see anything about it being for songs vrs full library.
And secondly, and even more important to me, is that Apple's method of determining duplicate songs is not robust enough, especially for classical music and audio books (e.g., LoTR). I have >12000 "songs" in my library, and Match has determined a boatload are duplicates. They are not of course and even if Apple's duplicate-determining algorithm just looked at disc & track numbers it would "know" that. Anyway, there's a fairly good chance I will not have one complete album upload/match out of >500 albums. That's nae Scottish, in anybody's book.
Gotta say, using Garage Band to individually alter >2000 "songs" on the off-chance that may assist Apple's duplicate algorithm to be correct is not gonna happen. If, after the matching/uploading is complete, I still have >even 100-not-duplicate-songs listed as duplicates, I'm getting my $29.95 subscription back.
... and C: does anybody know why Apple's Lion spell check doesn't work on Apple's discussion forums??? -
Over 10 years I have built several databases with Appleworks. Now I have a macbook pro. How can I translate these databases to a 10.6.8 program?
Thanks Joe, but that won't work. I've finally found a site that answers the question: http://www.wilmut.webspace.virginmedia.com/notes/aw/page1.html
I can only say that by Apple I have been royally screwed. I'll never buy another mac -- everything I do would simply disappear into cyberspace. -
How can I use two database in Dataset in SSRS?
Hi,
I am using one query to generate my SSRS report. In that query I am using subquery. Now I am pulling data from multiple tales.
DB used in sub query is different than the rest of the tables DB.(So total I am using 2 DB(Database))
So I see that in SSRS, I can connect query(In DataSet Properties) to one DATA_SOURCE only, how can I use other database which is I used in sub-query?
I have to move this SSRS into PROD and I can't hard code that sub-query's DB name in my query.
Please give me suggestion. Thanks!!
VickyIn SSRS 2008 R2 you can use the Lookup function (http://technet.microsoft.com/en-us/library/ee210531.aspx ) and LookupSet function (http://technet.microsoft.com/en-us/library/ee240819.aspx
Depending on your security set up, you can reference a table in a second database on the same server using a three part name: database.schema.table. This is more likely to work for you if you wrap your SQL command in a stored procedure.
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com -
How can i force my mac book pro to use an external display
how can i force my mac book pro to use an external display
my screen is blackWhat sort of adapter are you using?
Clinton -
How can I force Time Machine to make a complete backup of my Hard Drive. I just installed a new external drive for Backup since my previous one failed. Now when I back up, Time Machine only backs up my data folder and the Users folder.
When I start a backup. Time Machine says "Oldest Backup: None; Latest Backup: None", so it seems like it should do a complete backup, but it only does a partial.Hi I'd like to jump in here. Your app showed me this:
Time Machine:
Skip System Files: NO
Mobile backups: OFF
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 749.3 GB Disk used: 453.81 GB
Destinations:
Plastic Wrapper [Local] (Last used)
Total size: 999.86 GB
Total number of backups: 64
Oldest backup: 2013-07-24 23:25:11 +0000
Last backup: 2013-11-17 01:40:47 +0000
Size of backup disk: Too small
Backup size 999.86 GB < (Disk used 453.81 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
/sbin excluded from backup!
/usr excluded from backup!
/System excluded from backup!
/bin excluded from backup!
/private excluded from backup!
/Library excluded from backup!
/Applications excluded from backup!
Aside from the size of my backup drive, which I will increase at some point, I'd really like to have time machine backing up all system folders, especially Applications. How to I reset this hidden exclusions?
Thanks,
Darcy
Maybe you are looking for
-
My old PC died and I replaced it with a MacBook Pro. Although I was able to copy the data from the PC's hard drive, I am unable to export my previous bookmarks/favorites to an html file because that PC won't boot. Is there any other way to import t
-
I have been using Mogrify on export from LR, and I love it. Only one problem. On B&W conversions, when I open them in PS, I get an error box saying "The embedded ICC profile cannot be used because the ICC profile is invalid. Ignoring the profile." Cl
-
PSD thumbnails in Win7 explorer
Is there a way to activate PSD and other thumbnails in Win7 Explorer?
-
Photoshop Won't Open -- Error Message
My Photoshop CC won't open. It pops up the following error: Photoshop.exe -- Entry Point Not Found The procedure entry point ?Terminate@StructuralImageEditing@@YAXXZ could not be located int he dynamic link library PatchMatch.dll. I've tried uninstal
-
Properties Panel Focus / Mac?
I upgraded to CS4 yesterday in hopes Adobe had improved the Usability Features of Flash. Not so. Is it really true that you can't put FOCUS on the Property Inspector Panel in Flash CS4 with a keyboard command on the Mac? Seriously? Is there another w