Function Type not System.Func stuffs ???

Hi All,
So back to the porting and getting stuff rolling.  If you like, I have posted the in-progress code on
github here.  Feel free to contribute or pull for your own use.
So on to the question...
I've built a function in F#, which is a port of another function in C#, see figures below
Figure 1: F#
inherit UserManager<ApplicationUser>(store)
static member Create(options : IdentityFactoryOptions<ApplicationUserManager>, context : IOwinContext) =
//stuff
//manager is of type ApplicationUserManager
manager
Figure 2: C#
public static ApplicationUserManager Create(IdentityFactoryOptions<ApplicationUserManager> options, IOwinContext context)
//stuff
manager
I am attempting to pass said function from Figure 1 into another function call as below. 
app.CreatePerOwinContext<ApplicationUserManager>(ApplicationUserManager.Create) |> ignore
This function (app.CreatePerOwinContext) has a C# heritage, and I keep getting the following error...
Error 2 Possible overload: '(extension) IAppBuilder.CreatePerOwinContext<'T when 'T : not struct and 'T :> System.IDisposable>(createCallback: System.Func<Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions<'T>,IOwinContext,'T>)
: IAppBuilder'. Type constraint mismatch. The type
    'b * 'c -> ApplicationUserManager   
is not compatible with type
    System.Func<Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions<'a>,IOwinContext,'a>   
The type ''b * 'c -> ApplicationUserManager' is not compatible with the type 'System.Func<Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions<'a>,IOwinContext,'a>'. C:\Projects\FSharpWebKit\FSharpWeb2\FSharpWeb2\Startup.fs 11 9 FSharpWeb2
I'm really just not sure why.  My static member seems exactly like it should.  Is there some sort of conversion I need to do to make this work?

F# functions are of type Microsoft.FSharp.Core.FSharpFunc<'T,'U>, where in many cases 'U is another FSharpFunc type -- this is how currying and partial application work.
However there's a different incompatibility in this code as well
System.Func<Microsoft.AspNet.Identity.Owin.IdentityFactoryOptions<'T>,IOwinContext,'T>)
is a delegate that takes an IdentityFactoryOptions and returns a IOwinContext -- one input argument; whereas your Create member takes both of those types as input, returning an ApplicationUserManager.
What C# is after is a delegate type, so when you have the actual argument types sorted out, the
MSDN page for delegates in F# is here.

Similar Messages

  • The value returned from the load function is not of type numeric  errors after migration to Coldfusion 11

    I am currently testing our website with CF11. It is currently working with CF8 however after migrating it to a new server running CF11 I have encountered the following error.
    The value returned from the load function is not of type numeric.
    The error occurred in
    D:/Applications/CFusion/CustomTags/nec/com/objects/address.cfc: line 263
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/contact.cfc: line 331
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/user.cfc: line 510
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/user.cfc: line 1675
    Called from D:/website/NECPhase2/action.validate.cfm: line 54
    261 : <cfif isNumeric(get.idCountry)>
    262 : <cfset rc = this.objCountry.setID(get.idCountry)>
    263 : <cfset rc = this.objCountry.load()>
    264 : </cfif>
    265 : <cfset this.sPostcode = get.sPostcode>
    Have there been any changes between CF8 and CF11 that could  cause this error?
    Does anyone have ideas?

    This is the code in file object file country.cfc (nec.com.objects.country):
    <cfcomponent displayname="Country object" hint="This is a Country object, it allows you to access and set values in the Country.">
    <!---
    // Construct this object
    --->
    <cfset this.objFunctions = CreateObject( 'component', 'nec.com.system.functions' )>
    <cfscript>
      this.idCountryID = 0;
      this.sCountryName = "";
      this.sISOCode = "";
      this.sDHLCode = "";
      this.iErrorID = "";
    </cfscript>
    <!---
    // The following functions are the setters and getters. offering us a better way to get
    // at the contents of the object
    --->
    <!---
    // Getters
    --->
    <cffunction name="getID" displayname="Get ID" returntype="numeric" output="false" hint="This returns the ID of the current item.">
      <cfreturn this.idCountryID>
    </cffunction>
    <cffunction name="getsCountryName" displayname="Get sCountryName" returntype="string" output="false" hint="This gets the sCountryName value of this item.">
      <cfreturn this.sCountryName>
    </cffunction>
    <cffunction name="getsISOCode" displayname="Get sISOCode" returntype="string" output="false" hint="This gets the sISOCode value of this item.">
      <cfreturn this.sISOCode>
    </cffunction>
    <cffunction name="getsDHLCode" displayname="Get sDHLCode" returntype="string" output="false" hint="This gets the sDHLCode value of this item.">
      <cfreturn this.sDHLCode>
    </cffunction>
    <cffunction name="iError" displayname="Get iError" returntype="numeric" output="false" hint="This returns the iError of the current item.">
      <cfreturn this.iError>
    </cffunction>
    <!---
    // Setters
    --->
    <cffunction name="setID" displayname="Set ID" returntype="boolean" output="false" hint="This sets the ID value of this item.">
      <cfargument name="idCountryID" required="true" type="numeric" displayname="ID" hint="The ID to use.">
      <cfset this.idCountryID = arguments.idCountryID>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsCountryName" displayname="Set sCountryName" returntype="boolean" output="false" hint="This sets the sCountryName value of this item.">
      <cfargument name="sCountryName" required="true" type="string" displayname="sCountryName" hint="The sCountryName to use.">
      <cfset this.sCountryName = arguments.sCountryName>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsISOCode" displayname="Set sISOCode" returntype="boolean" output="false" hint="This sets the sISOCode value of this item.">
      <cfargument name="sISOCode" required="true" type="string" displayname="sISOCode" hint="The sISOCode to use.">
      <cfset this.sISOCode = arguments.sISOCode>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsDHLCode" displayname="Set sDHLCode" returntype="boolean" output="false" hint="This sets the sDHLCode value of this item.">
      <cfargument name="sDHLCode" required="true" type="string" displayname="sDHLCode" hint="The sDHLCode to use.">
      <cfset this.sDHLCode = arguments.sDHLCode>
      <cfreturn true>
    </cffunction>
    <!---
    // Clear, to empty out the contents of this object
    --->
    <cffunction name="clear" displayname="Clear items Details" returntype="boolean" output="false" hint="Clears out all of the items details.">
      <cfscript>
       this.sCountryName = "";
       this.sISOCode = "";
       this.sDHLCode = "";
       this.iErrorID = "";
      </cfscript>
      <cfreturn true>
    </cffunction>
    <!---
    // The following functions deal with the load, save and deleting of objects
    --->
    <!---
    // Load
    --->
    <cffunction name="load" displayname="Load items details" returntype="numeric" output="false" hint="This loads in all the information about an item.">
      <cfset rc = this.clear()>
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Check to see if it exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("load: checkID: '#this.idCountryID#' #cfcatch.detail#");
        </cfscript>
        <cfset this.iErrorID = iErrorID>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif not checkID.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         if(isDefined("session.afr")){
          whichOne = "#session.afr.getsAFRNumber()#";
         } else {
          whichOne = "";
         iErrorID = objError.addError("A Country with that id doesn't exists.[#this.idCountryID#][#whichOne#]");
        </cfscript>
       <cfset this.iErrorID = iErrorID>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // If we got past all then then load in the details
      --->
      <cftry>
       <cfquery name="get" datasource="#sDatasource#">
        SELECT idCountryID, RTRIM(sCountryName) as sCountryName, RTRIM(sISOCode) as sISOCode, RTRIM(sDHLCode) as sDHLCode
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("load: get: #cfcatch.detail#");
        </cfscript>
        <cfset this.iErrorID = iErrorID>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfset this.idCountryID = get.idCountryID>
      <cfset this.sCountryName = get.sCountryName>
      <cfset this.sISOCode = get.sISOCode>
      <cfset this.sDHLCode = get.sDHLCode>
      <cfset this.iErrorID = "">
      <cfreturn true>
    </cffunction>
    <!---
    // Save
    --->
    <cffunction name="save" displayname="Save items Details" returntype="numeric" output="false" hint="Saves (to some source) the current details for the ID of the item.">
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Now check to see if ithat ID exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("save: checkID: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <!---
      // If it doesn't exist, then add the record, otherwise update the record
      --->
      <cfif not checkID.recordCount>
       <cfreturn this.add()>
      <cfelse>
       <cfreturn this.update()>
      </cfif>
    </cffunction>
    <!---
    // Add
    --->
    <cffunction name="add" displayname="Add Country" returntype="numeric" output="false" hint="This adds a Country.">
      <!---
      // Check to see if that a different item isn't already using the same unique details
      --->
      <cftry>
       <cfquery name="checkUnique" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#'
        OR sISOCOde = '#this.objFunctions.scrubText(this.sISOcode)#'
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("add: checkUnique: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkUnique.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("A Country with that name or ISO code already exists. idCountryID=#checkUnique.idCountryID#");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <cftry>
       <cfquery name="add" datasource="#sDatasource#">
        SET nocount on
        INSERT INTO tblCountry(sCountryName, sISOCode, sDHLCode)
        VALUES('#this.objFunctions.scrubText(this.sCountryName)#','#this.objFunctions.scrubText(t his.sISOCode)#','#this.objFunctions.scrubText(this.sDHLCode)#')
        SELECT @@identity as autoID
        SET nocount off  
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("add: add: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn add.autoID>
    </cffunction>
    <!---
    // Update
    --->
    <cffunction name="update" displayname="Update Country" returntype="numeric" output="false" hint="This updates a Country record.">
      <!---
      // Check to see if that a different item isn't already using the same unique details
      --->
      <cftry>
       <cfquery name="checkUnique" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE (sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#'
        OR sISOCOde = '#this.objFunctions.scrubText(this.sISOcode)#')
        AND idCountryID <> #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("update: checkUnique: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkUnique.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("Another Country with that name already exists. idCountryID=#checkUnique.idCountryID#");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Attempt to update the record to the datasource
      // if this fails for any reason then we submit an error message
      // to the error component and return the ID of the error
      --->
      <cftry>
       <cfquery name="update" datasource="#sDatasource#">
        UPDATE tblCountry
        SET sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#',
        sISOCode = '#this.objFunctions.scrubText(this.sISOCode)#',
        sDHLCode = '#this.objFunctions.scrubText(this.sDHLCode)#'
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("update: update: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn this.idCountryID> 
    </cffunction>
    <!---
    // Delete
    --->
    <cffunction name="delete" displayname="Delete Country" returntype="numeric" output="false" hint="This deletes a Country record.">
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Now check to see if ithat ID exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: checkID: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif not checkID.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("A Country with that id doesn't exists, delete failed.");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Now check to see if there are any dependancies, if so we can't delete the item
      --->
      <cftry>
       <cfquery name="checkDependancies" datasource="#sDatasource#">
        SELECT idCountry
        FROM tblAddress
        WHERE idCountry = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: checkDependancies: idCountry: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkDependancies.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("That Country is being used by an address, delete failed.");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Now attempt to remove the record.
      // if this fails for any reason then we submit an error message
      // to the error component and return the ID of the error
      --->
      <cftry>
       <cfquery name="delete" datasource="#sDatasource#">
        DELETE FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: delete: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn this.idCountryID>
    </cffunction>
    </cfcomponent>

  • Can not create planning function types (for process empty records)

    Hi! SAP Experts,
         I want to copy 0RSPL_FORMULA to another function types for processing empty records, ZRSPL_FORMULA. I checked this function type via RSPLAN, there is no error!.   But when i try to use it in planning modeler. We found the error message "Infoobject 1FORMULA is does not available in version A". Do we need to create this infoobject?... Anyone know, please let me know.
    Thanks,
    Sake

    Hi!,
    Thanks for your help but I've already put that parameter,HIDDENFORMULAVARTAB->1FORMULA, in my planning function, ZRSPL_FORMULA. I validated it and no error found. But when I go to planning modeler, in web browser, and try to create a new planning function based on ZRSPL_FORMULA. I found the problem as I mention in previous message, "infoobject 1FORMULA is not available in version A". I try to search this infoobject in my system. The result is there is no this infoobject in my system. So, my question is do i need to create it with myself? What kind of infoobject i have to create? Key Figures or Characteristics?
    Anyway, If I have to do this, why 0RSPL_FORMULA still used as normal.
    Brgds,
    Sake

  • BI IP - Planning Function Type Formula Error "Characteristic not Supported"

    Hi all,
    I have created a planning function type formula with very simple code. The code was copied from SAP Library and FISCPER was replaced with 0CALDAY. I continue to get an error 'Characteristic 0CALDAY is not supported".
    The characteristic 0CALDAY is in the Infoprovider and the aggregation level. I have tried 'To Characteristic Usage' with both changed and in condition.
    DATA D1 TYPE D.
    DATA D2 TYPE D.
    DATA I1 TYPE I.
    DATA I2 TYPE I.
    DATA CALDAY TYPE 0CALDAY.
    FOREACH CALDAY.
    CALCULATE 1ST DAY OF ZCALEND
    D1 = C2DATE( CALDAY, S ).
    CALCULATE LAST DAY OF CALDAY
    D2 = C2DATE( CALDAY, E ).
    CALCULATE THE DIFFERENCE BETWEEN LAST AND 1ST DAY MINUS TWO DAYS
    I2 = 2.
    I1 = D2 - D1 - I2.
        MESSAGE I001(UPF) WITH 'DIFFERENCE' I1.
    ENDFOR.
    Thank you in advance for any help.
    Teri

    Thank you very much for your reply. What would you suggest? I must use 0CALDAY.  As you can tell I am very new to IP, I have tried other options for example:
    DATA ZDAYS TYPE I.
    DATA ZDT TYPE ZCALSTART.
    DATA ZDF TYPE ZCALEND.
    ZDT = ZCALSTART.
    ZDF = ZCALEND.
    ZDAYS = ZDT-ZDF.
    {KF,ZDT,ZDF} = ZDAYS.
    I received an error "ZCALSTART could not be recognized"
    I also tried to call a function. 'FIMA_DAYS_AND_MONTHS_AND_YEARS'.
    DATA D1 TYPE D.
    DATA D2 TYPE D.
    DATA DD TYPE I.
    DATA CALS TYPE ZCALSTART.
    DATA CALE TYPE ZCALEND.
    D1 = CALS.
    D2 = CALE.
    CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      EXPORTING
        I_DATE_FROM          = D1
      I_KEY_DAY_FROM       =
        I_DATE_TO            = D2
      I_KEY_DAY_TO         =
      I_FLG_SEPARATE       = ' '
    IMPORTING
       E_DAYS               = DD.
      E_MONTHS             =
      E_YEARS              =
    I received an error "Types of parameter I_DATE_FROM () and variable D1(D) are inconsistent".  From what I could find they should be consistant.  Please provide any suggestions. Thank you!
    Teri
    Edited by: teri chandler on Mar 30, 2010 3:26 PM

  • I just bought an iPhone 4s. Now the search iphone function is not working. When I swipe the screen to the left, the search box appears but when I type what I want to search for, there is no action. Please help.

    I just got an iphone 4s. Now the search iphone function is not working. When I swipe the start screen, the search box shows up. But when I type what I want to search, there is no action. Please help.

    Try this...
    You will Not Lose Any Data...
    Turn the Phone Off... ( if it isn’t already )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear and then Disappear...
    Usually takes about 15 - 20 Seconds... (But can take Longer...)
    Release the Buttons...
    Turn the Phone On...

  • Getting a "Business partner not found with partner function type requester"

    Hi There,
    After I add a text item to the shopping cart using the SHOP t-code, I get a message "Business partner not found with partner function type requester" What could be causing this and how can I rectify this problem.
    Please help mas this is an urgent issue.
    Thanks,
    Grace

    Hi Grace,
    First check :
    1- transaction : CRM_OM_BP_INTEGRATE
    select org structure where your user is and check that you have green lights (no missing address....)
    2- Run transaction USERS_GEN
    Select check user
    Is everything correct or does the user need to be repaired ?
    Kind regards,
    Yann

  • Unsupported chassis type 52, system can not boot

    I'm trying to get a spare Sup. V engine module operational in a 4507E and get the above message when it try to boots.
    I am not aware if this spare had been used in production before.
    Not sure if I need to open a support ticket, so I thought I would see if anyone else has seen this behavior.
    Thanks,
    Tom
    The following is displayed on Console: 
    Exiting to ios...
    Rommon reg: 0x0E000380
                  Restricted Rights Legend
    Use, duplication, or disclosure by the Government is
    subject to restrictions as set forth in subparagraph
    (c) of the Commercial Computer Software - Restricted
    Rights clause at FAR sec. 52.227-19 and subparagraph
    (c) (1) (ii) of the Rights in Technical Data and Computer
    Software clause at DFARS sec. 252.227-7013.
               cisco Systems, Inc.
               170 West Tasman Drive
               San Jose, California 95134-1706
    Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(37)SG1, RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2007 by Cisco Systems, Inc.
    Compiled Mon 30-Jul-07 13:47 by prod_rel_team
    Image text-base: 0x10000000, data-base: 0x11863D38
    Unsupported chassis type 52, system can not boot
    Rebooting in 10 seconds...
    10  09  08  07  06  05  04  03  02  01
    * Welcome to Rom Monitor for WS-X4516-10GE System.       *
    * Copyright (c) 2003-2006 by Cisco Systems, Inc.         *
    * All rights reserved.                                   *
    Rom Monitor Program Version 12.2(31r)SGA
    Supervisor: WS-X4516-10GE  Chassis: WS-C4507R-E
    Hardware Revisions - Board: 4.11 CPLD Tie: 32 FPGA Pod: 14
    MAC Address  : 00-11-21-ac-cf-b0
    Ip Address   : Not set.
    Netmask      : Not set.
    Gateway      : Not set.
    TftpServer   : Not set.

    tffmaguire wrote:I'm trying to get a spare Sup. V engine module operational in a 4507E and get the above message when it try to boots. I am not aware if this spare had been used in production before. Not sure if I need to open a support ticket, so I thought I would see if anyone else has seen this behavior.Thanks,Tom
    You don't have the right IOS version to meet the minimum requirements for this chassis.
    See the following document
    http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps4324/product_data_sheet0900aecd801792b1.html
    Table 5 lists 12.2(40)SG as the minimum IOS required for a 4507R-E chassis and 12.2(54)SG as the minimum IOS for a 4507R+E chassis. You only have 12.2(37)SG1 on your engine, hence the lack of boot.
    Upgrade the IOS via ROMMON (slow and painful, but it'll work) and re-try.
    Cheers.

  • Dotfuscator CE error: External type not found System.Windows.Input.ICommand,PresentationCore

    Preemptive will not support CE so I am trying here...
    I have an application targeting the .NET Framework 4.0.  It builds and runs fine but I cannot get it to compile in Dotfuscator CE. I am stuck.
    Dotfuscator CE (v5.0.2500.0) with Visual Studio 2010 SP1.  Here is the Error:
    Resolving method references...
    External type not found System.Windows.Input.ICommand,PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
    Build Error.
    The problem seems to originate from ICommand being moved from PresentationCore.dll (in NET 4.0) to System.dll (in NET 4.5).  Studio handles this and compiles fine as I am targeting NET 4.0 and the references all point to
    C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\
    Dotfuscator CE however does not seem to handle it correctly and I am not sure how to correct the issue.  Any help would be greatly appreciated!!

    Hi Perter,
    Thanks for your response.
    External type not found System.Windows.Input.ICommand,PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
    Maybe it is related to the references in your project.
    Reference:
    The type 'System.Windows.Input.ICommand' exists in both 'PresentationCore.dll' and 'System.dll'
    Since it is not the VS General issue, I am moving your question to the moderator forum ("Where is the forum for..?").
    The owner of the forum will direct you to a right forum. Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The 'argumentname' argument passed to the 'Methodename 'function is not of type 'Dto name'

    Hi, there!
    Sr for that question, because it should be pretty easy to answer, but i'm totally new to coldfusion
    and googled for about an hour now. I have a orm DTO.cfc:
    <cfcomponent entityname="testDTO" persistent="true" table="test"  schema="informix" output="false">
        <!---- properties ----> 
    </cfcomponent>
    and have a service Methode in test.cfc
        <!---- Add test---->
        <cffunction name="createTest" returntype="testDTO" access="remote">
            <cfargument name="item" type="testDTO" required="true" />
            <!---- Auto-generated method
              Insert a new record in test---->
            <cfset entitysave(item) />
            <!---- return created item ---->
            <cfreturn item/>
        </cffunction>
    i try to call via the the <cfInvoke>-Tag
    <cfset lieferant = entityNew('test')>
    <cfinvoke
        component="#request.componentbase#.test"
        method="createTest"
        item="#test#"
        returnvariable="test">
    but the error
    'The ITEM argument passed to the createLieferant function is not of type testDTO.'
    appears on function call. I just can't find a way to tell cf that lieferant is of type testDTO.
    When i type the methodes parameter to struct the methode call works well.
    Thanks for your help in advance!
    Florian

    I'm assuming your extract there isn't quite right:
    <cfset lieferant = entityNew('test')>
    <cfinvoke
        component="#request.componentbase#.test"
        method="createTest"
        item="#test#"
        returnvariable="test">
    You're doing item="#test#", surely this should be item="#lieferant#"?
    In which case, you've done  <cfset lieferant = entityNew('test')>, which is of type "test", not "testDTO"?
    If you're still having trouble, remove the item="" attribute from CFINVOKE and use CFINVOKEARGUMENTs instead.

  • G_G_IDOC_REC_ZZINCOT function module not found in ECC 5.0

    i am getting the dump.
    the fuction module is not presend in ECC 5.0
    Runtime Errors         CALL_FUNCTION_NOT_FOUND                                                     
    Exceptn                CX_SY_DYN_CALL_ILLEGAL_FUNC                                                 
    Date and Time          04/05/2007 07:13:25                                                         
    ShrtText                                                                               
    Function module "G_G_IDOC_REC_ZZINCOT" not found.                                             
    What happened?                                                                               
    The function module "G_G_IDOC_REC_ZZINCOT" was called, but cannot be                          
        found in the Function Library.                                                                               
    Error in ABAP application program.                                                                               
    The current ABAP program "SAPLGUIF" had to be terminated because one of the                   
        statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                                         
    What can you do?                                                                               
    Print out the error message (using the "Print" function)                                      
        and make a note of the actions and input that caused the                                      
        error.                                                                               
    To resolve the problem, contact your SAP system administrator.                                
        You can use transaction ST22 (ABAP Dump Analysis) to view and administer                      
         termination messages, especially those beyond their normal deletion                          
        date.                                                                               
    is especially useful if you want to keep a particular message.                                
    Error analysis                                                                               
    An exception occurred. This exception is dealt with in more detail below                      
        . The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FUNC',                
         was neither                                                                               
    caught nor passed along using a RAISING clause, in the procedure                              
         "IDOC_INPUT_GLROLL" "(FUNCTION)"                                                             
    Since the caller of the procedure could not have expected this exception                      
         to occur, the running program was terminated.                                                
        The reason for the exception is:                                                              
        The program "SAPLGUIF" contains a CALL FUNCTION statement. The name                           
        of the function module to be called is "G_G_IDOC_REC_ZZINCOT".                                                                               
    No function module exists with the name "G_G_IDOC_REC_ZZINCOT".                               
        All function modules are stored in the Function Library (SE37).                                                                               
    Possible reasons:                                                                               
    a) Wrong name specified. Particular attention should be paid                                  
           to upper/lower case and underscores ("_")                                                  
        b) Transport error                                                                               
    c) If an enqueue/dequeue module has been used, the lock object                                
           may not have been activated (ABAP Dictionary)                                              
           may not have been activated (ABAP Dictionary).                                             
    How to correct the error                                                                               
    Check the last transports to the R/3 System.                                                  
        Is the program "SAPLGUIF" currently being changed?                                            
        If an enqueue/dequeue module is involved, is the activation                                   
        of the lock object missing in the ABAP/4 Dictionary?                                                                               
    You may able to find an interim solution to the problem                                       
        in the SAP note system. If you have access to the note system yourself,                       
        use the following search criteria:                                                                               
    "CALL_FUNCTION_NOT_FOUND" CX_SY_DYN_CALL_ILLEGAL_FUNCC                                        
        "SAPLGUIF" or "LGUIFU05"                                                                      
        "IDOC_INPUT_GLROLL"                                                                               
    Function modules with names similar to "G_G_IDOC_REC_ZZINCOT":                                                                               
    G_G_IDOC_REC_COFIT                                                                               
    G_G_IDOC_REC_FILCT                                                                               
    G_G_IDOC_REC_ECMCT                                                                               
    G_G_IDOC_REC_GLPCT                                                                               
    G_G_IDOC_REC_GLT0                                                                               
    G_G_IDOC_REC_SECURE                                                                               
    G_POSTING_ZZINCOT                                                                               
    G_G_IDOC_SEND_COFIT                                                                               
    G_G_IDOC_SEND_ECMCT                                                                               
    G_G_IDOC_SEND_SECURE                                                                               
    If you cannot solve the problem yourself and you wish to send                                 
        an error message to SAP, include the following documents:                                                                               
    1. A printout of the problem description (short dump)                                         
           To obtain this, select in the current display "System->List->                              
           Save->Local File (unconverted)".                                                                               
    2. A suitable printout of the system log                                                      
           To obtain this, call the system log through transaction SM21.                              
           Limit the time interval to 10 minutes before and 5 minutes                                 
           after the short dump. In the display, then select the function                             
           "System->List->Save->Local File (unconverted)".                                                                               
    3. If the programs are your own programs or modified SAP programs,                            
           supply the source code.                                                                    
           To do this, select the Editor function "Further Utilities->                                
           Upload/Download->Download".                                                                               
    4. Details regarding the conditions under which the error occurred                            
           or which actions and input led to the error.                                               
        The exception must either be prevented, caught within the procedure                           
         "IDOC_INPUT_GLROLL"                                                                               
    "(FUNCTION)", or declared in the procedure's RAISING clause.                                  
        To prevent the exception, note the following:                                                 
    System environment                                                                               
    SAP Release.............. "640"                                                                               
    Application server....... "d48ix100"                                                          
        Network address.......... "151.162.153.62"                                                    
        Operating system......... "AIX"                                                               
        Release.................. "5.3"                                                               
        Hardware type............ "00C65EFD4C00"                                                      
        Character length......... 8 Bits                                                              
        Pointer length........... 64 Bits                                                             
        Work process number...... 2                                                                   
        Short dump setting....... "full"                                                                               
    Database server.......... "d48ix100"                                                          
        Database type............ "ORACLE"                                                            
        Database name............ "D48"                                                               
        Database owner........... "SAPR3"                                                                               
    Character set............ "en_US.ISO8859-1"                                                                               
    SAP kernel............... "640"                                                               
        Created on............... "Nov 5 2006 20:46:58"                                               
        Created in............... "AIX 1 5 00538A4A4C00"                                              
        Database version......... "OCI_920 "                                                                               
    Patch level.............. "156"                                                               
        Patch text............... " "                                                                               
    Supported environment....                                                                     
        Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE                        
         10.2.0.."                                                                               
    SAP database version..... "640"                                                               
        Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"                                                                               
    Memory usage.............                                                                     
        Roll..................... 16128                                                               
        EM....................... 8379856                                                             
        Heap..................... 0                                                                   
        Page..................... 16384                                                               
        MM Used.................. 2530176                                                             
        MM Free.................. 1657232                                                             
        SAP Release.............. "640"                                                                               
    User and Transaction                                                                               
    Client.............. 010                                                                      
        User................ "OS0730"                                                                 
        Language key........ "E"                                                                      
        Transaction......... "YICUPLD "                                                               
        Program............. "SAPLGUIF"                                                               
        Screen.............. "SAPMSSY0 1000"                                                          
        Screen line......... 6                                                                        
    Information on where terminated                                                                   
        The termination occurred in the ABAP program "SAPLGUIF" in "IDOC_INPUT_GLROLL".               
        The main program was "Y21091IRECON ".                                                                               
    The termination occurred in line 65 of the source code of the (Include)                       
         program "LGUIFU05"                                                                               
    of the source code of program "LGUIFU05" (when calling the editor 650).                       
        Processing was terminated because the exception "CX_SY_DYN_CALL_ILLEGAL_FUNC"                 
         occurred in the                                                                               
    procedure "IDOC_INPUT_GLROLL" "(FUNCTION)" but was not handled locally, not                   
         declared in the                                                                               
    RAISING clause of the procedure.                                                              
        The procedure is in the program "SAPLGUIF ". Its source code starts in line 5                 
        of the (Include) program "LGUIF$05 ".                                                         
    Source Code Extract                                                                               
    Line  SourceCde                                                                               
    35                                                                               
    36 *Prüfen, ob Customizing richtig eingestellt ist                                             
       37     CHECK EXIT IS INITIAL.                                                                  
       38     PERFORM CHECK_CUSTOMIZING USING IDOC_NUMBER.                                            
       39                                                                               
    40 *Für Einzelposten neue Belegnummern vergeben                                                
       41     CHECK EXIT IS INITIAL.                                                                  
       42     PERFORM NEW_DOCUMENT_NUMBER USING IDOC_NUMBER                                           
       43                                       IDOC_CONTRL-MESTYP.                                   
       44                                                                               
    45 *Füllen der Segmentdaten                                                                    
       46     CHECK EXIT IS INITIAL.                                                                  
       47     CLEAR IDOC_SEGMENT. REFRESH IDOC_SEGMENT.                                               
       48                                                                               
    49     LOOP AT IDOC_DATA WHERE DOCNUM EQ IDOC_NUMBER.                                          
       50       IDOC_SEGMENT = IDOC_DATA.                                                             
       51       APPEND IDOC_SEGMENT.                                                                  
       52     ENDLOOP.                                                                               
    53                                                                               
    54 *Name des zu rufenden Funktionsbausteines ermitteln                                         
       55     ROL_FUNCNAME = 'G_G_IDOC_REC_$'.                                                        
       56     PERFORM BUILD_ROL_FUNCNAME USING IDOC_NUMBER ROL_FUNCNAME.                              
       57                                                                               
    58 *Funktionsbaustein zum Empfangen des IDOC's aufrufen                                        
       59 *Wenn Sender 4.0 System -> Nimm' TAB30, sonst altes TAB                                     
       60     IF NOT E1GLTTF-TAB30 IS INITIAL.                                                        
       61       L_TAB30 = E1GLTTF-TAB30.                                                              
       62     ELSE.                                                                               
    63       L_TAB30 = E1GLTTF-TAB.                                                                
       64     ENDIF.                                                                               
    >>>>>     CALL FUNCTION ROL_FUNCNAME                                                              
       66          EXPORTING                                                                          
       67               MESTYP             = IDOC_CONTRL-MESTYP                                       
       68               DOCNUM             = IDOC_NUMBER                                              
       69               TAB                = L_TAB30                                                  
       70          TABLES                                                                               
    71               IDOC_SEGMENT       = IDOC_SEGMENT                                             
       72               IDOC_STATUS        = IDOC_STATUS                                              
       73               RETURN_VARIABLES   = RETURN_VARIABLES.                                        
       74                                                                               
    75   ENDLOOP.                                                                               
    76                                                                               
    77 *Keine IDOC's empfangen                                                                     
       78   IF SY-SUBRC NE 0.                                                                         
       79     RAISE WF_ERROR_PROCESS.                                                                 
       80   ELSE.                                                                               
    81 *Prüfen, ob Fehler bei der Verarbeitung der IDOCs aufgetreten sind                          
       82     LOOP AT IDOC_STATUS WHERE MSGTY = 'A'                                                   
       83                            OR MSGTY = 'E'.                                                  
       84       EXIT.                                                                               
    Contents of system fields                                                                         
    Name     Val.                                                                               
    SY-SUBRC 0                                                                               
    SY-INDEX 0                                                                               
    SY-TABIX 2                                                                               
    SY-DBCNT 1                                                                               
    SY-FDPOS 0                                                                               
    SY-LSIND 0                                                                               
    SY-PAGNO 0                                                                               
    SY-LINNO 1                                                                               
    SY-COLNO 1                                                                               
    SY-PFKEY                                                                           &

    I think that the FM is a customized one. Correct me if I am wrong. It is quite possible that certain FM's might have been missed out while the new system is built. Here I am assuming that the you are doing an upgrade.
    If whatever, I've mentioned above is correct, you can copy the FM and its other components from the old system into the new one, to rectify the error

  • UWL: Mass Approval functionality is not shown

    Hi Gurus,
    I have done the required config to call my ABAP webdynpro leave approval screen when a workitem is clicked in UWL and its working fine.
    Now I want to have a mass approval functionality for the leave approval screen. I have added the below Item types and Views in UWL.STANDARD.XML file and uploaded it to the system with high priority and then refreshed cache. When I login to the system and access the UWL, the MASS Approval functionality is not show. Do I have to do any other steps apart from this. Please let me know how to resolve the issue.
    =======================================================================
    @@@<ItemType name="uwl.task.webflow.TS90000001.ABC" connector="WebFlowConnector" defaultView="myReqApproveViewABC" defaultAction="launchWebDynPro"
    executionMode="default">
          <ItemTypeCriteria systemId="ABC" externalType="TS90000001" connector="WebFlowConnector"/>
          <Actions>
            <Action name="ApproveRequest" groupAction="yes" handler="FunctionModuleActionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="IV_WI_ID" value="${item.externalId}"/>
                <Property name="IV_APPROVE" value="X"/>
                <Property name="FunctionModule" value="Z_GELVFM_APPROVAL_SAVE"/>
              </Properties>
              <Descriptions default="Approve Request"/>
            </Action>
            <Action name="RejectRequest" groupAction="yes" handler="FunctionModuleActionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no">
              <Properties>
                <Property name="IV_WI_ID" value="${item.externalId}"/>
                <Property name="IV_REJECT" value="X"/>
                <Property name="FunctionModule" value="Z_GELVFM_APPROVAL_SAVE"/>
              </Properties>
              <Descriptions default="Reject Request"/>
            </Action>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes"
    launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="ZGELVWDA001_APP"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="wi_id=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="WebDynproNamespace" value="SAP" />
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    ===================================================================================================
    @@@<View name="myReqApproveViewABC" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.TS90000001.ABC" columnOrder="subject,
    detailIcon, createdDate, dueDate, Approve, Reject" sortby="createdDate" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no"
    queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="60" dueDateSevere="0" dueDateWarning="0"
    emphasizedItems="unread" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom">
          <Descriptions default="Leave Request">
            <ShortDescriptions>
              <Description Language="en" Description="Mass Approval"/>
            </ShortDescriptions>
          </Descriptions>
          <DisplayAttributes>
            <DisplayAttribute name="Approve" type="radiobutton" width="" sortable="no" format="default" actionRef="ApproveRequest" hAlign="CENTER"
    vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes">
              <Descriptions default="Approve"/>
            </DisplayAttribute>
            <DisplayAttribute name="Reject" type="radiobutton" width="" sortable="no" format="default" actionRef="RejectRequest" hAlign="CENTER"
    vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes">
              <Descriptions default="Reject"/>
            </DisplayAttribute>
          </DisplayAttributes>
          <Actions>
            <Action reference="submitUserDecisions"/>
            <Action reference="refresh"/>
          </Actions>
        </View>
    ===========================================================================
    Regards,
    H.K.Hayath Basha,

    Hi,
    The code is not attached
    ***=============================================================================================================================
    ***<ItemType name="uwl.task.webflow.TS90000001.ABC" connector="WebFlowConnector" defaultView="myReqApproveViewABC" defaultAction="launchWebDynPro"
    executionMode="default">
         <ItemTypeCriteria systemId="ABC" externalType="TS90000001" connector="WebFlowConnector"/>
         <Actions>
           <Action name="ApproveRequest" groupAction="yes" handler="FunctionModuleActionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no">
             <Properties>
               <Property name="IV_WI_ID" value="${item.externalId}"/>
               <Property name="IV_APPROVE" value="X"/>
               <Property name="FunctionModule" value="Z_GELVFM_APPROVAL_SAVE"/>
             </Properties>
             <Descriptions default="Approve Request"/>
           </Action>
           <Action name="RejectRequest" groupAction="yes" handler="FunctionModuleActionHandler" returnToDetailViewAllowed="no" launchInNewWindow="no">
             <Properties>
               <Property name="IV_WI_ID" value="${item.externalId}"/>
               <Property name="IV_REJECT" value="X"/>
               <Property name="FunctionModule" value="Z_GELVFM_APPROVAL_SAVE"/>
             </Properties>
             <Descriptions default="Reject Request"/>
           </Action>
           <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes"
    launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
             <Properties>
               <Property name="WebDynproApplication" value="ZGELVWDA001_APP"/>
               <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
               <Property name="DynamicParameter" value="wi_id=${item.externalId}"/>
               <Property name="openInNewWindow" value="yes"/>
               <Property name="WebDynproNamespace" value="SAP" />
               <Property name="display_order_priority" value="5"/>
             </Properties>
             <Descriptions default=""/>
           </Action>
         </Actions>
       </ItemType>
    =======================================
    <View name="myReqApproveViewABC" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.TS90000001.ABC" columnOrder="subject,
    detailIcon, createdDate, dueDate, Approve, Reject" sortby="createdDate" tableDesign="STANDARD" visibleRowCount="10" headerVisible="no"
    queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="60" dueDateSevere="0" dueDateWarning="0"
    emphasizedItems="unread" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom">
        <Descriptions default="Leave Request">
          <ShortDescriptions>
             <Description Language="en" Description="Mass Approval"/>
           </ShortDescriptions>
         </Descriptions>
         <DisplayAttributes>
           <DisplayAttribute name="Approve" type="radiobutton" width="" sortable="no" format="default" actionRef="ApproveRequest" hAlign="CENTER"
    vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes">
             <Descriptions default="Approve"/>
           </DisplayAttribute>
           <DisplayAttribute name="Reject" type="radiobutton" width="" sortable="no" format="default" actionRef="RejectRequest" hAlign="CENTER"
    vAlign="MIDDLE" maxTextWidth="0" headerVisible="yes">
             <Descriptions default="Reject"/>
           </DisplayAttribute>
         </DisplayAttributes>
         <Actions>
           <Action reference="submitUserDecisions"/>
           <Action reference="refresh"/>
         </Actions>
       </View>
    =======================================
    Regards,
    H.K.Hayath Basha.

  • Palm Desk Top 6.2 Address Look Up Function Does Not Work In Windows 7

    I recently upgraded my desk top computer's operating system from Windows Vista Home Premium to Windows 7 Home Premium.  I synchronize with a Palm Tx PDA.  HP PalmOS customer support Chat helped me work through a compatibility issue that was preventing display of Address, Calendar, Memo and To Do items on my desk top computer via the Palm Desk Top 6.2 application.  I now find that the address look up function does not work (although it worked fine when I was running Vista).  Without success, I tried running the repair tool as well as reloading the software (both overlay and clean reinstall).  I would appreciate any help or suggestions to fix?
    Post relates to: Palm TX

    Hi,
    844869 wrote:
    CREATE TABLE TEST_EMPLOYEES
    FIRST_NAME VARCHAR2(26 CHAR),
    GRADE VARCHAR2(5 CHAR)
    INSERT INTO TEST_EMPLOYEES (FIRST_NAME, GRADE) VALUES ( 'William', 45 ); ...Thanks for posting the CREATE TABLE and INSERT statements; that's very helpful.
    William&45     1
    Robin 43     1
    Raymond          43     1
    Richard          43     1
    Karen          28     1
    Michelle               1
    Jonathan               1
    Mark               1
    Ann               1You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text (such as query results) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    This is one of the many helpful things found in the forum FAQ {message:id=9360002}
    Are the results above what you're getting with some existing query, or are they the results you want? 
    If those are your current results, post your query.  In that case, what are the results you want?  Do you want this?FIRST_NAME GRADE RNK
    William 45 1
    Robin 43 2
    Raymond 43 2
    Richard 43 2
    Karen 28 5
    Michelle 6
    Jonathan 6
    Mark 6
    Ann 6
    Edited by: Frank Kulash on Feb 21, 2013 2:39 PM
    I see you've added the desired results to your original message.
    Here's one way to do that:SELECT first_name
    ,     grade
    ,     RANK () OVER (ORDER BY grade NULLS FIRST)     AS rnk
    FROM     test_employees
    ORDER BY grade          DESC     NULLS LAST

  • Function types for Balance Sheet Planning missing in SEM-BPS 6.0

    Hi BPS experts,
    After upgrading our BI-system from SEM 4.0 to SEM 6.0 (level 10) as part of the upgrade from BW 3.5 to BI 7.0 (level 15), the BPS function types for balance sheet planning are not available in the planning environment (Transaction code BPS0).
    According to the SAP Library the balance sheet planning functions in SEM-BPS comprises of 6 standard function types - one of them is "Depreciation":
    <a href="http://help.sap.com/saphelp_sem60/helpdata/en/0a/242537cedf2056e10000009b38f936/frameset.htm">help.sap.com -> Business Planning and Simulation (BW-BPS)</a>   
    Menu path: Business Planning Functions -> Functions for Balance Sheet Planning
    In our existing SEM 4.0 we are using "Depreciation" and the functions based on this function type are of course short dumping when executed in our upgraded system (SEM 6.0) as the function type does not exist here.
    Odd though - we do have the function type "Allocation" available in SEM 6.0, which should be delivered with SEM together with the Balance Sheet Planning function types (It is listed directly under "Business Planning Functions" in the SAP Library) .
    I have tried to figure out whether we missed out on activating something during or after the system installation, but our basis consultant has not found anything in the installation guides related to this issue. Also I was wondering whether it could be a simple matter of activating some Business Content but without any luck.
    Does anybody know why the Balance Sheet Function Types are not available in SEM-BPS 6.0?
    Kind regards,
    Lars
    PS: Our system status is:
    SAP_ABA     700     0013     SAPKA70013     Cross-Application Component
    SAP_BASIS     700     0013     SAPKB70013     SAP Basis Component
    PI_BASIS     2005_1_700     0013     SAPKIPYJ7D     PI_BASIS 2005_1_700
    ST-PI     2005_1_700     0005     SAPKITLQI5     SAP Solution Tools Plug-In
    SAP_BW     700     0015     SAPKW70015     SAP NetWeaver BI 7.0
    FINBASIS     600     0010     SAPK-60010INFINBASIS     FINBASIS 600 : Add-On Supplement
    SEM-BW     600     0010     SAPKGS6010     SEM-BW 600 : Add-On Supplement
    BI_CONT     703     0007     SAPKIBIIP7     Business Intelligence Content
    Message was edited by:
            Lars B Rasmussen

    Hi Lars,
    It seems not all the planning function from SEM BPS are available in BW BPS. Please check the links below: -
    what is the difference between BW 3.5 BPS and SEM BPS 4.0
    BW- BPS and SEM- BPS
    SEM-BPS VS BW-BPS
    BCS Doc
    Regards,
    SK

  • Message determination and Partner function LS (Logical system) for PO

    Hi,
    I have worked in the past with vendors (VN) as partner roles in a PO, with the message to create an EDI outpout to Partner Type: LI (Vendor), and this works succesfully.
    Now, the idea was to use in EDI, a Partner Type: LS (Logical system) as a receiver of EDI messages (message types: ORDERS) for inbound Purchase Orders to the Partner.
    So, we have set up a respective message condition, with Partner Function: LS  (Logical System), in transaction: MN04 (Create Output-condition records).
    A. When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent to partner.
    B. When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N?
    There is a single message condition that is to be read for both cases (trans: ME59N and ME21N).
    Note: If I try ME21N, and enter the output type and partner (=Logical System), manually, I receive a warning message :
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent.
    However you can not assign a partner function LS to a vendor, in vendor master data, because of message CZ 327 (Can not use this partner role).
    Anyone with similar experience? Thank you for your advice.

    Hi,
    I well understand that the receiving partner can be a partner: Vendor (LI).
    I have seen that working.
    However, in the Partner Profiles (trans: WE20), the receiver was created as a Logical System (LS).
    We want the partner Logical system (LS) to receive the idoc for purchase order (ORDERS).
    After that, I think that the idea is that the LS can generate an idoc for a sales order creation that will then outbound to another partner.  I think that this is the concept.
    The issue is that I have seen that the POs created with transaction: ME59N, have received from message determination (trans: MN04) the message with partner LS (automatically), and the idoc of the purchase order (ORDERS) have reached the partner LS.
    The question is why the message determination fails when creating the PO from trans: ME21N or ME21, with reference to the PR. Message condition is the same and message determination procedure is the same for both cases.
    There is no issue with customizing for the LS in trans: WE20
    (Port processing agent is Active for LS and ORDERS have the proper processing code for application EF).
    I hope I am helping more with this.

  • Document Type Not Found in Shift Note Settings

    Dear gurus,
    I'm implementing Ecc-dimp function, shift note report.
    I check in PRD SPRO configuration:
    Logistics General -> Make Settings for Shift Note, I have made one Shift Note Type "MS".
    The settings from DEV Server (transport) is "DMO", but when I browse (F4), there's error "Document type DMO cannot be used".
    I've CORRECTLY configured the document type in DMS in production (used by MM consultant for MARA attachment).
    Then I check the settings in DEV server, and browse (F4) on the same configuration.
    There's only one document type which can be used, that is "DMO"
    Here's the error in PRD system:
    [http://postimage.org/image/bjyus8a3x/]
    Is it some SAP bug?
    Thanks for help.
    Best Regards,

    We're running ECC 6.0 EhP4.
    Technical component is 7.01 level 0009
    Business software component is 604 level 0009
    Latest kernel patch
    Regards,

Maybe you are looking for

  • Technical systems and Business systems in SAP XI

    can any one tell me ,breifly explain the  diff b/w <b>Technical Systems</b> & Business Systems? steps to create Techincal system and Business systems? and also Steps for creating Software Components? For Technical System we can create more than one B

  • HTTPS in Receiver HTTP adapter

    Hi ALL, I have a HTTP receiver scenarion..i.e The interface is XML over HTTPS.. Can we do HTTPS in receiver HTTP adapter ..how to do the SSL for this in Receiver HTTP channel because when i check the receiver HTTP adapter ..i don't find any setting f

  • HFR login in error

    Hi All, I'm using HFR 9.3.1V, I'm able to login to FR studio using admin ID, but while draging a Grid in to report to create a new report it si giving some error: Error: DatasourceIDLogin.LoadDatasourceNames Error: -2147467259 Error Loading Datasourc

  • Getting xml as a output

    Hi All, I have Adobe Livecycle designer 7.1 and adobe extension server installed in my pc. my question is by using adobe livecycle designer and extension how to get xml file in adobe reader on button click. Kindly suggest me. Thanks in Advance. Thank

  • Install Server Components Considerations during BPC Installation

    Hello experts, I have something confusing about chapter 3.3 Installing the Server Components. (The screen shot is provided below) Questions: Q1: The server components for BPC is CPMBPC, is it right? Q2: How to activate the BW and Planning Consolidati