Uploading Itutor files(.sim) into Portal
Hi All,
Can you suggest me the procedure to upload Itutor files into the Portal
Thanks in Advance
For large files, the upload time through WebDAV is limited by
1) the repository manager's performance and
2) bandwidth.
Thus it's unlikely you'll find a faster way, except one that doesn't require transferring the contents at all (such as CM repository in FSDB mode).
WRT to IE vs Firefox: Microsoft's WebDAV client is not part of IE; so it doesn't matter which browser you use. Alternatively, use a third-party client (such as Portal Drive), or whatever your preferred operating system comes with.
BR, Julian
Similar Messages
-
Not able to view the uploaded PAR file in the portal archive selection.
Dear All,
I have modified com.sap.portal.runtime.logon.par and have renamed it to some other name.
Now I have uploaded the par file.
The problem is that when choose new from PAR option (to create iview from a par file),I am not able to see the par file in the Portal Archive selection.
I also want to know that if I am able to call the par file in the iview, can I use this iview to have a portal login.
Our requirement is that we want to give login page for the portal in the portal home page.The portal home page will be for the anonymous users.
Kindly try to guide meHi Nitin,
Check ur Portalapp.xml file. If u have the following code in that just <b>remove</b> them
<property name="com.sap.portal.pcm.Category" value="platform">
<property name="inheritance" value="final"/>
Deploy it again.now u can see that par in ur portal.Refer this thread also
PAR File not seen
Regards,
Tamil K -
Upload PDF file from SAP Portal and save in SAP
A file in PDF format needs to be uploaded from SAP Portal and the file is to be saved in SAP. Request for help, how to do the same. What are the FM to be used etc..
Thanks,hi
Use FM GUI_UPLOAD with file type as BIN
there are similar threads...pls refer to them for more details:
https://www.sdn.sap.com/irj/sdn/profile?userid=3166533
Upload pdf file to SAP
PDF File
reward if helpful
regards,
madhu -
Upload excel file (xls) into internal table in SRM 4.0
Hi experts!
I need upload a xls file into internal table (in ABAP report) in EBP machine for i work with data in the sheets. Can you help me?
Best Regard!Hi Zeky,
Try GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES
or FM ALSM_EXCEL_TO_INTERNAL_TABLE
Please look at this threads too:
/people/thomas.jung3/blog/2004/09/02/creating-a-bsp-extension-for-downloading-a-table
Upload XLS file from Application server into internal table.
Regards,
Marcin Gajewski
please reward points for helpful answers -
Re: uploading pdf file farmat into sap system
Hi Sap Guru's
One of my client have requirement of uploading PDF file into sap system
client is getting scan copy in PDF format of sales order that order , material number and qty should be uploaded into sap through
va01
as clent havint 200 customers and all tha customers having different styles of format in pdf
i know that we can do by webdyopro / adobe forms but for one customer i can do but here 200 customer are having different
format
can any one suggest me this requirement is fulfilled by SAP-XI, OR ANY OTHER
Thanks & Regards
T BharatHi,
you can try using the method cl_gui_frontend_services=>file_open_dialog, this will open a popup allowing
you to browse and selected the desired files from your system.
Use this method along with the function module GUI_UPLOAD to upload all the desired files and their contents in SAP.
Hope this was useful.
Thanks and regards,
Adithya. -
Upload XML file data into internal table
Hi,
I need help from you.
I am uploading XML file from Application server.
1.In application server under directory it may have several XML files and i need to upload all the XML files when we gave only directory name. So, what is the function module for that logic . If possible code also.
2.Once we get the files into some internal table we need to upload data from that files to internal table.
So what is the logic for that , if possible code also.
I am giving sample directory:
For example in this directory assume 3 xml files are there.
I need to upload those files and data from that in to internal table.
Thanks & Regards
VSRBelow code will give you an idea.
TYPE-POOLS: ixml. "iXML Library Types
*TABLES : rbkp.
TYPE DECLERATIION
TYPES: BEGIN OF type_tabpo,
ebeln TYPE ekko-ebeln, "PO document number
ebelp TYPE ekpo-ebelp, "PO line item
END OF type_tabpo.
TYPES: BEGIN OF type_ekbe,
belnr TYPE rbkp-belnr, "Invoice document
gjahr TYPE rbkp-gjahr, "fiscal year
END OF type_ekbe.
TYPES: BEGIN OF type_invoice,
belnr TYPE rbkp-belnr, "PO document number
gjahr TYPE rbkp-gjahr, "Fiscal Year
rbstat TYPE rbkp-rbstat, "invoice status
END OF type_invoice.
TYPES: BEGIN OF t_xml_line, "Structure for holding XML data
data(256) TYPE x,
END OF t_xml_line.
INTERNAL TABLE DECLERATIION
DATA: gi_tabpo TYPE STANDARD TABLE OF type_tabpo,
gi_ekbe TYPE STANDARD TABLE OF type_ekbe,
gi_invoice TYPE STANDARD TABLE OF type_invoice,
gi_bapiret2 TYPE STANDARD TABLE OF bapiret2.
DATA: l_ixml TYPE REF TO if_ixml,
l_streamfactory TYPE REF TO if_ixml_stream_factory.
DATA: l_xml_table TYPE TABLE OF t_xml_line, " XML Table of the structure
l_xml_line TYPE t_xml_line, " Record of structure t_xml_line
l_xml_table_size TYPE i. " XML table size
DATA: l_filename TYPE string.
WORK AREA DECLARATION
DATA: gw_tabpo TYPE type_tabpo,
gw_ekbe TYPE type_ekbe,
gw_invoice TYPE type_invoice,
gw_bapiret2 TYPE bapiret2.
BEGIN OF SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
PARAMETERS: p_file TYPE pathintern LOWER CASE DEFAULT '/usr/sap/tmp/'.
Validation of XML file: Only DTD included in XML document is supported
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN.
To validate p_file is not initial
PERFORM sub_validate_file.
PERFORM sub_validate_path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Request for filename for xml file from the application server
PERFORM sub_get_filename_appl USING p_file.
START OF SELECTION SCREEN
START-OF-SELECTION.
PERFORM sub_fetch_po_details.
PERFORM sub_get_invoice.
PERFORM sub_rel_invoice.
END OF SELECTION SCREEN
END-OF-SELECTION.
*& Form sub_validate_file
To Validate the file
FORM sub_validate_file .
IF p_file IS INITIAL.
MESSAGE e000. "specify the file path
ENDIF.
ENDFORM. " sub_validate_file
*& Form sub_get_filename_appl
form sub_get_filename_appl USING l_fname TYPE any.
DATA: l_fname TYPE filename-fileintern. " File name
*GET THE FILENAME FROM THE APPLICATION SERVER
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = l_fname
filemask = '*'
IMPORTING
serverfile = l_fname
EXCEPTIONS
canceled_by_user = 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.
ENDFORM. " sub_get_filename_appl
*& Form sub_fetch_po_details
To fetch the PO details from the application server
Format of file is XML
FORM sub_fetch_po_details .
TYPE DECLERATIION
l_ixml = cl_ixml=>create( ).
Creating a stream factory
l_streamfactory = l_ixml->create_stream_factory( ).
PERFORM get_xml_table.
LOOP AT gi_tabpo INTO gw_tabpo.
WRITE:/ gw_tabpo.
ENDLOOP.
ENDFORM. " sub_fetch_po_details
*& Form get_xml_table
Read from the xml file
FORM get_xml_table .
Local variable declarations
DATA: l_len TYPE i,
l_len2 TYPE i,
l_tab TYPE tsfixml,
l_content TYPE string,
l_str1 TYPE string,
c_conv TYPE REF TO cl_abap_conv_in_ce,
l_itab TYPE TABLE OF string.
l_filename = p_file.
code to upload data from application server
OPEN DATASET l_filename FOR INPUT IN BINARY MODE.
IF sy-subrc 0.
WRITE:/ 'invalid file path'.
ENDIF.
DO.
READ DATASET l_filename INTO l_xml_line.
IF sy-subrc EQ 0.
APPEND l_xml_line TO l_xml_table.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET l_filename.
code to find the table size
DESCRIBE TABLE l_xml_table.
l_xml_table_size = ( sy-tleng ) * ( sy-tfill ).
*code to convert hexadecimal to XML
LOOP AT l_xml_table INTO l_xml_line.
c_conv = cl_abap_conv_in_ce=>create( input = l_xml_line-data
replacement
= space ).
c_conv->read( IMPORTING data = l_content len = l_len ).
CONCATENATE l_str1 l_content INTO l_str1.
ENDLOOP.
l_str1 = l_str1+0(l_xml_table_size).
SPLIT l_str1 AT cl_abap_char_utilities=>cr_lf INTO TABLE l_itab.
LOOP AT l_itab INTO l_str1.
REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>horizontal_tab IN
l_str1 WITH space.
ENDLOOP.
CALL TRANSFORMATION ('ID') " code to put in internal table
SOURCE XML l_str1
RESULT tab = gi_tabpo[].
ENDFORM. " get_xml_table -
Re: uploading pdf file format into sap system
Hi Sap Guru's
One of my client have requirement of uploading PDF file into sap system
client is getting scan copy in PDF format of sales order that order , material number and qty should be uploaded into sap through
va01
as client having 200 customers and all that customers having different styles of format in pdf
i know that we can do by webdyopro / adobe forms but for one customer i can do for all 200 customer through webdyopro /
adobe forms for having different format
can any one suggest me this requirement is fulfilled by SAP-XI, OR ANY OTHER
Thanks & Regards
T BharatHi,
You can use SAP DMS for this.
Thanks
Sunny -
Upload eTDS file to Government portal
Hi Experts,
Is it possible to upload the eTDS file directly SAP to government Portal.
ThanksHi,
No,you cannot upload directly on portal. You have to upload manually once you generate eTds file from SAP bcoz you need your loging id and password for file return on gov portal.
Thank
SD -
What is the function module which uploads excel file data into tcodes
Hi,
i want to upload data in cs01 tcode.
but data is excel sheet while i am trying to use gui_upload it is not being possible for me to upload data.
can any one tell me what is the function module?
can any send me the steps how to uplaod data if it is in excelsheet?
thanks & regards
naveen
Moderator message: FAQ, please search for available information before asking.
locked by: Thomas Zloch on Aug 18, 2010 1:46 PMHi,
Try the below sample code u ll get an idea of uploading using 'TEXT_CONVERT_XLS_TO_SAP'.
REPORT zupload_excel_to_itab.
TYPE-POOLS: truxs.
PARAMETERS: p_file TYPE rlgrap-filename.
TYPES: BEGIN OF t_datatab,
col1(30) TYPE c,
col2(30) TYPE c,
col3(30) TYPE c,
END OF t_datatab.
DATA: it_datatab type standard table of 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.
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.
LOOP AT it_datatab INTO wa_datatab.
WRITE:/ wa_datatab-col1,
wa_datatab-col2,
wa_datatab-col3.
ENDLOOP.
Thanks & Regrads,
Neela. -
Upload Excel File from Portal (R/3 working fine)
Hi Experts!!
We have a report in which we are uploading an excel file from presentation server into an itab. When F4 clicked for file path, browser will open for choosing the path. Now, we have created an iView in Portal for this t-code. However, F4 is not working from Portal, rather giving an error 'Please wait. You will be forwarded automatically. This page had to be included for technical reasons.'.
We need to upload excel file even from Portal too. Can somebody please give me some inputs or suggestions?Hi Jigar,
Now I am able to get into SAP screen. However it's not opening the t-code that I mentioned. I gave some Z t-code ZTEST. Once I check the iView, it is showing SAP screen with the below things:
Service Type:
Service ID:
TCode: ZTEST
Object Type:
Key:
Field 1:
Val. 1:
Field 2:
Val.2:
Field 3:
Val 3:
And at the bottom it's giivng a warning message:
Object type or object does not exist
Message no. 1W001
In iView properties I can see Object Type as com.sapportals.portal.iview. Is this the same Object Type that the message is talkign about? Can you please help me out? -
Error in Uploading of Documents into Portal through KM
Hi All,
I Am new to KM, i am uploading the Word Documents into Portal through KM, this is the path : Content Administrator->KM Content->Documents--->
here i am creating one folder after that i am uploading one Word Document into through Folder--->Upload, but when i am clicking on that uploaded document it shows Portal Runtime error....This is my problem....
Could u please solve my problem....for me this is very urgent.....
Thanks and Regards,
Abhiram Choudary.Hi Abhiram,
Please check it the link to the file uploaded file is ok, in order to make sure that there is a problem with the upload. The link should look like: <Protocol>://<Portal_Server_Name>:<Port>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/<your_Folder>/<your_wordfile_name>.doc
or
<Protocol>://<Portal_Server_Name>:<Port>/irj/go/km/docs/documents/<your_Folder>/<your_wordfile_name>.doc
If it's that's not the case you might need to change the configuration of the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/7d/236cfa17034a37a439dc392ec59eb0/content.htm">URL Generator Service</a>. Perform the steps indicated under "Activities".
Hope this helps,
Robert -
How can we limit uploading file size in portal.
we have a feature where customers can upload there files, we use portals for uploading files, form which has the file type is posted to a stored procedure and which in turns calls the wwv_things.saveitem.
we need to restrict a file size and file type for the uploading files, I can restrict the file type with javasript but wanted to find out if oracle portals has any way to restrict the uploading file size,
thanks and regards,
Sunil.Currently, this is not available. You could have a query that has all RKF as a starting point to achieve this. If you think this would be good to have by default, please log a development request on the OSS Messaging System.
-
Hi friends,
I want to upload the file(Exel) into VC. How we can do this.
I tried it by taking a Form iview and add a field which have Control of Pushbutton on this form . But when i am deployed it and click on field nothing will be displayed. I want when i click on this field a Window dialog box should appear , so that i can select the exel file and display output of this exel file into output form
Any Help would be appreciated by providing Points.
Thanks in advance.
Naresh KumarWe discussed it already multiple times. You can do that only through a JDBC connection. All the information is in the WIKI:
https://wiki.sdn.sap.com/wiki/display/VC/JDBCConnectionSetup -
How to upload a large size file to enterprise portal?
Dear All,
I want to upload a file to my portal but its size is around 500 MB so in single run it is not allowing me for the same.
I tried to access that one via creating a external link from portal to local disk of server but it is also restricted if I access my portal from outside the LAN.
So is there any other way to serve this purpose?
Regards,
AdityaHi! aditya,
i think you can get a better idea about portal Drive by following link -
http://help.sap.com/saphelp_nw04/helpdata/en/42/C99B91341A6BADE10000000A1553F6/frameset.htm
If i am not wrong, i think you are are talking about creating a Network Drive on your local machine,if yes then Network Drive and Portal drive are different.
please read the ablove Document.
regards,
sahu -
How to retrieve a local file from a portal report.
Hi,
I need to access a local htm file from my local directory. I stored the filename in
a table. And I built a portal report to select the filename from the table. The filename
in the report will be link to a procedure that I created to pass the filename. The
procedure code is as follow:
(v_filename in varchar2) IS
url varchar2(100);
BEGIN
url := 'uploaddoc/'| |v_filename;
portal30.wwv_redirect.url(p_url =>url);
END;
Then in the httpd.conf file, I put in an alias like this:
I put an alias in the httpd.conf file like this:
Alias /uploaddoc/ "C:\My_Data\uploaddoc/"
I stopped the http server and restarted it after I made the changes.
When I run the report, I click on the filename link: in my example,it is:
internal_portal_faq, the filename is passed to the procedure that I created.
But I got the following error message on the browser:
No DAD configuration Found
DAD name:
PROCEDURE : internal_portal_faq
URL : http://localhost:80/pls/portal30/uploaddoc/internal_portal_faq
I am running on version 3.07 on NT on my laptop.
Any idea what I did wrong?
P.S. I don't want to upload the file using a portal form into the blob field.
Thanks;
Kelly.
nullHi,
I found out a way to do this myself. If anyone is interested in that, just drop me an email.
Kelly.
null
Maybe you are looking for
-
Thumbnail images of Thumbnail Slideshow Widget not releasing Tooltips
I'm running Muse v2.2 Build 6 CL 770942 and had mistakenly assigned a number of tooltips to a number of thumbnail images of a thumbnail slideshow widget. After deleting those tooltips via the contextual menu on selected thumbnails and the "edit image
-
How to transfer pictures from laptop to ipad?
?
-
PDF's from websites will not download. I get a grey screen.
How can I get my Macbook Pro to download PDFS from a website? It seems to think about it but once complete I get a grey screen. It worked in the past. I have adobe . I have re-downloaded it.
-
How do you save pictures in .swf?
Could you tell me that in simple steps if possible?
-
Hi All , How can we delete those Idocs which are not in use in BW side , any suggestions please for this . Can we delete them by any table or any FM . will it affect to BW if we do it apart from performance optimization :). Any suggestion Plea