TOKENS parameter

Dear All,
I need to extraction based on a unique condition. If value in a COLUMN in TABLE A is '1' then extarction from TABLE B is to be made.
I was thinking to use Tokens parameter in TABLE A, asssign its COLUMN value to it. Then refer this TOKEN in replicat and perform replication.
So my query is "Can I use TOKEN in 1 table and refer it another table?
Do we have any kind of GLOBAL parameter which all can refer?
Thanks in Advance.

What you mean you have done it?
If at the extract you have done it then at replicat you may use the filter to check if it is 1 and if different exception and ignore it

Similar Messages

  • Using SAP Tokens & showing extra columns to choose

    I have a Crystal Report where I have a SAP token parameter to select a budget scenario to run the report based on.
    My token is selecting the 3 columns I need to display inorder to select the correct scenario - AbsID, Name & FinancYear.
    Budget@Select AbsID, Name,FinancYear  from OBGS order by 3
    When I preview in SAP my drop down box only gives me AbsID and name - which is of course a list diplaying "Main Budget" repeated for the number of financial year I have in the database.
    As these Main Budgets can (and have) been created in any order, it is impossible toexpect the users to select the correct budget from the displayed data.
    As there is no direct join from OBGS to OFPR on financial year, I can't work out how to either display the additional column in the choose from list, or filter my selection statement so it will only give scenarios that relate to the financial year for the period I have selected
    Any sensible suggestions welomed!

    Hi Julie,
    Remember that combo box controls in SAP can only display two values, a code and description, or in the case of report tokens the first two columns you specify in the token query. Seeing as you need the third column to distinguish between the first two sets of values a combo box is no use to you on it's own.
    The following is off the top of my head and untested but what about either replacing the combo box with a CFL that shows as many columns as you need (and by nice coincidence the first column in that table is the value you want selected, AbsID), OR, created two report parameters the first displays the Financial Year and the second displays the AbsID and Name values for the selected FinYr?
    Remember I'm writing this free hand so you'll need to test to make sure it's ok.
    Replace Cbo with CFL
    Budget@Select * From OBGS order by 3
    This should display a CFL where you can add any extra columns needed from the form settings.
    Two Cbo Parameters
    FinYr@ SELECT F_RefDate FROM OFPR
    Budget@Select AbsID, Name from OBGS WHERE FinancYear = ('FinYr@') order by 3
    So you can reference one parameter name inside another to limit the results displayed by the second parameter.
    One of the above or some variation should get you what you need.
    Regards,
    Andrew.

  • Dynamic # URL token parameters customization

    I came across a situation that personalize the destination URL with token parameter with "#"
    the URL is
    OA?jspakRegionCode={#TransactionDetailsRegionCode}&....
    Here "TransactionDetailsRegionCode" is pointing to different pages upon different transaction types.
    For example, if the transaction type is invoice, the rc=XXTransactionDetailsPG
    if the transaction type is credit memo, the rc =XXCMDetailsPG
    I have customized the XXTransactionDetailsPG and put the modifed one in CUSTOM_TOP.
    Now I have to link the URL pointing to the new XXTransactionDetailsPG I have customized.
    The question is how could I do it?
    If I just changed the URL to OA?page=/../../../XXTransactionDetailsPG&.. then when transaction type is credit memo, the page will be pointing to the XXTransactionDetailsPG too.
    During the research, I have came across other questions.
    In {#TransactionDetailsRegionCode}, TransactionDetailsRegionCode is a token. Where the token has been specified to different OAPages, like XXTransactionDetailsPG or XXCMDetailsPG? Is it in some Controllers? (I didnt find any related Controller has such info) Or The token is defined in
    database tables? (I checked with ak_regions and did not find such info either)
    Or the only way I have to do is via program change the Controllers?
    something Like:
    If trx_type = "invoice"
    setURL ="OA?page=/../../../XXTransactionDetailsPG&.. "
    Thanks for any help and suggestions.

    purplebetter1 wrote:
    I have tried to follow tutorials in David Powers' and other books that use this method very carefully but with great frustration as my Dreamweaver never prints the correct code.
    Dreamweaver generates the correct code. You're just doing it wrong - as do countless others.
    Here's an illustration from my Dreamweaver CS4 book. Examine it carefully.
    You type the variable name in the Name field of the Parameters dialog box, and then click the lightning icon to the right of the Value field. What confuses you and so many others is that there is a lightning icon to the right of the Name field also.
    Click the wrong lightning icon, and you get the result that you did. Click the correct one, and Dreamweaver generates the expected code.

  • How can i pass token parameters

    Dear all
    i have wrote this code for side tab bar
    OAStaticStyledTextBean bulletTextOne =
    (OAStaticStyledTextBean)createWebBean(pageContext, STATIC_STYLED_TEXT_BEAN, null, "textOne");
    bulletTextOne.setText(pageContext, yahooText);
    bulletTextOne.setCSSClass("OraLinkText");
    bulletTextOne.setDestination(yahooUrl);
    bulletList.addIndexedChild(bulletTextOne);
    String x="OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationsearchPG";
    OAStaticStyledTextBean bulletTextOne =
    (OAStaticStyledTextBean)createWebBean(pageContext, STATIC_STYLED_TEXT_BEAN, null, "textOne");
    bulletTextOne.setText(pageContext, yahooText);
    bulletTextOne.setCSSClass("OraLinkText");
    //bulletTextOne.setDestination(yahooUrl);
    bulletTextOne.setDestination(x);
    bulletList.addIndexedChild(bulletTextOne);
    Here i am navigating from one page to another page when i click on link
    her at that same time how can i pass token parameter to this link
    like ${oa.xxcrmCostsheetVO1.OpcsOpportunityid}
    Regards
    Sreekanth

    Hi,
    First grab the value of OpcsOpportunityid from View Object and store it in variable
    say
    String id = (String)row.getAttribute("OpcsOpportunityid").toString();
    You can pass parameters like
    String x="OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationsearchPG&param1="+id;
    and then set the destination of link
    bulletTextOne.setDestination(x);
    Thanks,
    Gaurav

  • How to get Adobe Air-apps to run *properly*? (Voddler ecpecially)

    First: I am running AMD64, and have installed the bin32-adob-air from AUR.
    The problem is, this does not work as it should. Air apps are never "installed" like they would be in Windows, or Ubuntu with the adobe-air from adobe installed. This causes problems with remembering configs and storing data between instances. Wimp, t.ex. will never remember my password, now matter how many times I check the remember password-box. And When running VOddler it just won't find the config file.
    I am trying to run Voddler in linux now, following this. But it won't work.
    I just get an "error reading config file" message when starting it using the adobe-air command (ie. the script from the package. Thinking the problem might be caused by the script running air apps from a temp dir, i aslo tried to run
    [gert@blad opt]$ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/VoddlerPlayer/META-INF/AIR/application.xml /opt/airapps/VoddlerPlayer
    after unpacking the Voddler Files there, but no luck.
    I see that there are a newer version of Voddler out now, and I will try that, but I'd appreciate any help with this spesific issue.
    Also, I would like to know if there is any way to get the "full Air experience" where you jut click-and go, and can install Air-apps the simple, proper way "everybody else" does it. Cause Air right now is a major hassle. Is there any chance of getting the Adobe-Air installer from Adoe work on Arch, or at least get a similar result? Integrated in the system, detected in the browser on  webpages etc.
    Last edited by naguz (2010-05-15 17:01:25)

    Tried again with the command taken from firefox appended to the script (instead of §1 §2 etc.) and got:
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: Ingen slik fil eller filkatalog
    Error #2032
    http://api.voddler.com/vnet/index/login-token
    Parameter: version:2
    Parameter: token:3c034c484e3ed6217ec0b4b6a6cd01c9
    Response received
    http://api.voddler.com/vnet/index/pre-movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: crid:2721821284152752803
    Parameter: version:2
    Response received
    PreMovieResult: [object Object]
    movieID: 2721821284152452737
    MOVIEREQUEST: false movieModel.resumeTime: 0
    http://api.voddler.com/vnet/index/movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: version:2
    Parameter: crid:2721821284152752803
    Parameter: resume:0
    Response received
    Adding to playlist url: 0p000001000_e000335_n0017_s0318_he3052b084510fe31419083eb165aa4bc_00000000000000000000000000000000_d59845ff23b2b6f22d3f3ee9020ab34af_t02
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 1000
    extra = "Token login result triggered"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2004
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    It errors out after the Voddler window has been "Rerwinding the tape"  for about 10 secs.
    EDIT: I moved my voddler folder to /opt/airapps so I could use your file without any edits to rule out typos.
    Now, the voddler player starts from firefox in wine. But I immediately also get the "Oops, we noticed you didn't watch the whole movie"-window pops out at the same time, and i get a similar error as above.
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2008
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    I guess voddler cancels the DRM "lease" as soon as the error box pos up, giving me this question. Seems Firefox doesn't communicate properly with the air-app. Or something else I don't get. complete output from firefox run: pastebin
    Last edited by naguz (2011-01-11 22:32:16)

  • Translat.ini File

    We are upgrading RP11.3 to RP11.5. We have a number of custom rules that have been merged into 11.5 batch system. The issue we are having is that after we merged our custom error messages for our custom rules into the translate.ini file, the system is not recognizing our entries. It seems that the 11.5 system is pulling these error messages from another file.
    How can we get the system to recognize our custom errors messages in translate.ini that we have created and used in past version of Documaker.

    Under 11.5, Documaker uses Oracle's globalization standards for messaging. The translat.ini file isn't strictly used at runtime, rather, a compiled binary version that is language-specific is used instead. To generate the compiled binary version, there are some steps to be followed.
    The first thing you will need is the LMSGEN utility from Oracle's NLSRTL package. Currently this is distributed with Oracle database SDKs. I don't have any more specific information than that right now. Here is a bit more info on this utility http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch10oci.htm#i1007610
    Once you have LMSGEN installed and ready, you need to convert your translat.ini into an intermediary MSG and MMP files. You can create a script that will translate your translat.ini file and create these files for you. It's a relatively simple process:
    Translat.ini lines:
    1000 = &E&: Error: Requested library <&LIB&> not available or cannot be loaded.
    1001 = &E&: Error: Use of rule or function <&NAME&> requires a printer classification of <&CLASS&>.
    Translat.msg:
    #CHARACTER_SET_NAME=AMERICAN_AMERICA.US7ASCII
    1000, 42, "%1: Error: Requested library <%2> not available or cannot be loaded."
    1001, 42, "%1: Error: Use of rule or function <%2> requires a printer classification of <%3>."
    Translat.mmp:
    1000:E,LIB,
    1001:E,NAME,CLASS,
    The MMP file is a token/parameter mapping file, since the old translat.ini uses tokens, and Oracle's globalization framework uses parameters. Note the top line in the translat.msg file -- this is required!
    The format of the INI file:
    msgNumber = &TOKEN&: Message with &TOKEN&
    The format of the MSG file:
    msgNumber, msgType [42=Error,0=Info], "Message with %1 parms"
    Format of the MMP file:
    msgNumber:TOKEN1,TOKENn,...,
    Once you have the MSG file, then use the LMSGEN utility from Oracle's NLSRTL package to converts that into an MSB file. The MSB file is a compiled binary version of the message file, and this is what is used to generate the actual messages. There will be a different MSG file for each language your system should support. In addition, the MSB files are platform dependent and must be compiled on the platform where they are intended to be used.
    One thing to keep in mind when running it is that Oracle's messaging libraries are built around the notion of each product having its own separate directory under the Oracle home directory (identified by the ORACLE_HOME environment variable). Each product may in turn have its own separate component or "facility" with its own set of message files. Oracle manages this by having a separate directory under ORACLE_HOME for each product, and then a "mesg" directory under that where the message files for every component are placed. When you run the lmsgen utility, it already expects there to be an Oracle base directory and an ORACLE_HOME environment variable that points to it. In addition it expects there to be a sub-directory for the product under the Oracle directory, and a "mesg" subdirectory under the product directory. When you run the lmsgen routine, it expects you to give it the name of the msg file, the name of the product, and the name of the facility. It uses the product name to locate the "mesg" subdirectory, and it uses the "facility" name as the base name of the msb file that it generates (the filename is suffixed by the language). So, to run lmsgen you will need to have a directory which has some directory underneath with a "mesg" directory under it. So for example (assuming you don't have Oracle code already installed somewhere) you could do the following:
    mkdir C:\Documaker\mesg
    set ORACLE_HOME=C:\
    lmsgen translat.msg Documaker xlt
    and lmsgen would write a file name "xltus.msb" to the "C:\Documaker\mesg" directory. (The msg file has a code in the first line identifying the language that it is written in, which is how it knows to name it with a suffix of "us". Documaker currently doesn't use the "ORACLE_HOME" method of locating the file, but as far as I know, you do need to have an ORACLE_HOME defined to run lmsgen.exe.
    Since we don't use the ORACLE_HOME method, you would need to provide command-line options to override input and output paths.
    lmsgen translat.msg Documaker xlt us -i .\ -o .\
    The -i identifies the input directory to location the MSG file. The -o indicates the output directory to use as a destination for the compiled MSB file.
    Finally, move the MSB and MMP file to the \dll\lang folder inside your Documaker installation.

  • Convergence problem -- users seeing other users' mailboxes

    Hello, all!
    We seem to be having rather a shocking problem with Convergence -- in certain rare circumstances, people logging in to Convergence sometimes end up with other people's mailboxes instead of their own.
    Today, we had another of such incidents reported to our helpdesk -- after the issue was passed to my division, I decided to visit the affected user's desktop to see who they were logged in as, plus some particulars from cookes that Convergence uses, thinking that it may be related to a recent patch we received as a response from a Sun Support ticket filed about a similar incident. Afterwards, I went back to the server and started reading logs to see if I could pinpoint the root cause of what happened.
    Note that these logs have been sanitized -- <INCORRECT_USER> represents the username of the mailbox that the affected user saw instead of their own, <AFFECTED_IP> represents the IP address of the affected user's IP address, and <PREVIOUS_IP> represents the IP address of the user trying to access their mailbox that was seen by the affected user as well. (The IPs are not the same and are not in the same subnet.)
    So, from our Glassfish domain's access logs:
    "<AFFECTED_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:04:37 -0600" "GET /iwc/svc/wmap/msg.mjs?rev=3&sid=&mbox=INBOX&uid=457&process=html%2Cjs%2Clink%2Ctarget%2Cbinhex&maxtext=155000&security=false&lang=en&token=KZc9jnOair&dojo.preventCache=1289322277283 HTTP/1.1" 200 6184
    That was the last access from the affected user's IP address before the incident begins -- this is just to show that they didn't log out. Then:
    "<PREVIOUS_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:19:06 -0600" "GET /iwc_static/layout/login.html?lang=en-us&14.01_234924&svcs=abs,im,mail,calendar,c11n HTTP/1.1" 200 5095
    ...the other user visits the login page to try and log in. (I'll spare everyone the accesses to the preloading of Convergence's UI images. =) After a while, the other user attempts to log in and is successfully sent to main.html:
    "<PREVIOUS_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:19:11 -0600" "POST /iwc/svc/iwcp/login.iwc HTTP/1.1" 200 312
    "<PREVIOUS_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:19:11 -0600" "GET /iwc_static/layout/main.html?lang=en&14.01_234924& HTTP/1.1" 200 8856
    However, out of the blue:
    "<AFFECTED_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:19:11 -0600" "POST /iwc/svc/iwcp/login.iwc HTTP/1.1" 200 312
    "<AFFECTED_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:19:11 -0600" "POST /iwc/svc/wmap/cmd.mjs HTTP/1.1" 200 17
    ...the affected user tries to log in as well, then ask the AJAX cmd process to do something. The affected user mentioned that they usually stay connected to Convergence and just reopen a browser window when they need to check their mail. This seems consistent -- main.html probably prompted the affected user to retype their password to continue on after the previous commmand above failed after an expired session after they closed their browser window.
    Now, according to Convergence's iwc.log:
    AUTH: DEBUG from com.sun.comms.client.web.sso.SSOFilter Thread httpSSLWorkerThread-443-36 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:06,582- SSO is disabled
    AUTH: DEBUG from com.sun.comms.client.web.auth.IwcAuthController Thread httpSSLWorkerThread-443-36 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:06,583- No valid session found, redirecting to login page
    AUTH: DEBUG from com.sun.comms.client.web.auth.IwcAuthController Thread httpSSLWorkerThread-443-36 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:06,584- Redirecting to: /iwc_static/layout/login.html?lang=en-us&14.01_234924&svcs=abs,im,mail,calendar,c11n
    The other user visits the site and is redirected to login.html, then...
    AUTH: DEBUG from com.sun.comms.client.web.sso.SSOFilter Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,410- SSO is disabled
    PROTOCOL: DEBUG from com.sun.comms.client.protocol.ProtocolEngineServlet Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,411- Iwc Protocol command issued: login.iwc
    AUTH: WARN from com.sun.comms.client.protocol.delegate.agent.LoginContextAgent Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,413- Subject not found in session, creating one
    AUTH: DEBUG from com.sun.comms.client.protocol.delegate.agent.LoginContextAgent Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,414- Loaded com.sun.comms.client.security.auth.AppCallbackHandler class
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,416- SunLDAPLoginModule:initialize()
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,504- SunLDAPLoginModule:login()
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,506- User LoginID is <INCORRECT_USER>
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,508- Host header is connect.siue.edu
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,510- Attempting to resolve User's domain/organization: siue.edu from the host header...
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,511- User domain is siue.edu
    AUTH: DEBUG from com.sun.comms.client.security.auth.AppCallbackHandler Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,513- Done Handling Callback class: com.sun.comms.client.security.auth.modules.impl.SunLDAPAuthCallBack
    AUTH: DEBUG from com.sun.comms.client.security.auth.AppCallbackHandler Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,514- Done Handling Callback class: com.sun.comms.client.security.auth.AuthorizationIdCallback
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,516- SunLDAPLoginModule:lookupUser()
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,517- Loaded UG LDAP pool...
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,521- Releasing UG LDAP to pool
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,523- Loaded Auth LDAP pool...
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,527- Releasing Auth LDAP to pool
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,529- SunLDAPLoginModule:User <INCORRECT_USER> Authenticated
    AUTH: INFO from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,533- Loading user entry from LDAP
    ...the other user successfully logs in (using an external Sun-based LDAP server), then starts asking the LDAP server for their Convergence preferences.
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,535- Creating Comms User.....
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,537- Creating new User
    (That's interesting...)
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,539- Login id of the user is <INCORRECT_USER>
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,541- Domain name of the user is siue.edu
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,544- Org DN of the user is o=siue.edu,o=usergroup
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,546- Real domain name of the user is siue.edu
    AUTH: INFO from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,548- User entry loaded successfully
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,550- Updating user cache with default attribute values
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,552- Updating user cache common preference with default values
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,555- Processing AttrName: sunUCDefaultApplication
    AUTH: DEBUG from com.sun.comms.client.security.auth.CommsUserInitContext Thread httpSSLWorkerThread-443-33 ipaddress=<PREVIOUS_IP> sessionid= at 11/09/10 11:19:14,557- Preference Attribute : sunUCDefaultApplication is not present in user cache
    And intermixed with the loading of preferences for the other user...
    AUTH: DEBUG from com.sun.comms.client.web.sso.SSOFilter Thread httpSSLWorkerThread-443-18 ipaddress=<AFFECTED_IP> sessionid= at 11/09/10 11:19:14,666- SSO is disabled
    PROTOCOL: DEBUG from com.sun.comms.client.protocol.ProtocolEngineServlet Thread httpSSLWorkerThread-443-18 ipaddress=<AFFECTED_IP> sessionid= at 11/09/10 11:19:14,667- Iwc Protocol command issued: login.iwc
    AUTH: WARN from com.sun.comms.client.protocol.delegate.agent.LoginContextAgent Thread httpSSLWorkerThread-443-18 ipaddress=<AFFECTED_IP> sessionid= at 11/09/10 11:19:14,669- Subject not found in session, creating one
    AUTH: DEBUG from com.sun.comms.client.protocol.delegate.agent.LoginContextAgent Thread httpSSLWorkerThread-443-18 ipaddress=<AFFECTED_IP> sessionid= at 11/09/10 11:19:14,671- Loaded com.sun.comms.client.security.auth.AppCallbackHandler class
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-18 ipaddress=<AFFECTED_IP> sessionid= at 11/09/10 11:19:14,674- SunLDAPLoginModule:initialize()
    AUTH: DEBUG from com.sun.comms.client.security.auth.modules.impl.SunLDAPLoginModule Thread httpSSLWorkerThread-443-18 ipaddress=<AFFECTED_IP> sessionid= at 11/09/10 11:19:14,676- SunLDAPLoginModule:login()
    AUTH: INFO from com.sun.comms.client.security.auth.modules.impl.SunAuthCallBack Thread httpSSLWorkerThread-443-18 ipaddress=<AFFECTED_IP> sessionid= at 11/09/10 11:19:14,678- User LoginID is <INCORRECT_USER>
    ...there's the affected user trying to log in -- and getting the same username as the other user!
    AUTH: DEBUG from com.sun.comms.client.web.sso.SSOFilter Thread httpSSLWorkerThread-443-32 ipaddress=<AFFECTED_IP> sessionid=0fabb5152fbab756c5ef6cdb2c1d at 11/09/10 11:19:14,933- SSO is disabled
    AUTH: DEBUG from com.sun.comms.client.web.authorization.MailAuthorizationFilter Thread httpSSLWorkerThread-443-32 ipaddress=<AFFECTED_IP> sessionid=0fabb5152fbab756c5ef6cdb2c1d at 11/09/10 11:19:14,935- Removing token parameter from the mail backend service request
    PROXY_MAIL: DEBUG from com.sun.comms.client.web.services.sun.MailServiceProxy Thread httpSSLWorkerThread-443-32 ipaddress=<AFFECTED_IP> sessionid=0fabb5152fbab756c5ef6cdb2c1d at 11/09/10 11:19:14,938- reqURI: /iwc/svc/wmap/cmd.mjs
    The affected user (seeing that they have less to load) tries to send the command referenced above. Note their session ID...
    AUTH: DEBUG from com.sun.comms.client.web.sso.SSOFilter Thread httpSSLWorkerThread-443-37 ipaddress=<PREVIOUS_IP> sessionid=1a60d56c1deb585e05bf126aa4fe at 11/09/10 11:19:15,740- SSO is disabled
    PROTOCOL: DEBUG from com.sun.comms.client.protocol.ProtocolEngineServlet Thread httpSSLWorkerThread-443-37 ipaddress=<PREVIOUS_IP> sessionid=1a60d56c1deb585e05bf126aa4fe at 11/09/10 11:19:15,831- Iwc Protocol command issued: get_allprefs.iwc
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.UserPrefsCommandDelegate Thread httpSSLWorkerThread-443-37 ipaddress=<PREVIOUS_IP> sessionid=1a60d56c1deb585e05bf126aa4fe at 11/09/10 11:19:15,834- get_allprefs.iwc : Service is not enabled : smime
    CONFIG: DEBUG from com.sun.comms.client.web.ServerConfiguration Thread httpSSLWorkerThread-443-37 ipaddress=<PREVIOUS_IP> sessionid=1a60d56c1deb585e05bf126aa4fe at 11/09/10 11:19:15,837- Virtual domain is enabled
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.agent.ClientOptionsAgent Thread httpSSLWorkerThread-443-37 ipaddress=<PREVIOUS_IP> sessionid=1a60d56c1deb585e05bf126aa4fe at 11/09/10 11:19:15,839- client preferences not found for domain: siue.edu
    ...and how it's completely different from the other user's session ID. (One odd note -- the other user's browser asks for get_allprefs.iwc, but the affected user's browser doesn't until much later when, after seeing the incorrect mailbox, tried to rectify the problem by closing their browser and revisiting the domain, which bounced them off to main.html since they (apparently) had a valid session:
    From Glassfish's access logs:
    "<AFFECTED_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:24:48 -0600" "GET / HTTP/1.1" 200 279
    "<AFFECTED_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:24:48 -0600" "GET /iwc/ HTTP/1.1" 302 0
    "<AFFECTED_IP>" "NULL-AUTH-USER" "09/Nov/2010:11:24:48 -0600" "GET /iwc_static/layout/main.html?lang=en-us&14.01_234924 HTTP/1.1" 200 8856
    And from Convergence's iwc.log:
    AUTH: DEBUG from com.sun.comms.client.web.sso.SSOFilter Thread httpSSLWorkerThread-443-36 ipaddress=<AFFECTED_IP> sessionid=1a60de74f3d0ef2780bc181221e2 at 11/09/10 11:24:50,928- SSO is disabled
    AUTH: DEBUG from com.sun.comms.client.web.auth.IwcAuthController Thread httpSSLWorkerThread-443-36 ipaddress=<AFFECTED_IP> sessionid=1a60de74f3d0ef2780bc181221e2 at 11/09/10 11:24:50,934- Found a valid session, redirecting user to the main view page
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.agent.ClientOptionsAgent Thread httpSSLWorkerThread-443-36 ipaddress=<AFFECTED_IP> sessionid=1a60de74f3d0ef2780bc181221e2 at 11/09/10 11:24:50,952- client preferences not found for domain: siue.edu
    AUTH: DEBUG from com.sun.comms.client.web.sso.SSOFilter Thread httpSSLWorkerThread-443-37 ipaddress=<AFFECTED_IP> sessionid=1a60de74f3d0ef2780bc181221e2 at 11/09/10 11:24:51,947- SSO is disabled
    PROTOCOL: DEBUG from com.sun.comms.client.protocol.ProtocolEngineServlet Thread httpSSLWorkerThread-443-37 ipaddress=<AFFECTED_IP> sessionid=1a60de74f3d0ef2780bc181221e2 at 11/09/10 11:24:51,949- Iwc Protocol command issued: get_allprefs.iwc
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.UserPrefsCommandDelegate Thread httpSSLWorkerThread-443-37 ipaddress=<AFFECTED_IP> sessionid=1a60de74f3d0ef2780bc181221e2 at 11/09/10 11:24:51,951- get_allprefs.iwc : Service is not enabled : smime
    CONFIG: DEBUG from com.sun.comms.client.web.ServerConfiguration Thread httpSSLWorkerThread-443-37 ipaddress=<AFFECTED_IP> sessionid=1a60de74f3d0ef2780bc181221e2 at 11/09/10 11:24:51,952- Virtual domain is enabled
    PROTOCOL: WARN from com.sun.comms.client.protocol.delegate.agent.ClientOptionsAgent Thread httpSSLWorkerThread-443-37 ipaddress=<AFFECTED_IP> sessionid=1a60de74f3d0ef2780bc181221e2 at 11/09/10 11:24:51,954- client preferences not found for domain: siue.edu
    (Again, what's odd is that the JSESSIONID changes again.)
    I thought initially that it may be a pooling problem, so I decided to check out the logs for the Sun ONE Directory Server that this instance of Convergence is connected to and:
    [09/Nov/2010:11:19:14 -0600] conn=407075 op=22106 msgId=86900 - SRCH base="o=siue.edu,o=usergroup" scope=2 filter="(uid=<INCORRECT_USER>)" attrs="* isMemberOf"
    [09/Nov/2010:11:19:14 -0600] conn=407075 op=22106 msgId=86900 - RESULT err=0 tag=101 nentries=1 etime=0
    [09/Nov/2010:11:19:14 -0600] conn=408714 op=2173 msgId=86901 - BIND dn="uid=<INCORRECT_USER>,ou=People,o=siue.edu,o=usergroup" method=128 version=3
    [09/Nov/2010:11:19:14 -0600] conn=408714 op=2173 msgId=86901 - RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=<INCORRECT_USER>,ou=people,o=siue.edu,o=usergroup"
    [09/Nov/2010:11:19:14 -0600] conn=408784 op=4786 msgId=86902 - SRCH base="o=siue.edu,o=usergroup" scope=2 filter="(uid=<INCORRECT_USER>)" attrs="* isMemberOf"
    [09/Nov/2010:11:19:14 -0600] conn=408784 op=4786 msgId=86902 - RESULT err=0 tag=101 nentries=1 etime=0
    [09/Nov/2010:11:19:14 -0600] conn=408714 op=2174 msgId=86903 - BIND dn="uid=<INCORRECT_USER>,ou=People,o=siue.edu,o=usergroup" method=128 version=3
    [09/Nov/2010:11:19:14 -0600] conn=408714 op=2174 msgId=86903 - RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=<INCORRECT_USER>,ou=people,o=siue.edu,o=usergroup"
    But two different LDAP connections.... well, actually four... searched for and bound to the other user's username.
    The other interesting thing I found was while I was searching for the other user's username in the LDAP logs -- earlier I pointed out an interesting entry about "creating a Comms user"; however, the other user logged in previously to Convergence:
    [08/Nov/2010:21:23:10 -0600] conn=407075 op=18839 msgId=75351 - SRCH base="o=siue.edu,o=usergroup" scope=2 filter="(uid=<INCORRECT_USER>)" attrs="* isMemberOf"
    [08/Nov/2010:21:23:10 -0600] conn=407075 op=18839 msgId=75351 - RESULT err=0 tag=101 nentries=1 etime=0
    [08/Nov/2010:21:23:10 -0600] conn=408714 op=680 msgId=75352 - BIND dn="uid=<INCORRECT_USER>,ou=People,o=siue.edu,o=usergroup" method=128 version=3
    [08/Nov/2010:21:23:10 -0600] conn=408714 op=680 msgId=75352 - RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=<INCORRECT_USER>,ou=people,o=siue.edu,o=usergroup"
    I'm stumped -- anyone have any ideas why this is happening to us? (Due to these problems, we've been forced to shutdown our Convergence servers and redirect users to another older webmail product until this is fixed.)

    >
    The other interesting thing I found was while I was searching for the other user's username in the LDAP logs -- earlier I pointed out an interesting entry about "creating a Comms user"; however, the other user logged in previously to Convergence:"creating a Comms user" => means creating user object in memory using details in the LDAP and configuration, it does not create a User entry in LDAP.
    Can you please provide following details:
    - version of Convergence
    - output of 'iwcadmin -l'
    - full iwc.log and glassfish access log file

  • Facebook social sharing - login failed error

    I have setup my app for social sharing following the http://helpx.adobe.com/digital-publishing-suite/kb/setting-dps-app-social-networking.html instructions
    However, when I test my development app, whilst it allows me to select Facebook from the social sharing drop-down, and gives the option to allow Facebook to access my basic profile info and list of friends, once I have done this, I then get the following error message:
    "Login Failed. Please log in to Facebook and authorize "app name" through the iOS device settings or through the Facebook iOS application".
    I have also found I get the same error when I try to share from other downloaded 3rd party newsstand publications - though not all of them?  So am not sure whether this is something to do with:
    1. how I've configured  social sharing in my app (and if so, then  other publications have also incorrectly configured theirs)
    2. the settings on my own iPad - although these all seem to be in order, my app name doesnt appear in my Facebook settings to enable me to authorise login
    On previously speaking with Adobe Support - I understand that I only need to register an app with Facebook to get an App ID, rather than fully create a Facebook app and get this approved (A process which I understand takes months?)
    On re-reading the instructions, I have not yet completed the additional suggested Facebook SDK configuration "Implement Single Sign-On (SSO)" via XCode. Just wondering before I embark on this if this is actually the issue?
    Would be very grateful for any advice/clarification on the above
    Many thanks

    I tried a few things, but I'm not entirely sure exactly which of them resolved it:
    1.   I began by starting  the "Implement Single Sign-On" instructions by following the links at the bottom of the Adobe instructions page under "Additional Facebook configuration information"
         http://helpx.adobe.com/digital-publishing-suite/kb/setting-dps-app-social-networking.html
         https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/#implementsso
         https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/
         I completed steps 1 - 5 on the last link - but stopped at the step 6 - start coding - as this got a bit beyond me (I'm not a programmer!)
    2.  I then looked back at the settings in the Facebook app, and under permissions, changed the Default Activity Privacy to Public, and the Auth Token Parameter to URI Fragment (#acces_token=...)
    I would perhaps try adjusting your FB settings first and see if this solves it before trying the Xcode route.
    (I fed my findings back to Adobe Support to see if they could shed any light on this, but heard nothing back).
    Please let me know how you get on and if this works for you
    Kind regards
    Sharon

  • The parameter 'token' cannot be a null or empty string sharepoint

    Hello ,
    I am trying to create SharePoint 2013 web app for office 365 using visual studio 2012. when i debug and run the SharePoint custom web app then it show the error ("the parameter 'token' cannot be a null or empty string") in the
    TokenHelper.cs file.
    Please help me on urgent basis.
    Mail me at : [email protected]
    Here is the screenshot in the TokenHelper.cs file.
            public static SharePointContextToken ReadAndValidateContextToken(string contextTokenString, string appHostName = null)
                JsonWebSecurityTokenHandler tokenHandler = CreateJsonWebSecurityTokenHandler();
                SecurityToken securityToken = tokenHandler.ReadToken(contextTokenString);
    In this section i get that error.
                JsonWebSecurityToken jsonToken = securityToken as JsonWebSecurityToken;

    you can go to <yoursiteurl>/_layouts/appregnew.aspx to create a new AppPrincipal, generating a client ID and client secret.  Once generated, copy the client ID from that page into your app manifest and web.config.
    http://msdn.microsoft.com/en-us/library/office/jj687469.aspx
    Check the below two links
    http://blogs.msdn.com/b/kaevans/archive/2013/04/05/inside-sharepoint-2013-oauth-context-tokens.aspx
    http://msdn.microsoft.com/en-us/library/fp179932.aspx
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • SharePoint 2013 - The parameter 'token' cannot be a null or empty string

    Hi all,
    I am trying to create SharePoint 2013 web app for office 365 using visual studio 2012. when I run the SharePoint web
    app then it show the error "the parameter 'token'
    cannot be a null or empty string" in the TokenHelper.cs file.
    this is the url i'm using: 
    $(function () {
    $('#exportToExcelBtn').click(function () {
    window.location = "https://xx.sharepoint.com/ENPages/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List={803B55DA-B973-4EF4-92ED-F61DFD016D7C}&View={A6282A16-299E-407D-A25A-14E05AB23AE7}&CacheControl=1";
    is it good?
    I checked that key "clientID" and "cleantSecret" contains values.
    what else can it be?

    in order to authenticate the app standard token should be submitted along with the url 
    check the below url
    http://msdn.microsoft.com/en-us/library/office/jj163816(v=office.15).aspx
    This combines five other tokens. It initially resolves to SPHostUrl={HostUrl}&SPAppWebUrl={AppWebUrl}&SPLanguage={Language}&SPClientTag={ClientTag}&SPProductNumber={ProductNumber}.
    Then each of these tokens resolves. If there is no app web, the portion &SPAppWebUrl={AppWebUrl} is
    not present.
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • A Multi Segments to ONE parameter/token ?

    I have a report which query using the (GL_Account) which is the only parameter needed, and it has a value set in the application,
    but my problem is that how i will assign it to a token in the report,
    i mean, as you know the GL_Account is a desc flexfield made of many segments (segment1 , segment2, segement3,...) like this 11.61100014.000.0000
    So how we will assign it to one parameter (token)?
    If we made a parameter called p_account,
    how we will use it in the where condition ?
    WHERE ????? = :p_account ?
    i Hope u got me :-/

    Define another parameter, chart_of_accounts_id, wit value set indicated in image1, and a lower sequence that the one for the code combination. The fact is that there can be many COA's, and different accounting flexfield validations for each one, so to adequately identify it this parameter needs to be passed. From a standard report, copy also the default type and default value.
    Review the Flexfields guide on the reporting section, as You'll need to code a before report trigger and define some lexical parameters.

  • When appropriate to NOT have a resourceID parameter in AADSTS token request?

    the Azure API Manager web app (a web service proxy) has a developer console - that makes oauth2 calls to AAD just fine. Up pops a browser windows that concludes authorization, and the web app attempt to convert code to token.
    AADSTS rejects the request, objecting to the lack of resource parameters, in the posted parameter set.
    MSDN markets the resource parameter as optional.
    So how does one configure an AAD app so that the consuming app does NOT need to nominate the resource?
    Essentially, the app is a classical oauth2 webapp, acting as a confidential client, having a clientid/clientsecret credentials and the redirect secret.
    This use of api manager to send oauth2 request is NOT related to a similar oauth2 integration between APIM and AAD, in which one logs into the developer web app itself, using an openid connect flows.

    Greetings, Peter!
    Please confirm if you are talking about the “Resource” Parameter in an OAuth flow. Could you please share the MSDN documentation you are referring to which states the use of “Resource” Parameter as optional?
    If it’s OAuth flow (which is likely looking at your question), then this is what Resource parameter is being used for:
    Resource parameter depicts the identifier of the WebAPI that your client wants to access on behalf of the user. Most flows in OAuth involve 4 parties, the resource owner (aka user), the client (aka app), the authority (aka identity provider) and the resource
    (aka webapi). The audience of the access token that the authority generates is the resource identifier.
    In the case of Azure AD, you can either use the Client ID or the App ID URI of the resource WebAPI (Find them in the configure tab of the Azure AD application in the Azure Management portal). For instance, if I want my client to get a token
    to access the Azure AD Graph API on behalf of the user, I would request for a token for resource "https://graph.windows.net".
    Thank you,
    Arvind

  • When I add an opendocument login token, it wipes out my parameter/prompt response in the Redirect URL

    I am having this issue and I wonder if anyone has any pointers?
    When I send the URL with the single prompt response &lsSPrompt0=1234567 it works fine but I have to login to InfoView.
    So I created a login token .jsp and that took care of the login for InfoView, but it also killed my prompt value.
    The code that I got from another site that does the same thing I WANT to do seems to create a cookie to store the passed prompt value in, then it creates a login token, then it assembles it all in the redirect URL and sends it to the openDocument.jsp.
    The login token works like a champ, but the prompt value (initially passed in to the cookie as "Prompt0") ends up passing from the Redirect URL to the openDocument.jsp with a value of NULL (lsSPrompt0=NULL).
    In my lack of knowledge, I am thinking maybe it has something to do either with how the cookie is being created, how it is being passed, or how/if it is getting stored at the target.  The cookie/token.jsp and the openDocument.jsp are in different folders on the same domain.
    So, I pass this URL:
    http://server:8080/InfoViewApp/token.jsp?&lsSPrompt0=1234567
    The token.jsp that it hits looks like this:
    So, the redirect winds up hitting the target looking like this:
    http://server:8080/OpenDocument/opendoc/openDocument.jsp?token=logonToken&iDocID=45227708&sKind=FullClient&lsSPrompt0=NULL&NAII=N&buttonrefresh=hide&buttonexport=hide
    Obviously, my problem is this:  lsSPrompt0=NULL
    Any pointers or nuggets of wisdom are GREATLY appreciated?
    Also of note, I wasn't sure if I needed to publish this token.jsp as a Webapp to Tomcat.
    I just placed the .jsp file in the folderTomcat5.5/webapps/InfoViewApp (same location as the client who has it working).
    Do I need to publish it?  Is that part of the problem?
    I am a little out of my realm here but trying to learn!
    We are on BOXI R2, Tomcat 5.5, JAVA, and I am having the same behavior on my personal XI 3.0 server too
    Thanks in advance,
    Randy

    I believe it's storing the info in a cookie so that it can be used later.  You don't mention which version of BO you're using, but I've sometimes found that the logon tokens created in 4.x contain special characters and may need to be URL encoded.  Also, I've found that it helps to put the logon token at the end of the URL after any parameters instead of in the middle before the parameters.
    -Dell

  • SAP parameter token - Crystal Report 8.8

    Hi,
    When I want to create a parameter for selection of BPCode, myparameter@select * from OCRD works well.  The idea of filtering with properties etc is fantastic.
    However, what I need is to create a parameter with value in AddID in OCRD.
    I have tried myparameter@select AddID from OCRD, but, it is not displaying the list for AddID capture in OCRD, instead, it display the same UI as myparameter@select * from OCRD.
    How do I get by this?
    I have tried, range, multiple value, does not work at all.
    Did I miss something?

    Gordon,
    Thanks for replying.
    I want to create parameter, as simple as that.  Parameter should not be restricted with key value.
    In standard Crystal Report, you can create parameter, if you set it as Dynamic, set it to refer to any table field,  and use it in report, when running the report, the parameter will be populated with value of the referred field.
    How does this work with SAP 8.8?
    Are we suppose to use syntax like myparameter@select AddID from OCRD or we just create dynamic parameter as normal?
    I have tried both and it does not seems to work properly.
    1. If i use myparameter@select AddID from OCRD, it comes out with selecting for OCRD will all those properties, which I am not interested.
    2. If I create a dynamic parameter, when runnign the reprot within SAP, nothing has come out on the list for selection.
    Has anyone tried that? 
    No, SQL Command is not what I am interestded,

  • Parameter causes invalid column type in custom iSetup API

    I have written a custom BC4J API that has 1 parameter. The extract operation for this API worked earlier with no parameter defined. Now I have defined 1 parameter, and specified 1 value for the parameter, and upon extraction, I get this error:
    Name: XXECSS_AZ_AKCUSTOMREGIONS
    Type: BC4J
    Path: oracle.apps.xxecss.isetup.server.AkCustomRegionsAM
    Time Taken(seconds): 1.0
    Logging parameter criteria xml
    <?xml version="1.0"?><parameters><conjunction>AND</conjunction><language></language><mode type="Import"> </mode> <mode type="Export"><param type="NameValuePair" seq="1" display="DisplayEnabled" editable="Editable"><operator>LIKE</operator><separator> </separator><name>CustomizationCode</name><value>1251058748512EGO_ITEM_RESULT_D</value><msgcode></msgcode><appcode></appcode><filtercode>CCFILTER</filtercode><datatype>java.lang.String</datatype><sqlforlov>SELECT DISTINCT CUSTOMIZATION_CODE CustomizationCode FROM AK.AK_CUSTOM_REGIONS</sqlforlov><sqlforlovcol></sqlforlovcol><param1>Customization Code</param1></param></mode> </parameters>
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT AkCustomRegionsEO.CREATED_BY,
    AkCustomRegionsEO.CREATION_DATE,
    AkCustomRegionsEO.CRITERIA_JOIN_CONDITION,
    AkCustomRegionsEO.CUSTOMIZATION_APPLICATION_ID,
    AkCustomRegionsEO.CUSTOMIZATION_CODE,
    AkCustomRegionsEO.LAST_UPDATED_BY,
    AkCustomRegionsEO.LAST_UPDATE_DATE,
    AkCustomRegionsEO.LAST_UPDATE_LOGIN,
    AkCustomRegionsEO.PROPERTY_NAME,
    AkCustomRegionsEO.PROPERTY_NUMBER_VALUE,
    AkCustomRegionsEO.PROPERTY_VARCHAR2_VALUE,
    AkCustomRegionsEO.REGION_APPLICATION_ID,
    AkCustomRegionsEO.REGION_CODE
    FROM AK.AK_CUSTOM_REGIONS AkCustomRegionsEO) QRSLT WHERE ((CUSTOMIZATION_CODE LIKE :1 ));
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.az.fwk.server.BEExport.exportToXML(BEExport.java:525)
         at oracle.apps.az.fwk.server.BEApplicationModuleImpl.exportToXML(BEApplicationModuleImpl.java:403)
         at oracle.apps.az.r12.api.BC4JAPI.exportAPI(BC4JAPI.java:256)
         at oracle.apps.az.r12.extractor.cpserver.APIExtractor$APIExecuter.run(APIExtractor.java:635)
    ## Detail 0 ##
    java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:9231)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8812)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:9534)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:9560)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4511)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.apps.az.fwk.server.BEExport.exportToXML(BEExport.java:514)
         at oracle.apps.az.fwk.server.BEApplicationModuleImpl.exportToXML(BEApplicationModuleImpl.java:403)
         at oracle.apps.az.r12.api.BC4JAPI.exportAPI(BC4JAPI.java:256)
         at oracle.apps.az.r12.extractor.cpserver.APIExtractor$APIExecuter.run(APIExtractor.java:635)
    Status: ERROR
    The data type used is java.lang.String, and the value used is : 1251058748512EGO_ITEM_RESULT_D.
    using the query shown here, replacing the :1 bind variable with this value works fine. I'm wondering if I need to use a different data type, something more specifically supported by the iSetup Framework?

    Never Mind. I found the problem. It turns out it was that the VO's in the API were set to OracleNamed Binding, and it should be OraclePositional (Oracle) type binding.

Maybe you are looking for

  • How to re-arrange my reading list

    How does one re-arrange the sequence of entries in the reading list?  (iOS 7 on iPad mini)

  • Hard Drive Crashes (multiple on same Macbook)

    Hi! Ok so in July the first hard drive on my son's Macbook crashed. And not just a simple crash. It just clicked and sputtered, and was completely dead. Did not show up in DiskUtility when I booted from the CD, nor could I read it using anything I co

  • How can i retrieve deleted pictures on imac

    I was trying to transfer all my images to my external USB drive, and I forgot to eject the USB drive and I deleted the pictures and I guess the photos deleted from the USB drive also. what can I do to bring those pictures back? they are important pic

  • Reader x will not allow me to convert word files to pdf

    reader x will not let me convert word files to pdf's, even word files that have been converted before. unable to get support through adobe...

  • Migration to DS 5.2

    Old version: 5.1 sp2 HF2 New version: 5.2 Migration script works great except for the password history settting. The old server had password history enabled, but after migration the new version of the server has this option disabled. Has any of you h