How to upload program from hardisk to a package
Hello all,
Is there any standard program to upload the programs in a package.
i have 5 program i want to upload them how can i do it?
Thanks for your reply,
but i am getting a error as "MTAB_PROGRAM_FILE" and "MTAB_PROGRAM_TEXTS" are not mutually convertible. In Unicode systems, "MTAB_PROGRAM_FILE" must have the same structure layout (fragment view) as"MTAB_PROGRAM_TEXTS", regardless of the length of the Unicode character.
what should i do???
Similar Messages
-
How to upload data from excel to SAP and options to be used
How to upload data from excel to SAP and options to be used
thank you,
Regards,
Jagrut Bharatkumar shuklaHi Jagrut,
You can use gui_upload.
chk the sample program mentioned below.
REPORT ZFTP .
DATA: BEGIN OF I_FILE OCCURS 0,
DATA(2000) TYPE C,
END OF I_FILE.
DATA: BEGIN OF I_FILE2 OCCURS 0,
DATA(2000) TYPE C,
END OF I_FILE2.
DATA: W_COUNT TYPE I.
PARAMETERS: P_FILEN TYPE STRING,
P_FILE2 TYPE STRING,
P_NUM(4) TYPE N..
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILEN.
PERFORM F_FILE_GET USING P_FILEN TEXT-G01.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE2.
PERFORM F_FILE_GET USING P_FILE2 TEXT-G01.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = P_FILEN
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = I_FILE
IF SY-SUBRC <> 0.
MESSAGE E024(Z1).
ENDIF.
LOOP AT I_FILE.
W_COUNT = W_COUNT + 1.
IF NOT W_COUNT > P_NUM.
MOVE I_FILE TO I_FILE2.
APPEND I_FILE2.
ENDIF.
ENDLOOP.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = P_FILE2
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = I_FILE2
FIELDNAMES =
*& Form F_FILE_GET
text
-->P_P_FILEN text
-->P_TEXT_G01 text
FORM F_FILE_GET USING L_FILENA L_TEXT.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = ' '
DEF_PATH = ' '
MASK = ',.,*.TXT.'
MODE = 'O'
TITLE = L_TEXT
IMPORTING
FILENAME = L_FILENA
rc =
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Reward if helpful.
Regards,
Harini.S -
How to upload photos from computer to camera memory card?
I want to copy a few select photos and AVI files from the Organizer back to a new camera memory card.
A new message was posted by Colin Walls:
how to upload photos from computer to camera memory card:
Open Organizer. Then open Windows Explorer [My Computer] and navigate to the memory card "drive." Drag the images from Organizer to the memory card.
Dear Colin Walls:
Thanks for your excellent tip. It works just as you said. The WHY I want to do this is:
when I want to print a lot of pictures, I take my memory card to Longs Drug store and use their "machine." Naturally, I want to have all the photos I need on the card.
A few days ago at Longs, I edited about 75 photos of a recent family reunion from my 512MB SD card taken with my Canon PowerShot A510. I ended up ordering 198 4x6 prints. My daughter had several good reunion photos on her digital camera. She e-mailed me seven photos as attachments, thus they were on my computer, but not on my memory card, until I started dragging as per the hint from Colin Walls.
Windows Explorer shows the file structure on the card as one DCIM folder, with subfolders 155 CANON, 156 CANON, 157 CANON, 158 CANON, and CANONMSC. I proceeded to drag each my daughter's seven photos from PS Elem. 4 Organizer to the folder 158 CANON, except that I dragged one to the folder CANONMS, by mistake.
The good news is that Longs machine and PS Elem. 4 both see ALL the photos on the card. The bad news is that my camera does not see the added photos, nor does the Canon ZoomBrowser 3.2 and 5.5 programs,nor the Picasa2 program.
Thanks Colin. Gary Docherty -
HOW TO UPLOAD DATA FROM EXCEL TO INTERNALTABLE
HI,
HOW TO UPLOAD DATA FROM EXCEL TO INTERNALTABLE? & WITH EXAMPLE.hi,
chk this, put the data into an excel file.
fields inside it are name and age.
sample excel sheet.
coloumn 1 is name and column 2 is age
name age
A 8
C 13
D 55
DATA : int_excel LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE.
data : record like db_name_age occurs 0 with header line.
DATA : v_start_col TYPE i VALUE '1', "starting col
v_start_row TYPE i VALUE '1', " starting row
v_end_col TYPE i VALUE '2', " total columns
v_end_row TYPE i VALUE '10'. "total no of record
FORM f_upload .
CLEAR : int_excel, int_excel[].
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = wf_filename
i_begin_col = v_start_col
i_begin_row = v_start_row
i_end_col = v_end_col
i_end_row = v_end_row
TABLES
intern = int_excel
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
*Message is 'Unable to upload data from ' wf_filename.
MESSAGE e169(zm050) WITH wf_filename.
ELSE.
SORT int_excel BY row col.
REFRESH : record.
CLEAR : record.
LOOP AT int_excel.
CASE int_excel-col. "go thru each column.
WHEN 1.
record-name = int_excel-value.
WHEN 2.
record-age = int_excel-value.
ENDCASE.
AT END OF row.
APPEND record.
CLEAR record.
ENDAT.
ENDLOOP.
*inserting into table
modfiy db_name_age from table record.
ENDIF.
<i><b>ANOTHER EXAMPLE</b></i>
TYPE-POOLS truxs.
types: begin of t_tab,
col1(5) type c,
col2(5) type c,
col3(5) type c,
end of t_tab.
data : itab type standard table of t_tab,
wa type t_tab.
data it_type type truxs_t_text_data.
parameter p_file type rlgrap-filename.
data ttab type tabname.
at selection-screen on value-request for p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = p_file
start-of-selection.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER = 'X'
i_tab_raw_data = it_type
i_filename = p_file
tables
i_tab_converted_data = itab[]
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.
loop at itab into wa.
write : wa-col1,
wa-col2,
wa-col3.
endloop.
rgds,
anver
<i>if hlped pls mark points</i> -
How to upload logo from application server
Hi all,
Plz show me the way how to upload logo from application server into sap script.
What is NGT.
Thanks in advance
VenkatHi
You have to import your logo in SAP by SE78 before using it in a SAPSCRIPT.
So have you done it?
If yes, it depends on how you have imported the logo:
- As std text:
INCLUDE <LOGO TEXT> OBJECT TEXT ID ST LANGUAGE <LANGUAGE>
- As graphic:
BITMAP <LOGO GRAPHIC> OBJECT GRAPHICS ID BMAP TYPE BCOL
Max -
How to upload file from Application Server?
Dear Friends,
How to upload file from Application Server?
Plz. with example...
Regards,
Dharmeshhi,
check the code for upload from application server.
tables: kna1.
types: begin of s_file,
customer type kna1-kunnr,
country type kna1-land1,
name type kna1-name1,
region type kna1-regio,
end of s_file.
*--Internal tables
data: it_file type s_file occurs 0 with header line.
*-- Selection screen
selection-screen: begin of block b1 with frame title text-001.
parameter: p_file type rlgrap-filename default 'C:/customer.txt'
obligatory.
selection-screen: end of block b1.
*-- At selection screen
at selection-screen on value-request for p_file.
perform file_help using p_file.
*-- Process File
start-of-selection.
perform upload_file using p_file.
*-- write File data to o/p
end-of-selection.
perform write_data.
*& Form file_help
form file_help using p_p_file.
data: l_filepath type ibipparms-path.
call function 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
importing
file_name = l_filepath
p_p_file = l_filepath.
endform. " file_help
*& Form upload_file
form upload_file using p_p_file.
call function 'WS_UPLOAD'
exporting
filename = p_p_file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = it_file
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
no_authority = 10
others = 11
if sy-subrc <> 0.
message i001.
endif.
endform. " upload_file
*& Form write_data
form write_data .
loop at it_file.
write:/ it_file-customer, it_file-country, it_file-name,
it_file-region.
endloop.
endform.
regards,
keerthi. -
How to upload pictures from laptop to iphone
Dear friends,
i have iphone 4 with IO6, could you please help me with tools how to upload pictures from my laptop to my Iphone?
Best wishes.Use iTunes to sync them to your iPhone... http://support.apple.com/kb/HT4236
-
HT4890 how to upload photoes from icloud to my computer?
Can someone tell me how to upload photoes from icloud to my computer?
ThanksiCloud doesn't offer general file storage.
You can save files to iCloud from iCloud aware applications in the save dialog of such apps. -
HT4623 Can u guide me how to upload Vedeo from laptop to iPad Air
Can anyone help me how to upload Vedeo from laptop to iPad Air
iTunes: Frequently asked questions about viewing and syncing videos
http://support.apple.com/kb/HT2729
Another way. You can use a USB flash drive & the camera connection kit.
Plug the USB flash drive (works the same with an SD card) into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
Using The iPad Camera Connection Kit
http://support.apple.com/kb/HT4101
Cheers, Tom -
How do install program from external drive to mac book air
how do install program from external drive to mac book air
DVD or CD sharing: Using Remote Disc - Apple Support
-
How to upload photos from iPhoto to Touch?
Hello,
I can't figure out how to upload albums from iPhoto onto the Touch.
Thanks for an help.
NeilGo to the photo pane and select the album that you want to sync.
http://manuals.info.apple.com/enUS/iPod_touch_3.0_UserGuide.pdf -
How to upload photos from elements 9 to Revel
How to upload photos from elements 9 to Revel
There is no direct link from PSE 9 to revel the way there was to photoshop.com. Revel didn't exist when PSE 9 was written and there's nothing in PSE 9 that can understand or connect with Revel. You are not going to be able to do everything you could do with photoshop.com, like keep your catalog synced. You use a web browser and find your photos to share exactly the same way you would if they were not in the organizer at all.
-
How to upload photos from HTC Evo to IPad
How to upload photos from HTC Evo to IPad,then to a flashdrive ?
One option would be via Dropbox. Following is a link to information re Dropbox on the HTC Evo. http://www.htc.com/us/support/htc-evo-4g-lte-sprint/howto/393916.html
You can install Dropbox on the iPad via the App Store.
Another option would be to email the photos to yourself. -
How to upload photos from iPad to memory card or pc
how to upload photos from iPad to memory card or PC
You can't upload to a memory card.
You can connect the iPad with your computer and then go to (this) Computer see there your iPad as external drive, open it and look for the maps with photos to copy them to your computer.
Otherwise you can use free Dropbox to transfer and share your photos wireless to your computer and others;
http://db.tt/VCNzkXr -
HT4673 how to uninstall programs from Mountain Lion?
how to uninstall programs from Mountain Lion?
Hi,
Theres a couple ways to uninstall programs. The launchpad is the rocket icon on the dock. If you open that you should see your apps spread out as icons as if it would be on a iphone or other iOS device. If you just click the icon with your mouse button and continue holding the mouse button the will shake and show the X. If you click that X it will ask if you want to delete the program. This only works for programs downloaded through the APP Store. If a program does not have an X then proceed to the next way of uninstalling
-- The way to delete a program that will not delete the previous way is as followed:
Open finder
- On the left side you will see applications > Click that
- Then you will see all the programs on the right side.
- If you click on the program and drag it to your trash bin it will ask if you would like to make changes and delete.
- Just make sure not to delete anything that was preinstalled with you Mac
Maybe you are looking for
-
Songs can't be convert into Ring Tone
There seems to be a problem with itunes or with the songs buying online. When i bought the songs and try to convert into ring tones it say "this song can no longer be covert into a Ring tones" i bought about 5 to 6 songs and all of them says the same
-
How to pass dynamic values to JDBC Database adapter in PureSQL operation?
I want to fetch the records from the table via JDBC database adapter with the criteria but I should not hardcode the values inside my query. I am using Execute by PureSQL operation. Values might change in future and it is the reason I should not hard
-
Change firefox icon in address bar
I'm attempting to customize firefox to look like IE, don't ask why, trust me I don't want to. But anyway, I downloaded FoxE9, that kinda customizes firefox to look like ie9, which I think its the closest I'm gonna get. Only problem Im running across
-
Airport wifi won't connect devices
I've been reading through these forums but none of the solutions have worked for me. I have comcast internet and an airport extreme base station. Wired connections through the base station work fine. But we've been having wireless problems for months
-
BAPI_ALM_ORDER_MAINTAIN - cost determination error when deleting operations
Dear all, I have a problem with BAPI 'BAPI_ALM_ORDER_MAINTAIN'. When I add and delete operations several times in an order using this BAPI, cost determination works incorrectly: in transaction IW32 Plan costs sum on 'Costs' tab becomes wrong. But if