I try to upload my application using Application Loader
I try to upload my application .ipa using Application Loader then I receive this error :ERROR ITMS-9000: "Invalid Segment Alignment. This app does not have proper segment alignment and should be rebuilt with the latest version of Xcode. Please contact Developer Technical Support if you need further assistance."
This application is compiled with ad hoc option.
Another question: i´m using Flash2014 in Windows8.1 Is possible to upload the application, without a mac?
Similar Messages
-
Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picture or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Does anyone know how to fix this?
As a test launch iPhoto with the Option key held down and create a new, test library. Tru importing from your camera to it and to see if the same problem persists. Does it?
OT -
My Browser's Freeze when I try to upload a file
I am using Yosemite and when I try to upload a file using either safari, chrome or firefox I get the beachball and my browser just gets stuck. I have try different type of websites and the browser reacts the same. As soon as I click the link on the site to upload it starts beach balling.
ThanksLaunch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Click the Clear Display icon in the toolbar. Then take an action that isn't working the way you expect. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Some private information, such as your name or email address, may appear in the log. Anonymize before posting. -
How to use SQL*LOADER to read data in |SMITH|ALFRED| format
the data I need to upload to table using SQL*LOADER is in format as below:
|AD |Argentina |
|CN |China |
|US |America |
|GB |England |so how should I write my control file to read the data into two columns table?
I googled and people say that use Enclosed fields—delimiter (|), and I tried with below, but not working:
LOAD DATA
INFILE *
insert
INTO TABLE tmp_country_mapping
FIELDS ENCLOSED BY '|'
(country_id, country_name)
BEGINDATA
|AD |Argentina |
|CN |China |
|US |America |
|GB |England |Anyone could help?
BTW, I don`t want the spaces behind the value of the second column.
Thanks
Edited by: PhoenixBai on Dec 28, 2010 2:50 PMProblem solved, by removing the NLS_LANG=ENGLISH.
>
before the load, data is as below:
|AD |安道尔共和国 |
|AE |阿联酋 |
|AF |阿富汗 |
|AG |安提瓜和巴布达 |
|AI |安圭拉岛 |
|AL |阿尔巴尼亚 |after the load, data displays as below:
AD °2μà??12oí1ú
AE °¢áa??
AF °¢??o1
AG °2ìá1?oí°í2?′?
AI °21?à-μo
AL °¢??°í?á??And my database supports Chinese words and it displays correctly for other tables, except this one.
What could be the problem?
>
Edited by: PhoenixBai on Dec 28, 2010 5:05 PM -
Upload Multiple files in SQL * Loader in one session
Dear all,
I want to upload multiple files using SQL*Loader in one go. In Unix its very easy as I have a quite experience of that. Could any body tell what is a way in Windows to upload multiple files in one go while using SQL * Loader. I want to run that using DOS's Batch file.
Thanks
GhulamIn Unix its very easy like we are putting $ sign.
sqlldr userid=?????/?????
control="/u12/cad_delta.ctl",log="/u12/full_extract/$1",data="/u12/$1",bad="/u12//full_extract/$1",errors=500,silent=feedback
Suggest for Windows? It should read all .DAT files of the Windows Folder.
Thanks -
Different languages used while uploading file from java Application
Hi everybody,
i have a problem with multiple languages , let me clear you the question, i were developing a java application using spring ,hibernate frame works, so i got a problem while uploading a file with chinees language or other
it was saving with different format other than chiness in the database, can any one help me out ... i need the exact language when i upload the files,and when i get the data from DataBase which is in chinees language is '걨' going to be like as '???'
thank you very muchSanthosh_25 wrote:
using utf-8 characterSet, but its not showing properly
thank youOkay.. the problem with your browser settings.. (not sure)..
In firefox try to set character encoding...
go to View--->Character Encoding--->Unicode (UTF-8)..
In IE
go to View--->Encoding-->More-->Unicode (UTF-8)
set this and try. -
Can't upload an app using either Xcode 4.2 or Application Loader JSON Error
Hi,
I am struggling with a problem for the past few days. I can't upload my archived application for an update of an existing app. The app name is (عرض القبلة). So it is in Arabic, though I changed the bundle name in the project to have only ASCII characters.
When I try to Validate or Submit using Xcode or when I click Deliver your App button in Application Loader I am getting the following message:
An error occurred talking to the iTunes Store
In the Console I am seeing the following error message:
10/25/11 12:57:59.387 AM Xcode: *** Error: An error occurred while deserializing the JSON request. Error Message - Invalid spurious JSON character sequence (ا) at index 990
Please note that the character in paranthesis is an Arabic character.
I installed the latest version of Java for Lion but it didn't work. The application name in Xcode does not have any Arabic characters, I belive that the problem is coming because of the name in iTunesConnect.
Does anyone know how to solve this problem. I tried 2 different machines but I am getting the same error on both of them.Can't upload apps using xcode4, JSON error, anyone knows?
-
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 -
Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the features on the left side.
Hi Nealeh
Thanks i think I got it working of a fashion.
Except the replace colour, does not seem to end up with the colour I picked using the picker tool. Its as though it hads not replaced the colour but blended in the desired colour with the old incorrect colour!
Buy trial and error picking not the right colour but close - which when mixed with the existing colour is close.
Sorry I can't post the pictures as the Lingerie Mfg, has me under non disclosure.
The scenario is:- say a blonded mainly tanned model a high cut [at the hips] corsette style basque, with an ultra low bra line.
Our dear model, has just come back from St Barts with a fabulous Tan, and equally striking bold Tan lines!.
So we have great tanned legs, then the 'porcelain white band' where her swimsuit was.
Likewise we have a tanned face, and arms, shoulders etc and a great tan on the top of the cleavage, then it stops, white band to the top of the ultralow cut bra line of the basque.
She must have lived in like the most conservative bikini on the planet [50's style], for 2 weeks!
Had she had a normal skimpy bikini on, no problem!
If i don't solve it, she will get fired!
Not a lack of interest in your post, but I was out, and tried to log in to this site; which I could do, on my iPad Air / 5 [whatever its the new one]. And tried to 'sign in' - but it just hung at the
"Join Adobe Community" adobe sign in splash screen! with he little whell spinning around continuously!!!
I have Safari on this iPad. Guess that is all it runs.
So technology is not my friend today! -
Apparently, Apple has recently changed their appstore upload procedures and now require developers to use their Application Loader software to upload the binary files to appstore - which is only available on a MAC. is there any way a Windows developer and upload an app using a PC?
The change was over ten months ago. Prior to that the first part of the review process would involve checking for incorrect use of private API calls, and so on. Now the Application Loader does a good amount of verifying of the app, and can tell you what's wrong with it, which has to be better than you waiting a couple of weeks to only find that you had something wrong in the file.
Some people are using VM setups on WIndows to run OSX, just to run Application Uploader. See pages like this one:
http://lifehacker.com/5583650/run-mac-os-x-in-virtualbox-on-windows
Or, check amongst all of your colleagues and family, there is a chance that someone within not too bad commuting distance from you uses a Mac.
Another option would be to spend $700 to get one of these:
http://www.apple.com/macmini/
That may seem like a small fortune, but you could easily spend more than that you to get a decent Android tablet to test on. -
Error while uploading an ipa(zip) file using Application Loader
I have created an iOS application with Packager for iPhone
on a windows machine and tested it well on my iphone. But I am unable to upload the app with Application Loader in MAC Book.I have tried a lot to solve this problem.
This is the error message displayed on the Application Loader, after it finishes verification (zipp/unzip and code sign verificaion was succesful) and nearly finishes uploading:
Errors
/var/folders/KK/KK3BViY3FuOpA90EVey0VU+++TI/-Tmp-/412788415.itmsp
Please helpIt was a network problem!!! the solution is to make sure that you have access to the following IPs and ports or simple not becoming behind any firewall
I was behind a firewall and Application Loader wants to have access to the following sockets:
Server IP Address TCP Port UDP Port
itmsdav.apple.com 17.250.236.80 443 n/a
17.152.19.125
itunesconnect.apple.com (Dynamic) 443 n/a
vgr101.apple.com 17.152.249.51 33001 33001-33100
vgr102.apple.com 17.152.249.52 33001 33001-33100
vgr103.apple.com 17.152.249.53 33001 33001-33100
vgr104.apple.com 17.152.249.54 33001 33001-33100
vgr105.apple.com 17.152.249.55 33001 33001-33100
vgr106.apple.com 17.152.249.56 33001 33001-33100
vgr107.apple.com 17.152.249.57 33001 33001-33100
vgr108.apple.com 17.152.249.58 33001 33001-33100
sgr201.apple.com 17.152.249.101 44001 44001-44100
sgr202.apple.com 17.152.249.102 44001 44001-44100
sgr203.apple.com 17.152.249.103 44001 44001-44100
sgr204.apple.com 17.152.249.104 44001 44001-44100
sgr205.apple.com 17.152.249.105 44001 44001-44100
sgr206.apple.com 17.152.249.106 44001 44001-44100
sgr207.apple.com 17.152.249.107 44001 44001-44100
sgr208.apple.com 17.152.249.108 44001 44001-44100 -
How do I save my resume so I can upload it to online applications using my iphone
How do I save my resume so I can upload it to online applications from my iphone
Welcome to the Apple Community.
What app are you writing your resume in and what format are you required to upload them in. -
Close the application using the camera, then try opening!!!
i use my built in isight everymorning with iMovie and iChat. I used it again this morning. Throught out the day, for some reasons i had to reinstall quicktime and another video file exporter software "ffmpegx". now i don't know if this has to do anything with it, but now if i open my ichat, imovie, phoneboot, anyway, all of them, they keep saying that the camera is being used by another application!!! there is NO application using the camera!!! i tried to restart, shut it down, even deleted the video file export software, even reinstalled quicktime another time, yet the message keeps popping up. i am travelling and don't have my restore or reboot cd with me. i need my camera to work, it is part of my work. i need some help.
300 pmTool root 0.90 1 1.20 MB 36.46 MB Intel
299 Activity Monitor danielbelanger 4.60 2 9.47 MB 345.03 MB Intel
286 Database Daemon danielbelanger 0.00 3 15.01 MB 448.61 MB PowerP
285 Word danielbelanger 3.40 6 81.95 MB 696.12 MB PowerPC
281 Mail danielbelanger 0.00 6 20.00 MB 362.41 MB Intel
276 Address Book danielbelanger 0.00 1 11.57 MB 346.98 MB Intel
274 AppleSpell danielbelanger 0.00 1 1.91 MB 37.75 MB Intel
272 Safari danielbelanger 1.50 9 171.56 MB 668.81 MB PowerPC
270 iTunes danielbelanger 7.30 4 33.47 MB 378.62 MB Intel
267 mdimport unknown 0.00 4 2.46 MB 39.55 MB Intel
266 iChatAgent danielbelanger 0.00 3 5.41 MB 298.09 MB Intel
261 System Events danielbelanger 0.00 1 3.52 MB 328.50 MB Intel
260 Plazer danielbelanger 0.00 4 7.86 MB 344.36 MB Intel
259 Temperature Monitor danielbelanger 0.00 6 9.21 MB 377.50 MB Intel
257 Alarm Clock danielbelanger 0.00 1 5.06 MB 335.72 MB Intel
256 mdimport danielbelanger 0.00 4 4.38 MB 40.16 MB Intel
249 Finder danielbelanger 0.00 4 12.48 MB 355.98 MB Intel
247 SystemUIServer danielbelanger 0.00 2 10.50 MB 348.57 MB Intel
246 Dock danielbelanger 0.00 2 4.15 MB 310.77 MB Intel
241 pbs danielbelanger 0.00 2 2.02 MB 54.99 MB Intel
234 WindowServer windowserver 2.50 3 58.66 MB 383.14 MB Intel
233 mdimport ibrido 0.00 3 2.42 MB 38.42 MB Intel
231 loginwindow danielbelanger 0.00 4 5.51 MB 335.82 MB Intel
229 mdimport nobody 0.00 4 2.41 MB 39.25 MB Intel
194 slpd root 0.00 6 1,008.00 KB 30.16 MB Intel
169 ntpd root 0.00 1 404.00 KB 27.07 MB Intel
165 automount root 0.00 3 1.07 MB 28.72 MB Intel
160 mds root 0.00 9 4.78 MB 43.91 MB Intel
154 AppleFileServer root 0.00 2 2.20 MB 33.68 MB Intel
145 automount root 0.00 5 1.32 MB 29.77 MB Intel
142 rpc.lockd root 0.00 1 188.00 KB 26.66 MB Intel
133 nfsiod root 0.00 5 184.00 KB 28.61 MB Intel
110 translated root 0.00 1 248.00 KB 35.93 MB Intel
108 lookupd root 0.00 2 1.52 MB 28.50 MB Intel
106 integod root 0.00 2 17.54 MB 121.01 MB PowerPC
82 crashreporterd root 0.00 1 204.00 KB 26.60 MB Intel
68 ATSServer danielbelanger 0.00 2 9.13 MB 66.61 MB Intel
64 coreservicesd root 0.00 3 12.75 MB 43.35 MB Intel
63 blued root 0.00 1 1.98 MB 37.04 MB Intel
51 DirectoryService root 0.00 3 2.96 MB 30.25 MB Intel
49 update root 0.20 1 220.00 KB 26.60 MB Intel
48 distnoted root 0.00 1 832.00 KB 27.01 MB Intel
42 notifyd root 0.00 2 464.00 KB 27.20 MB Intel
41 securityd root 0.00 1 2.25 MB 28.68 MB Intel
40 memberd root 0.00 3 648.00 KB 27.64 MB Intel
39 diskarbitrationd root 0.00 1 1.13 MB 27.14 MB Intel
38 coreaudiod root 0.00 1 1.11 MB 28.32 MB Intel
37 configd root 0.00 3 1.91 MB 29.13 MB Intel
35 syslogd root 0.00 1 420.00 KB 26.63 MB Intel
34 netinfod root 0.00 1 568.00 KB 26.92 MB Intel
33 mDNSResponder root 0.00 3 1.11 MB 27.88 MB Intel
32 KernelEventAgent root 0.00 2 628.00 KB 27.18 MB Intel
27 kextd root 0.00 2 1.02 MB 27.54 MB Intel
23 dynamic_pager root 0.00 1 168.00 KB 26.61 MB Intel
1 launchd root 0.00 3 524.00 KB 27.67 MB Intel
0 kernel_task root 2.60 45 65.02 MB 947.15 MB Intel -
How to Upload Excel file to Application Server
Hi Friends,
ALSM_EXCEL_TO_INTERNAL_TABLE this F.M is to upload the excel format into internal table , The problem here is after uploading the excel file the format has been changed according to the F.M ... so Im not able to compare the value with my final internal table because the structure is different ... even if I could match with the values Im not able to upload it to my application server ... is there any F.M which doesn't change the excel format and upload it to the internal table ? ... Or is there any other way of doing it other than using at new , case endcase. ? ...
Thanks in advance ...
CheersHi friend,
Simply use GUI_UPLOAD function to get data from excel, txt etc.., into internal table in program.
Try this program.. It performs downloading and uploading functions in both excel and .txt format.
*& Report ZAWI_DEMODOWNLOAD *
REPORT zawi_demodownload .
*Types
TYPES: BEGIN OF g_r_mara,
matnr LIKE mara-matnr,
ersda LIKE mara-ersda,
laeda LIKE mara-laeda,
mtart LIKE mara-mtart,
mbrsh LIKE mara-mbrsh,
END OF g_r_mara.
TYPES: BEGIN OF g_r_mara1,
matnr TYPE string,
ersda TYPE string,
laeda TYPE string,
mtart TYPE string,
mbrsh TYPE string,
END OF g_r_mara1.
*Data
DATA: g_t_mara TYPE TABLE OF g_r_mara,
g_t_mara1 TYPE TABLE OF g_r_mara,
g_t_mara2 TYPE TABLE OF g_r_mara1,
filename TYPE string,
f1 TYPE string,
f2 TYPE string,
x TYPE string,
x1 TYPE string,
x2 TYPE string,
x3 TYPE strng,
c TYPE string,
g_r_wa TYPE g_r_mara,
g_r_wa1 TYPE g_r_mara1,
g_r_wa2 TYPE g_r_mara1,
g_t_mara2 TYPE TABLE OF g_r_mara1,
str TYPE string.
*Tables
TABLES: mara.
*Selection Screen
SELECT-OPTIONS: s_matnr FOR mara-matnr.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 10(20) text-001 FOR FIELD p1.
PARAMETERS:p1 RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 10(20) text-002 FOR FIELD p2.
PARAMETERS p2 RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF LINE.
*Input validation.
DATA: s_high TYPE mara-matnr,
s_low TYPE mara-matnr.
AT SELECTION-SCREEN ON s_matnr.
IF NOT s_matnr-high IS INITIAL.
s_high = s_matnr-high.
SELECT SINGLE * FROM mara WHERE matnr = s_high.
IF sy-subrc <> 0.
IF NOT s_matnr-low IS INITIAL.
s_low = s_matnr-low.
SELECT SINGLE * FROM mara WHERE matnr = s_low.
IF sy-subrc <> 0.
MESSAGE e012(zawi_demo).
ELSE.
MESSAGE e011(zawi_demo).
ENDIF.
ENDIF.
ENDIF.
AT SELECTION-SCREEN.
SELECT SINGLE * FROM mara WHERE matnr IN s_matnr.
IF sy-subrc <> 0.
IF s_matnr-low IS INITIAL.
str = s_matnr-high.
ELSE.
str = s_matnr-low.
ENDIF.
MESSAGE e010(zawi_demo) WITH str..
ENDIF.
START-OF-SELECTION.
*Data retrival
SELECT matnr ersda laeda mtart mbrsh
INTO CORRESPONDING FIELDS OF TABLE g_t_mara
FROM mara
WHERE matnr IN s_matnr.
IF p1 = 'X'.
filename = 'C:\Testing.xls'.
Downloading data from internal table to excel or txt
f1 = filename.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = filename
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
col_select = 'X'
TABLES
data_tab = g_t_mara.
ELSE.
filename = 'C:\Testing.txt'.
f2 = filename.
LOOP AT g_t_mara INTO g_r_wa.
CONCATENATE g_r_wa-matnr ';' INTO g_r_wa1-matnr.
CONCATENATE g_r_wa-ersda ';' INTO g_r_wa1-ersda.
CONCATENATE g_r_wa-laeda ';' INTO g_r_wa1-laeda.
CONCATENATE g_r_wa-mtart ';' INTO g_r_wa1-mtart.
CONCATENATE g_r_wa-mbrsh ';' INTO g_r_wa1-mbrsh.
APPEND g_r_wa1 TO g_t_mara2.
ENDLOOP.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = filename
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
col_select = 'X'
TABLES
data_tab = g_t_mara2.
ENDIF.
Uploading data from excel to internal table 1
IF filename = f1.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = filename
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = g_t_mara1.
WRITE: / 'Uploaded data' COLOR = 1.
WRITE:/.
CLEAR g_r_wa.
LOOP AT g_t_mara1 INTO g_r_wa.
WRITE:/ g_r_wa-matnr, g_r_wa-ersda, g_r_wa-laeda, g_r_wa-mtart, g_r_wa-mbrsh.
ENDLOOP.
ELSE.
IF filename = f2.
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = filename
filetype = 'ASC'
has_field_separator = 'X'
replacement = ''
TABLES
data_tab = g_t_mara2.
WRITE: / 'Uploaded data' COLOR = 1.
WRITE:/.
CLEAR g_r_wa1.
LOOP AT g_t_mara2 INTO g_r_wa1.
g_r_wa2-matnr = g_r_wa1-matnr.
TRANSLATE g_r_wa2-matnr USING '; ' .
WRITE:/ g_r_wa2-matnr, g_r_wa2-ersda, g_r_wa2-laeda, g_r_wa2-mtart, g_r_wa2-mbrsh.
CLEAR g_r_wa2.
ENDLOOP.
ENDIF.
ENDIF.
OR
Use T-codes:
CG3Y - Download file - Download file from Application server
CG3Z - Upload file - Upload file to Application server -
Issues with file upload in flex mobile application (sharepoint as backend)
Hello,
I am working on flex mobile application for android platform for which we are having sharepoint as a backend.
(Flex SDK 4.6 and AIR 3.9)
Issue which we are facing is as follows:
We are communicating with the backend server using webservices: example:
<s:WebService id="kWebService" wsdl="http://www.kservice.net/kdatabaseservice.asmx?WSDL" >
<s:operation name="AddPost"
resultFormat="object"
result="addPostResult(event)"
fault="postsfaulterr(event)" />
</s:WebService>
Above services are working fine but we are facing issue with one service which is related to file upload.
File upload for <10 MB is working fine but when we try to upload larger file on server it fails to process.
We are sending bytearray to the backend and backend code is writing those bytearray into file.
We have tried many ways to overcome from this situation. like we have checked configuration for file upload size on server , we have tried wcf services as well. Please help us on this criticle point as soon as possible
Thanks
DhwaniPrashant8809 wrote:
Hi
>
> I have already gone through the video by Thomas Jung for multiple file upload but it saves the contents in server and not in >transparent table. So please suggest me alternative solutions.
>
>
> Regards
> Prashant Chauhan
What do you mean that my video saves the contents int he server and not in transparent table? I save the data into a temporary database table so it can be accessed by the parent WDA session. From there the WDA session can do whatever it wants with it. What do you mean by transparent table - that would be a database table. Do you actually mean internal table? if so, just read the data from the temporary database table into memory.
Maybe you are looking for
-
Problem with JMS migration when using Ctrl+C to stop the managed server in cluster
Hi, I am having a clustered weblogic application running on Weblogic 7.0 SP5. My application uses JMS as a asynchrous communication. We have MDB which listens to these JMS messages. If something is be
-
Exchange Server 2013: Installation fails
Migrating SBS 2008 to Windows Server 2012 R2 (no virtualization) and Exchange Server 2013 SP1 (1) ADprep on SBS 2008 went fine (2) Installed necessary feature for Exchange (website "Part 1: Step-by-Step Exchange 2007 to 2013 Migration") A) the first
-
Count(*) with group by max(date)
SQL> select xdesc,xcust,xdate from coba1 order by xdesc,xcust,xdate; XDESC XCUST XDATE RUB-A 11026 01-JAN-06 RUB-A 11026 05-JAN-06 RUB-A 11026 08-JAN-06 RUB-A 11027 10-JAN-06 RUB-B 11026 02-JAN-06 RUB-B 11026 08-JAN-06 RUB-B 11026 09-JAN-06 RUB-C 110
-
Total of Quantity coloum In SAP B1
Hello My friends I have a problem about inventory , it is how to view the total of quantity , when the UOM is same for all item for the GRN, delivery, A/P Invoice, A/R Invoice.... ect ( I red similar Questions regarding this, but it was not help full
-
I never tried using a PSD file in Director MX 2004. I heard that there were problems importing them. I mught be going back now to MX 2004. Does anyone know about using the PSD files (I don't need multiple layers).