Upload UTF-16 files to SAP
Hello All,
I have some files which are in UTF-16 format generated from Oracle, and need to upload to SAP. Can I ask how to read the UTF-16 files in ABAP program.
I am now using "OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING UTF-8 .", it fail with the error "converted from code page '4110' to '4103' ". Are there any other ways to read the UTF-16 files from server?
Many Thanks,
Sunny
Hi,
Refer to the following link for UTF-16 files.
http://kwanmo.wordpress.com/2008/02/12/abap-read-unicode-file/
Hope it will help you.
Jatender
Similar Messages
-
Uploading an XML file from SAP into third party URL
Hi,
I need to Upload an XML file from sap into Third party URL. Can any body tell me the possible ways in SAP to achieve this task. Also explain me the proceedure.
Thanks in advance.
-NamdevSorry. If they only said HTTP/HTTPS and didn't say explicitly web service, it means they don't want it.
One thing I'm not sure is, do you have an URL at the third-party system that you need to contact, or should you provide one at your SAP system that they will contact?
If it is the first one, to send an HTTP request to a given URL using ABAP, you'll find an example here: [SAP Library: Example Program: Executing an HTTP Request|http://help.sap.com/saphelp_nw70/helpdata/en/1f/93163f9959a808e10000000a114084/frameset.htm]
Sandra -
Need help in uploading an excel file into SAP
Hi All,
I got a requirement to upload an excel file to SAP.
But When i tried with the FM "ALSM_EXCEL_TO_INTERNAL_TABLE" , file not getting uploaded to internal table.
Getting expection 2, UPLOAD_OLE...
I think the problem is with the file... the following the sample text of the file...
Technical IdentNo. Line No. Text Location
BS-PZ-180 1 035-05 EXZENTER-SCHNECKENPUMPE 0026
BS-PZ-180 2 LIEFERANT : SOCSIL-INTER SA ECUBLENS 0026
BS-PZ-180 3 HERSTELLER : MONO PUMPS LIMITED MANCH 0026
BS-PZ-180 4 MODELL/TYP : SH 60 0026
But when I tried with only one Column..its getting successfully uploaded...
Pls suggest me how to upload the file? ( May be with sample code)
Also pls let me know hw to handle the file..which contains 5 differnt sheets of texts.. ( May be with sample code)
Your suggestion will be highly appreciated...
Thanks,
PriyaHi,
Use the FM: TEXT_CONVERT_XLS_TO_SAP. It will work perfectly. I used this function module and uploaded data from xls to sap. check the following code:
TYPE-POOLS: truxs.
PARAMETERS: p_file TYPE rlgrap-filename.
TYPES: BEGIN OF t_datatab,
PROP_NAME like SDOKPROP-PROP_NAME,
PROP_CHECK like SDOKPROP-PROP_CHECK,
TABNAME like SDOKPROP-TABNAME,
FIELDNAME like SDOKPROP-FIELDNAME,
DESCRIPT(30) type c,
END OF t_datatab.
DATA: it_datatab type standard table of t_datatab,
itab TYPE STANDARD TABLE OF t_datatab,
wa_itab TYPE t_datatab,
wa_datatab type t_datatab.
DATA: it_raw TYPE truxs_t_text_data.
At selection screen
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
*START-OF-SELECTION.
START-OF-SELECTION.
SELECT * FROM sdokprop INTO CORRESPONDING FIELDS OF TABLE itab
WHERE PROP_NAME LIKE 'DMS%'.
WRITE / 'Before Modification'.
LOOP AT itab INTO wa_itab.
WRITE:/1 wa_itab-PROP_NAME, 27 wa_itab-PROP_CHECK, 31 wa_itab-TABNAME, 65 wa_itab-FIELDNAME, 96 wa_itab-DESCRIPT.
CLEAR wa_itab.
ENDLOOP.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw " WORK TABLE
i_filename = p_file
TABLES
i_tab_converted_data = it_datatab[] "ACTUAL DATA
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
END-OF-SELECTION.
END-OF-SELECTION.
WRITE / 'After Modification'.
MODIFY sdokprop FROM TABLE it_datatab.
LOOP AT it_datatab INTO wa_datatab.
WRITE:/1 wa_datatab-PROP_NAME, 27 wa_datatab-PROP_CHECK, 31 wa_datatab-TABNAME, 65 wa_datatab-FIELDNAME, 96 wa_datatab-DESCRIPT.
CLEAR wa_datatab.
ENDLOOP.
IF sy-subrc = 0.
MESSAGE 'successfull' TYPE 'S'.
ELSE.
MESSAGE 'failed' TYPE 'E'.
ENDIF.
Regards,
Bhaskar -
How to upload a Flat file into sap database if the file is in Appl'n Server
Hello Sap Experts , Can you tel me
" How to upload a Flat file into sap database if the file is in Application Server.
what is Path for that ?
Plz Tel Me its Urgent
Thanks for allHi,
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB *
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
* con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
* Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop. -
Time taken to upload a flat file in SAP BI
Hello Experts,
Want to know , about how much time it will generally take to upload a flat file in SAP BI having data volume near about 10 million .
OR what is standard time taken to upload the data from a flat file what ever be the size of the the flat file in terms of records ,
please provide me the detaild information regarding the time taken , plz clarify it , and thanks in advanceHi,
there are some other points that you need to consider while trying to evaluate your question:
- how wide is your file/how many columns it has?
- what's the type of interface you using for flat file upload? is it: flat file loaded from user workstation? from application server? from web interface (like planning app)?
- how complex is login used to transform the data from flat file before data is saved in BW objects?
In general 10mil of records is not a problem is not a problem if you using upload from application server. If you using load from user workstation thsi can be an issue. Even less performant is load of that much data via web interface. -
How to upload MS-Project file in SAP
Want to upload Ms Project file in sap how to do this tried with ws_upload but not succeded.
pl. tellAbhishek,
You can use Open PS -Add On to upload MS project file into SAP.
This is available on the service market place under the below mentioned path;
Support Packages and Patches->Supplementary Components for Cross Industry Solutions-> Project Management-> OpenPS->OPENPS FOR MS PROJECT
Hope this helps
Cheers
Sreenivas -
Hi,
i created a flat file using this :
http://help.sap.com/saphelp_nw70/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
now, i want to upload my flat file (csi.files) in SAP BW because i want to use it with business explorer.
I looked on the internet and forum but didn't find the right procedure.
Any idea?
Thank you
EdouardStep by step procedure of data load from a flat file?
/thread/256392 [original link is broken] -
Error in Data upload through Flat files in SAP BPC
Hi,
we are trying to upload data from flat files in SAP BPC but an error is coming viz Object reference not set to an instance of an object .Hi,
Can you please cross check the file structure and the transfer structure.
Cheers,
Malli.... -
Can anybody help how to upload an excel file into sap-crm urgent
hi guys,
i need the right function module to upload the excel file from the presentation server in to sap-crm.
1) I know we use the function module 'ALSM_EXCEL_TO_INT_TABLE' in sap-r/3 but this function module is not exist in sap-crm.
2) i tried with the function moduel 'GUI_UPLOAD' but its not uploading correctly i am gettting hases(#).
Please can any one provide the right function module to upload the excel into sap-crm with an sample code.
thanks
viswa gunthaHi Visma,
Please check this link for sample custom FM.
Re: function mudule for MS excel file to sap crm
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful as away to say thanks. -
Hi All , validating the overlapped periods ,Uploading the xml file to sap
Hi All,
please provide me the logic for the following requirement: Its an urgent .
Upload Global exception periods via File:
A customized transaction will be created for uploading the global exception periods using
an excel file. User has to maintain the global exception periods in an excel sheet with the
below mentioned format and upload the file manually into the system. The global
exceptions are maintained at step of half hourly period with a factor value.
Please find the format followed for maintaining the global exception periods in the
excel sheet.
Date From Period From Date To Period To Factor value
06.02.2008 12 06.02.2008 14 1.2
07.02.2008 1 07.02.2008 2 1.4
07.02.2008 3 07.02.2008 4 1.2
07.02.2008 5 07.02.2008 6 1.6
07.02.2008 7 07.02.2008 8 1.1
Once user uploads the excel file and press execute button, file contents are downloaded
and the global exception periods are updated into ZLF_GEXCEPTION table. Please refer
the necessary table format for details.
During the upload of global exception periods, the periods are checked if it is overlapping
with the previously uploaded periods. For those overlapping periods, below method is
followed.
1. For e. g, If a below exception period is already uploaded,
Date From Period From Date To Period To Factor value
06.02.2008 12 06.02.2008 16 1.4
The new file contains the period which gets overlapped with the previous global
exception period.
Date From Period From Date To Period To Factor value
06.02.2008 14 06.02.2008 15 1.6
The overlapped periods are split accordingly,
Date From Period from Date to Period To Factor value
06.02.2008 12 06.02.2008 13 1.4
06.02.2008 14 06.02.2008 15 1.6
06.02.2008 16 06.02.2008 16 1.4
2.For e.g., Already existing period,
Date From Period From Date To Period To Factor value
06.02.2008 12 07.02.2008 16 1.3
New period,
Date From Period From Date To Period To Factor value
07.02.2008 5 07.02.2008 8 1.7
The Global exception periods are split into,
Date From Period From Date To Period To Factor value
06.02.2008 12 07.02.2008 4 1.3
07.02.2008 5 07.02.2008 8 1.7
07.02.2008 9 07.02.2008 16 1.3
If any error occurs while updating the global exception periods into ZLF_GEXCEPTION
table, then display LF-001 message given below the Error messages section. For the
successful updating of global exception periods to ZLF_GEXCEPTION table, then
display the message Successfully completed.
User will be provided an option to download the global exception periods into an excel
file. User has to provide the necessary location details where to download the file while
downloading.
Thanks&Regards.
BkHi All,
please provide me the logic for the following requirement: Its an urgent .
Upload Global exception periods via File:
A customized transaction will be created for uploading the global exception periods using
an excel file. User has to maintain the global exception periods in an excel sheet with the
below mentioned format and upload the file manually into the system. The global
exceptions are maintained at step of half hourly period with a factor value.
Please find the format followed for maintaining the global exception periods in the
excel sheet.
Date From Period From Date To Period To Factor value
06.02.2008 12 06.02.2008 14 1.2
07.02.2008 1 07.02.2008 2 1.4
07.02.2008 3 07.02.2008 4 1.2
07.02.2008 5 07.02.2008 6 1.6
07.02.2008 7 07.02.2008 8 1.1
Once user uploads the excel file and press execute button, file contents are downloaded
and the global exception periods are updated into ZLF_GEXCEPTION table. Please refer
the necessary table format for details.
During the upload of global exception periods, the periods are checked if it is overlapping
with the previously uploaded periods. For those overlapping periods, below method is
followed.
1. For e. g, If a below exception period is already uploaded,
Date From Period From Date To Period To Factor value
06.02.2008 12 06.02.2008 16 1.4
The new file contains the period which gets overlapped with the previous global
exception period.
Date From Period From Date To Period To Factor value
06.02.2008 14 06.02.2008 15 1.6
The overlapped periods are split accordingly,
Date From Period from Date to Period To Factor value
06.02.2008 12 06.02.2008 13 1.4
06.02.2008 14 06.02.2008 15 1.6
06.02.2008 16 06.02.2008 16 1.4
2.For e.g., Already existing period,
Date From Period From Date To Period To Factor value
06.02.2008 12 07.02.2008 16 1.3
New period,
Date From Period From Date To Period To Factor value
07.02.2008 5 07.02.2008 8 1.7
The Global exception periods are split into,
Date From Period From Date To Period To Factor value
06.02.2008 12 07.02.2008 4 1.3
07.02.2008 5 07.02.2008 8 1.7
07.02.2008 9 07.02.2008 16 1.3
If any error occurs while updating the global exception periods into ZLF_GEXCEPTION
table, then display LF-001 message given below the Error messages section. For the
successful updating of global exception periods to ZLF_GEXCEPTION table, then
display the message Successfully completed.
User will be provided an option to download the global exception periods into an excel
file. User has to provide the necessary location details where to download the file while
downloading.
Thanks&Regards.
Bk -
Need Function module to upload an excel file to SAP
Need Function module to upload more than 100 characters of excel file data into SAP internal table.
Currently i have two function module
1. ALSM_EXCEL_TO_INTERNAL_TABLE --32 characters max
2. KCD_EXCEL_OLE_TO_INT_CONVERT --50 characters max
Please let me know some pointers.
Thanks in Advance,
A.Karthikeyan.hi,
use the FM GUI_UPLOAD
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = W_FILENAME
FILETYPE = W_FILETYPE
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = 'X'
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = wp_it_upload
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17. -
To upload a RTF and a PDF file to SAP R/3 and print the same through SAP
Hi,
I have a requirement to upload a PDF file and a RTF file to SAP R/3 and print the same.
I wrote the following code for uploading a RTF file to SAP R/3 and print the same. However, the problem is , the formatting present in the RTF document( bold/italics..etc) is not being reflected when I do the 'print-preview' after the executing the code below :
report z_test_upload .
data: begin of itab occurs 0,
rec type string,
end of itab.
data: options like itcpo.
data: filename type string,
count type i.
data: filetype(10) type c value 'ASC'.
DATA: HEADER LIKE THEAD OCCURS 0 WITH HEADER LINE.
DATA: NEWHEADER LIKE THEAD OCCURS 0 WITH HEADER LINE.
DATA: ITFLINE LIKE TLINE OCCURS 0 WITH HEADER LINE.
DATA: RTFLINE LIKE HELP_STFA OCCURS 0 WITH HEADER LINE.
DATA: string_len TYPE i,
n1 TYPE i.
selection-screen begin of block b1.
parameter: p_file1(128) default 'C:\test_itf.rtf'.
selection-screen end of block b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file1.
start-of-selection.
move p_file1 to filename.
call function 'GUI_UPLOAD'
EXPORTING
filename = filename
filetype = filetype
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
others = 17.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
loop at itab.
string_len = strlen( itab-rec ).
n1 = string_len DIV 134.
ADD 1 TO n1.
DO n1 TIMES.
rtfline-line = itab-rec.
APPEND rtfline.
SHIFT itab-rec BY 134 PLACES.
ENDDO.
endloop.
HEADER-TDSTYLE = 'S_DOCUS1'.
HEADER-TDFORM = 'S_DOCU_SHOW'.
header-tdspras = 'E'.
CALL FUNCTION 'CONVERT_TEXT'
EXPORTING
CODEPAGE = '0000'
DIRECTION = 'IMPORT'
FORMAT_TYPE = 'RTF'
FORMATWIDTH = 72
HEADER = header
SSHEET = 'WINHELP.DOT'
WITH_TAB = 'X'
WORD_LANGU = SY-LANGU
TABLETYPE = 'ASC'
TAB_SUBSTITUTE = 'X09 '
LF_SUBSTITUTE = ' '
REPLACE_SYMBOLS = 'X'
REPLACE_SAPCHARS = 'X'
MASK_BRACKETS = 'X'
IMPORTING
NEWHEADER = NEWHEADER
WITH_TAB_E =
FORMATWIDTH_E =
TABLES
FOREIGN = RTFLINE
ITF_LINES = ITFLINE.
LINKS_TO_CONVERT =
if sy-subrc <> 0.
endif.
CALL FUNCTION 'PRINT_TEXT_ITF'
EXPORTING
HEADER = newheader
OPTIONS = options
IMPORTING
RESULT =
TABLES
LINES = itfline.
if sy-subrc <> 0.
endif.
Any hints or suggestions to solve this problem will be highly appreciated.
Thanks,
AvraHi Vishwas,
Check out the thread [Efficient way of saving documents uploaded|Re: Efficient way of saving documents uploaded by users; and check the blog by Raja Thangamani.
Also check the thread [Export Images through Function Modules |Export Images through Function Modules;.
Hope it helps you. -
Upload excel file in SAP BI-7.0
Hi ,
i need to upload an excel file in SAP BI 7.0 where the standard r/3 fm are not available.
Currently we uploading a file in CSV format but now we want to upload using XLS also.
ia way to upload excel file in SAP BI 7.0
Best Regards,
Sharad
Edited by: sharad narayan on Jan 7, 2011 10:58 AM
while searching the forum i found the fm MS_EXCEL_OLE_STANDARD_DAT .
but while using this FM i am getting the exception file not exist.
Kindlu suggest what to do
i even tried the FM TMP_GUI_GET_FILE_EXIST' to check the existence of the file.
even then same problem.
Please suggest
Edited by: sharad narayan on Jan 10, 2011 2:51 PMHi,
Scheduled jobs are the jobs for which we have scheduled for a time, may be daily so that each day the scheduled jobs will trigger at the time given.So that every time u need not to trigger the job manully urself as the schedule time will hit the job will trigger itself.
Released job means the job which is in between Sheduled state and active state.say For eg: 10 jobs are Scheduled in a queue Job no 1 is released from the queue that means any moment it will be in active state.So it is the state between Schedule and Active state of a job.
Thanks
Varun -
How to upload the Excel sheet into SAP
Hello Gurus,
Please let me know the steps how to upload excel sheet file in sap at one time.Suppose i have entered the employee details and their caste .This detail has been maintained in Excel.I want to know the total steps how to upload this total file into SAP System.
Regards
AM. TCode : LSMW.
2. Enter Project name, sub project name and object name.
Execute.
3. Maintain object attributes.
Execute
select Batch Input recording
goto->Recording overview
create
recording name.
enter transaction code.
start recording
do recording as per ur choice.
save + back.
enter recording name in lsmw screen.
save + back
Now there will be 14 steps.
2. MAINTAIN SOURCE STRUCTURES.
Here you have to enter the name of internal table.
display change
create
save + back
3. MAINTAIN SOURCE FIELDS.
display change
select structure
source_fields->copy fields.
a dialogue window will come .
select -> from data file
apply source fields
enter No. of fields
length of fields
attach file
save + back
4. MAINTAIN STRUCTURE RELATIONS
display change
save + back
5. MAINTAN FIELD MAPPING & CONVERSION RULE
display change
click on source field, select exact field from structue and enter
repeat these steps for all fields.
save+back
6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
execute
save + back
7. SPECIFY FILES.
display change
click on legacy data
attah flat file
give description
select tabulatore
enter
save + back
8. ASSIGN FILE
execute
display change
save + back
9. IMPORT DATA.
execute
display change
save + back
10. DISPLAY IMPORTED DATA
enter ok, it willl show records only.
back
11. CONVERT DATA
execute
display change
save + back
12. DISPLAY CONVERTED DATA
execute
display change
save + back
13. CREATE BATCH INPUT SESSION
tick keep batch input folder
F8
back
14. RUN BATCH INPUT SESSION.
sm35 will come
Object name will be shown here
select object & process
inputs given by KAPIL -
How to upload Unicode encoding files from web?
Hi everyone,
I do not manage to upload Unicode encoding CSV files from web. Currently I use class CL_HTMLB_MANAGER to upload file from web. It works fine with ANSI encoding files, but file content is not uploaded correctly with Unicode encoding files. Especially I get innumerable characters u201C#u201D throughout the string that contains the file content (For example instead of u201CSAP CATALOG CSV 2.0u201D I get u201CÿþS#A#P# #C#A#T#A#L#O#G# #C#S#V# #2#.#0#u201D).
I did not find in forums a solution to my issue that is why I am now asking for your help.
How can I upload Unicode encoding files from web? Do you know another way to upload file from web that is Unicode compatible?
Remark: I tried to upload Unicode encoding files from SAP GUI using function module GUI_UPLOAD and upload is successful.
Here is the code that I currently used.
DATA: lr_event_ex TYPE REF TO if_htmlb_data,
fileupload TYPE REF TO cl_htmlb_fileupload,
lr_upload_model TYPE REF TO /ccm/cl_bsp_upload_model,
lr_error TYPE REF TO /ccm/cx_file_upload.
lr_event_ex = cl_htmlb_manager=>get_event_ex( runtime->server->request ).
IF lr_event_ex->event_name = 'fileUpload' AND lr_event_ex->event_type = 'upload'.
fileupload ?= lr_event_ex.
FREE lr_event_ex.
* get the model
lr_upload_model ?= me->get_model( model_id = 'mupl' ).
IF NOT fileupload->file_name IS INITIAL.
* upload data
TRY.
CALL METHOD lr_upload_model->upload_data
EXPORTING
iv_file_name = fileupload->file_name
CHANGING
cv_xcontent = fileupload->file_content.
CATCH /ccm/cx_file_upload INTO lr_error.
ENDTRY.
FREE fileupload.
ENDIF.
ENDIF.
Thank you in advance for helping me.
Best regards,
VanessaHi There,
Please check the details for the same.
Link: http://helpx.adobe.com/creative-cloud/help/sync-files.html#Sync or upload files
Troubleshoot sync:
Error: "Unable to sync files"
Creative Cloud File Sync | Known issues
Thanks,
Atul Saini
Maybe you are looking for
-
A-GPS not working ??
Hi, as a 5800 newbie I seem to have got myself into a bit of a pickle :-( When I enable maps (or the camera wirh GPS enabled) it can take a bit of time for it to get a fix initially. I had previously disabled "Assisted GPS" in the interests of cost -
-
Powerbook's dead after Hard DRIVE is replaced.
Please help. I was about to sell my 17 in since I bought the mac book pro and I wanted to keep my 100 gig and put the original 80 back. I opened it (following mac fixit guidelines) but after closing everything. I have NO power. I re did every connect
-
[SOLVED]Complicated Xorg.conf
I'm trying to make a good xorg.conf.d directory for this configuration My configuration Ecran 1 (DVI) -- Ecran 2 (HDMI) - - Ecran 3 (VGA) -- Ecran 4 (DVI) | | |
-
Please refund my Money!!!!
Tried to buy a $500 vacuum from Best Buy online in Jan 2014- delivery was promised no later than 2-3-14. UPS lost, broke, or did whatever to the vacuum, but failed to deliver it to me and have acknowledged to Best Buy the vacuum never left their Ont
-
Camera.setMode not working
Hi, I am developing a video recorder using AS 3 & FMS. In the video recorder user interface, we have provided radio boxes for users to select either 240p or 720p recording type. If user selects 240p, I am invoking Camera.setmode(320,240,30,false) oth