SAP Note Number: 953823 says string not supported in FM ??

Hello Friends
I am desperately trying to findout how to send a variable length string from XI and save it in a table.
However, SAP Note Number: 953823 says that STRING is not supported in FM but the work around it suggests is as follows:
========================================================
The only work around for this is :
To wrap the Function module used in function control with the custom function module,which substitutes the STRING parameter with CHAR datatype.
========================================================
But the problem is that for CHAR datatype you have to give the field length, the requirement I have is to send a VARIABLE LENGTH data.
Could some one help me in understanding how this can be achieved?
Thanks a lot in advance
Ram

Interesting question.  Maybe I don't completely understand.  When you say store it in a table, do you mean a database table or an itab?
I seem to be able to pass a string to a FM.  Am I doing something wrong?
I created a type of string called "ZTYSTR".
I then created this FM.
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(I_STR) TYPE  ZTYSTR
  DATA:
     l_string   type string.
  l_string = i_str.
ENDFUNCTION.
Then I call the function module as such.
REPORT zz_temp.
DATA: g_str  TYPE string VALUE 'Hello World'.
CALL FUNCTION 'Z_TEMP'
  EXPORTING
    i_str = g_str.
Debugging the FM, it says that both the parameter and local variable are of type string.

Similar Messages

  • Final cut pro x - lion - mbp 2011 2.0 15 - not responding at all since latest update. Can't open or edit projects, loading window that pops us when you click the app (as it loads) does not go away, says loading compressor support.  Have tried reinstalling

    final cut pro x - lion - mbp 2011 2.0 15 - not responding at all since latest update. Can't open or edit projects, loading window that pops us when you click the app (as it loads) does not go away, says loading compressor support, paralyzed.  Have tried reinstalling, default settings etc
    Appreciate suggestion, working on deadline. Thanks.  

    Here is the start of the crash report:
    Process:         Final Cut Pro [20568]
    Path:            /Applications/Final Cut Pro.app/Contents/MacOS/Final Cut Pro
    Identifier:      com.apple.FinalCut
    Version:         10.0.1 (185673)
    Build Info:      ProEditor-185670300~1
    App Item ID:     424389933
    App External ID: 4138831
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [102]
    Date/Time:       2011-11-11 20:41:32.201 -0800
    OS Version:      Mac OS X 10.7.2 (11C74)
    Report Version:  9
    Interval Since Last Report:          192058 sec
    Crashes Since Last Report:           14
    Per-App Interval Since Last Report:  157161 sec
    Per-App Crashes Since Last Report:   14
    Anonymous UUID:                      DD542B2F-58A0-482E-AAFA-ECADEC76F562
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000280000003
    VM Regions Near 0x280000003:
        CG shared images       00000001cbf62000-00000001cc182000 [ 2176K] r--/r-- SM=SHM 
    -->
        STACK GUARD            00007fff5bc00000-00007fff5f400000 [ 56.0M] ---/rwx SM=NUL  stack guard for thread 0
    Application Specific Information:
    objc[20568]: garbage collection is OFF

  • I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    iOS devices do not have the BT profiles that support file sharing and othr general functions. See:
    iOS: Supported Bluetooth profiles
    Basically it support headphones, keyboards, speakers, peer-to-peer gaming

  • HT1454 I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem

    I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem
    i am getting the same error with my rf transmitter that i use in my car

    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Did this start happening after an iOS update? Sometimes an iOS update will break compatibility.
    Sometimes this works:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

  • I bought a hd movie on my iPad , however when I try to play on Apple TV 1st generation. It does not appear or says content not available. My TV is hd compatible

    I bought a hd movie on my iPad , however when I try to play on Apple TV 1st generation. It does not appear or says content not available. My TV is hd compatible

    AppleTV1 only supports HD upto 720p - chances are the iPad HD vserion is 1080p and beyond ATV1 capability.
    Also do not expect recent iTunes purchases to appear on AppleTV 1 store menus as purchased - ATV1 does not know about 'cloud access'.
    Best option is to download the 720p version (set in iTunes Preferences on computer iTunes) and sync/stream to AppleTV 1 from iTunes.

  • Why do apps not sync -- it says computer not authorized.  I tried unauthorizing my computer and then reauthorizing and I tried deleting the sc file.  It still says the app is not authorized on this computer.

    why do apps not sync -- it says computer not authorized.  I tried unauthorizing my computer and then reauthorizing and I tried deleting the sc file.  It still says the app is not authorized on this computer and I'm unable to sync this app that I previously had downloaded.  Any help pls.

    Did you download the app via that same iTunes account id ? Have you tried re-downloading it directly on your iPad (http://support.apple.com/kb/HT2519) ?

  • How do I activate Acrobat XPro- I've installed CS6 Premium on my new computer and Acrobat does not work and says its not activated. How do I resolve this problem?????

    How do I activate Acrobat XPro- I've installed CS6 Premium on my computer and Acrobat does not work and says its not activated. It is listed on the programs on the computer but will not respond. How do I fix this?????? Help Adobe?????

    Hi t0m#2410,
    How did you install Acrobat, did you install it as a part of Suite installation.
    If it is a part of suite then deactivate suite uninstall Acrobat, Reinstall Acrobat using Suite media. Launch Photoshop first and Activate.
    Then try launch Acrobat.
    Regards,
    Ajlan Huda.

  • Number to fractional string not working correctly

    I am measuring some parameters from oscillsocpe. i need to write these values to text file for which i am using write to spreadsheet, but what is happening is it is always writing zero value to file, on debugging i found that while converting from number to string it is always writng zero to string indicator, then separately i used that number to fractional string indicator and it is always showing zero in string output , i dont why it is happening.
    Attached below is the code.
    Solved!
    Go to Solution.
    Attachments:
    Time meas sub.vi ‏31 KB

    Ranjeet Singh and Norbert_B
    Thanks for ther reply
    Ranjeet singh,
    number to fractional string is working correctly, there is some other problem, because inly when i am executing this code converting this rise time value to string then only it is showing zero, otherwise for any random number if i am checking this number to fractional string is working correctly.
    Norbert_B
    i dont need to convert it back to string that i am doing only to check why it is showing zero value on converting number to string , because when i was writing to spreadsheet file it was always writing zero value, so when checked that code it was observed that while converting from array of numbers to spreadsheet string it is always writing zero value that's why i am doing it here just to check why it is not converting to string, but your suggestion helped in focussing the string that i am gettong from VISA read, i can use that  in last case if i wont be able to find the solution but main problem is that why i am not able to convert it back to string, why it is showing zero because it is because of this only write to spreadsheet is always showing zero value .

  • Just had problem with frozen up Mac computer corrected,now HP printer will not print.  Says printer not connected.  What is wrong?  Everyday a new problem., help.

    JJust had problem corrected due to frozen imac, now HP printer will not print.  Says it is not connected.  What do I do to fix it?

    To reset the printing system:
    Choose System Preferences from the Apple menu.
    Choose Print & Scan from the View menu.
    Hold down the Option key while clicking the "-" (Remove printer) button. If no printers are currently added, hold down the Control key while clicking in the box that appears above the "+" (Add printer) button, then choose Reset printing system… from the contextual menu.
    When you've done the above you'll need to re-add the printer by clicking the + (Add printer)

  • Brand new nano, will not sync, still says do not disconnect

    I have a brand new nano that does not seem to want to sync with my itunes. Each time I plug it in it asks me to name the iPod, which I do, then it says updating, do not disconnect. So once itunes is done updating the nano still says do not disconnect. So everytime I have to eject it properly and it never updates with the information from my itunes. It also has a bunch of orange space that it says is being used on the capacity bar and there is no information on the iPod. I have restored it back to factory settings and no luck... I have also taken it in to the Apple Genius Bar and they said it wad fixed and it wasn't so then they gave me a new one and it has the same problem...HELP!
    iPod Nano 2 GB   Windows XP Pro  

    here is a link to more detail on jeff's suggestion
    http://docs.info.apple.com/article.html?artnum=93499
    KoDor
    If any post helps or solves your problem, please click the "Solved" or "Helpful"     buttons on top of that post. Thank you for helping the boards!

  • HELP! iPad just started not charging and saying accessory not supported!

    I have tried my normal wall charger and cord from Apple, tried the USB on the computer, changed the cords out etc.
    Just started doing this within the last day.  I have no idea why.
    It is recognized on my computer, however my normal desktop where I back up is down so I don't want to do a restore on it.
    Any suggestions????
    This is the first original iPad and software is up to date.

    I've been getting this problem for a few days now , i've found that if i pull the usb connector back slightly from the socket on my PC it charges fine , push the connector fully in and 'Charging is not supported with this accessory' comes up , i've checked it a number of times ,  i just pull the usb connector back until the charging symbol comes on .
    Be good to know if what i posted fixes anyone elses charging problem , it seems to me that when the 2 middle pins connect inside of the usb plug my phone sometimes doesn't like it , and by pulling the plug back so they don't connect, it then starts charging.
    atb
    Wizard9956

  • Can not send emails says relaying not allowed

    I am trying to access my mail account on my I pad.  I have put all the settings in and outgoing smtp but when I send it goes straight to outbox saying it does not allow relaying. What have I done wrong?

    Hi KP
    Sorry, not compoletely iPad friendly, but have had the original iPad for some time, but am constantly getting the issue around relaying. Have tried the optional email account name and pw in the SMTP server, but alas the Orange pop account seemed to have scuppered me to date! Any help / suggestions most appreciated, cheers.

  • Sim not valid. I have reset the phone after reseting my sim not working. it says sim not valid and it is not from a carrier. I need help

    my iphone 4s display sim not valid message. Even though I have tried different sim just to see if the problem with sim or not. I need help. this is a phone from my boss (used phone). but he is now on holiday for a month. I need help here so that I can use the phone. Any help?

    saniroman wrote:
    When you say carrier did u mean perticular network provider which had originally (like vodaphone, o2 or EE)?
    Yes, the original phone carrier prior to you using your phone carrier.

  • Numbers documents will not open it says "will not open during numbers update"

    My numbers documents will not open.  I keep getting a message telling me my documents will not open while numbers is updating.  I have the latest numbers update already downloaded.

    open the application "Launchpad":
    then click, and hold, on the icon for "Numbers", once the icons start to shake, click the "X" in the top left to remove.  Now click anywhere on the desktop to exit this remove/adjust mode.
    Open the App Store  (menu item " > App Store…")
    now locate and install numbers

  • Mail program not receiving mail, says server not responding

    Having a problem with my Mail program, my main email is not receiving mail and I've checked all the settings. I do receive the emails on my iPad and through iCloud on the Internet, but the emails will not show up through the Mail program.
    "There may be a problem with the mail server or network. Verify the settings for account “[email protected]” or try again. The server returned the error: The attempt to send data to the server “(null)” failed."
    Can anyone help me out? Thanks

    @AuntieKris,the only solution I've come up with was to delete the email account from the Apple Mail settings and re-add it.
    I have had the same problem happen to me a few times in the last month or so.
    It seems to happen when I switch between certain wireless and cabled networks at my work place.
    Indeed, when this happens I can still recieve emails on the ipad/iphone.
    Not very elegant solution but it works. I'm open to more user-friendly suggestions...
    FYI: I'm running Lion 10.7.2 and Mail 5.1.

Maybe you are looking for