Download a smartform on local disk based on transport request
Dear Experts,
I want to given on selection screen transport request and path .If in this tranport request there is any
smartform ,all download on local disk.
So what sud i have to do for this.Please give me a example for it.
Thanks,
Jatin sangal
HI,
Use this below function module to get the spool to an internal table.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = l_spool_id
IMPORTING
pdf_bytecount = g_bin_filesize
TABLES
pdf = ipdf
EXCEPTIONS
err_no_otf_spooljob = 1.
The data will be fetched to IPDF internal table, then u can use GUI_DOWNLOAD function module to download this file to your specific location as below.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = g_bin_filesize
filename = g_file
filetype = 'BIN'
IMPORTING
filelength = g_file_size
TABLES
data_tab = ipdf
EXCEPTIONS
file_write_error = 1.
Thanks,
Ravi
Similar Messages
-
Changing smartform from local object to a transport request
Hi ,
Can any one please let me know how to change smartform from local object to a transport request.
Regards,
Ashok kumarHi,
GOTO transaction SMARTFORMS.
Enter the name of the smartform.
Then GOTO -> OBJECT DIRECTORY ENTRY.
There give ur package then it will ask for the request.
Then create the request.
Hope it helps u.
Regards,
KK -
Download ABAP OBJECT(Smartform) based on Transport Request
Dear Expert,
I want to create a report on which there r two input fields on selection screen.First is transport request and second is Path of local disk on which i want to save .Now under this transport request all samrtforms which i have been made.I want to save a on given path in XML file(all settings at all).
Please give me example for that.
Thanks & Regard,
Jatin SangalHi,
Check this:
http://it.toolbox.com/wiki/index.php/Upload/download_SAP_transport_request
Points apreciated -
ChaRM: read categorization of change docs based on transport request ID
Hi There,
We have ChaRM implemented with 4 level categorization. I am writing a report to find change docs and read their categorization based on a transport request attached to the change doc. Unfortunately I can't figure out the connection. Could you pls give me guidance? Thanks in advance!
ÁdámIn the meantime I found a very useful article on the wiki: http://wiki.scn.sap.com/wiki/display/Snippets/Reading+CRM+Transaction+Categories+Hierarchy
If you need my complete code, drop me a mail.
Thanks,
Ádám -
Download the tcode on loacl disk based on prog name
Dear Experts,
When i download the prog, i want to download the tcode for this prog on local machine.
What sud i have to do for that.Please give me example for that.
Thanks,
JatenHi Jaten,
You can get the TCODE for a program based on the program name from the table
TSTC - SAP Transaction Codes
Try the following:
Select TCODE
from TSTC
into w_tcode
where PGMNA = sy-repid.
sy-repid - your program name
Regards,
Chandra Sekhar -
Customizing Transport Request Assignment process to Local Objects
Hi,
I am developing custom report, which will find out all dependent and local objects for given transport request. When we select the local objects and save, it has to show standard saving process screens...like package and TR screens.
I am trying the above problem using 'TRINT_TADIR_POPUP', 'TRINT_ORDER_CHOICE' and 'TRINT_APPEND_TO_COMM_ARRAYS' function module, but this function module 'TRINT_APPEND_TO_COMM_ARRAYS' giving exception ob_check_obj_error.
So, please let me know anyone have solution for assigning local objects to package and TR through customization (Programmatically).
Thanks,
Param..:-)Hi Sheetal,
Thanks for the reply.
For this function module ADD_TO_PACKAGE, I can't import package name or Transport Request.
I need to have a save screen's, which generally we get during saving of any R/3 Object.
Thanks,
Param...:-) -
Can i Download all ddic table objects on local disk
Dear experts,
I want to make a reports in which i give a table name and press save button .It save all fields , technical settings at all ,eveything in local disk.
What should can i do for that.
Thanks,
jateinhi jatin,
u can download the smartform.
Go to tcode smartforms. Give the name of the smartform that u want to download to the local drive.
Go to the menu and choose the option utilities -
> download form.
Give the local path where u have to store the smartform.
Thanx
Biswa -
File DownLoad from R/3 to Local Disk through Web Dynpro
Hi,
I have a zebra print spool, to be saved in the local disk. For this, I have an RFC which will store the document in Portal Server KM folder and will give the file name for web dynpro app. The web dynpro app will search the KM Directory, and will enable the user to save the file on the local disk.
Is it right approach? Is there any other approaches which would be efficient. BTW, I have files from 4k to 12k size. Can I directly attach it to the context variable and store it directly onto the local disk.
I am running Netweaver2004 SP16. I cant use Input stream, does this affect the performance?.
Thanks, I appreciate your time.Hi Raj,
you have the name and the full path of the file you can access the file through FILE IO as the file is on portal server only and then you can use the File Download UI in web dynpro to download the file
Ninad -
How to download and upload SPRO configuration to and from local disk?
Hello,
I'm very new to SAP. Recently we had a problem while refreshing our QNA system from PRD. I knew there are some configurations, which do not have a transport and thus configured directly in QNA. These changes were not noted by mistake and after the refresh from PRD, we have lost these configurations.
Is there any way we can save the SPRO configurations to local disk and upload them again? Are there any custom programs available? Please advice?
Regards,
NathaniThe trouble with these kind of situations is that an applet runs on the client. If you want an applet to connect to a specific server (which means the client makes a connection to that server), you basically have to give the entire world access rights to that server. I don't think your friendly local administrator will be too happy with such a prospect.
What you could do is put a man in the middle. Don't upload to the file server directly, but to for example the web server where the applet was downloaded from, for example by making a servlet available that takes a HTTP file upload. When that upload is complete, send the file from your man in the middle server to the file server using whatever method you like/have available/know how to code. In this situation only your web server needs access to the file server, which is far easier to secure. -
Download data from Screen to local disk
Hi all,
I have developed a Module pool program. I want to download the data from Screen to local disk in Word format.
Example :-
Name XYZ Surname ABC Date of Birth 00/00/9999
Address XXXXXXXXX
Number of Dependent
1) ABC LLL CCC 00/00/0000
2) XYZ ABC XXX 00/00/0000
3) ABC LLL CCC 00/00/0000
Is there any function module which does this
Thanks in AdvHi,
the simplest and easiest answer that I can think of is :
1. Press Ctrl Y.
2. Select the area of the screen you want.
3. Press Ctrl C
4. Press Ctrl V on your word document.
5. :-).
Regards,
Anand Mandalika.
P.S. Alternatively, you can use the print screen option on your keyboard. -
How can we download a program with screens on local disk
hi abaper's
i have to make a report to download a report program which includes some include parograms and screens.
just enter the name of a program in selection screen and all includes, screens and program itself will be dowload on a local disk, i don't want to download all of them seperatly. just want to enter the main program name and all related includes and screen in the main program must be downloded it self.
points will be rewarde.
thnakshi
try this link i found the solution related to my requirement on this link i have done changes as per my requirement related to transport request. if you want the same as per my requirement i will send you the code.
http://translate.google.co.in/translate?hl=en&sl=zh-CN&u=http://blog.csdn.net/CompassButton/archive/2007/01/19/1487742.aspx&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3Dprogram%2Bzdtp_massdownload%26hl%3Den%26sa%3DG
thanks & regards
pardeep kumar -
Download smartform on local machine
Dear Experts,
I want to download smartforms on local machine from a programme .means if i give smart form name in option it download a smartform on loacl machine.
Thanks,
jatenJaten,
use this Function module is FB_DOWNLOAD_FORM and FB_UPLOAD_FORM.
check this link..
http://www.erpjobs.co.uk/forum/showthread.php?t=63
goto sm37 then run this fm give I_FORMNAME = your smartform name
This will down load smartform in XML format.
Use the Utilities--> Upload for upload the form .
Please sure the upload file is in XML format.
If you want only from program than just refer:
http://sap4.com/wiki/index.php?title=ZSMART_FORM_UPLOAD_DOWNLOAD
Amit. -
Help required - "Failed to download the folio to your local disk"
Hi
(Warning: first time poster :-)
I am having difficulty downloading my published folio. Over the last 24hrs I repeatedly get the following error (after a long wait with status “Preparing content for download...”) on different computers (Mac/PC) and browsers:
An error has occurred while exporting the folio
Failed to download the folio to your local disk
My first version is being delivered to an Android app (created using the Viewer Builder) and was embedded into an iOS app (also created using the View Builder). This all worked without any problems and I can export this now.
To optimize the folio for the new iPad I decided to use the PDF option which required me to rebuild the folio again. The content is identical bar a couple of dates changed from 2011 to 2012. I just need to export the folio so I can embed it into an updated iOS app. The folio will not be (at this stage) delivered to the Android app.
I hope somebody can help :-)
Andrew
Edit: Using the new Adobe Content Viewer I see TWO versions of folio - one with the blue lightening bolt - but maybe that is normal?Hi Andrew,
can't help unfortunatly, but I get the same error when trying to download a retina display folio using a normal dps account. Download is "prepared" for about 5 minutes after which I get the error message:
An error has occurred while exporting the folio.
Failed to download the folio to your local disk.
[downloadIssueFailed]
However, normal resolution folios can be exported and exporting a retina folio from a professional DPS account works.
Best greetings,
Philip -
How to save internal table data to file on local disk from smartforms?
Hi there,
I'm trying to save internal table data into .csv file on presentation server from within smartforms using GUI_DOWNLOAD function.
This function works fine from abap program, but when I call it from smartforms it does nothing. Form prints ok and there is no file created on local dick.
Is there a way to save smartforms internal table data to local disk?
Thanks in advance,
BaskeHi Jey,
Thanks for your prompt replay.
Unfortunately, Iu2019ve tried both your suggestions without success. Smartforms behaves just like in case of GUI_DOWNLOAD. There is no file saved on disk.
Do you have any other idea?
BR,
Baske -
Installing a disk based product through download?
So I purchased a disk based version of Adobe Creative Suite Production Premium 5.5, and I find myself wanting to intall it on another computer. However, the computer in question doesn't have a disk drive, so I have no way of installing it.
Is it at all possible to download a copy of the product from the Adobe website after purchasing it in disk form?You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site or else the download will not work properly.
CS5.5:
http://prodesigntools.com/adobe-cs5-5-direct-download-links.html
Maybe you are looking for
-
Output control and message types
Hi guys, my problem is this:I have created a new message type for output control for Purchase Order but when I create a new PO and click on 'messages' I expect that the new message type appear as a DEFAULT for example other messages like NEU,etc....
-
XML photo gallery Adding transition
i will add some transition on this xml gallery code. Can i do that, if so how? var titleArray:Array = new Array(); var descriptionArray:Array = new Array(); var largeImageArray:Array = new Array(); var thumbImageArray:Array = new Array(); //this has
-
Hey all, I work in a iMac computer lab in a university here in the city. We just got new iMac computers, but their native resolution is different than the existing projector. Is there a script, program, or other way to create an icon that teachers ca
-
Group chart of account assign consolidation report
Hi All, Group chart of account assign consolidation report is throwing error in SAP. Kindly please let me know the process. Thanks... Saravana Edited by: saravana j on Jan 6, 2010 8:00 AM Edited by: saravana j on Jan 6, 2010 9:03 AM
-
Newbie Question - Accessing Email Over Network
OK so I purchased a laptop and set up a wireless network in my home. Everything seems to be working fine except I can't figure out how to see my incoming emails from the laptop. I get the mobileme messages on the laptop but not the messages that are