I was locked because my boss didn't read the rules.

Hi,
I have a requirement where I have to concatenate all the fields of an internal table with a comma separated and need to send the same to app server as a comma separated file.
Please let me know the function module to achieve the same with  a small sample code with 3 fields.
All useful answers wud be rewarded. <= read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] here as well!
Regards,
Vishnu
Edited by: Julius Bussche on Jul 15, 2008 8:50 PM

Look at this example:
TYPE-POOLS: truxs.
DATA: BEGIN OF IT_TABLE1 OCCURS 0,
                  field1  LIKE table-field1,
                  field2  LIKE table-field2,
                  field3  LIKE table-field3,
           END OF IT_TABLE1.
DATA: IT_TABLE2 TYPE truxs_t_text_data.
*After filling the table IT_TABLA1 with data
*Convert the table to CSV
CALL FUNCTION u2018SAP_CONVERT_TO_CSV_FORMATu2019
    EXPORTING
       i_field_seperator = u2018,u2019
    TABLES
       i_tab_sap_data = IT_TABLE1
    CHANGING
       i_tab_converted_data = IT_TABLE2
    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.
*Downloading the table
CALL FUNCTION u2018GUI_DOWNLOADu2019
    EXPORTING
       filename = u2018C:\table.txtu2019
    TABLES
       data_tab = IT_TABLE2
    EXCEPTIONS
       FILE_WRITE_ERROR = 1
       NO_BATCH = 2
       GUI_REFUSE_FILETRANSFER = 3
       INVALID_TYPE = 4
       NO_AUTHORITY = 5
       UNKNOWN_ERROR = 6.

Similar Messages

  • Hyper-V 2012 R2. RemoteFx. "The remote session was disconnected because there were network problems during the licensing protocol. Please try connecting to the remote computer again."

    After a Installation from Windows 8.1/windows 7 everything works fine. For example  Install updates and Software. If I connect the first time a remotefx card i can use RDP as well. But if i restart the host I get the mentioned error. What can I do. These
    Hosts are not in a domain configuration. I tried it too but there was  no difference. I didn't discovered any errors in the eventlog, too. Only an actviex error. But same errors occurs with a succsefull rdp session.
    Also strange is if i start the vm without a remotefx card it works fine again. Only session with a Remotefx card aren't possible anymore.
    Is there a bug or something. I tried it many times with the same error.
    Maybe someone can help me. 
    kind regards  
    Tobi

    Hi Tobi,
    Thank you for posting in Windows Server Forum.
    For a workaround, please try to perform the two steps.
    1. Do NOT enable RDP 8 on the Windows 7 SP1 VM.  You should install RDP 8 and update the ICs though.
    2. Change the connection setting on the client from "Automatically detect" to "LAN"
    Please check again below thread for information.
    a. "The remote session was disconnected
    because there were network problems during the licensing protocol" after enabling RemoteFX Windows 8 VM
    (Please recheck answer by “dgeddes”)
    b. "The remote session
    was disconnected because there were network problems during the licensing protocol" After Installing RemoteFX
    Hope it helps!
    Thanks,
    Dharmesh

  • I have entered the wrong numbers to put my phone in pass code lock.  However, I didn't set the autolock....how can I get the pass code lock reset?

    I have entered the wrong numbers to put my phone in pass code lock.  However, I didn't set the autolock....how can I get the pass code lock reset?

    Your only choice is to place the phone in DFU mode (search Google for instructions) and restore as a new device.  You will lose all your data.

  • I bought a used iphone 4 (gsm) and it was locked on an icloud account i asked the old owner to remove the device from his devices list on icloud and he did but the iphone is still asking to be activated on his icloud account. any help please???

    i bought a used iphone 4 (gsm) and it was locked on an icloud account i asked the old owner to remove the device from his devices list on icloud and he did but the iphone is still asking to be activated on his icloud account. any help please???

    If it's still asking for the seller's Apple ID and password, then he most likely did not actually remove the iPhone from iCloud. If the problem persists, return the iPhone and get your money back. The seller can figure out the problem and resell the iPhone later.
    Regards.

  • File adapter didn't read the whole file

    Hi folks,
    we use the file adapter since 1 year and in the majority of cases it works fine. But sometimes the file adapter didn't read the whole file. In SAP we are missing some parts. Funnily enough in this cases he archive the whole file and not only the executed parts . Know anybody whats the reason of this effect and how we can solve it?
    Kind regards Johann M.

    Johann
    I think you miss understood me/I didn;t explain myself very well....
    If you take the file that doesn't work/process correctly, can you replicate the issue where the whole file is not copied across.
    If you can, you should be able to extend the FTP/File adapter trace file to find the cause if this issue.
    Log onto Visual Admin.
    &#61680;     Services
    &#61680;     Log Configurator
    &#61680;     Locations
    &#61680;     Choose the location (Java package) and the tracing level (severity)
    (for example, com.sap.aii.adapter.file)
    &#61680;     Root Location > com > sap > aii > File
    &#61680;     Set the severity and choose Copy Severity to Subtree
    Run interface and then check the trace file - remember to switch this back to Error...

  • HT4972 My safari app won't open itunes apps page & the apple apps which are already downlaoded on the iPhone 4iOS when I purchased it have disappeared and can't download them again because safari msgs pop up reading "the site addy is incorrect!" please he

    My safari app won't open itunes apps page &amp; the apple apps which are already downlaoded on the iPhone 4iOS when I purchased it have disappeared and can't download them again because safari msgs pop up reading "the site addy is incorrect!" please help

    Tried the iTunes App on my iPhone....Still nothing!
    Infact I have no "Apps App" to tap & open so i cannot view/purchase any Apps for my iPhone
    My wife's even tried downloading Apps to my iPhone from our iPad after syncing them up but all it seems to do is send me the App badge from our iPad to my iPhone but cannot open it because the App is still 'Waiting'...Waiting for what???...nothing!??...No download???...just a faded App which won't open? Apps that just sit & wait!??? It's not good when your trying to run a business for the 1st time & not good when its causing rows either! So what do I do? because its been like this for a year nearly now...:S

  • My apple id was locked because of security questions. Is there a way I can unlock those and change my answers to  security questions

    Help guys! My apple ID was locked. What should I do?

    Hi applebb,
    Here's a link with instructions for both if you do have a rescue email address, and if you do not have one:
    https://discussions.apple.com/thread/4286784
    Hope this helps!
    Cheers,
    GB

  • HT204380 When someone called using FaceTime,I was unable to get to the IPad in time.and I missed the call. When I went to use the IPad it was locked up.unable to get further than the FaceTime screem.

    When someone called me on my IPod I was unable to get to the pad in time to recieve the call.When I went to use the machine it was locked up on the FaceTime screen. And it remaines locked no matter what I do

    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Or if that doesn't work, quit FaceTime completely and restart the iPad.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • When trying to sync my iPad I am getting a message stating " iTunes could not connect to the iPad "iPad" because an error occurred while reading the device

    When trying to sync my iPad I am getting a message stating that iTunes could not connect to the iPad "iPad " because an error occurred while reading from the device

    Hi Centreless,
    If you have difficulty with your iPad not being able to connect to iTunes in order to sync, you may want to try the troubleshooting steps in this article -
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • TS1292 I put in my code then it said "5301" that was it. And it didn't accept the code. What does this mean?

    5301?

    This seems to be an emerging issue this month. Please contact
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • I got my ipod touch 2 a while ago, and was locked out. however, we got rid of the computer with the original iTunes. what do we do to unlock it?

    a while ago we got an ipod touch 2. my son and daughter tried to guess my security code too many times, to the point where i need to plug it into my itunes to unlock. i remember the passcode from year ago. however, we got rid of the old laptop with it's original itunes. what can i do to unlock it?

    Connect the device to the new iTunes library in recovery mode and restore it to factory settings.  There are no other alternatives.  Here are steps for getting your iPod Touch into recovery mode.
    http://support.apple.com/kb/ht1808
    B-rock

  • I just tried to import photos on my iMac (OS v. 10.9.4) from my Olympus OMD EM1 for the first time and was given a message that it cannot read the files ending in ORF, in other words the raw files...I have the latest version of LIghtroom 5...help!

    I checked the list of supportive cameras and the EM-1 is listed as having preliminary support.  I checked for updates to LR5 and I have the latest version.

    I checked the list of supportive cameras and the EM-1 is listed as having preliminary support.  I checked for updates to LR5 and I have the latest version.

  • Firefox will not let use any checkboxes on any sites, like when you read the rules and want to check the acceot checkbox. We just started using firefox alot because IE is running incredibly slow on our computer. Any ideas

    Our computer has been running terribly slow, so we switched to using Firefox and it will not let me use any checkboxes on any website. Is there a setting or anything that needs to be changed

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

  • Problem with headerline in OO   again     -  other thread was locked  -

    Problem with headerline in OO  
    Hello,
    I've the problem that I cannot give values from an inertnal table to
    an variable because the itab has no headerline, because in oo it is not possible.
    Here the coding:
    structure in se11 ZACTIVITYIF with components:
    DESCRIPT
    CATEGORY
    PRIORITY
    OBJECT
    DATE_FRO
    DATE_TO
    TIME_FRO
    TIME_TO
    CONT_NO
    LANGTEXT
    STATUS
    OO-Coding:
    DATA: lt_itab TYPE TABLE OF zactivityif.
    DATA: itab TYPE zactivityif.
    Loop at dbtab
    itab-status = '005'.
    APPEND itab TO lt_itab
    endloop.
    set variable for bapi
    lss_text-tdline = lt_itab-langtext. <= here I get error: no tablerwith headerline
    How can I fill an internal table in OO or how can I fill this variable lss_text-tdline ?
    Any ideas ?
    LANGTEXT is type TLINE
    I calling bapi for creating an activity
    Sorry for this double thread -the other was locked however.
    Thanks G

    The other one was locked because handling internal tables without header lines is extremely basic .
    Read the documentation, search the forum search the web.
    Or if your question is not as basic as it seems, post a new one with a better explanation.
    Locked again
    Rob

  • My phone was stolen and I discontinued cell service to the phone through my provider. Before discontinuing service, I locked my phone from the icloud. Now that it is no longer being serviced by the service provider, will it remain locked?

    My phone was stolen and I discontinued cell service to the phone through my provider. However, before discontinuing service, I locked my phone from the icloud. Now that it is no longer being serviced by the service provider, will the phone remain locked?

    Thanks, James. Sadly, I had not upgraded to iOS 7 as I only had an iphone 4 and those I knew with the 4 who upgraded had major issues with battery life, so I decided not to upgrade. However, I know the phone was locked because the new "owner" called and hung up on me while calling the number I listed in the "This phone is stolen message" set by the cloud. Are you saying that my phone will remain locked if they don't know how to break into it? Or are you saying that it will no longer stay locked once I turned off service to the phone?

Maybe you are looking for

  • How do I install the new version of itunes

    I've been trying to download the newest version of itunes for the past month and I have yet to be able to install it. I haven't been able to connect my new iphone to my itunes to sync my music. When trying to install the newest version I come across

  • Need help with error -50!!!!!!! getting it since last week!

    i keep having an error showing up when im trying to connect to the itunes store from my computer. the error is We could not complete your iTunes Store request. An unknown error occured (-50). There was an error in the iTunes Store. Please try again l

  • How to unblock clearing items for payment block

    The process i did is the next: - Create a vendor invoice (miro) $1000. with block reason R - Create a credit memo (miro) $800. - Clear the credit memo vs invoice F-44 (the credit memo is a partial amount of the invoice). In FBL3N transaction i see al

  • Apply patch 10.1.2.3 on oracle 10g application server 10.1.2.0.2

    Dear All, i have installed oracle 10g application server 10.1.2.0.2 with infrastructure and forms & report. now i downloaded the patch 10.1.2.3 to apply on it. I have two homes in my application 10g server (infra and forms&report). should first i app

  • Cannot register PS - says serial is invalid!

    I purchased Creative Suite CS4 some time ago. Never registered the components. I started registering all my adobe programs, and PS serial won't take on adobe.com . Says it's invalid. I've "registered" the product through the program itself ... not su