Import item stock quantities exported from previous application using DTW
Hi
I have a exported all the stock data (qty OnHand in all Warehouses) from the previous application that is replaced B1. I can not find a template which allows me to import these stock data using DTW. Stocktaking does not work since I don't have prices for these items.
I just want to import all the quantities. How can I do that?
Thanks
Franz
Franz
You can still do it without the price using the StockTaking template.
In the Stock Posting tab of Initial Quantities, Inventory Tracking, ... screen Check the box
Allow Inbound Posting without Price
Similar Messages
-
How to import a *.dmp file (exported from 10g) to 8i database?
Hi everybody!
Could anybody tell me how to import a *.dmp file (exported from 10g) to 8i database?
I have tried but it seemed to be error "wrong version".
Thanks a lot!From 10.1.0 to 8.1.7 => Use the EXPORT 8.1.7 to export the data from the 10.1.0 database and IMPORT 8.1.7 to
import the data into the 8.1.7 database.
Metalink note 132904.1 Subject: Compatibility Matrix for Export & Import Between Different Oracle
Nicolas. -
Importing playlists that were exported from iTunes as text
I need to re-import playlists that I exported from iTunes. When exporting them I didn't notice the format selector, which defaults to .txt format. iTunes requires .m3u or XML for playlist import. How can the information in these files be imported (including getting it into a compatible format)?
That is indeed the procedure for importing playlists. Been using it a lot, trying to get these playlists to re-import.
iTunes requires .m3u or XML for playlist import. iTunes doesn't import playlists in text (.txt) format, even though that's the default format when you export them.
If I'd run an import immediately after exporting a playlist I'd have caught this. But who would expect that iTunes might not accept its own default playlist export format for playlist import?
The problem: how to extract and use the information in the text files iTunes exported. -
Best way To get data from another application using NDDE lbrary
My vb.net application gets data from another application using NDDE Library. I got stocks prices (open,high,low,close,volume,change......(about 15 records for each stock)) (about 200 stocks) . I don't know if there is a problem in my code.
This is my code:
l : is the list of stocks.
This Sub connects to server and requests the data :
Public Shared Sub GetQuotes()
Try
client1 = New DdeClient(server, topic)
client1.Connect()
For i As Integer = 0 To l.Count - 1
client1.StartAdvise("QO." & l(i).t & ".TAD$last", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$open", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$high", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$low", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$pclose", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$volume", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$date", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$time", 1, True, 60000)
Next
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
and then I get the data from Client_advise sub (called each time a value changed )and fill the list. What I know is that client advise gets only one record for single stock each time is called..
Example: for stock AAPL. 1st time enters client_Advise I get open price for AAPL, 2nd time I get high price for AAPL,3rd time I get low price..... and I update the value in the List (l)
This the client_Advise Sub:
Private Shared Sub client1_Advise(ByVal sender As Object, ByVal e As NDde.Client.DdeAdviseEventArgs) Handles client1.Advise
For q As Integer = 0 To l.Count - 1
If l(q).t = w(1) Then
Dim item() As String = e.Item.Split("$")
If l(q).Open = "#" Then
l(q).Open = "0"
End If
If l(q).hi = "#" Then
l(q).hi = "0"
End If
If l(q).lo = "#" Then
l(q).lo = "0"
End If
If l(q).Close = "" Or l(q).Close = "#" Then
l(q).Close = "0"
End If
If l(q).pclose = "#" Then
l(q).pclose = "0"
End If
If item(1) = "open" Then
l(q).Open = Format(Val(e.Text), "0.00")
ElseIf item(1) = "last" Then
l(q).Close = Format(Val(e.Text), "0.00")
ElseIf item(1) = "high" Then
l(q).hi = Format(Val(e.Text), "0.00")
ElseIf item(1) = "volume" Then
l(q).Volume = Val(e.Text)
ElseIf item(1) = "low" Then
l(q).lo = Format(Val(e.Text), "0.00")
ElseIf item(1) = "pclose" Then
l(q).pclose = Format(Val(e.Text), "0.00")
If l(q).pclose <> "" And l(q).pclose <> "#" And l(q).Close <> "" And l(q).Close <> "#" Then
l(q).c = Format(l(q).Close - l(q).pclose, "0.00")
l(q).cp = Format(((l(q).Close - l(q).pclose) / l(q).pclose) * 100, "0.00")
End If
l(q).flag1 = 2
ElseIf item(1) = "date" Then
l(q).Date1 = e.Text
ElseIf item(1) = "time" Then
l(q).Time = e.Text
End If
Exit For
End If
Next
End Sub
Am I doing something wrong which inreases CPU usage to 80 or 90 % ?
Thanks in advance.Hi MikeHammadi,
According to your description, you'd like to get data from another app using NDDE library.
When using the NDDE library, the CPU usage is high. As the NDDE library is third-party library, it is not supported here. I suggest you checking if the problem is caused by the NDDE library.
If you'd like to get data from another app. I suggest you could save the data in the dataBase, and then read it in another application if necessary.
If you have any other concern regarding this issue, please feel free to let me know.
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hide an error from the application using a servererror trigger?
We have an application designed for an old oracle version which issues some sql which is no more supported in todays database version.
We want to use the application unchanged with a new database server.
Old Server Version: 7.3.4 (still in production...)
New Server Version: 10.2 or 11.2
The application issues an
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS ;
which results in ORA-01986 and the application dies.
We would like to hide the error 01986 from the application using a trigger:
create or replace
trigger catch01986
after servererror
on schema
begin
if (ora_is_servererror (1986)) then
null; -- what to do here? we want clear the ora-01986 from the error stack
end if;
end catch01986;How to handle the error, so that the alter session set ... statement is just ignored and no error code is returned to the application?
I asked already some days ago in Database-General Forum, but triggers belong to PL/SQL, so i repost here.
Tnx for help in advance!Hi,
hoek wrote:
A totally weird and untested (and unable to test today) thought:
http://technology.amis.nl/blog/447/how-to-drive-your-colleagues-nuts-dbms_advanced_rewrite-oracle-10g
Very interesting for real dirty solution.
Does not work for my problem, DBMS_ADVANCED_REWRITE works only for select statements.
BEGIN
SYS.DBMS_ADVANCED_REWRITE.DECLARE_REWRITE_EQUIVALENCE (
'alter_session_equivalence',
'ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS',
'ALTER SESSION SET OPTIMIZER_MODE = RULE',
FALSE);
END;
ORA-30389: the source statement is not compatible with the destination statement
ORA-00903: invalid table name
ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 29
ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 185
ORA-06512: at line 2
30389. 00000 - "the source statement is not compatible with the destination statement"
*Cause: The SELECT clause of the source statement is not compatible with
the SELECT clause of the destination statement
*Action: Verify both SELECT clauses are compatible with each other such as
numbers of SELECT list items are the same and the datatype for
each SELECT list item is compatible
hoek wrote:You already had some trigger code, catching the error and sending it to null, why didn't that work?The trigger is fired when the error occurs, but after completion of the trigger, the error code is still delivered to the client.
I dont know how to handle the error within the trigger.
Does the client read the error stack and does it die after reading an error from the stack?The client just checks the error code. On error it terminates.
With the SERVERERROR TRIGGER i did the following tests:
Test 1: trigger does nothing
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
NULL;
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-01986: OPTIMIZER_GOAL is obsolete
01986. 00000 - "OPTIMIZER_GOAL is obsolete"
*Cause: An obsolete parameter, OPTIMIZER_GOAL, was referenced.
*Action: Use the OPTIMIZER_MODE parameter.
-- Client Application reports errorcode 1986Test 2: Trigger raises NO_DATA_FOUND
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
RAISE NO_DATA_FOUND;
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-04088: error during execution of trigger 'AH.CATCH01986'
ORA-01403: no data found
ORA-06512: at line 9
ORA-01986: OPTIMIZER_GOAL is obsolete
04088. 00000 - "error during execution of trigger '%s.%s'"
*Cause: A runtime error occurred during execution of a trigger.
*Action: Check the triggers which were involved in the operation.
-- Client Application reports errorcode 4088Test 3: Trigger raising an APPLICATION ERROR
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-00604: error occurred at recursive SQL level 1
ORA-20999: this makes no sense
ORA-06512: at line 10
ORA-01986: OPTIMIZER_GOAL is obsolete
00604. 00000 - "error occurred at recursive SQL level %s"
*Cause: An error occurred while processing a recursive SQL statement
(a statement applying to internal dictionary tables).
*Action: If the situation described in the next error on the stack
can be corrected, do so; otherwise contact Oracle Support.
-- Client Application reports errorcode 604Test 4: Adding an EXCEPTION part to the trigger does not help, this will catch only exceptions raised while the trigger executes:
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
END IF;
EXCEPTION
WHEN OTHERS THEN
NULL;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-01986: OPTIMIZER_GOAL is obsolete
01986. 00000 - "OPTIMIZER_GOAL is obsolete"
*Cause: An obsolete parameter, OPTIMIZER_GOAL, was referenced.
*Action: Use the OPTIMIZER_MODE parameter.
-- Client Application reports errorcode 1986So i do not know what to do inside the trigger to clean the error stack so that the client will receive no errorcode. -
Exporting from FCP and using Compressor at the same time?
Is it ok to export from FCP and use compressor at the same time? I am exporting a Self-Contained, Current Setting Quicktime Movie, and using Compressor to compress a similar HDV file to Mpeg2?
Only in FCP 7.
-
Exporting from FCP for use with PC
Hey all,
Trying to deliver a high-med quality 8 minute video from FCP for use with a PC. I've tried exporting both a .mov and .avi using DVCPro50, but neither are readable through the PC. Best I can get is sometimes audio will show up. Does anyone have a good solution for exporting from FCP for use with a PC?
Thanks again for your help!I don't think DVCpro50 codec is available on a PC. I think panasonic has a special license with apple only, so you need to try a different codec for the avi.
-
Changing frame rate when exporting from iMovie '09 using quicktime has no impact on duration. Why?
I have a file created by digitizing an 8mm film at a rate of 24 fps. I would like to create a downloaded movie at a frame rate of 15 fps. The Export using Quicktime option seems to provide that capability but the resulting file has the same duration as the original 24 fps file. How can I get the exported movie to be slowed down?joegez,
There is a feature you can use to slow down the video. In the project, move the mouse pointer over the clip, then click the gear icon. That brings up the Inspector. Click the Clip tab. Then you will see a feature there called Speed. Move the slider to the left to slow down the clip. Or you can enter a percentage in the box on the right.
Hope this solves the problem for you. -
Re-Importing DNGs which were exported from CR2s
Going forward, I'm sure this issue could be solved by a workflow change, but for now, I have a small problem:
I shoot a ton of images (20,000+ per year) and process in Lightroom. I have a workflow where I export my .CR2 originals as DNG for archiving to an external drive, to free up space on my local drive. Once they're copied over, I delete the folders from my Mac's hard drive via the Finder, which leaves the previews still searchable within Lightroom. This is great for searching and referencing archived stuff that I don't necessarily need to re-edit.
However, when I do need to re-edit something, once I copy the folder from the exernal drive back to its original location on my local HD for editing in LR, Lightroom doesn't recognize the files automatically since they now have a different file extension. I must click each thumbnail's question mark and point it to the file in question. Lightroom will not apply this same action to nearby photos.
Any thoughts on how to speed this up rather than addressing each image, one-by-one?
Thanks in advance for any insight.That is indeed the procedure for importing playlists. Been using it a lot, trying to get these playlists to re-import.
iTunes requires .m3u or XML for playlist import. iTunes doesn't import playlists in text (.txt) format, even though that's the default format when you export them.
If I'd run an import immediately after exporting a playlist I'd have caught this. But who would expect that iTunes might not accept its own default playlist export format for playlist import?
The problem: how to extract and use the information in the text files iTunes exported. -
Exporting from Keynote 08 using applescript or automator
Hi
Does anyone have a method for triggering an export from applescript of an open keynote presentation, I have an action that takes a sequence of images (exported slides) sorts and loads into an new presentation and I would like to then export as .ppt
This allows the sad ppt user to see the slides perfectly formed (and stops them editing and stealing my ideas). However the last step of the export I have to do manually as I cant see any actions in automator or anything in the applescript dictionary.
Any ideas
thanks
JonI have exactly the same question. I have been experimenting with AS. I found some code that almost works, but it won't select the PDF button. The sheet with the buttons is obviously not a radio button group, and I can't work out what it is.
tell application "Finder"
set draggeditems to (choose file)
repeat with thisFile in draggeditems as list
tell application "Finder" to reveal item thisFile
set thisFile to thisFile as alias
tell application "Keynote" to open thisFile
tell application "System Events"
tell application process "Keynote"
set frontmost to true
if menu item "Hide Inspector" of menu 1 of menu bar item "View" of menu bar 1 exists then
keystroke "i" using {command down, option down}
end if
click menu item "Export…" of menu 1 of menu bar item "File" of menu bar 1
repeat until sheet 1 of window 1 exists
end repeat
tell sheet 1 of window 1
click button "PDF" of radio group 1
click checkbox "Include slide numbers"
click checkbox "Include date"
click checkbox "Print each stage of builds"
click button "Next…"
end tell
repeat until button "Export" of sheet 1 of window 1 exists
end repeat
tell sheet 1 of window 1
click button "Export"
end tell
delay 3
keystroke "w" using command down
end tell
end tell
end repeat
end tell -
Hi,
I am getting the error while uploading images to SAP Mobile Documents from custom iOS(iPad )application using ObjectiveCMIS library.
My Custom method is as follows:
- (void)createSalesOrderRouteMapImageInFolder:(NSString*)salesOrderRouteMapFolderId routeMapImageTitle:(NSString *)imageTitle routeMapContent:(NSData *)imageData
NSInputStream *inputStream = [NSInputStream inputStreamWithData:imageData];
NSMutableDictionary *properties = [NSMutableDictionary dictionary];
[properties setObject:[NSString stringByAppendingFileExtension:imageTitle] forKey:@"cmis:name"];
[properties setObject:@"cmis:document" forKey:@"cmis:objectTypeId"];
[self.session createDocumentFromInputStream:inputStream
mimeType:@"image/png"
properties:properties
inFolder:salesOrderRouteMapFolderId
bytesExpected:[imageData length]
completionBlock:^(NSString *objectId, NSError *error) {
NSLog(@"Object id is %@",objectId);
if(error == nil) {
[inputStream close];
NSLog(@"Uploading Sales order route map successfully.");
[[NSNotificationCenter defaultCenter] postNotificationName:SaveOrderSuccessNotification object:nil];
} else {
[inputStream close];
NSLog(@"Uploading sales order route map failed.");
[[NSNotificationCenter defaultCenter] postNotificationName:SaveOrderFailedNotification object:error];
} progressBlock:^(unsigned long long bytesUploaded, unsigned long long bytesTotal) {
NSLog(@"uploading... (%llu/%llu)", bytesUploaded, bytesTotal);
OBjectiveCMIS Method in which i am getting error during upload:
- (void)sendAtomEntryXmlToLink:(NSString *)link
httpRequestMethod:(CMISHttpRequestMethod)httpRequestMethod
properties:(CMISProperties *)properties
contentInputStream:(NSInputStream *)contentInputStream
contentMimeType:(NSString *)contentMimeType
bytesExpected:(unsigned long long)bytesExpected
cmisRequest:(CMISRequest*)request
completionBlock:(void (^)(CMISObjectData *objectData, NSError *error))completionBlock
progressBlock:(void (^)(unsigned long long bytesUploaded, unsigned long long bytesTotal))progressBlock
// Validate param
if (link == nil) {
CMISLogError(@"Must provide link to send atom entry");
if (completionBlock) {
completionBlock(nil, [CMISErrors createCMISErrorWithCode:kCMISErrorCodeInvalidArgument detailedDescription:nil]);
return;
// generate start and end XML
CMISAtomEntryWriter *writer = [[CMISAtomEntryWriter alloc] init];
writer.cmisProperties = properties;
writer.mimeType = contentMimeType;
NSString *xmlStart = [writer xmlStartElement];
NSString *xmlContentStart = [writer xmlContentStartElement];
NSString *start = [NSString stringWithFormat:@"%@%@", xmlStart, xmlContentStart];
NSData *startData = [NSMutableData dataWithData:[start dataUsingEncoding:NSUTF8StringEncoding]];
NSString *xmlContentEnd = [writer xmlContentEndElement];
NSString *xmlProperties = [writer xmlPropertiesElements];
NSString *end = [NSString stringWithFormat:@"%@%@", xmlContentEnd, xmlProperties];
NSData *endData = [end dataUsingEncoding:NSUTF8StringEncoding];
// The underlying CMISHttpUploadRequest object generates the atom entry. The base64 encoded content is generated on
// the fly to support very large files.
[self.bindingSession.networkProvider invoke:[NSURL URLWithString:link]
httpMethod:httpRequestMethod
session:self.bindingSession
inputStream:contentInputStream
headers:[NSDictionary dictionaryWithObject:kCMISMediaTypeEntry forKey:@"Content-type"]
bytesExpected:bytesExpected
cmisRequest:request
startData:startData
endData:endData
useBase64Encoding:YES
completionBlock:^(CMISHttpResponse *response, NSError *error) {
if (error) {
CMISLogError(@"HTTP error when sending atom entry: %@", error.userInfo.description);
if (completionBlock) {
completionBlock(nil, error);
} else if (response.statusCode == 200 || response.statusCode == 201 || response.statusCode == 204) {
if (completionBlock) {
NSError *parseError = nil;
CMISAtomEntryParser *atomEntryParser = [[CMISAtomEntryParser alloc] initWithData:response.data];
[atomEntryParser parseAndReturnError:&parseError];
if (parseError == nil) {
completionBlock(atomEntryParser.objectData, nil);
} else {
CMISLogError(@"Error while parsing response: %@", [parseError description]);
completionBlock(nil, [CMISErrors cmisError:parseError cmisErrorCode:kCMISErrorCodeRuntime]);
} else {
CMISLogError(@"Invalid http response status code when sending atom entry: %d", (int)response.statusCode);
CMISLogError(@"Error content: %@", [[NSString alloc] initWithData:response.data encoding:NSUTF8StringEncoding]);
if (completionBlock) {
completionBlock(nil, [CMISErrors createCMISErrorWithCode:kCMISErrorCodeRuntime
detailedDescription:[NSString stringWithFormat:@"Failed to send atom entry: http status code %li", (long)response.statusCode]]);
progressBlock:progressBlock];
Attaching the logs:
ERROR [CMISAtomPubBaseService sendAtomEntryXmlToLink:httpRequestMethod:properties:contentInputStream:contentMimeType:bytesExpected:cmisRequest:completionBlock:progressBlock:] HTTP error when sending atom entry: Error Domain=org.apache.chemistry.objectivecmis Code=260 "Runtime Error" UserInfo=0x156acfa0 {NSLocalizedDescription=Runtime Error, NSLocalizedFailureReason=ASJ.ejb.005044 (Failed in component: sap.com/com.sap.mcm.server.nw) Exception raised from invocation of public void com.sap.mcm.server.service.AbstractChangeLogService.updateChangeLog(java.lang.String,boolean) throws com.sap.mcm.server.api.exception.MCMException method on bean instance com.sap.mcm.server.nw.service.NwChangeLogService@4e7989f3 for bean sap.com/com.sap.mcm.server.nw*annotation|com.sap.mcm.server.nw.ejb.jar*annotation|NwChangeLogService in application sap.com/com.sap.mcm.server.nw.; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/com.sap.mcm.server.nw) Exception raised from invocation of public com.sap.mcm.server.model.ChangeLog com.sap.mcm.server.dao.impl.ChangeLogDaoImpl.findByUserId(java.lang.String) method on bean instance com.sap.mcm.server.dao.impl.ChangeLogDaoImpl@2852b733 for bean sap.com/com.sap.mcm.server.nw*annotation|com.sap.mcm.server.nw.ejb.jar*annotation|ChangeLogDaoImpl in application sap.com/com.sap.mcm.server.nw.; nested exception is: javax.persistence.NonUniqueResultException: More than 1 objects of type ChangeLog found with userId=25f8928e-8ba0-4edd-b08e-43bf6fb78f1a; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/com.sap.mcm.server.nw) Exception raised from invocation of public com.sap.mcm.server.model.ChangeLog com.sap.mcm.server.dao.impl.ChangeLogDaoImpl.findByUserId(java.lang.String) method on bean instance com.sap.mcm.server.dao.impl.ChangeLogDaoImpl@2852b733 for bean sap.com/com.sap.mcm.server.nw*annotation|com.sap.mcm.server.nw.ejb.jar*annotation|ChangeLogDaoImpl in application sap.com/com.sap.mcm.server.nw.; nested exception is: javax.persistence.NonUniqueResultException: More than 1 objects of type ChangeLog found with userId=25f8928e-8ba0-4edd-b08e-43bf6fb78f1a}
2015-03-12 04:08:31.634 Saudi Ceramics[4867:351095] Uploading sales order route map failed.Hi Sukalyan,
Have you checked the below links?
These will give you step by step implementation procedure.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a099a3bd-17ef-2b10-e6ac-9c1ea42af0e9?quicklink=index&overridelayout=true
http://wiki.sdn.sap.com/wiki/display/WDJava/KmuploadusingWebdynproapplication
Regards,
Sandip -
Deletion of line items from Sales Order using DTW
Hi Experts
I have 160 sales which all require a particular item needs to be
deleted before they can be processed further. It is ths same item on every order but
doesn't appear at the same row number. In some cases it may appear more than once
on an order.
The line item needs to be deleted based on the row numbers which could be different on every order (LineNum)
Rather than have admin go through them 1 by 1 and delete the
row is it possible I can use DTW to perform an update on each row to delete it?
I'm not sure how to do this since I have only ever used DTW
to add or edit.
Thanks
GeoffHi,
1. It is not possible to delete records using DTW, only importing new records or updating existing ones are supported. These are the only valid operations via DTW.
2. It is possible to delete the contents of an edit text field by using the character / or -1. However it is not possible to clear an entire row/line using this notation.
Thanks & Regards,
Nagarajan -
Access resource from other application using JAAS
i use JAAS for autenticate and autorizate in my web application, but i need access a resource from the other application , but this application don�t use JAAS.
How can i acces this resource from other application?
i know need send the parameters JSESSIONID, but , always redirecto the login page.
thank you for your helpyour signon url is consists of the following url http://server.domain.com:port/site/signon.html
Can you ping server.domain.com from your client?
If you can ping it, then make sure your port is added as a rule in the firewall of the server.
Also make sure that the proxy setting of the client have an exception to server.domain.com.
If you cannot ping it, make sure the server and the client are conneted to the same network and make sure the hosts file on the client reflects the ipaddress and the hostname of the server.
Hakan -
Importing Legacy A/R and A/P Invoices using DTW
Hi All,
I have in interesteing situation which I need some help for.
We started using SAP B1 begining of 2008. We used DTW to import the open A/P and A/R invoices from last year (legacy data). We didn't want the legacy data to have any impact on P&L, only to be able to receive and make payments for these invoices in B1. Therefore we used a service inovice without posting to the revenue and COS accounts. Since it is not possible to post directly to a control account I created a new G/L account for Accounts Payable and Accounts Receivable (I called them AP Migrated and AR Migrated), which is not a control account.
When preparing the DTW files, In the lines file I specfied the AccountCode as this AR and AP Migrated G/L accounts.
Since the BP to whom these invoices relate to, have the A/P and A/R control account defined in the BP master data, each of these migrated invoices posted to the AP Migrated account with the Offset Account being the original A/P Control Account.
Now that I am recording payments, the AP and AR accounts are being updated but not the AP and AR Migrated accounts. To illustrate: Let's suppose I migrated an AP invoice for $100. It posted to the AP Migrated account and the Offset Account being the AP Control Account. Now the balance on the AP Migrated Account shows $100, and the balance on the AP Control Account shows -$100. Now after I record the payment for this invoice the AP Control Account balance is $0, but the AP Migrated account still shows $100.
How can this be rectified, and is this the correct way of doing this?
Many thanks,
Myran>
Suda Sampath wrote:
> For anything to balance the debits and the credits must be equal. If your AR Migrated account total matches the AP Migrated account, then you can balance them through Internal reconciliation or JE.
>
> The best way to balance this opening balance account is only when you import all the balances not just AR & AP. If the AR and AP account do not balance, then the Internal Recon balacing account would be one of the P&L Accounts which would show in your P&L statement.
>
> Suda
Hi Suda,
Once again, many thanks for your good and speedy replies.
I am only importing the AR & AP transactions which I need to process payments in the new fiscal year. I am not importing all the other PL stuff.
Am I better off using then a seperate GL account for the AP and a seperate one for AR?
BR,
Myran -
How to export and Import table of another user from user system using expdp
Hi All,
How to export a table 'scott.emp' from system user.
expdp system/password directory=expdp dumpfile=scott_emp.dmp ???? ?? tables=emp ??????????????????????????
thank you
---------------------------------------------------------- Posting solution here to make needed users not to scroll down ------------------------------------------------------
Finally I got it right!!!
Task :- Export table_1 of schema_a from database db1 and Import it to schema_b of database db2 as user other than schema owner
Solution :-
expdp system/pwd directory=expdp tables=schema_a.table_1 dumpfile=schema_a.table_1.dmp logfile=expdp_schema_a.table_1.log
impdp system/pwd directory=expdp tables=schema_a.table_1 dumpfile=schema_a.table_1.dmp logfile=impdp_schema_a.table_1.log remap_schema=schema_a:schema_b remap_tablespace=table_1_tablespace:schema_b_tablespace
Thank You All
Edited by: Ven on Mar 9, 2011 7:52 AMJust a example
SQL> $expdp system/sys directory=data_pump_dir dumpfile=tests.dmp tables=scott.emp
Export: Release 11.2.0.1.0 - Production on Tue Mar 8 10:39:57 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_01": system/******** directory=data_pump_dir dumpfile=tests.dmp tables=scott.emp
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 64 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported "SCOTT"."EMP" 8.570 KB 14 rows
Master table "SYSTEM"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
Dump file set for SYSTEM.SYS_EXPORT_TABLE_01 is:
C:\APP\MAZAR\ADMIN\ACEME\DPDUMP\TESTS.DMP
Job "SYSTEM"."SYS_EXPORT_TABLE_01" successfully completed at 10:40:01
SQL>
Maybe you are looking for
-
My HP Color LaserJet 2605dn has become slow - Used to be fast
I know a lot of people have complained about slow printing with the 2605dn. My problem is that mine used to be fast. It would print a web page or Word document within one-two seconds of the print command. Now, it can take a minute or even more for th
-
How do I set cursor.index to anywhere in the graph array?
I am using LV 8.5.1 and feeding an XY graph with an X-Y array of data. Only a section of the array is displayed on the graph. I have a cursor (single-plot). I would like to set Cursor.Index property node of the cursor associated with the plot to the
-
SQL*LOADER/SQL usage in Migration
I have very limited migration requirements. I DO NOT need to migrate a database. I DO need to change some SQL and BCP load scripts from SQL-SERVER 6.5 to their equivalents in ORACLE 8.0.5. For this limited purpose, should I proceed to handcode these,
-
Is there a Front Row music preference to turn off the song time bar?
In fact, are there ANY preferences for the display of the music info at all?
-
Dear All, How to Handle Freight at Actual. Scenario - While Creating Purchase Order, Purchaser does not have any Information regarding the Frieght. So when he receives invoice he gets the Details and he enters in the Inoice Under "Unplanned Cost". Is