Failed to edit context value via OAM

I was modifying a new value to PERL5LIB variable through OAM as below:
/d001/app/oracle1/product/10.2/perl/lib/5.8.3::/d001/app/oracle1/product/10.2/perl/lib/site_perl/5.8.3::/d001/app/oracle1/product/10.2/perl/lib::/d001/app/oracle1/product/10.2/appsutil/perl
==>
/d001/app/oracle1/product/10.2/perl/lib/5.8.3:/d001/app/oracle1/product/10.2/perl/lib/si te_perl/5.8.3
I saved the change via the OAM.
Then I stop services on concurrent manager, admin node and form and web server. Then I ran autoConfig on three Tiers. Autoconfig completed successfully on application tiers, but it completed with error on database tier.
I found the PERL5LIB value has not been changed to the new value which I set via OAM in both context file and environment file son database tier.
I am wondering how the variable could not be changed. Did I implement the order correctly?
Could anyone help me out for this situation? Thanks,
Feng

Did you change the value in the Context File on the database tier? Please verify the value of "s_perl5lib" in the Context File.
To define the PERL5LIB environment variable, you need to do the following:
On the Application Tier:
$ PERL5LIB=<IAS_ORACLE_HOME>/Apache/perl/lib/5.00503:<IAS_ORACLE_HOME>/Apache/perl/lib/site_perl/5.005:<AU_TOP>/perl
$ export PERL5LIB
On the Database Tier:
$ PERL5LIB=<ORACLE_HOME>/Apache/perl/lib/5.00503:<ORACLE_HOME>/Apache/perl/lib/site_perl/5.005:<ORACLE_HOME>/appsutil/perl
$ export PERL5LIB

Similar Messages

  • Adautoconfig.cmd error "Error: Context value Management Failed."

    Starting Autoconfig at wed Nov 10 16:38:56 2010
    using adconfig.pl version 115.82
    classpath :c:\jdk13\jre\lib\rt.jar;c:\jdk13\jre\lib\i18n.jar;c:\jdk.........more jdk files locations
    Starting utility to Report version conflicts at wed Noc 10 16:38:57 VET 2010
    Using VersionConflictListGenerator.java version 115.4
    All driver files processed.
    No version conflict encountered.
    using Context file :F:\oracle\prodappl\admin\TEST_XXXXX.xml
    Attempting to create a back up of the Context file
    Create back up file of name :
    f:\oracle\prodappl\admin\TEST_XXXXX\our\11101638\TEST_XXXXXXdb.xml
    Starting synchronization of file system context file and its templates with those in the database.
    Error: Context value Management Failed.
    Terminated.
    The logfile for this session is located at :
    xxxxxxxlocationxxxxxxxxxxxxxxxxxx
    Dear all , the above log file created after adcfgclone in appsTier, is any one tel me what is the problem,, where what may went wrong,, am not getting any clear idea about this,,

    This is the excate error while running adautoconfig*
    Context Value Management will now update the Context file
    Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Savepoint
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    +6)+
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:551)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:172)
    at oracle.apps.ad.util.DBUtil.getConnectionUsingSID(DBUtil.java:253)
    at oracle.apps.ad.util.DBUtil.getConnection(DBUtil.java:410)
    at oracle.apps.ad.util.DBUtil.getConnectionUsingAppsJDBCConnector(DBUtil
    +.java:590)+
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.getDBConnection(
    FileSysDBCtxMerge.java:760)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.initializeParams
    +(FileSysDBCtxMerge.java:147)+
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.setParams(FileSy
    sDBCtxMerge.java:128)
    at oracle.apps.ad.context.CtxValueMgt.mergeCustomInFiles(CtxValueMgt.jav
    a:1762)
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:15
    +79)+
    at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:709)
    Error returned from java. Context Value Management was aborted
    ERROR: Context Value Management Failed.
    Terminate.
    The logfile for this session is located at:
    f:\oracle\prodappl\admin\TEST_ppclone5db\log\11110958\adconfig.log
    F:\oracle\prodcomn\admin\scripts\TEST_ppclone5db>
    Previously while running the adcfgclone.pl in appsTier we faced error...
    Tail details of the ApplyAppsTier_xx.log
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Script Success, Profiles set.
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    Product Top Drivers executed : AD_TOP FND_TOP ICX_TOP IEO_TOP ABM_TOP ECX_TOP BIS_TOP GL_TOP AMS_TOP CCT_TOP WSH_TOP CLN_TOP OKE_TOP OKL_TOP OKS_TOP CSF_TOP XNC_TOP IGS_TOP IBY_TOP PA_TOP JTF_TOP MWA_TOP CN_TOP CSI_TOP WIP_TOP CSE_TOP EAM_TOP IMT_TOP FTE_TOP ONT_TOP AR_TOP AHL_TOP OZF_TOP IES_TOP CSD_TOP IGC_TOP
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adgendbc.cmd INSTE8_SETUP 1
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adsvalsn.cmd INSTE8_APPLY -1
    adsvcm.cmd INSTE8_APPLY 1
    Directory: f:\oracle\prodora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe -I f:\oracle\prodora\iAS\Apache\perl\5.00503\lib\MSWin32-x86 -I f:\oracle\prodora\iAS\Apache\perl\5.00503\lib -I f:\oracle\prodora\iAS\Apache\perl\site\5.00503\lib\MSWin32-x86 -I f:\oracle\prodora\iAS\Apache\perl\site\5.00503\lib -I f:\oracle\prodappl\au\11.5.0\perl f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adadmat.pl INSTE8_APPLY 256
    AutoConfig is exiting with status 4
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyApplTop
    Completed ApplyApplTop.
    ERROR: AutoConfig completed with errors. Check logfile at f:\oracle\prodappl\admin\TEST_ppclone5db\log\ApplyAppsTier_11101111.log for details.
    # Checking the status of AutoConfig run of ApplyApplTop
    Warning : AutoConfig has completed with errors .
    Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line after fixing the problem
    Dear Kindly let me know what is the mistake we have done in this
    Edited by: user9111553 on Nov 11, 2010 8:15 AM

  • ERROR:Context Value Management Failed adconfig.cmd

    hi,
    when attempting to run %ORACLE_HOME%/ad/11.5.0/cin> adconfig.cmd contextfile=%CONTEXT_FILE_LOCATION%
    its gives error in log file as.
    ERROR:Context Value Management Failed
    Terminate
    Regards
    ***SBJ***

    Hi SBJ;
    1.Open cmd prompt
    in cmd prompt oracle/prodappl>APPSORA.cmd
    oracle/prodcomn/admin/scripts/PROD_<host_name>>adautocfg.cmd
    Starting up Autoconfig engine...
    Fri 06/11/2010
    03:47 PM
    The System Cannot Find the drive specified.
    completed execution of Autoconfig
    Oracle/prodcomn/admin/scripts/PROD_<host_name>>
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------You have rename or changed driver name(like change C driver to Z) or path?(C:\oracle to C:\Oracle)
    You type oracle/prodcomn/admin/scripts/PROD_<host_name>>adautocfg.cmd but it seems its look Oracle/prodcomn/admin/scripts/PROD_<host_name>
    can you change oracle to Oracle and retest please
    Regard
    Helios

  • ERROR: Context Value Management Failed. Terminate. Running AutoConfig on DB

    Hi
    I got the below error while running the autoconfig on DB node in 11i environment
    ERROR: Context Value Management Failed.
    Terminate.
    Current Version of DB 10.2.04
    OS - HP 11.11
    Environment 11.5.10.2
    We are trying to DR to turn stand by to test. Now the database is up and running. When i tried to run autoconfig on DB node i got below error.
    ./adautocfg.sh
    Enter the APPS user password:
    AutoConfig is configuring the Database environment...
    AutoConfig will consider the custom templates if present.
    Using ORACLE_HOME location : /d01/app/oracle/fsproddb/10.2.0
    Classpath :
    /d01/app/oracle/fsproddb/10.2.0/jre/1.4.2/lib/rt.jar:/d07/app/oracle/proddb/10.2.0/jdbc/lib/ojdbc14.jar:/d07/app/oracle/proddb/10.2.0/appsutil/java/xmlparserv2.zip:/d01/app/oracle/proddb/10.2.0/appsutil/java:/d01/app/oracle/proddb/10.2.0/jlib/netcfg.jar:/d01/app/oracle/proddb/10.2.0/jlib/ldapjclnt10.jar
    ERROR: Context Value Management Failed.
    Terminate.
    Need Help to fix this issue.
    Thank You In advance.
    Kumar.

    The Log file has below.
    /d01/app/oracle/fsproddb/10.2.0/appsutil/scripts/PROD_fss $ ./adautocfg.sh
    Enter the APPS user password:
    AutoConfig is configuring the Database environment...
    AutoConfig will consider the custom templates if present.
    Using ORACLE_HOME location : /d01/app/oracle/proddb/10.2.0
    Classpath :
    /d01/app/oracle/proddb/10.2.0/jre/1.4.2/lib/rt.jar:/d01/app/oracle/proddb/10.2.0/jdbc/lib/ojdbc14.jar:/d01/app/oracle/proddb/10.2.0/appsutil/java/xmlparserv2.zip:/d01/app/oracle/proddb/10.2.0/appsutil/java:/d01/app/oracle/proddb/10.2.0/jlib/netcfg.jar:/d01/app/oracle/proddb/10.2.0/jlib/ldapjclnt10.jar
    ERROR: Context Value Management Failed.
    Terminate.
    Thank You,
    Kumar.

  • ERROR: Context Value Management Failed

    Hi,
    While running autoconfig, i am getting below error
    =================================
    ./adautocfg.sh
    Enter the APPS user password :
    Context Value Management will now update the Context file
    Exception in thread "main" java.lang.NoSuchMethodError: oracle.apps.ad.context.S toreDataOfFile.getChkListConditions()Ljava/util/Vector;
    at oracle.apps.ad.context.ContextSelfHeal.doTranslate(ContextSelfHeal.ja va:2073)
    at oracle.apps.ad.context.ContextSelfHeal.updateContext(ContextSelfHeal. java:1426)
    at oracle.apps.ad.context.ContextSelfHeal.startProcess(ContextSelfHeal.j ava:822)
    at oracle.apps.ad.context.CtxValueMgt.processCSH(CtxValueMgt.java:1305)
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:16 21)
    at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:709)
    ERROR: Context Value Management Failed.
    Terminate.
    The logfile for this session is located at:
    /d05/u06/applmgr/ndevappl/admin/ndev_sflxap05/log/09231831/adconfig.log
    ================================================
    By following Running Autoconfig : Context Value Management Failed [ID 285422.1]
    i moved the two classes.
    Even then getting the same issue.
    Thanks,

    Hi,
    By following the note, i tried to apply patch 9535311.
    It is failed. The adworker log showing below error.
    drop public synonym ad_ddl
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04068: existing state of packages has been discarded
    ORA-04065: not executed, altered or dropped stored procedure
    "SYS.DBMS_STANDARD"
    ORA-06508: PL/SQL: could not find program unit being called:
    "SYS.DBMS_STANDARD"
    ORA-06512: at "SYS.DICTIONARY_OBJ_TYPE", line 3
    create public synonym ad_inst for system.ad_inst
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    Thanks,

  • Exception in thread "main" Context Value Management Failed.

    Hi
    I am facing one issue when i regenerate autoconfig.
    We are running Multi Node installation of Oracle EBS on SUN O.S, and
    when I regenerate Autoconfig, I am getting
    Using AutoConfig to configure the Applications environment
    Loading APPL_TOP environment from /u11/oracle/k24eb1appl
    Verifying Context file ...
    found context version : 115.121
    minimum required version : 115.121
    available update version : 115.178
    An update for the Context File is available.
    java.lang.NullPointerException
    at oracle.apps.ad.context.CtxValueMgt.main(Compiled Code)
    Exception in thread "main" Context Value Management Failed.
    Exiting with status 1
    Any Solutions pls
    Reg
    Sundar

    Cross posted in java-forums.
    OP, please do not cross-post without notification such as links to the other cross-posts. Nobody likes duplicating work that's already been done.

  • Edit Base value percentage ( ANLBZW ) via AS01 or AS02?

    Hello, Experts.
    I need to know HOW to edit the base value percentage ( asset specific ).
    I found that the data are stored in ANLBZW, but we want to edit the data
    via any ASSET-transactions( eg, AS02 AS03, and so on... )
    I can just see the records via AS02, but it is impossible to ADD or EDIT the record.
    Anybody know how to allow to edit the base value percentages?
    Thank you in advance.

    Hi,
    CU: FI-AA:
      -> Depreciation
         -> Valuation Methods
           -> Depreciation Key
            -> Further Settings
              -> Specify Asset-Specific Base Value Percentages
    AS02
       - Double Click on depreciaion areas
          - Button  Base Value Percentages
    Regards Bernhard

  • How to Populate oblastsuccessfullogin via OAM in OID ???

    Can anybody please tell me how can I populate OID field name 'oblastsuccessfullogin' using OAM ?
    What do I need to do on OID (LDAP) end? and what steps I need to take in OAM to configure this?
    Our users are authenticated via OAM as soon as they provide their credentials on a portal page (URL).
    Any hints/clues please??
    Thanks,
    - JHB.

    I think you need to create a custom plugin to create the value of new attribute and populate it, may be post plugin in OID.
    Java Server Plug-in Developer's Reference

  • Web dynpro welcome example edit context mapping problem

    hi,
    i tried to build a web dynpro like the welcome example from web dynpro.
    so i created the views etc, created an atrribute matnr  in the context of the component.
    then i connected the other views with the component. for this i used the required controllers.
    so, now i created a attribute nr in the context of the other view and wanted to connect it with matnr from beginning with edit context mapping.
    but in the shown context is not the attribute matnr. there is no attribute.
    any idea what went wrong or is there something that i missed?
    thank you

    Hi Marcus,
    Do one thing Create Value Attribute under Context like(matnr). Next Right Click on Webdynpro Component Click on Open Data Modular that time it will open data modular View. Here we are doing Context Mapping to Component Controller to View Controller that time Same Value Attribute will be created in View Controller also.
    In context mapping, the actual context data is saved only once in the original node. All other context nodes that are mapped to this original node reference the same contents, without having to save it again, for example using copies. In this way, inconsistent context contents are avoided.
    Please look at this simple WDJ Application. http://help.sap.com/saphelp_nw04/helpdata/en/bc/e4d61774174344a4b126ad07e8c230/content.htm
    I hope this is help full for you,
    Regards
    Vijay

  • Oracle APP'S Installations Context Value Management Could not started

    oracle APP'S Installations Context Value Management Could not started
    how it is started

    Fadi, Context Value Management runs during Rapid Install or AutoConfig to make sure the context file is in good order. If it fails at the time of the installation, then most probably you have missing components at the OS level.

  • Edit Context  file sid _ hostname .xml

    Hi,
    How can we edit/make changes context file - specifically while creating new instance by clone.
    Some common options are vi editor and context editor. Is there any tool/command other than these?
    Also please tell me how to evoke context editor.
    Oracle EBS- 11.5.10.2
    Thanks
    CK
    Edited by: Cherrish on Jan 14, 2009 1:34 PM

    It is recommended to use Context Editor or OAM to edit the context file. However, if you are familiar with vi and xml code, you can do and edit the file manually. Make sure you take a backup of the context file before making any changes. The application context file can be located under $APPL_TOP/admin directory.
    More details can be found in the following note:
    Note: 218089.1 - Autoconfig FAQ
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=218089.1

  • Edit local policy via powershell

    Hi,
    i'm searching for a way to edit this policy via powershell : 
    Computer Configuration -> Administrative Templates -> System -> Credentials Delegation ->
    Allow Delegating Fresh Credentials with NTLM-only Server Authentication
    I want to activate it, and put * in value.
    I already tried it, but it doesn't work :
    $allowed = @('WSMAN/*')
    $FreshCredsValueName = "AllowFreshCredentialsWhenNTLMOnly"
    $key = 'hklm:\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation'
    if (!(Test-Path $key)) {
    md $key
    New-ItemProperty -Path $key -Name $FreshCredsValueName -Value 1 -PropertyType Dword -Force
    $subkey = Join-Path $key $FreshCredsValueName
    if (!(Test-Path $subkey)) {
    md $subkey
    $i = 1
    $allowed |% {
    New-ItemProperty -Path $subkey -Name $i -Value $_ -PropertyType String -Force
    $i++
    It doesn't work, Powershell generates me an error "The WinRM client cannot process the request. A computer policy does not allow the delegation of the user credentials to the target computer"
    My computer is not in domain, but in workgroup and i'm running Windows 7 with Powershell v4.0.
    Thanks for your help

    This is how i resolved it : 
    New-ItemProperty -Path 'hklm:\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation' -Name "AllowFreshCredentialsWhenNTLMOnly" -Value 1 -PropertyType Dword -Force
    New-Item -Path 'hklm:\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation' -Name "AllowFreshCredentialsWhenNTLMOnly" -Value "Default Value" -Force
    New-ItemProperty -Path 'hklm:\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation\AllowFreshCredentialsWhenNTLMOnly' -Name "1" -PropertyType "String" -Value '*'

  • Difference betweek adding node via Sysadmin and adding host via OAM

    We have cluster setup at DB node in EBiz 11.5.10.2. After running autoconfig we have to manually add physical host entry in FND_NODES table. We do this via sysadmin > Install > Nodes. But I have seem some difference when we add node via OAM > add new host and sysadmin > install > nodes. Specially if you add host via OAM, it add support_CP value along with hostname, same doesn't happen if you do via sysadmin.
    Did anyone know technical difference between these two approach.

    Here is the X server backtrace I get when I try to open an image in GIMP:
    Backtrace:
    0: /usr/bin/X(xorg_backtrace+0x3b) [0x813017b]
    1: /usr/bin/X(xf86SigHandler+0x51) [0x80d8cb1]
    2: [0xb7fde400]
    3: /usr/lib/xorg/modules//libexa.so [0xb7a07f4c]
    4: /usr/lib/xorg/modules//libexa.so(exaComposite+0x607) [0xb7a08747]
    5: /usr/bin/X [0x8175e5d]
    6: /usr/bin/X(CompositePicture+0x19a) [0x815e86a]
    7: /usr/bin/X [0x810ef9a]
    8: /usr/bin/X [0x811f20d]
    9: /usr/bin/X(miPointerUpdateSprite+0x1ac) [0x8118aec]
    10: /usr/bin/X [0x8118bd5]
    11: /usr/bin/X [0x8145948]
    12: /usr/bin/X [0x81691ee]
    13: /usr/bin/X [0x809378f]
    14: /usr/bin/X [0x8098611]
    15: /usr/bin/X(miSlideAndSizeWindow+0x24e) [0x812734e]
    16: /usr/bin/X(ConfigureWindow+0xab3) [0x8078763]
    17: /usr/bin/X(ProcConfigureWindow+0x9c) [0x808b7ac]
    18: /usr/bin/X(Dispatch+0x34f) [0x808c20f]
    19: /usr/bin/X(main+0x47d) [0x8071c8d]
    20: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7beb6c5]
    21: /usr/bin/X [0x8071071]

  • BizTalk Host Application Adapters - Set Client Context Values

    http://technet.microsoft.com/en-us/library/bb726925(v=bts.10).aspx
    Client Context
    The schema provides the node, TIClientContext, allowing context values to be passed. There are several Client Context properties supported by the adapter, listed in Table 7. However, only two are exposed via the messages passed to the adapter as attributes
    on the root node - the user’s Host credentials to use for the call and the connection timeout value. The Allow Security Overrides property works in conjunction with Client Context and allows the User and Password to be taken from the TIClientContext node in
    the message and used to make the Host program call. In order to access the others, a property schema must be created to add them to the BizTalk Server message context. All of the properties are in the http://microsoft.com/HostApplications/TI/WIP namespace.
    Once created, any of these properties can be set via the BizTalk Message Context.
    Question:
    I am trying to pass LibNameOverride in the Message. I created a property schema and added this promoted property. I am trying to set this value in the Message, but not succesful.
    I tried in the below mentioned ways but not successful
    <ns0:LibNameOverride>ABCDEFG</ns0:LibNameOverride>
    or
    <ns0:TIClientContext TIContextKeyword="LibNameOverride" TIContextValue="ABCDEFG" />
    Thanks, Pavan MCTS-Microsoft Biztalk Windows Server 2010

    Please verify the file version of Microsoft.HostIntegration.Adapters.MsTI.Runtime.dll in the %SNAROOT% folder just to make sure the version.
    You might want to try passing PortOverride with an invalid port to see if you get an error in the Application Event log indicating a problem with the connection indicating that the target machine actively refused the connection and it will include the IP
    address and the invalid port. It is an Event 102 message.
    I passed the following in my sample HIS 2010 Application:
    <ns0:BAHA_ELMLink_GetBal__Accounts__GetBalance__Request TIAssemblyVersion="1.0" xmlns:ns0="http://microsoft.com/HostApplications/TI/WIP">
      <ns0:GetBalanceInDocument>
        <ns0:NAME>Kim Akers</ns0:NAME>
        <ns0:ACCNUM>123456</ns0:ACCNUM>
      </ns0:GetBalanceInDocument>
      <ns0:TIClientContext TIContextKeyword="PortOverride" TIContextValue="7555" />
    </ns0:BAHA_ELMLink_GetBal__Accounts__GetBalance__Request>
    I don't have an AS/400 sample setup, but this test proved that I could pass a client context property in the input XML to my Send Port.
    Also, make sure that you have the "Allowed Advanced Overrides" option in the Send Port set to "Yes" to enable client context override keywords.
    Thanks...
    Stephen Jackson - MSFT

  • Create Partial Fire action on DFF context value in controller extension

    Hi All,
    I have a requirement where I will have to default the DFF attribute value based on the context value chosen in the same DFF.
    Since the page is a seeded page i have done that using Controller Extension.
    I have followed the below steps.
    1.I have created one class file XXR2R_AR_BANK_ACCT_EXTCO
    2. In that file I have written the following piece of code
    +public class XXR2R_AR_BANK_ACCT_EXTCO extends UpdateExtBankAcctCO {+
    public void processRequest(OAPageContext oapageContext,
    OAWebBean webBean)
    +{+
    super.processRequest(oapageContext, webBean);
    OADescriptiveFlexBean dfb =
    +(OADescriptiveFlexBean)webBean.findChildRecursive("FlexField");+ // This is the ID of the flexfield defined in seeded page
    FireAction firePartialAction = new FirePartialAction("contextvalchng");
    +}+
    public void processFormRequest(OAPageContext pageContext,OAWebBean webBean)
    +{+
    super.processFormRequest(pageContext, webBean);
    if ("contextvalchng".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    +{+              
    super.processFormRequest(pageContext, webBean);
    OADescriptiveFlexBean dffBean =
    +(OADescriptiveFlexBean)webBean.findChildRecursive("FlexField");+
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject extVO =
    +(OAViewObject)am.findViewObject("ExtBankAccountsVO");+ *// This is the view name corresponding to the DFF fields*
    String str = "" ;
    OARow row = null;
    if (extVO!=null)
    +{+
    row = (OARow) extVO.getCurrentRow();
    if (row!=null)
    +{+
    str = (String)row.getAttribute("ATTRIBUTE_CATEGORY"); *// here I have retrieved the context value of the DFF*
    +}+
    +}+
    dffBean.processFlex(pageContext);
    if ("DEN".equals(str)) *// if the context value is "DEN" then only the defaulting will be done*
    +{+
    OAMessageTextInputBean mnum = (OAMessageTextInputBean)webBean.findChildRecursive("FlexField1");
    mnum.setText("599956");
    row.setAttribute("ATTRIBUTE13","6995");
    +}+
    3. After compiling the .jave file I have placed the .class file in the CUSTOM_JAVA_TOP location and in the seeded page I have placed this CUSTOM_JAVA_TOP top path (in the personalize page section)exactly in the same way where the .class file is.
    But when I am changing the context value in the DFF nothing is actually happening.It is never including the custom file behavior.
    Please let me know if I am wrong in my coding or my approach.
    Thanks
    Sudie
    Edited by: user10816003 on Jun 21, 2010 5:54 AM
    Edited by: user10816003 on Jun 21, 2010 5:55 AM

    Hi,
    I think you need to set PPR on one of the segment of the DFF. Following is the code snippet I found few days back in forum. Use this in processRequest() method to set the PPR.
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)webBean.findIndexedChildRecursive("ASNPrdtAddInfoFF"); //DFF ID...in your case it is "FlexField"
    if(null != oadescriptiveflexbean)
         oadescriptiveflexbean.processFlex(pageContext);
         //oadescriptiveflexbean.setFlexTableRendered(false); -- useful, if we want to render the items on our own.
         int cnt = oadescriptiveflexbean.getIndexedChildCount(pageContext.getRenderingContext());
         for(int i=0; i<cnt; i++)
              OAWebBean uiNode = (OAWebBean)oadescriptiveflexbean.getIndexedChild(pageContext.getRenderingContext(),i);
              if(null != uiNode && uiNode instanceof OAMessageTextInputBean )
                   System.out.println(i + "::::" + uiNode.getLabel() + "::::" + uiNode.getUINodeName()+ "\n");
                   if(uiNode.getUINodeName().equalsIgnoreCase("ASNPrdtAddInfoFF2")) //Segment ID...you need to find it out..on which segment you want to do PPR
                        FireAction firePartialAction = new FirePartialAction("Event.termChangeEvent", true); //This is I am not sure but it must be the event name
                        uiNode.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR,firePartialAction);
    Now you need to check for this event in processFormRequest() method. If this event fetched iterate the Vo rows and check the Attribute value there. if the value matched then do the defaulting process.
    Hope this helps..
    Regards,
    Mukesh Uchaniya

Maybe you are looking for

  • Lightroom not uploading web gallery to Business Catalyst

    I generated a photo gallery in Lightroom to use on my Business Catalyst hosted site, but when I go to upload the gallery I get an "unknown error has occurred". After searching this on Google, it appears that this is a rather common problem that has b

  • Where to download Oracle Installer v2.3.0.5.0a

    I'm trying to install the latest version of the ODBC driver and it's telling me that I need at least version 2.3.0.5.0a of the installer. I cannot seem to locate where I can get a copy of just that. Do I need to download the client utilities to get t

  • Bank deposit not shown,

    dear experts , please you help me, my issue is  i am posting rs.10 00 000 in the house bank , but it is not shown, please help me , i am the new in sap fi, plz give me solution , and which t.code i use to solved the issue, thanks, akshaya

  • Compate Dates

    I want to compare two dates. Say Purchase Date and Manufacturing Date, If the difference between purchase date is more than 100 days from the manufacturing date, it should return true else false. I tried with creating 2 Date Objects and then comparin

  • IWeb crashes when i want to access a specific page.  Help!

    Everytime I click on one of the pages of my website to update, iWeb freezes and then crashes.  Is there a way for me to fix it or do I have to go to the genius bar?  Last time my iWeb kept crashing and I took it to the genius bar, the only way the pr