Error while uploading Customer creation ( XD01) using Call Transaction
Hi Experts,
While recording XD01, i checked on Use Central Address Management checkBox,
i got two pop-ups,
1. Postal code 500018 in country IN does not exist.
2. City Hyderabad in country IN does not exist.
i accepts those pop-ups by Clicking on Yes Button.
while executing in All Screen Mode it executes without errors,
But in No Screen mode i am getting error in address screen and in the messtab i got MSGV1= 500018 (postal code) and
FLDNAME = SZA1_D0100-TITLE_MEDI.
Is there any other way to get the Title in title list box without using Use Central Address Management Check Box,
without checking Use Central Address Management Check Box, i am not getting the title in the title list box while displaying in XD02.
Please help me out to solve the problem.
Thanks & Regards,
Karthick.
Hi,
I solved this problem.
By changing the configuration Data through the path spro->SAP NetWeaver-> General Settings->set Contries->Set Contry-Specific Checks and click on the Contry code, a screen will display the default checks. Previously it is configured to a particular location with respect to Pincode , i updated as per my requirement. So the pop-ups are not coming and it workes fine in all Modes(A/N/E) of BDC.
The Title problem is also solved by revised recording of XD01.
Then my problem is solved.
Thanks & Regards,
Karthick.
Similar Messages
-
Error While Uploading Material Master Through Bdc Call Transaction
Hi Sap Gurus,
I am doing Bdc call Transaction for Material Master Uploading.
But After Entering data for 4-5 screen i got a error_
Field Mara-iprkz doesn,t exit in the screen saplmgmm 4000
Field Mara-prctr doesn,t exit in the screen saplmgmm 4000
Field Mbew-stprs doesn,t exit in the screen saplmgmm 4000
Field Marc-mtvfe doesn,t exit in the screen saplmgmm 4000
Enter Valuation class.
This is my Programme....................................
<removed by moderator>
Thanks in advance.
Arindam
Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
Edited by: Thomas Zloch on Apr 16, 2011 9:29 PMSorry for my obvious answer, but you should ask a more precise question.
Your errors are that you try to enter fields but they don't exist, so it sounds logic.
And the error "Enter Valuation class." means that the field is mandatory. So you must enter it.
Re-record the transaction using SHDB (eventually play with the http://wiki.sdn.sap.com/wiki/display/ABAP/Recordduringplay), run it in A display mode, and correct your program.
Sandra
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'MVKE-SKTOF'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'MARC-PRCTR'
wa_mara-prctr."'MUMBAI'.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'MARA-IPRKZ'
'D'. -
Getting error while uploading gl master data using LSMW batch input data
Hi Experts,
I am getting error while uploading the GL master data through lsmw using batch input recording.
After completion of all steps at the time of running batch input session error i am getting is "maintain EN language discription"
and Pls tell me is it possible to upload transactional data using lsmw? if yes pls explaing briefly.Hello,
Kindly post in the FI forum to get a better response.
Regarding the issue you might check whether the correct column is being picked up where you have maintained the description.
Kind Regards // Shaubhik -
Error while creating customer master XD01
i have created own account group and assigned external number range when am creating customer in xd01 am getting error in partner tab the SP,SH,BP,PY the no is blank and when am trying to save its gives error document is incomplete the error Message no. F2643
Diagnosis
The account group of the current customer is not defined for the required partner usage.
where as when am assining internal number range its working fine kindly help
ThanxHi Mukesh
Please check the following again,
IMG > Logistic > SD > Basic functions > Partner determination > Customer master
Define the Partner functions. If you are defining new then specify the "PARTNER TYPE" for each Partner function.
- Define Account group. You can use existing one (0001-sod-to-party) or you can copy it or create new.
- Define your Partner determination procedure.
- Assign the required Partner functions (SP,SH,PY and BP are mandatory) to your Account group, so that they will be permitted for your Account group.
- Assign the "Partner functions" to your new "Procedure ". Here you specify which are "mandatory" and which are "not changeable".
- Assign the "Account group" to your new "Procedure".
Now, go to XD01,enter your Account group,External number,company code,Sale area and proceed.
If you are finding problem then,fill up all your data (general data, company code data), go to sales area data, fill up sales ,shipping and billing document tab and save it.
Next, go to XD02, sales area data >partner function tab, here fill up the places for respective Partner functions. -
Error While Creating Custom IDOC Segment using WE31
Could anyone please help me resolve this issue.
I am getting following error when trying to create a custom IDOC segment type using WE31.
"Name range violation: Name Z1WOHDR not permitted in SAP system"
Segment type trying to create: Z1WOHDR
Regards
VenuTry changing the name , But i am not getting any such error with the name you are using.
Just Try with some onther name -
Errors while uploading BAI2-Bank statement using FF.5
Hi
I am trying to configure EBS-Electronic bank reconciliation using BAI2 file but when I upload a simple sample file that I created it gives me this error:
Error: (F5 263) The difference is too large for clearing
and
Error: (GLT2 201) Balancing field "Profit Center " in line item 001 not filled
where Line item 001 is
Cr. Main Bank Account
Line item 002 is
Dr. Outgoing clearing account
Posting rule that I've defined is:
Credit Main bank account
Clear Debit G/L account - Outgoign clearing account - (Posting type = 4)
Document type used is ZR-Bank reconciliation
I don't know how to avoid these errors, esp. Error: GLT2 201Balancing field "Profit Center " in line item 001 not filledAshish, Try to find some BTE for your requirement. Use FM BTE_FUNCTION_FIND .
OPEN_FI_PERFORM_00001120_P
OPEN_FI_PERFORM_00001120_E -
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 -
Error while uploading .xml file for Customer/Vendor List for Italy
Hi All,
We are facing problem while uploading the .xml file in DMEE transaction for the new Customer/Vendor List for Italy.
We have followed the entire process given in the OSS Note(1090857).
We have SAP 4.6c and followed the below steps:
1. Created ID-FI-IT Development class
2. Added domains
3. Added Data elements
4. Tried to upload the given .xml file and got any error saying ".xml file could not be interpreted".
Also there is a .SAR file mentioned to upload if we receive any errors while uploading .xml file.
Tried uploading the .SAR file also. STill we are recieving the same Error.
Can any one of you help us out.
Thanks in Advance.
RameshOk, we upload .SAR file in this way:
1. unpack .SAR file with SAPCAR.EXE program. Yuo obtain 2 files
R492445.P9C and K492445.P9C
2. put K492445.P9C in directory \SAPMNT\TRANS\COFILES and put R492445.P9C in directory \SAPMNT\TRANS\DATA of your system (DEV, TST or PRD)
3. Use Tx STMS. If You want create DMEE tree in DEV system, go to DEV import queue. Choose menu Extras | Other requests | Add. Insert P9CK492445 in Transp. request field.
4. Import the request. This creates the DMEE tree. You don't need ti upload XML file after. You can see the DMEE tree created with Tx DMEE and inserting
Tree type UMS1
Format tree IT_CUST_VEN_LIST
5. after continue follow the note
I hope this help you
Roberto -
While uploading data into the r/3 using call transaction or session method
hi experts
while uploading data into the r/3 using call transaction or session method error occured in the middle of the processing then how these methods behaves it transfers next records or not?hai
Session method: The records are not added to the database until the session is processed. sy-subrc is not returned. Error logs are created for error records. Updation in database table is always Synchronous.
Call Transaction method: The records are immediately added to the database table. sy-subrc is returned to 0 if successful. Error logs are not created and hence the errors need to be handled explicitly. Updation in database table is either Synchronous or Asynchronous.
While to transfer the data from the through if any errors occurs until the errors are the complete the data is not transfer to the SAP system.
the system compulsory shows the errors. that errors are stored into the error logs (Transaction is SM35).
so the session method should not return any value.
In call transaction method data is directly pass to the SAP system.
So its compulsory return the value.
Because of the call transaction is the function.
A function should return the value mandatory
In session method errors stroed in SYSTEM GENRATED ERROR LOG.
IN CALL TRANSACTION TO CAPTURE THE ERRORS WE SHOULD PERFORM THE FOLLOWING.
FIRST ME MUST DECLARE AN INTERNAL TABLE WITH THE STRUCTURE OF BDCMSGCOLL TABLE.
THEN WHILE WRITING THE CALL TRANSACTION STATEMENT WE SHOULD PUT THE 'E' MODE FOR CAPTURING ALL THE ERRORS.
THEN FINALLY THE CAPTURED ERRORS MUST TO SENT TO THE INTERNAL TABLE WHICH WE DECLARED IN THE BEGINNING WITH BDCMSGCOLL BY USING THE FUNCTION MODULE "FORMAT_MESSAGE"
AND THUS THE ERROR MESSAGES WILL BE SENT TO THE INTERNAL TABLE WHICH WE DECLARED AT THE BEGINNING. -
Error while uploading the data using FM"upload"
Hi,
I encountering an error while uploading the data using text file with FM " UPLOAD"
The error is "File does not exist or cannot be opened "
But there is a file with name and extenstion right.
Regards
VishnuYou have to create RC29P-IDNRK(var) using concatenate statement. Try this.
DATA: new_mark TYPE bdcdata-fnam.
CONCATENATE 'RC29P-IDNRK(' var ')' INTO new_mark.
PERFORM bdc_field USING new_mark W_BOM-QTY -
Type of error in the log file while using using call transaction mode u2018Eu2019
Hi Gurus,
Please Answer for this qusetion urgently
what type of error exactly you will be seeing in the log file while using call transaction mode u2018Eu2019?
Thanks/
Radha.Hi,
Can you be clear.
In call transaction , no error logs are created, you have to handle the errors explicitly using the structure BDCMSGCOLL.
Whenever you use E mode then if the transaction encounters any of the errors i.e. data type mismatching or invalid values etc, it will stop at that screen.
You can handle the errors in call transaction in the following method.
create a table using the structure BDCMSGCOLL.
then
loop at ......
CALL TRANSACTION 'XK01' USING I_BDCDATA MODE 'N' UPDATE 'S' MESSAGES INTO I_MESGTAB.
endloop.
SORT I_MESGTAB BY MSGID MSGV1 ASCENDING.
DELETE ADJACENT DUPLICATES FROM I_MESGTAB.
LOOP AT I_MESGTAB.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = I_MESGTAB-MSGID
LANG = I_MESGTAB-MSGSPRA
NO = I_MESGTAB-MSGNR
V1 = I_MESGTAB-MSGV1
V2 = I_MESGTAB-MSGV2
V3 = I_MESGTAB-MSGV3
V4 = I_MESGTAB-MSGV4
IMPORTING
MSG = MESG1.
IF I_MESGTAB-MSGTYP = 'S' .
WA_SUCCMESG-MESG = MESG1.
APPEND WA_SUCCMESG TO I_SUCCMESG.
else IF I_MESGTAB-MSGTYP = 'E' .
WA_ERRMESG-MESG = MESG1.
APPEND WA_ERRMESG TO I_ERRMESG.
ENDIF.
ENDLOOP.
Hope this is clear.
Thanks and Regards. -
Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API
Hi All,
In one of my tasks, I was struck with one issue, that is "While uploading multiple files into custom list with REST API".
Iam trying to upload multiple files in library with REST calls for an APP development, my issue is if i wants to upload 4 image at once its storing only
3 image file and further giving "Conflict" error". Below is the attached screenshot of exact error.
Error within screenshot are : status Code : 409
status Text :conflict
For this operation i am uploading different files as an attachment to an list item, below is the code used for uploading multiple files.
my code is
function PerformUpload(listName, fileName, listItem, fileData)
var urlOfAttachment="";
// var itemId = listItem.get_id();
urlOfAttachment = appWebUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + listItem + ")/AttachmentFiles/add(FileName='" + fileName + "')"
// use the request executor (cross domain library) to perform the upload
var reqExecutor = new SP.RequestExecutor(appWebUrl);
reqExecutor.executeAsync({
url: urlOfAttachment,
method: "POST",
headers: {
"Accept": "application/json; odata=verbose",
"X-RequestDigest": digest
contentType: "application/json;odata=verbose",
binaryStringRequestBody: true,
body: fileData,
success: function (x, y, z) {
alert("Success!");
error: function (x, y, z) {
alert(z);Hi,
THis is common issue if your file size exceeds
upload a document of size more than 1mb. worksss well for kb files.
https://social.technet.microsoft.com/Forums/office/en-US/b888ac78-eb4e-4653-b69d-1917c84cc777/getting-error-while-uploading-multiple-files-in-sharepoint-hosted-app-in-2013-with-rest-api?forum=sharepointdevelopment
or try the below method
https://social.technet.microsoft.com/Forums/office/en-US/40b0cb04-1fbb-4639-96f3-a95fe3bdbd78/upload-files-using-rest-api-in-sharepoint-2013?forum=sharepointdevelopment
Please remember to click 'Mark as Answer' on the answer if it helps you -
Error while uploading text file....
Halo Friends,
I am uploading 4 text files which contain three columns separated by a tab, but when i am trying to upload those files using WS_UPLOAD Function Module i am getting a runtime error saying 'error while uploading/downloading'.
Please solve this problem as soon as possible.
Thanks in Advance,
ramaHalo again,
Now that i am able to upload the files, i need to update the database table the update statement is executing correctly but when i debug i see that the sy-subrc value is 4 but not 0.
and hence the it is not committed.
Any suggestions. i am pasting my code here for your reference:
Tables: qmfe.
data: begin of gt1_qmfe occurs 0,
qmnum like qmfe-qmnum,
fenum like qmfe-fenum,
/itml/usr20 like qmfe-/itml/usr20,
end of gt1_qmfe.
data: begin of gt2_qmfe occurs 0,
qmnum like qmfe-qmnum,
fenum like qmfe-fenum,
/itml/usr21 like qmfe-/itml/usr21,
end of gt2_qmfe.
data: begin of gt3_qmfe occurs 0,
qmnum like qmfe-qmnum,
fenum like qmfe-fenum,
/itml/usr19 like qmfe-/itml/usr19,
end of gt3_qmfe.
data: begin of gt4_qmfe occurs 0,
qmnum like qmfe-qmnum,
fenum like qmfe-fenum,
/itml/usr07 like qmfe-/itml/usr07,
end of gt4_qmfe.
data: gs1_qmfe like line of gt1_qmfe,
gs2_qmfe like line of gt2_qmfe,
gs3_qmfe like line of gt3_qmfe,
gs4_qmfe like line of gt4_qmfe.
data: ls_lines1 type i,
ls_lines2 type i,
ls_lines3 type i,
ls_lines4 type i.
parameters: ip_file1 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\StoDt.txt' obligatory,
ip_file2 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\RcDtCust.txt' obligatory,
ip_file3 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\DockDate.txt' obligatory,
ip_file4 type RLGRAP-FILENAME default 'C:\Urgent\TextFiles\AWB.txt' obligatory.
field-symbols: <fs1> like gs1_qmfe,
<fs2> like gs2_qmfe,
<fs3> like gs3_qmfe,
<fs4> like gs4_qmfe.
perform upload_gt1_qmfe.
perform upload_gt2_qmfe.
perform upload_gt3_qmfe.
perform upload_gt4_qmfe.
perform update_qmfe.
*& Form upload_gt1_qmfe
text
--> p1 text
<-- p2 text
FORM upload_gt1_qmfe .
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = ip_file1
FILETYPE = 'DAT'
TABLES
DATA_TAB = gt1_qmfe.
describe table gt1_qmfe lines ls_lines1.
write: / ls_lines1.
ENDFORM. " upload_gt1_qmfe
*& Form upload_gt2_qmfe
text
--> p1 text
<-- p2 text
FORM upload_gt2_qmfe .
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = ip_file2
FILETYPE = 'DAT'
TABLES
DATA_TAB = gt2_qmfe.
describe table gt2_qmfe lines ls_lines2.
write: / ls_lines2.
ENDFORM. " upload_gt2_qmfe
*& Form upload_gt3_qmfe
text
--> p1 text
<-- p2 text
FORM upload_gt3_qmfe .
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = ip_file3
FILETYPE = 'DAT'
TABLES
DATA_TAB = gt3_qmfe.
describe table gt3_qmfe lines ls_lines3.
write: / ls_lines3.
ENDFORM. " upload_gt3_qmfe
*& Form upload_gt4_qmfe
text
--> p1 text
<-- p2 text
FORM upload_gt4_qmfe .
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = ip_file4
FILETYPE = 'DAT'
TABLES
DATA_TAB = gt4_qmfe.
describe table gt4_qmfe lines ls_lines4.
write: / ls_lines4.
ENDFORM. " upload_gt4_qmfe
*& Form update_qmfe
text
--> p1 text
<-- p2 text
FORM update_qmfe .
data ls_cnt type i.
loop at gt1_qmfe assigning <fs1>.
update qmfe set /itml/usr20 = <fs1>-/itml/usr20
where qmnum = <fs1>-qmnum
and fenum = <fs1>-fenum.
if sy-subrc = 0.
commit work.
add 1 to ls_cnt.
endif.
endloop.
write: / ls_cnt.
ENDFORM. " update_qmfe -
Error while uploading an edited excel file into an internal table
Hi Experts,
I am getting error while uploading an excel file that has been edited.
I am using GUI_UPLOAD for uploading the file into internal table.
In my program I first have to download a file, if I use the same file without editing I am able to read the file.
When I try to edit it and then use it to upload it fails, but this is part of the my requirement.
PLease suggest.
Regards
KishoreTYPE-POOLS: truxs.
parameter : lv_full_path TYPE rlgrap-filename,
data : lt_conv_data TYPE truxs_t_text_data,
lt_roles_excel type table of ( your structure).
start-of-selection.
CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'
EXPORTING
i_line_header = 'X'
i_filename = lv_full_path
TABLES
i_tab_sap_data = lt_roles_excel
CHANGING
i_tab_converted_data = lt_conv_data
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
In the FM Line_header = 'X' means it will negelect the first line. So u can give the heading in the excel file.
Hope this might help u .
With Regards,
Sumodh.P -
UCCX 8.0 "Error while uploading the file. Please try again."
I was on UCCX version 8.0.2.11003-10 and i was able to upload an script with the same name as an old one (overwrite).
Upgrade to UCCX 8.0.2.11004-12 and now I am receiving the error: "Error while uploading the file. Please try again."
There was a bug CSCth09248 that affected version 7 but supposed to be fixed on version 8 and was fixed on an earlier version. But after moving to a minor patch, problem came back...
Any ideas?Hi,
I belive the bug was initially opened to fix the issue when uploading script fails when using wizard to configure uccx.
But now they have re-opened the same bug instead of opened a new one for the issue that you have.
I looked at the case attached to that bug, case # 617145545. Below is the problem description that customer has which is same as yours and this bug has been re-opened to fix this particular problem.
When I tried to upload a modified script with an existing file name, the message "script file already exists.
Overwrite existing script file, continue?" comes up and when I select "OK" then,
it dispaly Status "Error while uploading the file. Please try again".
If I remove an existing file first, it will upload fine.
Using UCCX Admin 8.0.2.11004-12 and UCCX Editor 8.0(2.0).
Thanks
Ankita
Maybe you are looking for
-
How to get photos from iCloud's
I Had a phone 4s and it stopped working and won't come on no more. When I charge it the apple sign just keeps coming up then goes away. It does that until I let it die again. my question is i had my photos back up to Icloud and it shows my old phone
-
Get Content of PDF document which has data carrier SAP-SYSTEM
Hi, I need to get the Content of Document in Binary format .The documtn is not in Content Server. I used the the below FM's to read the file name and its content. 1. CV120_KPRO_MASTER_DATA_GET - for file name 2. CV120_KPRO_CHECKOUT_TO_TABLE- To Read
-
My MacBook Pro freezes when i log in. 10.7.4
This started aminly after i got 10.7.4. When i open my laptop i can log in but then i cant do anything i can move the mouse but cant click anything i try to force quit the aplications but cant click anything i end up having to shut down my computer e
-
Problem with non cumulative KF
Hi All, I have some problem in the calculation of non cumulative KF. The fields it uses for inflow and outflw as same value in SAP system but the nom *** KF is showing a different value For eg. it uses receipt total stock as inflow and quantity total
-
How can I correct and prevent white eyes when taking picture with my Iphone4S?
How can I correct and prevent white eyes when taking picture with IPhone 4S?