"GUI Download" not working if program run background

Dear All,
I`ve created program to download my internal table using function module GUI_DOWNLOAD and it works fine if run foreground. The problem is now when the program run background it didn`t work and got error "Could not ascertain code page".
Or maybe somebody hv another idea  how to download that data to frontend drive but the program should run background.
thks

hi..
Hope this this will be helpful.
DATA : v_transfer_record(950) TYPE c,
       vfl_file LIKE LINE OF itab.
OPEN DATASET file_name FOR OUTPUT IN TEXT MODE
         ENCODING DEFAULT.
  IF sy-subrc = 0.
    LOOP AT itab INTO vfl_file.
      CLEAR v_transfer_record.
      v_transfer_record =  vfl_file.
      TRANSFER v_transfer_record TO file_name.
    ENDLOOP.
    CLOSE DATASET file_name.
    IF sy-subrc <> 0.
      MESSAGE 'Error Closing dataset'.
      EXIT.
    ELSE.
      MESSAGE 'records in file file_name.
    ENDIF.
  ELSE.
    MESSAGE 'error openning file for output' .
    EXIT.
  ENDIF.
Regards,
Pranali

Similar Messages

  • RFC Function module is not working in program while Background

    Hi All,
    we have a one program in BI  system which is calling RFC function module. it is executing the program in foreground very well. Same program we have executed in background , it is not working at all. Thiis RFC function module exists in R/3 4.6c system.

    Hello Raju,
    Transactional call of a remote-capable function module specified in func using the RFC interface. You can use the addition DESTINATION to specify an individual destination in dest. If the destination has not been specified, the destination NONE is used implicitly. Character-type data objects are expected for func and dest.
    When the transactional call is made, the name of the called function, together with the destination and the actual parameters given in parameter list, are registered for the current SAP LUW in the database tables ARFCSSTATE and ARFCSDATA of the current SAP system under a unique transaction ID (abbreviated as TID, stored in a structure of type ARFCTID from the ABAP Dictionary, view using transaction SM58). Following this registration, the program making the call is continued by way of the statement CALL FUNCTION.
    When executing the COMMIT WORK statement, the function modules registered for the current SAP LUW are started in the sequence in which they were registered. The statement ROLLBACK WORKdeletes all previous registrations of the current SAP LUW.
    If the specified destination is not available for COMMIT WORK, an executable called RSARFCSE is started in the background. This attempts to start the functional modules registered for an SAP LUW in their destination, every 15 minutes up to a total of 30 times. You can make changes to these parameters using transaction SM59. If the destination does not become available within the given time, this is noted in the database table ARFCSDATA as a CPICERR entry. By default, this entry in database table ARFCSSTATE is deleted after 8 days.
    Thanks and Regards,
    SAP Shori

  • Since 2012 I have Photoshop Elements always worked without any problem, however now the language is suddenly German how can this be changed, removed the program and re-installed, not working. Program is downloaded and updated via the apple app store?

    Since 2012 I have Photoshop Elements always worked without any problem, however now the language is suddenly German how can this be changed, removed the program and re-installed, not working. Program is downloaded and updated via the apple app store?

    I've done some research on the SQLite database. Whenever Aperture hangs up (like during auto-stack or opening the filter hud) there are thousands of SQLite queries happening. These SQLite queries cause massive file I/O because the database is stored on the disk as 1kb pages. However, the OS is caching the database file; mine's only 12MB. I'm trying to track down some performance numbers for SQLite on osx but having trouble.
    It's starting to look like most of the speed problems are in the libraries that Aperture uses instead of the actual Aperture code. Of course, that doesn't completely let the developers off the hook since they choose to use them in the first place.
    Oh, and if anyone is curious, the database is completely open to queries using the command line sqlite3 tool. Here's the language reference http://www.sqlite.org/lang.html
    Hmm, just found this. Looks like someone else has been playing around in the db http://www.majid.info/mylos/stories/2005/12/01/apertureInternals.html
    Dual 1.8 G5   Mac OS X (10.4.3)   1GB RAM, Sony Artisan Monitor, Sony HC-1 HD Camera

  • Program running background

    Hi all,
    I have a program running background and trying to send email.
    But it is not sendind email, they are all at 'No entry in queue yet'
    What could be the problem?
    It is sending email while running normally.
    Thanks a lot.
    Deniz.

    Deniz,
    just refer:
    Check the following links:
    http://www.sap-img.com/abap/sending-email-with-attachment.htm
    http://www.sap-img.com/abap/sending-mail-with-attachment-report-in-background.htm

  • The Horizontal & vertical scroll is not visible or not working when i run the form in Forms 6i.

    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    In this form , there are 5 canvas namely
    CANVAS2 - Stacked Canvas
    PASS - Content Canvas
    MAT_RATES - Content Canvas
    DATE - Content Canvas
    PREVIOUS - Content Canvas
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.

    Vijetha wrote:
    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.
    hello vijetha,
    window and canvas show scroll bar when it need.
    You should show block property
    and set block scroll bar
    hope this helps..
    Hamid

  • Spotlight not working within program. Please HELP!

    Spotlight not working within programs. Cannot not locate files on network volumes.
    For example: if I am using Photoshop or MultiAd Creator Pro, and want to open a file, I will do File>Open and  use spotlight in the "Open" dialog, and it doesn't ever find anything? I can see the files but if I search it fails to locate. Same thing happens if I try to "Place Graphic" In MultiAd and other programs. It appears to be a universal issue regardless of program.
    I tried re-indexing spot light via the system preferences (privacy, drag in volume, remove volume). I also tried re-indexing via terminal.
    I tried mounting the volumes via afp, smb, cifs and nothing works!!
    This issue is handicapping production.
    Anyone??
    Thank you in advance RR

    Spotlight alternatives.
    EasyFind – Spotlight Replacement
    Find Any File

  • 3D in photoshop cc does not work, the program will be cut off automatically

    3D in photoshop cc does not work, the program will be cut off automatically.What can I do?

    my problem is as follows.If I want to make a 3d creation in photoshop, then
    asked me to cc in clicking function 3D, after new JUST by layer and then
    JUST PRESET and then sphere. Then opens a new window where in it says: you
    are about to make a 3d layer.Do you want to switch on the 3d workspace? I
    choose YES Then I get to see a new window stating that the program no
    longer work properly and quits. Am I doing something wrong or is my pc not
    suitable? data from my laptop are: processor a4-5000 AMD APU with radion
    (tm) HD graphics 64-bit operating system, hr 4.00 1.50 Gb x64processor
    honor!
    mijn probleem is als volgt.Als ik een 3d creatie wil maken in photoshop cc,
    dan wordt mij gevraagt om in functie 3D aan te klikken, daarna NIEUW NET
    VAN LAAG en dan VOORINSTELLING VOOR NET en dan BOL.
    Dan opend zich een nieuw venster waar in staat:u staat op het punt een 3d
    laag te maken.Wilt u overschakelen op de 3d werkruimte?
    Ik kies dan voor JA
    Vervolgens krijg ik een nieuw venster te zien waarin staat dat het
    programma niet goed meer werkt en wordt afgesloten.
    Doe ik iets verkeerd of is mijn pc niet geschikt?
    gegevens van mijn laptop zijn :
    processor AMD a4-5000 APU with radion(tm) HD graphics 1.50 hr
    4.00 Gb
    64 bits besturingsysteem, x64processor
    2014-12-18 10:14 GMT+01:00 c.pfaffenbichler <[email protected]>:
        3D in photoshop cc does not work, the program will be cut off
    automatically  created by c.pfaffenbichler
    <https://forums.adobe.com/people/c.pfaffenbichler> in *Photoshop General
    Discussion* - View the full discussion
    <https://forums.adobe.com/message/7025920#7025920>

  • PS CS3 not recognizing Raw Files and converters Ive downloaded not working..Why not?

    PS CS3 not recognizing Raw Files and converters Ive downloaded not working..Why not?

    Do you seriously think we can answer that with zero information from you?
    Please give us:
    Operating System/version
    Photoshop version number
    Amount of RAM installed
    Hard drive(s) free capacity
    Video card make and model
    Camera make and model
    Then describe what you have done so far and the symptoms you are seeing.

  • Download not working shows file damaged.

    Download not working.  Shows files damaged or I should covert original to pdf.  Where is original?  When I try even that does not work.  Download is picking location.  Not allowing me to pick location of download.  Very frustrating.

    I don't understand your question at all.  Download what?  Is it a download of a trial version of PSE12 from Adobe website.  If so then you can't covert the downloaded file to PDF because it is in binary format.
    You need to explain what exactly you are doing.

  • Download not working, it play video

    Download not working, it play video

    HI San.pnm,
    What are you using to download the video and what website are you using?

  • ITunes Download not working??

    Is the iTunes download not working??  I have gotten this message for the past 24 hours on the Apple website:
    Our apologies but there was an unexpected error with the application. This problem has been noted, and an email has been sent to the administrators. Please check back in a few hours to try the download again.

    The direct location http://www.apple.com/itunes/download/ seems to be working OK too.
    tt2

  • OTN Oracle Database Downloads Not Working

    After agrgeeing to the T&C's none of the download links work.
    See this page for example:
    http://otn.oracle.com/software/products/oracle9i/htdocs/linuxsoft.html
    Specific Download not working:
    http://download.oracle.com/otn/linux/oracle9i/9202/ship_9202_ia64_lnx_Disk1.cpio.gz
    Regards,
    Andrew

    Seems to be fine. Try this link instead: http://otn.oracle.com/software/htdocs/devlic.html?http://download-west.oracle.com/otn/linux/oracle9i/9202/ship_9202_ia64_lnx_Disk1.cpio.gz
    OTN Team

  • Why does Firefox give this message when I do not have another program running "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

    Question
    why does Firefox give this message when I do not have another program running or another window open - "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." edit

    See also "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *https://support.mozilla.com/kb/Firefox+hangs

  • Flash catalyst cs5.5 not working when i run the project

    when i ran prodjects in flash catalyst cs5 it came up as a webpage that could scroll, now in cs5.5 when i run the prodject it cannot scroll and it doesn't scroll when you export for web servers, help much apreciated.

    Vijetha wrote:
    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.
    hello vijetha,
    window and canvas show scroll bar when it need.
    You should show block property
    and set block scroll bar
    hope this helps..
    Hamid

  • Automatic Downloads not working in ios7

    After updating to ios 7 automatic downloads not working. It is enabled in settings but new content purchased in iTunes store on MacBook or iMac not automatically downloading onto iPhone. Any idea why? I have checked and "Automatic Downloads" is turned on in Settings > iTunes & App Store...

    I had the same problem with no automatic downloads of purchased Apps ...PLUS... I still recieved message "to use push notifications connect to itunes"
    I found solution worked for me:
    1- go to "Icloud keychain".  (Under settings----> Icloud).  go there and ENABLE it.  It will ask for passcode and so on.  so once enabled
    2- restart your phone (normal power off)
    3- reactivate imessage and facetime. (need a few minutes to reactivate)
    4- ALL WORKING  ;-)
    (Source is: https://discussions.apple.com/thread/3394511?start=30&tstart=0)
    Hope it helps You too...

Maybe you are looking for

  • Coloring a table row

    I have a scenario in which i populate data in table ui thru Rfc call.Now I select a particular row then on clicking of a button the row color should change.how do i change colors of a particular row at runtime? Note:dont not post blogs of colorful ta

  • How can I fix display errors of the flash player concerning accents of the font Klavika?

    I've got an display error concerning accents of the font Klavika (see images attached). Instead of "é" "È" is displayed in the flash player. Helvetica works fine.

  • Delivery/ freight charges in consignment

    Hello, Can you please kindly share the knowledge on how we handle the delivery or freight changes for consignment Scenario. Have maintained the price and delivery cost in consignment info record but for booking invoice it is considering only price wi

  • Error: Name is already in use

    Hi, I need to query a view to show a list to the application user. First, I try to drag a database view into the Database schema diagram and choose 'Copy the objects to the project'. I get an error saying 'Name CODE is already in use.' The diagram al

  • Cant run adobe flash player.

    I have downloaded the newest version of plash player. I get a message that says it has been successfully installed, but it wont run. Any thoughts?