Placing a file

hi gurus,
an xml file is being spit from an abap program, instead of putting it on the desktop,
it needs to be placed in FTP server.
can some one help me with this.

Hi
Here is the sample code to send FTP
REPORT ZFTPSAP LINE-SIZE 132.
DATA: BEGIN OF MTAB_DATA OCCURS 0,
LINE(132) TYPE C,
END OF MTAB_DATA.
DATA: MC_PASSWORD(20) TYPE C,
MI_KEY TYPE I VALUE 26101957,
MI_PWD_LEN TYPE I,
MI_HANDLE TYPE I.
START-OF-SELECTION.
*-- Your SAP-UNIX FTP password (case sensitive)
MC_PASSWORD = 'password'.
DESCRIBE FIELD MC_PASSWORD LENGTH MI_PWD_LEN.
*-- FTP_CONNECT requires an encrypted password to work
CALL 'AB_RFC_X_SCRAMBLE_STRING'
     ID 'SOURCE' FIELD MC_PASSWORD ID 'KEY' FIELD MI_KEY
     ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD MC_PASSWORD
     ID 'DSTLEN' FIELD MI_PWD_LEN.
CALL FUNCTION 'FTP_CONNECT'
     EXPORTING
*-- Your SAP-UNIX FTP user name (case sensitive)
       USER            = 'userid'
       PASSWORD        = MC_PASSWORD
*-- Your SAP-UNIX server host name (case sensitive)
       HOST            = 'unix-host'
       RFC_DESTINATION = 'SAPFTP'
     IMPORTING
       HANDLE          = MI_HANDLE
     EXCEPTIONS
       NOT_CONNECTED   = 1
       OTHERS          = 2.
CHECK SY-SUBRC = 0.
CALL FUNCTION 'FTP_COMMAND'
     EXPORTING
       HANDLE = MI_HANDLE
       COMMAND = 'dir'
     TABLES
       DATA = MTAB_DATA
     EXCEPTIONS
       TCPIP_ERROR = 1
       COMMAND_ERROR = 2
       DATA_ERROR = 3
       OTHERS = 4.
IF SY-SUBRC = 0.
  LOOP AT MTAB_DATA.
    WRITE: / MTAB_DATA.
  ENDLOOP.
ELSE.
do some error checking.
  WRITE: / 'Error in FTP Command'.
ENDIF.
CALL FUNCTION 'FTP_DISCONNECT'
     EXPORTING
       HANDLE = MI_HANDLE
     EXCEPTIONS
       OTHERS = 1.

Similar Messages

  • Page numbers from placed indd file not printing

    I've created a saddle-stitch booklet 1up in InDesign CS4. I've got auto page numbers on the master page, but when I place it in another InDesign document 2up for proofing, the page numbers are visible, but don't output either to an exported PDF or a PostScript file printed to be Distilled. Please advise.

    It's a bug. Anything on the master page of a placed INDD file just
    disappears...not good.
    Bob

  • Applied 55% transparency to group of objects, but a placed .eps file is darker than things created natively in InDesign

    hey guys,
    I'm working on a math book and for some reason, my placed .eps files (which are used for equations) are appearing darker than the other items when set to 55% opacity. I've ensured that everything is set to 100% opacity before grouping, then grouped and set to 55%. My only thought is maybe the eps is RGB when the other things are CMYK...and if this is the case, I'm not sure how to test / fix it. Other than that idea, I have no clue as to where to begin in addressing this issue.
    The cheese is real with this example.
    You can see here that I'm applying the 55% opacity to the entire group. I've also ungrouped all of the objects, made sure they're at 100% opacity, then grouped and set to 55%.
    You can see here that the text is 100% black.
    Thanks!

    Sorry, I Googled around a bit, but not quite sure what you mean by distilling the PDF. I've exported the PDF as a "High Quality PDF", and the issue still persists there. Should I alter the PDF export options some?

  • Disappering cursor when placing multiple file in Indesign.

    When placing multiple file (jpeg, tiff's, pdf files,etc.) in a indesign document, my cursor disappears. If you can get to the desktop and click on it, it will come back.
    first started in Indesign CC 2014, Any fix for this?
    Thanks, Dennis

    Hi,
    This is an expected behavior, when you place an image in InDesign then it display the preview of the image however you this has no impact on the output unless the image placed is of low-resolution itself.
    In order to have good resolution of images, you may switch to View > Display Performance > High Quality.
    Thanks,
    Manish Sharma

  • Placed .png files in look blurry in InDesign CS6 & output PDF

    I'm brand new to InDesign...just learned it yesterday. I'm using CS6. However, I think I'm following best practices as I've watched many instructional videos and have a folder of images I'm using in the document which I place in the document using "File" -> "Place." I've both put them into frames that already exist (and used "Object" -> "Fitting" and often "Fit frame proportionally" but also other commands) as well as without a frame where I drag a window the size I'd like the file to be after I've loaded up my cursor using "File" -> "Place."
    I'm at a loss as my files are 72 DPI and 144 DPI (I'm on a Mac and have checked them out both in Photoshop and using "Tools" -> "Inspector" in Preview) and I have NO idea why they look so terrible in both InDesign and my output pdf! I'm attaching both the files I'm placing and screenshots of what they look like in the output .PDF.
    Thanks SO MUCH for any help anyone can give me--I'm working on an urgent project and must figure this out!

    This info was quite helpful--thanks everyone!
    First of all, I'm not entirely sure I chose the right tool for this job, and advice on this would be welcome. I wanted a document of portfolio pages formatted sort of like a book, so I thought it would be better to use InDesign rather than something like Photoshop or Illustrator (I've learned these tools in the last year but haven't really used them to create documents). My primary goal, however, was to present this information both from my computer and on my website, and a secondary goal was for it to be able to print nicely. So I thought InDesign was the right choice. (I read this article from 2010: Adobe Photoshop vs. Illustrator vs. Indesign | Dream Infinity Studios / Chris Takakura | Art Direction + Design to get some guidance...hopefully most of it is still relevant.) Because of that I wasn't sure whether to use "Intent" -> "Print" or "Intent" -> "Web", so I went with web with a 1024 x 768 page size, hoping that will look OK for desktop (not professional) printing. What do people do when they want something to function in both domains? Not sure if that could have affected anything about the way these images were placed...
    In terms of finding a solution:
    1. I was using High Quality Display--it was more an issue with my output document. (Though strangely sometimes when I toggle between high-quality & typical displays, sometimes things that looked good when I was working on them in high quality, after toggling to typical and back, look horrid.)
    2. It seemed at first that it might be an issue of the way I placed the files, e.g. I was positioning my cursor OUTSIDE any sort of field and dragging a square to the size I wanted my image to be. I'm wondering if it somehow reduced the image size because if I create the square using the "Rectangle Frame Tool" it seemed to work much better. I've also tried just dropping the file without the frame tool and resizing it that way, but my images are actually VERY long & wide, so that's difficult. I was also wondering the "fitting" option I chose may have been affecting the display...I've been trying "Fitting" -> "Fit Content Proportionally" lately.
    3. I created some .pdfs of some of the pings from Omnigraffle, and that seemed to help, but that actually makes them look worse because there are screenshots within the OmniGraffle mock-up files which are washed out and pixelated and the text that was added on top stands out too much (see attached screenshot...the one on top is a PDF and the header and footer looks funny and the bottom is a PNG where at least everything looks consistent).
    So though some files look better now (especially, ironically enough, the 72 DPI screenshot of Use Cases!), I can't figure out what process I should follow to get consistently good results. Because a) the mockup files look good when I first paste them, and b) they are longer and wider than the content area I'm using and I'm shrinking them significantly, I cannot figure out why I can't keep that level of detail after they've been shrunk to fit. I keep wondering if I'm placing image properly, shrinking them properly, or those Fitting settings properly...

  • Illustrator cs3 will not show placed .psd files

    I changed my computer to a vista based operating system and installed my creative suite 3. Everything was working fine but recently I am having challenges getting illustrator cs3 to show placed .PSD files. They appear to import but do not display. Any suggestions on how to fix this issue would be helpful. I already tried a repair/reinstall of illustrator but that did not work. I can place .psd images into In Design so I am not sure why illutrator is not allowing .PSD files to import and display.

    Harron K. Appleman wrote:
    Did you upgrade to 64-bit Vista by any chance?
    Are your PSD images 16-bit by any chance?
    The problem with this scenario is that since Illustrator, any version does not support 16 bit psd files and CS 3 and 4 will place the file anyway but give you a notice that it is placing it as 8 bit. So unless there is something about  Vista XP or W7 64 bit that prevents Illustrator fro converting then that is probably not the issue. And though the warning says it flattens it will preserve a transparent background.
    So it might be a different issue.

  • InDesign does not package fonts used in placed .AI files

    When we package a project for our print vendor, placed .AI files containing fonts do not get collected. I know those fonts are embedded in the .AI file when printing from InDesign, but sometimes our prep vendors need to make last minute edits to these .AI files before they RIP the project. Is there a way to have InDesign collect fonts from .AI files? I know we could use Illustrator .EPS format and uncheck "Embed Fonts", but our vendors prefer .AI files. Any add-on plugins available to solve this problem or other workarounds?

    I suppose you could open each .ai file, go to select> object> text objects, copy, then paste into InDesign, save and package. Then delete the pasted type after packaging. This does not work with Zaph dingbats, symbol, or probably other "ornamental" fonts, which are converted to outline upon pasting.

  • InDesign CS6 Crash on placing a file on to indesign document  , Crash Report is attached .

    Hi ,
    InDesign CS 6 is working fine in Mac mini and in MacBookPro it always crash on placing a file on to InDesign Document .
    Crash Report : http://pastebin.com/fUPiYd0c
    I have tried :
    1) uninstalling and reinstalling CS 6
    2) Using with different accounts including admin
    3)Troubleshooting as below mentioned  :
    a)  Trash preferences   (cmd-opt-shift-control while starting InDesign) "
    Either corrupt preferences (as above), or perhaps the permissions on the folders that contain the preferences are such that InDesign can't properly write to them. ( it sometimes does happen).
    b) Deleting the below folders: Before deleting the below directories/files please take a backup(just for safe).  Quit In Design and  try removing the  following directories/files (InDesign will re-create them at start up):
    ~/Library/Application Support/Adobe/Adobe InDesign CS5.5
    ~/Library/Caches/Adobe InDesign
    ~/Library/Caches/com.adobe.InDesign
    ~/Library/Preferences/Adobe InDesign
    ~/Library/Preferences/com.adobe.InDesign.plist
    ~/Library/Preferences/com.adobe.InDesign.plist.lockfile
    ~/Library/Saved Application State/com.adobe.InDesign.savedState
    Note:  The user Library directory is hidden under MacPro/Lion. You can get there in the Finder by holding down Option and then going to the Go menu (other ways are fine too).
    Please let me know if i am missing something .
    Thanks in advance ,

    Thanks Peter this definitely helps me , let me validate and come back to thanks again .

  • Placing Word File with Character Styles

    InDesign CS5, windows 7
    I am hoping for some guidance.
    I am creating a directory from an Excel file.  This is what I have done and where I am at.
    1. Edited Excel File to ad "Headers" for Name, Address, etc...
    2. Used Mail Merge in MS word to create a Directory.
         - Created Character Styles in word for different fields.
         - Did some minor editing to remove stray spaces, etc...
    3. Placed wrod file in InDesign.  Layout is created with basic text boxes that are split into 4 columns, each box linked to the next (I have about 30 pages of this).
    At first, this was working OK, but the CHaracter styles were not coming through (Actually, they were lost during the merge in Word).  So, I did some work and found that there was a code I could add to the Merge Fields oin Word to force the Character styles to be retained.
    Anyway, I did that.  However, now when I place the Word File in InDesign, it appears to hang at "Processing Character Styles".
    I removed the code from the merge, figuring I could go back, but I still get that hang.
    Any suggestions are appreciated...
    -kaz

    Any suggestions are appreciated...
    I think I followed most of your explanation. But, since we can't see what you're doing, it's hard to know 100% what your reasons are for doing what you do. F'rinstance, I wonder why you're bothering with the Word merge at all. Without knowing why you have to run the merge in Word, I'd suggest this:
    add headers to your Excel file
    save out .csv
    Use InDesign's Data Merge tool, skip Word entirely
    Why do you need to use Word's Mail Merge? If you've never used Data Merge in ID, you should probably take a look at the Help file entry to see if it will work for you.

  • Placed PSD file has Jagged Edge

    Products:
    PS CC
    AI CC
    I have a 2500 x 4088 px PSD file with no jagged edges, until it is placed into Illustrator.
    I believe that I have placed the PSD file in its original size, but may be wrong. My artboard was created to be larger than the original image, and when placing the file I simply clicked on the artboard.
    I have not knowingly increased or reduced the dimensions of the placed file.
    Will the jagged edge be present if I place the AI file into InDesign?
    Is there a setting somewhere that I need to change to remove the jagged edge?
    Thanks

    Hi John, thank you.
    I verified that the anti-alias box was checked, and it was. I usually do not print, so your suggestion was well taken. When the document printed, the lines were as smooth as I expected them to be.
    A few days ago when troubleshooting my Windows 8 system, it recommeneded that I perform a Refresh -- so I did. It notified me that it would keep all files and I thought nothing more of it, but learned that the refresh deletes all installed programs. I had to reinstall all Adobe products (among others).
    After the re-install I created the attached image. There was a version of the same size that I created before the refresh, and when I placed that image into Illustrator, it appeared smooth with no jagged images.
    I don't know why the jagged edges are present on the screen, but ultimately it's the print version that matters (save as to web produced smooth edges, too).
    Thank you for your response, it was very helpful.

  • RE:Placing a file in one of many directories at run time

    Hi all,I posted a question yesterday evening with subject name as "Placing a file in one of many directories at run time".
    The link for that qestion is as follows:
    [Placing a file in one of many directories at run time;
    For that question I got a UDF as a reply.The UDF is as follows
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String strDirectory = "Dir1"
    // here write your condition for dynamic Directory
    conf.put(key,strDirectory);
    return  strDirectory;
    Im having an double if condition in my scenario as follows:
    if (Integer.parseInt(TableName[0])==8 || Integer.parseInt(TableName[0])==10 || Integer.parseInt(TableName[0])==12 )
    if(CountryCode.equals("SG") || CountryCode.equals("MY") || CountryCode.equals("PH") || CountryCode.equals("TH") || CountryCode.equals("ID"))
    Now my question is  where to insert last two statements of UDF(conf.put(key,strDirectory);
    return  strDirectory;).
    Should I use both in if condition or any one in if condition.
    Can any one help me out in this case.
    Thanks in advance,
    Regards,
    Prajwal Kumar

    Hi Naluvala
    You can do this. It is pretty simple
    bstractTrace trace = container.getTrace();
    trace.addInfo("In Dynamic Configuration...............................:");
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String ourSourceFileName = conf.get(key);
    trace.addInfo("Key Filename:"+ourSourceFileName);
    String valueOld = "/XD1_interfaces/messages/inbound/ref_payments";
    trace.addInfo("Key valueOld:"+valueOld);
    conf.put(key1,valueOld);
    return  ourSourceFileName; 
    Regards
    Abhishek
    *Please reward points if helpful***

  • Update placed PDF files to recognize transparency

    I have used Croptima InPlate to create an imposed cut and stack imposition of a large 3800 variable data project. Due to the size of the file, I've only imposed the black plate variable data. I want to use Acrobat's add background tool to add an imposed master graphic of the rest of the file image (the black-only variable text will overlay the other elements).
    Croptima has done a great job with the imposition, however it has placed all the files in the layout with a white backround (not transparent as is resident in the source PDF file. When I try to add the main background in Acrobat the white boxes from the PDF mask out the background image. I can manually remove the boxes in Acrobat one at a time, but doing this across a 6-up, 640 page document makes for quite the undertaking.
    My question is if there's a way in InDesign to update all placed PDF files to display with a transparent background instead of the opaque background.
    The relink feature with import option won't do it document wide, it wants to individually prompt for every graphic and won't retain the page assignments.
    I found a script on the forum which will update each link to a transparent background individually, but I have to manually enter in each page number of the imposed PDF ... also a huge time suck.
    Does anyone know of a way to change the placement properties document-wide of a single, multi-page placed PDF to a transparent background instead of opaque?
    Or... does anyone know how to get Croptima InPlate to place PDF files with a transparent option?
    Thanks in advance.

    I had to chime in:
    First to help out if BLUDVLZ24 would like to test drive Quite Imposing Plus.
    Here is a temporary number so you can test drive it yourself. Just go yo our site www.quite.com and download QIP and use the following Serial number and private code.
    Quite Imposing Plus V1/V2
      Expires end 3/2010  Serial 0783-6227-0032-4682  Code 6826
    Second to help out Mr. Met:
    If you have any trouble understanding Quite Imposing Plus you should have emailed us at [email protected] we would have been happy to help.
    Also, there is a Getting Started tech sheet within the program (instead of reading the entire manual - which may have caused your dislike of QIP)
    Once loaded, please Check out Getting Started tech sheet. Go to our Imposition Control Panel and click on the ? button.....
    then click the Getting Started button.Also, lots of good information on signature setups Step-by-step Instructions and New features.
    Also, take a look at www.quite.com/imposing/techsheet too-it has some other tech step by step sheets - note: cut-stacks tech sheet is there for you to look at. 
    cheers,
    Charles
    Charles James
    Technical/Marketing Director
    Quite Software
    USA
    858.581.9143
    [email protected]
    www.quite.com

  • Retaining URLs in placed PDF file

    I'm pretty sure I know the answer to this, but I thought it was worth asking.
    Basically I take Pass4Press pdfs and repurpose them for digital publication.
    My question is; Can you create the links in Acrobat and have Indesign recognise them. At the moment I import the pdf, then create a new layer where I create url buttons for each one.
    Working on CS5.5 and Acrobat 10 for Mac.
    Many thanks in advance.

    No, InDesign can not recognize hyperlinks in placed PDF files.

  • Placed .ai files becomes transparent on PDF??

    Hi fellow InDesign users,
    I have a problem with my CS3 InDesign (fully upgraded/updated) and CS3 Illustrator (also fully upgraded/updated)
    I have an Illustrator file which I would like to place in my layout. The artwork is completely white (C=0, M=0, Y=0, K=0) and is shown correctly when I preview my layout in InDesign, however when I export it to PDF and try to print the file, it disappears from the layout leaving everything else to print normally.
    I can print just fine directly from Illustrator, I can also export my art as a PDF from Illustrator and print it correct.
    I can also have other white (C=0, M=0, Y=0, K=0) elements and text on the same layout and they will print fine as well.
    The only thing not working is the thing I need :( a way to print my placed (C=0, M=0, Y=0, K=0) Illustrator file.
    I have tried to look at my PDF export options and also my import options when placing the file and I can't figure out why it won't print.
    Please help!

    Can you see the file when you preview in InDesign with preview overprint?
    If you have set this file, which isn't white but blank (0000), to
    overprint then it will be leaving the background instead of knocking it out.

  • Placing the file in UTF-8 format in Target Directory

    Hi Experts,
    Can any one please tell me how to place a file in Target Directory by PI in UTF-8 format.
    It is a file to file PassThrough (no IR part) scenario and in receiver File Adapter I have used File Encoding as UTF-8
    but still PI is not placing the file in UTF-8 format in the Target Directory.
    Are there any modules by which the files are converted to UTF-8 format.
    Can anyone please help me out.
    Thanks and Regards,
    Prajwal

    Hi,
    Please let me know if I need to change the TransferMode,File Type and FileEncoding in both sender and receiver channel.
    I tried the below settings but still the file is not being placed in UTF-8.
    Sender CHannel:    TransferMode         Text
                                   FileType                  Text
                                   FileEncoding            UTF-8
    Receiver Channel    TransferMode         Binary
                                     FileType                  Text
                                     FileEncoding           tried with UTF-8 once and tried with blank
    Can any one throw some light here.
    Thanks and Regards,
    Prajwal

  • Problem placing PSD file in Illustrator

    G'day,
    My problem is when i place PSD file into illustrator, it opens up "Photoshop Import Option" menu,
    which lets me choose either:
    (1) convert photoshop layers to objects (or)
    (2) Flatten photoshop layers to a single image
    all other options are greyed out (meaning i cannot select them)
    The above 2 options will embed the image into illustrator, thus when i update in photoshop, they will not auto update.
    I dont have this problem in the past (which means i dont get this menu when i use the place function) but it just poped up the last week.
    But when i open OLD illustrator files which have PSD images not embeded, i am able to edit the PSD and illustrator will auto update.
    Please help it is really frustrating to keep placing PSD files everytime when i have changes.
    Thanks!

    Hi Steve,
    May i know what is the place dialogue box are you referring to?
    The Place dialogue box that i get (when i press file>place) is the image below:
    As you can see i dont have any "link" button to check or uncheck. I can either flatten the psd or convert to object.
    My Problem is I would really like to link back the psd file for easy updates but i am not able to.
    Pls help thx!~

Maybe you are looking for

  • See my problem no master record move to next record

    hi master sir i have master detail block master table have all data but detail no data i need feed data in detail then i goto in detail block write value and press F10 for save for new record in detail in detail blick post-block or post_record or pos

  • How to find out if my PIN is free or still locked?

    I bought a used unlocked blackberry, I'm using it only as a phone right now I don't have data on it but will be 'hooking it up' to full blackberry data services in a few months when I have to return a work BB. How can I find out if the PIN on this on

  • How can I get Photoshop CC to stop crashing? (Windows 8.1, GeForce GT 755M)

    OS Windows 8.1 64bit Processor Intel Core i7-4700MQ @2.4Ghz, 4 core RAM 16G Available Memory 13G Graphics card GeForce GT 755M (up to date driver) Bits/Pixel: 32 4096MB available graphics memory As you can see I have plenty of Ram on this computer, y

  • Installation on Mac OS X 10.5.8

    Hello, I have a new Mac Pro workstation on which I want to install a local copy of Oracle for my development work. I went to this page: http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204macsoft_x86-64.html and download

  • Config the [ctrl]-[alt]-[F..] being console, X, log ...

    what i know: in /etc/inittab you can set with c1:2345:respawn:/sbin/agetty 38400 vc/1 linux c2:2345:respawn:/sbin/agetty 38400 vc/2 linux c3:2345:respawn:/sbin/agetty 38400 vc/3 linux c4:2345:respawn:/sbin/agetty 38400 vc/4 linux c5:2345:respawn:/sbi