Set variable type P empty

Hello,
how is it possible to set a variable of type P empty in SAP?
I have tried allready:
variable = ''.
But the output for my variable will be 0, I just need it to show nothing!
Thanks
Anne

DATA: BEGIN OF mixedpacks,
        packs1 TYPE p DECIMALS 0,
        packs2 TYPE p DECIMALS 0.
DATA: END OF mixedpacks.
mixedpacks-packs2 = 5.
WRITE: /001 mixedpacks-packs1    NO-ZERO,
            mixedpacks-packs2    NO-ZERO,
            mixedpacks-packs1    NO-ZERO,
            mixedpacks-packs2    NO-ZERO,
            mixedpacks-packs1    NO-ZERO,
            mixedpacks-packs2    NO-ZERO.
gives:
>                                5                                 5                                 5
which is I think what you want.
The formatting is not very good, but the 0's show as spaces.
Rob
Edited by: Rob Burbank on Jan 15, 2010 3:51 PM

Similar Messages

  • Sharepoint Online Bug: Document Set does not synchronize empty fields

    If in the properties of document set the general field is empty, it will not be synchronized with internal files that has this general field. Ie, all files can have own values for the general field. If the value in document set (in properties) is not empty,
    the synchronization works fine. This issue was tested in different sites from different account in Office365.
    How to reproduce the problem:
    1. In Document Set (DocSet1) I have general field (Field1).
    2. When I create DocSet1 item in the list, Field1 is empty.
    3. In DocSet1 I create file Doc1, also with Field1.
    4. Field1 in Doc1 and DocSet1 has to be synchronized (because it's general).
    5. When I change Doc1 file, put some text (Text1) for Field1,
    the value remains as
    Text1, but in that time Field1 in DocSet1 is empty.
    6. Field1 wasn't synchronized, it has different values in DocSet1 properties and in internal file Doc1.
    7. I go to DocSet1 and change Field1 to Text2, now the field is synchronized
    8. Field1 in DocSet1 and Doc1 is Text2.
    Why does it happen?

    Hi  ,
    According to your description, my understanding is that the updated Shared Column of   document item cannot synchronize with the Shared Column of the Document Set which is empty value.
    For reproduce your issue, I added two Shared Columns  “Description” and “E-Mail”  into my Document Set Content Type and added it to a document library . Then I created a new Document Set and left
     its two Shared Columns  “Description” and “E-Mail”  empty. When I created  a document item in the new document set and set values to the two Share Columns, the Description column was still empty but the “E-Mail” column was updated with
    new value.
    By default, if the Shared Column of  your Document Set  is empty, the Shared Column of the items in the document set should be empty and cannot be updated.
    For a good practice, I recommend  that you can set the value of Shared Columns in your document  set once your document set is created . For a workaround, you can hide Shared Column in the Edit
    Form. Here is the code you can refer to:
    <script type="text/javascript">
    $(document).ready(function(){
    HideFieldByInternalName("Coach");
    HideFieldByInternalName("Duration");
    HideFieldByInternalName("Locations");
    function HideFieldByInternalName(internalName) {
    $(".ms-formbody").contents().filter(function() {
    var regExp = new RegExp(internalName, "i");
    // match comment node containing internal field name
    return ((this.nodeType == 8) && (this.data.match(regExp)));
    }).parent().closest("tr").hide();
    </script>
    Reference:
    http://en.share-gate.com/blog/document-sets-making-your-metadata-shine
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Record Set Variables used in PHP and MYSQL model

    PHP MYSQL server model.
    I'e been using dreamweaver for ages and have allways admired
    how well they have kept compatibility between versions. The recent
    8.02 release was a little bit of a shock when I had to start
    rewriting all my PHP MYSQL recordset queries!
    In the bulk of my SQL queries I detect on of two states for a
    query parameter and in some queries the parameters are used more
    then once. By creating a single variable in for the recordset I've
    allways been able to check and recheck the single variable in the
    query using the standard recordset. Now in version 8.02 I am
    getting the error: Missing type for variable:colname
    So where:
    SELECT *
    FROM links
    WHERE LinkID = colname or colname=-1
    ORDER BY `Level` DESC
    used to work it does not work any more!
    I'm being forced to rewrite the query:
    SELECT *
    FROM links
    WHERE colname in (-1,LinkID)
    ORDER BY `Level` DESC
    Simple enough but where the queries get more complex the more
    variables I have to define!
    This is not Cool! Can we get a bug fix for this so that I
    dont have to rewrite all my queries!
    P.S. Since when did anyone say that the Dreamweaver was SQL
    injection safe! This issue should have been resolved back in the
    Ultradev days! I guess Kudos goes to Adobe for finally trying to
    address one of the biggest glaring issues dreamweaver has had since
    it's inception. I was allways kinda upset that I was forced to pass
    variables as text to sprintf when I knew they where numbers!
    If I Look at the resultant code now I'm sure the result
    sprintf will still be using %s instead of optionally specifying one
    of the many diferent types (
    % - a literal percent character. No argument is required.
    b - the argument is treated as an integer, and presented as a
    binary number.
    c - the argument is treated as an integer, and presented as
    the character with that ASCII value.
    d - the argument is treated as an integer, and presented as a
    (signed) decimal number.
    e - the argument is treated as scientific notation (e.g.
    1.2e+2).
    u - the argument is treated as an integer, and presented as
    an unsigned decimal number.
    f - the argument is treated as a float, and presented as a
    floating-point number (locale aware).
    F - the argument is treated as a float, and presented as a
    floating-point number (non-locale aware). Available since PHP
    4.3.10 and PHP 5.0.3.
    o - the argument is treated as an integer, and presented as
    an octal number.
    s - the argument is treated as and presented as a string.
    x - the argument is treated as an integer and presented as a
    hexadecimal number (with lowercase letters).
    X - the argument is treated as an integer and presented as a
    hexadecimal number (with uppercase letters).
    This would further protect a query from being SQL Injected!
    I'd hope that Adobe would enable a Site specfic setting or
    something that would change the behaviour to match the passed
    parameter to sprintf with the specified variable type (I'd guess
    best practice to be Numeric be type f Text be type s and Date as
    type s as well)

    Start by saying bump.
    I've still no word from Adobe if they are doing anything with
    this problem. Any one had any replys from Adobe on it? Any one
    found a work around with recoding queries?

  • ODI-SET VARIABLE IN PACKAGE

    HI.
    I am using odi11g.
    i set variable "STARTTIME" To sysdate .
    And "END_DATE" to a default value-- '20-JUNE-1981'.
    Now in package i dropped the variable "end_date",and put the TYPE to "SET VARIABLE" and the value as below:
    #VARIABLES_STARTTIME.[ The projects name is VARIABLES]
    But the value of "end-date" isnt getting reset to STARTTIME.
    should there be a different syntax.

    HI,
    Refresing the variable is working thanks.BUT i was trying to use the variable in a loop.
    Where when the package is run fo rthe 1'st time the variable 'LAST_UPDATE' value should be '20-JUNE-1981' and then it should get set to the value present in 'STARTTIME" for the next time the package is run.
    So, in this case, i need to set the value of the variable in the package itself.
    #VARIABLES.STARTTIME isnt getting set.
    i tried the package as per the below link:[ i use odi1g though]
    http://blogs.oracle.com/dataintegration/entry/using_variables_in_odi_the_tim

  • Calling functions / setting variables in loaded SWF

    You know how you can create a Movieclip object, add a
    function or variable to it, then call that function or change that
    variable from within the SWF that includes it? I wanna be able to
    do that, only with SWFs that are loaded at run time.
    My "main" SWF is simply a menu-type thing. The user clicks a
    button in my MAIN.SWF, and the MAIN.SWF then loads the SWF that's
    associated with that button, using the AS 3.0 prescribed
    Loader()-URLRequest()-addChild() method that everyone always asks
    about.
    This works great. But now I've got some custom objects and
    such (ie., not just strings) within my MAIN.SWF that I'd like to be
    able to share with the loaded SWFs. Preferably, I'd like to use an
    accessor-type function (ie.,
    LoadedSWF.GiveMeTheCoolObject(MyCoolObject);), though at this point
    I'm willing to hack into the object itself (ie.,
    LoadedSWF.CoolObject.CoolField = MyCoolObject.CoolField;) if that's
    what it takes.
    I've tried just calling the functions and setting the fields,
    but the AS 3.0 compiler doesn't care for that sort of nonsense on
    it's generically-defined objects. Notice also that, at run time, a
    call to LoadedSWF.hasOwnObject("GiveMeTheCoolObject") returns true.
    So my big-brained colleagues, what's the magic?
    In advance, thanks for the help!
    Scott

    Kglad,
    quote:
    Originally posted by:
    kglad
    from that error message it appears your function is expecting
    a member of the MyCoolObject class, correct?
    and MyCoolObject is not an instance of that class. so, you
    need to fix that. ie, create a member of that class and use that
    class member as the function parameter.
    Heh, that's what the error message says all right. But the
    object actually IS a MyCoolObject class object. I stared at this
    thing for hours, and MyCoolObject IS an instance of that class. I
    tried various casting combinations (including casting it to an
    Object and passing that) but had no luck whatsoever.
    So I googled this particular runtime error message ("Error
    #1034: Type Coercion failed: cannot convert ") and found a ton of
    links to other people having a similar issue. Typically, the
    problem was just as you said, someone passing a button as a string,
    that kinda thing. But one guy had a problem with an object he
    derived from the Event class. After hours spent trying to get it to
    work, he tried overriding the base class' clone() method and got it
    to work:
    http://www.asserttrue.com/articles/2006/10/14/custom-events-in-actionscript-3-0
    As for my project, I took a long hard look at the overall
    architecture of my project and decided that it was best if all the
    "real work" took place in the MAIN.SWF file. This approach would
    solve a couple of other problems, and it just makes sense in a
    "separate the display from the data" mentality.
    So (and this is the interesting part) I changed the API for
    the LOADED.SWF to accept String pairs (ie.,
    LoadedSWF.AddToDisplay(Name:String, Data:String) ) instead of
    accepting MyCoolObj. Ran it, and Viola, now we're working without
    any run time exceptions. After that glorious moment, I created a
    couple of other APIs that just accepted base classes (one an int
    type, the other a function type) and was happily on my way.
    From this, I gather that passing non-base class (ie, derived
    class) objects to loaded MovieClips via custom function APIs is...
    maybe not as straightforward as we'd expect. In the grand scheme of
    things though, not a big deal: As far as I'm concerned AS3 rocks.
    Again Kglad, thanks for all the help: Your input on how to do
    this was the big push that I needed to get over the last technical
    hurdle of this project.
    To those who are reading this topic for the "how do I call
    functions and/or set variables in a loaded SWF?"
    The short answer is to cast the loaded SWF's content object
    as a MovieClip and then call the function or alter the variable:
    //Load the SWF (you've seen this code a million times)
    var LoadedSWFObj:Loader = new Loader();
    var MyURL:URLRequest = new URLRequest("LoadThisSWF.SWF");
    LoadedSWFObj.load(MyURL);
    //This is within your Event.COMPLETE handler:
    //Cast it as a MovieClip object and work with that.
    var LoadedSWF:MovieClip = LoadedSWFObj.content as MovieClip;
    // or another way to cast it is:
    var LoadedSWF:MovieClip = MovieClip(LoadedSWFObj.content);
    //Call yer function:
    LoadedSWF.CallMe();

  • Saving SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1; in a report

    Hi Experts,
    The scenario is:
    When I open a report and set the prefix to 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' then I save it. Then I close that specific report then open that report again. The 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' is not saved in the report in the prefix section in Advanced tab.
    Is there a way to save the SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1; in a report to get the Query log?
    Thanks,

    OBIEE/BIP Forumer wrote:
    Hi A.Y,
    Thanks for your answer, but I the Variable I set in the Prefix section is not saved even if I saved the report with the Variable.
    Below is the steps I do:
    1. I open Report XYZ
    2. Click to Advanced tab then I enter 'SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;' or ' SET VARIABLE DISABLE_CACHE_HIT=1, LOGLEVEL=2;' in the prefix section
    3. I saved the report
    4. Open Report ABC then
    5. I re-open again Report XYZ hoping that my prefix variable is saved
    6. I go to the ADvancec tab for Report XYZ, but I didnt see the variable I just saved
    Thanks,That is strange. Can you try adding the code to the XML instead of adding it to the prefix section and click on SET XML and save the report?
    I have highlighted the line of code in bold.
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" cacheControl="bypassCache">
    <saw:criteria subjectArea="&quot;Financials - GL Budget and Expenses&quot;">
    <saw:columns>
    <saw:column formula="Ledger.&quot;Ledger Name&quot;" columnID="c0"/></saw:columns>
    <saw:columnOrder/>
    *<saw:prefix>SET VARIABLE DISABLE_CACHE_HIT=1, LOGLEVEL=2; </saw:prefix>*
         </saw:criteria>
    <saw:views xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" currentView="0">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="titleView!1">
    <saw:displayFormat/></saw:cvCell></saw:cvRow>
    <saw:cvRow>
    <saw:cvCell viewName="tableView!1">
    <saw:displayFormat/></saw:cvCell></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:titleView" name="titleView!1" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:tableView" name="tableView!1" rptViewVers="200510010"/></saw:views></saw:report>

  • The type of the value being assigned to variable ... differs from the current variable type

    I am trying to load a variable on SSIS Execute SQL Task with a string value. I keep on getting an error message :-
    “The type of the value being assigned to variable “User::LegacyColumns” differs from the current variable type”.
    Below are the settings on my package:
    Execute SQL Task Result Set –
    Single Row
    Variable Data Type –
    String
    The data to be loaded on the variable is a single row shown below:
    FirstName,LastName,MiddleName,PatientType,Title
    Can someone kindly help me to solve this as I’m lost for ideas.
    Thanks,
    Mpumelelo

    Thank you Sorna. I think I have managed to solve it. After a long search I have found a solution which advises that I should use a Foreach Loop Container. The help is on this link:
    https://social.msdn.microsoft.com/Forums/en-US/f46dea91-c26b-4ffe-ab1c-ebeef57c90b6/error-0xc001f009-at-mypackage-the-type-of-the-value-being-assigned-to-variable?forum=sqlintegrationservices
    Mpumelelo

  • Set variables leads to dump error in SEM 4.0

    Hi,
    I am on SEM 4.0 system.In BPS, i am not able to use set variables feature.whenever i hit this button the system does the process for couple of minutes and finally gives a dump error.
    I applied this note 806362.No success.
    Any one to my rescue?

    ravi,
    the variable is of type user-defined values and input allowed by user.
    "If the replacment type is user speficic values, then you can go to BPS0 - area - variable and set the values here also".- How i would do it here? Inorder to set the variable with a value i will choose SET VARIABLES option.
    Whenever i choose this the system creates a dump.
    Message was edited by:
            ragav

  • "Set variable value" topic

    Hi evry!
    My vi sends some value of "cluster" type to RT-machine's vi by means of "Set variable (variant).vi", wich, in turn, answers with Error #2: Memory is Full!
    How can be that?
    Thanx in adv, guys!
    P.S.: All versions are 8.2.1.

    Hi Sharonoff,
    Thanks for contacting National Instruments.  I have been looking into your question a little more and I have some helpful links for you that I think will help you out.  This error is pretty self-explanatory in the fact that the system you are running the VI on is running out of memory.  The links attached below should give you some good guidelines on what to do with managing large data sets trying to avoid this error.  I would particularly pay attention to the article entitled "Managing Large Data Sets in LabVIEW."  However, you want to try and limit the size of the data in the cluster that you are sending to the RT-machine as it may not have a large amount of virtual memory that it can use to handle your data.  Please look over some of these documents and try out some of their methods.  If you have any more questions, reply back and we can go from there.  Thanks!
    http://zone.ni.com/devzone/cda/tut/p/id/3625
    http://digital.ni.com/public.nsf/allkb/CBEBDC18465​5FC8C8625724A00050854?OpenDocument
    http://digital.ni.com/public.nsf/websearch/C3C516C​11184AF3F862571B5006B46E1?OpenDocument
    http://digital.ni.com/public.nsf/websearch/BC911F0​893A4627586256BB10076E90C?OpenDocument
    http://zone.ni.com/devzone/cda/tut/p/id/3561
    Regards
    Noah R
    Applications Engineering
    National Instruments

  • Formula variable type amount

    Hi all,
    I created a formula variable type amount (so I can select my currency EUR), the user enters a value in the popup screen...
    but when I display this value, the currency is not displayed...
    I tested this also on another system, and I have the same problem.
    please advice,
    Joke
    we're on BI 7.0

    Hi Joke,
    1. Try to check by adding one amount keyfigure and execute the report and check whether the units are displaying for that keyfigure.
    2. Try to creat new formulia variable and add in formula with the below settings:
    Formulia Variable:
    processing type: user entry/replacing path.
    Variable entry is: Mandatory.
    Ready to Input: selected.
    Dimension Indicator: Amount.
    Currency: Eur.
    Default Value: 50,000.
    Add this formulia variable into the formula. Save the query and execute.
    I executed with the same setting which are mentioned above, it is displaying 50,000.00 EUR in my report.
    try this and let me know.
    Regards,
    Siva.

  • HypRetrieveRange toggles POV on, Sheet Type stays "Empty"

    Hello,
    i used the following code to test this issue:
    Sub Example_RetrieveRange()
    sts = HypRetrieveRange(Empty, Range("C1:R47"), "R_PL_Main")
    End Sub
    Result:
    1. The data is refreshed successfully
    2. The POV is toggled on and on pressing the POV botton the first hidden row is not shown again
    2. no Smart View Named Range is created
    3. The Sheet Type stays empty
    4. manual refresh of the Sheet does not work
    Does anyone of you face the same issues? I think with Version 11.1.2.5.200 this was still working.
    I am using Version 11.1.2.5.400 on Office 2013
    Many thanks for any help. :-)
    David

    Akos,
    I used the Dynamic Link View functions in an Excel 2003 add-in early last year (I don't remember the release of SV) and although my data source was Essbase, not HFM, Dynamic Link View functions didn't work for me, either.
    Hyperion's tech support organization was still extant, so I could log issues -- I think I received eight defects that went along with DLVs (I wanted to use HypGetColItems, HypGetPOVItems, and HypGetRowItems and then use the Set functions).
    Some of the bugs were really out there, e.g., they depended on the dimensionality of the database and the location and number of nested columns and rows. I think that might have been a bug with HypRetrieveRange and the fact that there wasn't an enabled connection on the sheet (sheet was connected through HypConnect, had to use HypSetActiveConnection, but that too was buggy).
    What I ended up doing in the end -- and it was definitely a kludge -- was to rotate everything on to the sheet and then use HypOtlGetMemberInfo to return dimensionality into an array which I could then interrogate and figure things out. You can guess that this wasn't too fast (to put it mildly). Unfortunately, that might be your only option.
    I'm on the road now, so I don't have access to my files, but if you really want them, I have the defect "prizes" at home and I can post them over the weekend. It is also possible that Oracle identified the bugs in Metalink/the read me(s).
    One other thing you might try would be to get the very latest and greatest version of SV and see if that fixes some of your bugs -- there shouldn't be any issue with a new version of SV against an older version of APS.
    Regards,
    Cameron Lackpour

  • Preserve variable type between handlers

    How can I make a script like the following preserve variable type between handlers?
    global theURLs
    set theURLs to "http://www.reddit.com/,www.google.com"
    testVar1(theURLs)
    testVar2(theURLs)
    on testVar1(theURLs)
              if theURLs contains "," then
                        set {myTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, {","}}
                        set theURLs to text items of theURLs
                        set AppleScript's text item delimiters to myTID
              end if
              return theURLs
    end testVar1
    on testVar2(theURLs)
              return theURLs
    end testVar2
    testVar1 returns a list, while testVar2 returns text.

    The other answers helped me emend my script.
    Now I want to rewrite another script with similar scope problems, I think.
    I want to make this working script
    tell application "TorBrowser"
      activate
              if front window exists then
      --on TorGetURLs()
                        delay 0.5
                        tell application "System Events" to tell process "TorBrowser"
      --set theWindows to (reverse of rest of reverse of (get value of attribute "AXChildren"))
                                  set theWindows to value of attribute "AXWindows"
                                  set theURLs to {}
                                  repeat with theWindow in theWindows
                                            tell theWindow
                                                      set value of attribute "AXMain" to true
                                                      set value of attribute "AXMinimized" to false
                                                      repeat
                                                                keystroke "l" using command down
                                                                keystroke "c" using command down
                                                                delay 0.2
                                                                if theURLs does not contain (the clipboard) then
                                                                          set end of theURLs to the clipboard
                                                                          key code 48 using control down
                                                                          delay 0.2
                                                                else
                                                                          exit repeat
                                                                end if
                                                      end repeat
                                            end tell
                                  end repeat
                        end tell
      --end TorGetURLs
      --on TorNewIdentity()
                        set {x, y} to bounds of front window
                        set xOffset to 85
                        tell application "System Events" to tell process "TorBrowser"
                                  set isFullScreen to value of attribute "AXFullScreen" of front window
                                  if isFullScreen then
                                            set yOffset to 40
                                  else
                                            set yOffset to 65
                                  end if
                        end tell
                        tell me to do shell script "cliclick -r c:" & (x + xOffset) & "," & (y + yOffset)
                        delay 0.1
                        tell application "System Events" to keystroke "i"
                        delay 0.4
                        tell me to do shell script "open -b org.mozilla.torbrowser http://www.yourip.us/"
      --end TorNewIdentity
      --on TorRestoreState()
                        repeat with theURL in theURLs
                                  delay 0.1
                                  if theURL as text is not "about:tor" then ¬
                                            tell me to do shell script "open -b org.mozilla.torbrowser " & theURL
                        end repeat
                        delay 0.5
                        tell application "System Events" to tell process "TorBrowser"
                                  if isFullScreen then set value of attribute "AXFullScreen" of front window to true
                        end tell
      --end TorRestoreState
              end if
    end tell
    into this
    tell application "TorBrowser"
      activate
              if front window exists then
                      TorGetURLs()
                      TorNewIdentity()
                      TorRestoreState()
              end if
    end tell
    with the handlers outside the tell block.

  • NWDS BPM Notification - Variable Type

    Hi NWDS BPM Experts,
    I'm creating an email notification and I need to send a table in the message body.  When I create a variable, the variable type in automatically set to string.  Based on SAP Help I should be able to change the variable type but the dropdown is not abailable, I cannot change the type.  Would you have an idea how to do this?
    Sap help:
    pecify the E-mail Subject and Text
    When you specify the subject and text of the e-mail, you can optionally use variables to provide them with dynamic content from the process context.
    1. In the Properties view of the notification, open the Mail tab page.
    2. Specify the necessary text in the Subject and Message fields under Parameterized Texts .
    3. (Optional) Choose the Add pushbutton under Variables to add a variable.
    The system automatically fills in values in the Name and Type fields, which you can edit. You define an expression with the expression editor.
    4. Select the value in the Name field to rename the variable.
    Caution
    You can only use the letters A-Z, the numerals 0-9, and an underscore (_) in the variable name.
    5. Select a type of the variable from the Type dropdown menu if you want to change the type that was filled in automatically.
    You must set a type before you create an expression.
    6. Choose the Edit... pushbutton to define an expression in the expression editor. Choose the OK pushbutton.
    Rgds,
    Yves

    To add more details about what I'm trying to do, I want to add all records of a table data container as part of the body of the message.  So not sure how to do this.
    Rgds,
    Yves

  • Adobe Captivate 8 system variable "cpQuizInfoAnswerChoice" is empty for random multiple-choice questions.

    Does anyone run into this problem when capturing the user answer for a random question slide? Adobe Captivate 8 system variable "cpQuizInfoAnswerChoice" is empty for random multiple-choice questions.

    Hi Shriyansh.
    The reason I am interested in capturing the user answers in Submit All situation is that I know after I published the test using SCORM 2004, all the user responses were captured in "cmi.suspend_data" because my test can resume the test to the last exit question in the middle. However, when I looked at the suspend data value, I have a hard time to understand the pattern and pick out the meaningful user question responses data. I really need help from you to understand how the suspend data value was constructed and how to parse this data. Another area I thought it's easy to get the user question responses data is the interaction records, but I always got only one question (the last randomly sampled question) interaction record. See the following generated XML SCORM 2004 4th edition data. Could you help me figure out how to interpret the following suspend data to get the users responses to each test question?  And why I only got one question interaction record? Thanks again for your help, Zhuoran.
    <ArrayOfKeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.success_status</Key>
      <Value>failed</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.completion_status</Key>
      <Value>completed</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.exit</Key>
      <Value>suspend</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.mode</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.suspend_data</Key>
      <Value>M1A%24nP1A%24nP1FPool1B1FPool2A1FPool3A1FPool4B1FPool5B1FPool6B1FPool7A1FPool8B1FP ool9A1GPool10A1A%24nP000BB0100C11KCA%7E%24nU*9aAlO%7E%24nU*3eOlO1000B00AEAH0%3B1%3B2%3B3BA B0B0BBB0B0BCB0B1BDB1B0DB%7E%24nU*-EBlO%7E%24nU*YoOlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BBB0B1BC B0B0BDB1B0EC%7E%24nU*flBlO%7E%24nU*IyOlO1010B00KEAH0%3B1%3B2%3B3BAB0B0BBB0B0BCB0B0BDB1B1FD %7E%24nU*nWMlO%7E%24nU*kRPlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BBB0B1BCB0B0BDB1B0GE%7E%24nU*kRP lO%7E%24nU*arPlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BBB0B0BCB0B1BDB1B0HF%7E%24nU*arPlO%7E%24nU*c HQlO1000B00AEAH0%3B1%3B2%3B3BAB0B1BBB0B0BCB0B0BDB1B0IG%7E%24nU*cHQlO%7E%24nU*kfQlO1010B00K EAH0%3B1%3B2%3B3BAB0B0BBB0B0BCB0B0BDB1B1JH%7E%24nU*kfQlO%7E%24nU*74QlO1010B00KEAH0%3B1%3B2 %3B3BAB0B0BBB0B0BCB0B0BDB1B1KI%7E%24nU*74QlO%7E%24nU*IYRlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BB B0B1BCB0B0BDB1B0LJ%7E%24nU*IYRlO%7E%24nU*aHSlO1000B00AEAH0%3B1%3B2%3B3BAB0B0BBB0B0BCB0B1BD B1B00PNvar_ToggleTOCBAPvar_ToggleAudioBAEv_S1BAEv_S2BAEv_S3BAEv_S4BASv_completionStatusBAP v_successStatusBAKv_locationBAFv_scoADls3NreturnMessageBAHv_scoreBAOv_scorePercentBAPv_cur rentChoiceBAPv_stringChoicesBA</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.entry</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.location</Key>
      <Value>Posttest%20Results</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.launch_data</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.learner_name</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions._count</Key>
      <Value />
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.id</Key>
      <Value>LSQ19C</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.type</Key>
      <Value>choice</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.learner_response</Key>
      <Value>The_vehicle_is_under_warranty_for_the_life_of_the_lease</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.result</Key>
      <Value>incorrect</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.correct_responses.0.pattern</Key>
      <Value>Genuine_Subaru_Accessories_can_be_residualized_as_a_part_of_the_lease</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.description</Key>
      <Value>What is one feature of a Subaru Motors Finance lease?</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.weighting</Key>
      <Value>10</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.latency</Key>
      <Value>PT3S</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.objectives.0.id</Key>
      <Value>Quiz_2014924125021</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.interactions.0.timestamp</Key>
      <Value>2014-11-20T13:02:01.0-06</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.score.raw</Key>
      <Value>30</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.score.max</Key>
      <Value>100</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.score.min</Key>
      <Value>0</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.score.scaled</Key>
      <Value>0.3</Value>
      </KeyValueOfstringstring>
      <KeyValueOfstringstring>
      <Key>cmi.session_time</Key>
      <Value>PT31.99S</Value>
      </KeyValueOfstringstring>
    </ArrayOfKeyValueOfstringstring>

  • Set variables - dump error

    Hi,
    am working in dev system.For any application if i select set variables button the system takes long time and finally give me dump error.any idea why this happens?
    saggi

    What is the replacement type of this variable? Also, sometimes, if you log out after defining the variables , it works.
    Ravi Thothadri

Maybe you are looking for

  • Follow-up: Enhancing multi-tasking in Windows 10 with the cloud

    This is a follow-up of: http://social.technet.microsoft.com/Forums/en-US/dbb2102f-00b7-47ca-88f2-4f88cd9d3409/followup-starting-launching-and-switching-?forum=WinPreview2014Feedback + http://social.technet.microsoft.com/Forums/en-US/eaf27b6f-68cf-403

  • How to Populate G/L Account dynamically in txn IW31

    Hello, We have a scenario to Populate G/L Account dynamically from Automatic Account determination in txn IW31 ...Is there any user exit Thanks and Regards Venkat

  • Why won't my PowerPoint presentations display correctly?

    Why won't my PowerPoint presentations display correctly?

  • Pc to mac - senuti help

    Ok I successfully (i think) used senuti to get all my music from the pc configured 3rd gen. pod onto my new mac. But I can't get the music into the itunes library. I find it when I go to the music folder, but it doesn't appear on the left hand side o

  • Ad hoc connexion between MBP and Canon WFTE2

    Hi there Impossible to make an ad hoc wifi connexion between my computer and my Canon wft (wifi files transmitter), at the begining everything goes fine , computer find my camera and camera find my computer , when I connect both ; I'm losing the conn