APD creates CSV file as soon as it is executed altough the CSV is last step

Hi,
I have an APD with three steps:
1. read a query
2. remove records with figures = 0
3. generate a CSV file
As soon as the APD is executed the CSV file is generated. However it needs 5 minutes at least to really execute the query (step1 & 2) and fill in the file. The 'Open dataset' statement seems to be executed to soon in the APD execution.
It bothers me as APD is scheduled based on an event. Another Abap program is also scheduled on the same event. This Abap checks regularly the delivery of the file in order to process it. So this Abap runs also too soon and does not process anything as the file is empty...
Regards,
Laurent

Hi,
At the time of saving file it will ask file path where to save   in work directory , just copy that path & search in AL11 .
Before that make sure :
1. in Data target Tab write data to app server must be selected  & in Write mode : check once either creatre file again if already overwrite.

Similar Messages

  • Unable to see the logical path and file created in FILE tcode from AL11 and unable to upload the file to this path from front end

    Hi Experts,
    I have created the logical path and filename in FILE tcode.I am trying to upload the pdf file to application server by using this path.But
    I am getting message like "Unable to open the file".Even I cannot find the this path in AL11 tcode.Kindly anyone advise how to upload pdf file using
    custom path and file created from FILE tcode.
    Thanks & Regards,
    Anusha.

    Hi Anusha,
    Please give as below.
    I forget to say you cannot open the PDF in AL11 and for that you need some configuration, i think it can be done using content server,not sure completely please wait for some more suggestions.
    Regards,
    Pavan

  • Picking up a file as soon as it is kept in the folder on the server

    Hi Guys,
    Is there a way that I can pick up a file as soon as it is placed in a folder..
    I do not want to schedule a background program to keep on checking for files

    Hello hema,
                        I will explain in more detail.
    Option 1:-
    You can schedule a thirt party FTP tool JOB (not SAP JOB) like install a FTP server in your SAP application server .
    Option 2:-
    Another option is do a folder Mounting( This is an BASIS activity in the SAP Application Server OS level activity)  in the SAP Operating system level. Folder that you are mounting will be an another mechine / server. But SAP program can do open dataset and can write the file directlt to that folder where you that file to write.
    You can take help from BASIS for this functionality.
    Hope this answers your question.
    Thanks,
    Greetson

  • I am unable to create an Action to Export from .ai to .psd. The OPEN and EXPORT steps in the Action

    I am unable to create an Action to Export from .ai to .psd.
    The steps in the Action such as Open and Export seem inextricably linked to the file from which the original Action was recorded.
    The steps in the Action do not seem to be generalized commands that I can apply to any folder of .ai files.

    I'd recommend to exactly describe what you're doing. How did you set up your action? Which settings did you choose in the Batch Process dialog? What exactly went wrong? What did you expect instead?
    Whatever issues you're suffering from, there is no way to provide a hasty answer and no way to give an elaborate answer without knowing the details.

  • Not able to create OUT file with "nidll_vxworks" in Matlab for use with the LabVIEW SIT 2010 and a cRio 9073, sh.exe error

    I am trying to compile an OUT file for my Simulink model using "nidll_vxworks" and run it using the Simulation Interface Toolkit for a cRIO 9073 . I am able to compile the DLL file using "nidll" and succesfully run the simulation using my PC as the host.
    I already downloaded the "gccdist" and "vxworks61gccdist" folders and copied them to "c:" When I build the model in Sumulink I get the following error at the end of the process (at the same time windows tells me that "sh.exe" has stopped working). If it matters I am running Windows 7 64bits, but using Matlab 2009b 32bits and LabView 2010 32 bits. ANY HELP WILL BE APPRECIATED. "QofV" is the name of my Simulink model and I changed to "XXX" parts of the file path.
    ### Linking ...
    rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c 
    abnormal program termination 
    C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]
    make: *** [QofV.out] Error 1 
    ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.
    >> 
    ### Linking ...rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c  
    abnormal program termination 
    C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]make: *** [QofV.out] Error 1 ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.>>
    ### Linking ...rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c  abnormal program termination C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]make: *** [QofV.out] Error 1 ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.>> 
    Solved!
    Go to Solution.

    Hello jarcTec,
    I am not sure right now if you can do it, but this tutorial might help, also everything was made in Winddows 7 in this one.
    http://zone.ni.com/devzone/cda/tut/p/id/11654
    Take a quick look and let me know if it works!!!
    Luis Fernando
    National Instruments Cono Sur
    Ingeniería de Campo y Consultoría
    http://chile.ni.com/

  • How to create PDF file from MX7600 scanner in Windows 8.1

    I just changed to a new desktop PC that is running Windows 8.1. I downloaded the drivers from the Canon website for Windows 8.1, and I can not find the function to create a PDF file of the scanned document, like I could in Windows 7. How can I created a PDF file in the new driver software? 
    Solved!
    Go to Solution.

    Hi alove5230,
    Ini addition to the drivers, you will need to download the MP Navigator software for the printer to create PDF files.  Please click here to go to the Drivers and Software page for the PIXMA MX7600.  Once on the initial download page for your printer, please do the following:
    1. Verify that the operating system detected in the "OPERATING SYSTEM" drop-down menu is correct, and if it is not, please click the drop-down menu to select your operating system.
    2. Next, please click on the red arrow next to the "SOFTWARE" section and click on the MP NAVIGATOR file. When you do, a red DOWNLOAD button will appear. Please click on the checkbox below the DOWNLOAD button, then click the red DOWNLOAD button to begin the download. The time for the download process may vary depending on the speed of your Internet connection and the size of the file being downloaded.
    Once the file is downloaded, please double-click on it to install the program on your computer.
    Hope this helps!
    This didn't answer your question or issue? Please call or email us at one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Create Excel file in application server but the field value is incorrect

    Hi Experts,
    i am facing a problem when create excel file in application server using OPEN DATASET command.
    the internal table have 4 field and one of those field contains 19 digit number --> ICCID.
    the code running well, successfully create EXCELfile in application server but the problem is SAP only copy exactly first 15 digit numeric only and the rest became zero 0
    Example :
    the field value in internal table is 8962118800000447654 but when i opened in the excel file the value became 8962118800000440000.
    and if i add alphabet like a8962118800000447654 then it is correct.
    is there is anything wrong with my code?
    here is my code
    CONSTANTS: c_tab TYPE abap_char1 VALUE cl_abap_char_utilities=>horizontal_tab. "Tab Char
    Data : begin of lt_zdsdmmdt00005 occurs 0,
             SERNR (18) type c,
             MSISDNl(20) type c,
             BOX1 (20) type c,
             ICCID(30) type c,
           end of lt_zdsdmmdt00005.
    data : ld_temp(100) type c.
    i_file = '/usr/sap/DM/test_excel.xls'.
    open dataset i_file for output in legacy text mode.
      loop at lt_zdsdmmdt00005.
        move lt_zdsdmmdt00005-ICCID to ld_iccid .
        concatenate lt_zdsdmmdt00005-sernr  lt_zdsdmmdt00005-MSISDN  lt_zdsdmmdt00005-BOX1 ld_iccid
        into ld_temp separated by c_tab.
        transfer ld_temp to i_file.
      endloop.
      close dataset i_file.
    Best Regard,
    Akbar.

    Hi Naveen,
    thanks for your reply,
    i already tried and the result still the same. any idea?
    Best Regard,
    Akbar.

  • Unable to create PDF file

    I have just upgraded to Adobe X Standard and noticed I can no longer created PDF files.  When I try convert any Word/Excel file to PDF I get an error "Your file could not be printed due to an error on Adobe PDF on e02" 
    I have tried to remove office and Adobe X Standard then install Office 2010 Professional and then Adobe X Standard 10.1.1 I have installed all updates for office.
    My computer is running Windows 7 64bit with Office 32bit. 
    This happens when trying to print to PDF or save as PDF getting the same error.

    Hi I dont think this is a permissions issue I just created a new WINDOWS PROFILE this fixed the issue the user already was a admin on the computer.  The issue was trying to save/print any file to PDF to either network or local to computer.  Once the new profile was made I was able to test and could once again create pdf files.  There must have been something in the old profile causing the issue and the new profile fixed the issue it was a last thing to to try as had tried everything I could think of.

  • Each batch of IDocs must create one file.

    Hi Experts,
    I am new to the PI. I am using PI 7.1. I am doing one scenario which is IDOC to file using FCC. I have devloped this interface. In Target side each idoc creats a unique file.
    But my output file should be,   Each batch of IDocs that PI processes must create one file. with date and time as part of the filename.
    Could you please help me how to crete a file like this.
    Thanks in well adwance.
    Regards
    Balu

    Thanks your replies. I am sorry to say this, The exact client requirement is:
    I have an Idoc to file scenario. Target side I am using FCC. The issue is only on file name which is creats by PI on target system The file name should have name along with only date. The output file name should be same with date. All coming files should be appended in that file itself. For making an history, each day I should maintain one file (Name along with date), Coming all files should append in that file itself.  I will have one file per day. If it already exists, it will be appended to. Please help me on this
    Thanks in Well adwance.
    Balagi

  • Unable to create PDF - file could not be printed

    I am having a problem with a user who is unable to create a pdf using Adobe Standard 8
    The error messages is as follows:
    your file could not be printed due to an error on adobe pdf on Ne 04
    http://i45.photobucket.com/albums/f97/bsucards/584872418744_adobe.jpg
    I have tried to uninstall Adobe Standard 8 and reinstall and do all the updates
    I have uninstalled Adobe Reader 9 and downgraded it to Adobe Reader 8
    I have reinstalled Office XP
    I have created a new profile for this user
    The only way I can get it to work is to make the user an admin, which is not an option.  We have other users in the company using this version of Adobe without any problems

    Hi I dont think this is a permissions issue I just created a new WINDOWS PROFILE this fixed the issue the user already was a admin on the computer.  The issue was trying to save/print any file to PDF to either network or local to computer.  Once the new profile was made I was able to test and could once again create pdf files.  There must have been something in the old profile causing the issue and the new profile fixed the issue it was a last thing to to try as had tried everything I could think of.

  • How to create a file after ElapsedTime

    Hi, I have a situation where my BPEL process consumes messages off of a queue and creates a output file using them via a FTP Adapter. The number of messages vary greatly depending on the day and the business needs only 1 file a day with the appropriate dateTime stamped to it. I tried using the elapsedTime option on the FTP adapter but it seems to be waiting for invocation before creating the file. I set the time to 2 minutes but instead of creating the file after 2 minutes of inactivity, it waits for a message to be triggered with more than 2 minutes time difference from the last one. Since the messages come in a burst on this queue, the next message wont come in until the next day for the file to be triggered.
    I also tried appending to a file but this is over a SFTP connection so it just kept overwriting the file and in the end I just have 1 record on the file. Any suggestions on this would be really helpful as to how should I go about creating this file in a way that it captures all the messages for today and creates the file the same day as well. Thanks!

    like an action class?Huh? What exactly is your requirement?
    Creating a file is usually done with java.io API. Read the java.io tutorials how to play with files.

  • How to create logical file name

    Could some one tell me how to create logical file names in BW , and when to use the transaction SF01.
    Thanks

    The following describes the procedure for creating a cross-client definition using the transaction FILE.
    You create the client-specific definition in the same way using transaction SF01.
    1.Call transaction FILE for cross-client file names.
    2.Double click the dialog structure Logical File Name Definition, Cross-Client.
    You access the screen Change View "Logical File Name Definition, Cross-Client": Overview

  • Unable to create pdf files after upgrade to acrobat dc, acrobat crashes

    Since I just upgraded to Acrobat DC I am not able to create PDF files any more. Whatever program I tried, the PDF-printing process always crashes. Deinstallation and reinstallation does not help in any way. Even worse, there is no option to install any former version of Adobe Acrobat through the Creative Cloud App. Any office or CAD software from which I am trying to print also totally stucks from the PDF printing process. I am a freelancer and have some urgent deadlines tomorrow, so the last thing I need right now is trouble with my pdf-printer. Any help is highly appreciated. (Windows 7 Professional, HP ZBook 15 Mobile Workstation).

    For those of you who are Creative Cloud members and are facing the same problem, this is the way to reinstall Acrobat XI Pro (you will not find this option within the Creative Cloud App):
    1. Make sure you uninstalled Acrobat DC.
    2. Log in with your account data on https://creative.adobe.com
    3. Go to https://creative.adobe.com/de/products/acrobat
    4. Choose Acrobat XI Pro from the dropdown menu and click the download button.
    5. An event handler will ask you in a popup window if you want to open the link within the Adobe Creative Cloud App. Choose CreativeCloud(URIHandler) from the list and hit okay.
    6. The Download will now apear in the Apps list of the Creative Cloud App and can be installed by hitting the Install button.
    Took me some time to figure that out and I would prefer to use the latest Acrobat version. But as long as Acrobat DC causes my other applications to crash, Acrobat XI Pro will do the job.

  • Create/Read File

    Hello all.
    I am creating/reading files using GUI_DOWNLOAD/GUI_UPLOAD.
    These functions use the frontend point of view to create/read the file.
    I need a function that uses the servers point of view. Is there any?
    Besides that i also need a function that runs executable files at the server. I tried cl_gui_frontend_services=>execute but i believe this uses the frontend point of view.
    Thank you in advance
    Nuno Silva

    if you want to transfer the files to the application server other then your own then you would have to use the function SXPG_COMMAND_EXECUTE.
    This function module is used if you want to trasnsfer files from one application server to another.
    If you want to just transfer the files to application server (your own application server) then you would have to use
    Open dataset (DSN-filename)
    then you will have to
    Loop at internal table.
    Transfer into filename
    endloop.
    This will transfer whatever you want into the application server
    CLOSE DATASET.
    These are the two ways to do it.
    Reward Points if useful

  • How to APD create on Stock Cube (0RT_C37)??

    Hi,
    How to APD create on Stock cube (ort_c37). Pls help me for APD create on non cumulative???
    Thanks

    As long as the dimensionality of the cube has the same contents (even if it is in a different order), the reports will continue to work in my experience. If you add a new dimension, the report doesn't have a selection set up for that dimension and therefore is now invalid and all reports must be recreated against that cube. Adding new levels above the leaf level of your dimensions and adding new measures should not corrupt their reports.
    I would suspect after a few iterations of losing their reports, your users will learn to test and specify their needs more completely to ensure they have all of the required dimensions.
    Alternatively, you can set up one cube that only consists of calculated measures that has ALL of the dimensions of your AW. Create calculated measures that then point to these other cubes which may not have all of the dimensions. In this case, the report is using the "calculated" measures whose dimensionality does not change even if you add a dimension to one of the underlying cubes.
    For example, if you have Time, Customer, Product, and Geography in your AW, but you choose to only have Time and Product in a cube called YEAR_ITEM_PLAN that holds your targets for the year, and they later decide to do their plans Time, Product and Gegoraphy, you could recreate the YEAR_ITEM_PLAN cube to include Geography and as long as the calculated members cube you created earlier always had geography, their reports should continue to function.

Maybe you are looking for