About NULL recognition of macro function in SCM7.0

Hi expert.
I have question regarding NULL value recognition of macro function in SCM7.0
I want to know how to express NULL value in macro calculation.
I already tried [= NULL], but does not working.
Best regards
Hinoki

Hinoki,
As Mani has suggested use the following function:
IS_INITIAL(
Row: <Your Row Name>
) = 1
BUT MAKE SURE YOU USE "ROW ATTRIBUTES" IN THE ATTRIBUTES FIELD OF <Your Row Name>
1= NULL or Initial
0 = Not Null

Similar Messages

  • Macro function

    Hi
    Is there any macro function in SCM 4.0 to add months to date.I want to write a macro which freezes the cells of a key figure after 6 months in the future horizon.
    I could not find the macro function.
    So a 'Z' function module was developed for this rerquirement.I am able to see this in the macro builder and i have used this FM in my macro.I checked ,generated and saved the macro.
    When i want to test this macro with the test data i am getting ABAP dump runtime error.
    Is this the problem with the variables that we have defined in FM?
    It is highly appreciable if you can help me in this regard.Its very urgent.
    Thanks in advance.
    Raj

    when you say freeze i suppose you mean making it "output only". is that right?
    You may not have to define a function module for this.....
    you use the macro function CELL_INPUT( 0 ) to get this functionality for one KF
    you can also use COLUMN_INPUT( 0 ) for all KF
    if you have a monthly book and when creating the macro, you make sure that the macro has the first iteration starting from the 6th month then this will work
    there should be a sample macro in the 9AEXAM book with the same functionality
    hope that helps

  • "Macro" function like in Word?

    I cannot find the macro function (or whatever its called in Pages). I want to have a set of text, such as a return address, that I can call into a Pages document. Where does it live? Or what is it called so I can look it up in the manual? Thanks

    Dr. Dave wrote:
    Neither Cmd-V nor drop-down Paste enter the multi-line text. Oh, well.
    cmd + V works flawlessly.
    I typed my address in three lines in TextEdit
    selected it
    copied it in the clipboard then pasted it it the second field of the table in the Preferences dialog.
    It behaves flawlessly.which means that the field received the datas with the embedded return characters.
    Here is what we see in the preferences dialog.
    Here is what we see in the plist editor
    Here is what I get after entering addr1 (+ space) then addr2 (+ space)
    CAUTION : never put the cursor in the second field in the Preferences dialog. Doing that would remove the line breaks. It's easy to reset them but it's a bit boring.
    Yvan KOENIG (VALLAURIS, France) mercredi 28 juillet 2010 22:55:56

  • Use of APO macro function CHAR_VALUES_INPUT

    I am using APO V7.
    I am using the APO macro function CHAR_VALUES_INPUT to read in a resource name from the interactive user.
    Is there a way of making sure that the user entered data is left justified?
    (I am using the entered name in the RESOURCE_VARIANT function, and this function only seems to work if the resource name parameter is left justified, ie no leading blanks).
    Thanks for any advice on this...

    Hi,
    see SAP Note 1477144. It corrects this problem.
    Best regards
    Rico Frenzel

  • Error TypeError: null has no such function "getAppView" logical transform script version 4.1.0.866

    Hello,
    I am using Oracle Data Modeler version 4.1.0.866 and when I created a transform script in object logical, motor Oracle Nasnhorm give the error TypeError: null has no such function "getAppView".
    The code is:
    var guipkgs = JavaImporter(java.lang, java.awt, java.awt.event, java.awt.Window, Packages.javax.swing ,java.lang, Packages.javax.swing.border);
    with (guipkgs) {
        log_rep = new Packages.oracle.dbtools.crest.swingui.LogReport(model.getAppView());
        log_rep.setName("CONTADOR");
        var cont = 0;
        var text = "";
    entities = model.getDesign().getLogicalDesign().getEntitySet().toArray();
    for (var t = 0; t<entities.length;t++){
      entity = entities[t];
        Name = entity.getName();
        cont = cont + 1;
        text = text + " " + Name + "\n";  
    text = text + cont + "\n";
                log_rep.setLog(text);
        log_rep.showModalDialog(new java.awt.Dimension(1300, 550));
    Already you can not use log_rep = new Packages.oracle.dbtools.crest.swingui.LogReport(model.getAppView());? Is there any alternative?
    This error does not come with previous versions.
    Thanks.

    Hello,
    I modified the script add following at the beginning of script:
    model = model.getDesign().getLogicalDesign();   and carry on the error TypeError: null has no such function "getAppView".
    var guipkgs = JavaImporter(java.lang, java.awt, java.awt.event, java.awt.Window, Packages.javax.swing ,java.lang, Packages.javax.swing.border);
    with (guipkgs) {
        model = model.getDesign().getLogicalDesign();
        log_rep = new Packages.oracle.dbtools.crest.swingui.LogReport(model.getAppView());
        log_rep.setName("CONTADOR");
        var cont = 0;
        var text = "";
    entities = model.getDesign().getLogicalDesign().getEntitySet().toArray();
    for (var t = 0; t<entities.length;t++){
      entity = entities[t];
        Name = entity.getName();
        cont = cont + 1;
        text = text + " " + Name + "\n"; 
    text = text + cont + "\n";
                log_rep.setLog(text);
        log_rep.showModalDialog(new java.awt.Dimension(1300, 550))
    Any idea?
    Thanks

  • Complete doc about Oracle's Builtin Extension Functions

    Hola a Todos:
    where i can found a complete documentation about the oracle builtin extension function that v2 parser would use? in the parser docs and in http://technet.oracle.com/xml, there are only 2 functions referenced with a no very clear explanation about what i can do with.
    Can you give a more complete reference or point me to the right url?
    Thanks in advance
    Saludos,
    gnacio J. Ortega

    Hola Steve:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Presently, yes.
    What functionality described there is not working properly for you?<HR></BLOCKQUOTE>
    I'm trying to use the ora:output for construct various result tree files with only one xsl file,
    ? is this the way to do that ?
    another try converting a document fragment to a nodeset using ora:node-set, i've try an expresion like :
    <xsl:apply-templates select="ora:node-set(PageStruct:get($ps))"
    the PageStruct namesspace is a extension of my own ( do you remember ) and the function return a document fragment..
    Saludos Ignacio J. Ortega
    null

  • Match hex 00 or NULL with Match pattern function

    Hi, I am using Match pattern funciton to match NULL character and 0000 character in a string (hex display).
    Someone told mu use the following regular expression:
    ^[\00]*, and [\00]*$ , and he said:
                    \00 is Hex 00
                    \0 un-defined
    But I read some stuffs about regular  expression that \0x00 is Hex 00, \00 is Octal 000.I want to know what meaning the \00 is.
    Please refer to the attached trim00.vi.
    Solved!
    Go to Solution.
    Attachments:
    trim00.vi ‏7 KB
    trim00.vi ‏7 KB

    Match Pattern and Match Regular Expression are two different functions. With Match Pattern the string ^[\00]* matches any number of null characters starting at the beginning of the string, while the string [\00]*$ matches any number of null characters starting at the end of the string. Check the help for the Match Pattern function for more info.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Question about the "Create Web Gallery" function in Bridge

    I created a beautiful Web Gallery using Bridge's built-in function which creates a Photoshop Web Gallery.
    Everything works great except for one thing. When I click the "E-Mail Feedback" button, Apple Mail loads and creates blank e-mail message. This is all good, but for some reason the address line is loading up with data instead of just an e-mail address. I was hoping someone versed in html could tell me what I'm doing.  The source code in ThumbnailFrame.html looks like this:
    function sendFeedback(picName) {
    checkForUnSavedChanges(picName);
    var prefix = "mailto:[email protected]";
    var name = null;
    name = prompt("Enter Your Name:", "Your Name");
    if (name) {
    prefix += "subject=" + escape("Feedback from " + name);
    prefix += "&body=";
    var str = ""
    for (var i in feedback) {
    str += i + " ~~ \n";
    str += (feedback[i].approved == true) ? "Approved ~~ \n" : "";
    str += (feedback[i].other == true) ? "Other ~~ \n" : "";
    str += (feedback[i].comments != "") ? ("\nComments:\n" + feedback[i].comments + " ~~ \n") : "";
    str += "____________________________________________\n\n";
    The address line in the Apple Mail message looks like this:    [email protected]=Feedback from Paul Kirtley&body=
    I want it to look like this:  [email protected]
    By looking at the source code above, can someone tell me how I can make an adjustment to keep "subject=Feedback from Paul Kirtley&body=" out of the address line?
    Thanks!

    There are update and insert methods under the "core" section/
    See this image : http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_ejb_30/images/b20105.gif
    You might want to follow this tutorial to see how it works:
    http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_ejb_30/ejb_30.htm#t4

  • Quick question about null terminator string!

    Hello,
    I always feel that a char array should end with a "\0".
    But just to clear up something here, if I do:
    char *a[10];
    and I fill out the array with 10 characters, then, should we *always* append the "\0" at the end of this array?
    And if so, should it be appended at a[9] location or a[10] ??? It confuses me a little because since the array is supposed to take 10 characters, then does the compiler save an extra space at the 11th character location for the null terminator string?
    OR
    Is it up to us to make sure we fill the array with up to 9 characters making sure to save the 10th location in the array for the null terminator string?
    So in a nutshell, once we finish up with a char array do we do this:
    a[9] = '\0';
    or this:
    a[10] = '\0';
    I excuse the simple question but this has been haunting me for a while, but thanks for all replies!!!
    r

    Ok, a few misconceptions here.
    I always feel that a char array should end with a "\0".
    This is not strictly true.  This is only true of the data is to be treated as a string.  Often you will use a char array to hold binary data.  Normally such binary data will NOT end in a NUL character.  In fact, most binary data may contain
    NUL characters sprinkled throughout the data.
    char *a[10];
    This is NOT an array of ten characters.  This is an array of ten pointers to characters (or character arrays).  You probably intended
    char a[10];
    You then state
    I fill out the array with 10 characters, then, should we *always* append the "\0" at the end of this array?
    Again, this depends on whether you intend the data to be a string or binary data.  I will assume you mean string from here on out.  For a string, yes you should probably always append a '\0' Of course you don't actually have room for that NUL --
    see the following answer.  (Actually there are some string APIs that let you pass in a number of characters to process and those will work with no terminating NUL, but frankly you are playing with fire when you do that so I would recommend always putting
    the trailing NUL in myself.)
    And if so, should it be appended at a[9] location or a[10]
    The declaration "char a[10]" causes the compiler to reserve *exactly* ten bytes of data for that array.  If you write to location a[10], that is the
    eleventh byte and will cause undefined behavior.  At best you might not notice anything bad.  At worst it could cause any sort of crazy data corruption.  It could easily crash your program.
    You would need to write the NUL character at a[9].   Note that writing NUL at a[9] will overwrite the last byte that you put into that array.
    As a side note here:  This is why you try to always use a proper string class like std::string when using C++ -- it takes care of all of that for you, including growing the string larger if you fill it up.  Then you don't need to worry
    about these pesky details that are easy to get wrong.

  • Call Excel Macros function from Java

    Hi All,
    can u guide me How to call excel macros from java.
    The thing is first I have to enable macros and then call the macors function.
    Is this possible to call from Java. If yes guide me.
    Thanks in Advance

    Seems like something you'd have to do through COM.
    http://sourceforge.net/projects/jacob-project/
    HOW you do that is something you'll really have to figure out yourself, its not a Java question.

  • Need help about a dll with panel function

    Hello,
    I try to create a DLL file with a graphical panel, and i want to use it on an other platform with visual c++ compiler.
    to release this DLL, i use an UI and generate a code with the option : Tools\UI to Code Converter.
    now i have a code which can create a user interface without the file .uir
    During the compilation there is no error, but when i want to test/execute it on Visual C++, I have an error message : The memory cannot be read, address 0x00000000.
    Someone can help me about this? and if you want my project to see the code, i can give it.
    thanks.

    One quick question: are you trying to avoid needing to install the LabVIEW runtime on the target machines?  If so, I don't believe packaging it in a DLL will accomplish that.  (Correct me if I'm wrong, but I think LabVIEW created DLLs still have dependencies on the LabVIEW runtime.)
    In general though, I agree with your suspicion as to why it isn't working.  One test you could perform to clarify the situation would be to added another VISA write and DLL read in line after the second form in your attached JPG.  If the resource is hosed up after your DLL read also, I agree, it would point to the DLL calls causing the resource to hang.  Perhaps the process of translating the VISA resource name from a string to the actual resource object causes the VISA session to be tied to the scope of the DLL function call (hence automatically releasing when the call is completed)?  If so, maybe passing the actual VISA resource name would help.  The VISA resource is really nothing more than a pointer to an object (a LVRefNum).  From the perspective of language independence, I think that probably amounts to a 32-bit integer.
    Also, perhaps you could just avoid building this level of granularity into the DLLs?  The idea of creating a DLL is to abstract away some complex task.  I'm not sure what benefit you get of creating DLLs out of such basic functions.
    Anyway, good luck. 

  • Macros, Function modules and subroutines

    Hi Experts,
    In performance wise which one is best macro or subroutine or Function module?
    Thanks.

    Hi Nandini,
    Each and every one has its importance in certain situations..
    Macros
    If you want to reuse the same set of statements more than once in a program, you can include them in a macro. For example, this can be useful for long calculations or complex WRITE statements. You can only use a macro within the program in which it is defined, and it can only be called in lines of the program following its definition.
    Subroutines can call other subroutines (nested calls) and may also call themselves (recursive calls). Once a subroutine has finished running, the calling program carries on processing after the PERFORM statement. You can use the USING and CHANGING additions to supply values to the parameter interface of the subroutine.
    Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating  and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
    Best regards,
    raam

  • Need details about the Snap to Grid function

    I wanted to repair a problem in a guitar track, So I opened a new track and recorded over the problem. I though that with the Snap to Grid function I could slide the new version on the old track without having to worry about the region moving horizontally. That's what's happening, it is impossible to move the track without changing the timing of the track.
    Is it normal?
    Thanks in advance

    Install freeware hardware diagnostic software like for example SANDRA Sisoft, Everest Home Edit or HWiNFO32.
    Such tools provide you all essential information about the built in parts and the HDD controller.
    Please post some feedback would be interesting to know what SATA controller details would be reported by such tool.

  • Questions about the High Throughput Math Functions

    Hello,
    i am just trying to unterstand what advandages the High Troughput Math Funtions have. So i have to ask some Questions.
    I always talk about beeing inside a SCTL.
    1. In the Image you can see four Add Functions. One with U32 which should use more Ressouces than the one with the U16Datatype which uses mor than the U8. But does my FXP High Througput Math Function use less Ressources than the U8 Version?
    2. Which of this four Add Functions will take less time for Execution?
    3. If I would Add two 32bit Numbers one with the normal Add and one with the High Throughput Add. Which of the Functions will use less Resources and which will be faster?
    4. How would it bee if i had a Multiplication instead? When i unterstand the concept of a Multiplication right it will be done with a DSP48E. This Logic Block is able of Multiplying a 25bit Number with a 18bit Number. So the U32 Multiply will use 2 DSP48Es and the other three Functions would use one DSP48E.
    I guess the U32 Version will have the slowest Execution?
    Whats about the other three will their execution speed be equal or will the Versions with smaller Datatypes be faster?
    With kind regards
    Westgate
    Solved!
    Go to Solution.

    I don't see a big rush to answer this, so I'll give it a shot:
    1. The HT version uses less resources, but only because it is configured with the smallest data types. You should get exactly the same results with the same data types and an Add function. The only difference with the HT version is the ability to specify an output register, and the handshaking signals that account for that delay. IF the add is implemented in a DSP48, the integrated register can result in better timing, but in practice it is usually equivalent to an Add function followed by a feedback node.
    2. The actual delay through an add is proportional to the number of bits, where the critical path is the sequentially computed carry chain. So you could run the last one at the highest clock rate. The FPGA has dedicated fast carry logic, so the difference isn't too significant.
    3. The first one will be VERY slightly smaller and faster, just because you're computing one extra output bit on the second one.
    4. I would expect the speed to depend only on the number of DSP48s used, so the last 3 should be similar. You'd be likely to see different results in practice, though, due to routing differing numbers of bits to registers for the indicators. This assumes you're not taking advantage of any of the pipelining configuration options in the HT Multiply. Those options, and the associated handshaking signals, are really what differentiates the HT versions from the regular numeric functions. They allow you to achieve higher clock rates and throughput at the expense of latency (ie, it will take more clock cycles to produce a valid result but you can get more data through the function in a given amount of time).
    Caveats: All your examples have constant inputs, so the LabVIEW compiler and/or Xilinx tools can and will optimize them to no ops. Small multiplies, multiplies with one constant input, or those just larger than 25x18 may also use some non-DSP48 logic for all or part of the implementation. Note that the HT palettes provide a DSP48E function in case you want control over exactly how a multiply and/or add gets implemented. Placing and routing can result in unexpected behaviors, so estimating timing is much more difficult than simply adding up component delays.

  • DP macro function : FIXCALC()

    Hi all,
    Seeking the help of all APO gurus on the syntax for the function
    FIXCALC().
    I have already looked for help link below
    http://help.sap.com/saphelp_scm2007/helpdata/en/8f/9d6937089c2556e10000009b38f889/frameset.htm
    but unable to come up with the exact syntax of the function.
    Can somebody help
    Thanks in advance

    Dear Ankur,
    Quoting SAP Help:
    FIX_CALC( X1; X2:
    ) performs fixing calculation with X1 as the row containing the key figure with the value to be fixed and X2 the key figure for the fixed values. If the input check indicator is set (for instance X), the system tries to correct any inconsistencies that may occur due to changes being made on the detail level.  
    For example, a key figure has a value of 100 at the aggregate level and consists of three values at detail level 50, 30 and 20. You then change the last value to 40, the system will reduce the remaining levels so that the total is still 100.
    Macros using this function should not be used at detail level .
    Regarding the exact syntax, let me give you this example with the same K-F to perform FIX, you can find this example at your 9AEXAMPLES View( MacroExamples) MacroBook
    operate : ( 1,000 Iteraciones : 07.03.2005 ; 01.12.2007 )
       calculate {activity bar}
            FIX_CALC(
            Línea: KF1 (  de 07.03.2005 )
            Línea: KF1 (  de 07.03.2005 )
    No comma or ";" would be necessary as far as it works without it.
    Best regards,
    Carlos Rodríguez

Maybe you are looking for