ADF chekbox is refreshing and get unclicked on clicking
Hi all,
JDEV 11.1.2.1.0
i am using a fragment in which i use a drag drop a table and then i manually create 1 more column in which i use check box, BUT whenever i clicked on this check box AT RUN TIME then it just refreshes and get
UNCLICKED ... then again if i click on it then it works .....
why should i click on it two times ?
please provide me an easiest solution of it.
THANK YOU.
This table that i am using, problem that we talk about i mentioned bellow....
<af:table value="#{bindings.AdAgmastApprovalView1.collectionModel}" var="row"
rows="#{bindings.AdAgmastApprovalView1.rangeSize}"
emptyText="#{bindings.AdAgmastApprovalView1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.AdAgmastApprovalView1.rangeSize}" rowBandingInterval="0"
selectedRowKeys="#{bindings.AdAgmastApprovalView1.collectionModel.selectedRow}"
selectionListener="#{bindings.AdAgmastApprovalView1.collectionModel.makeCurrent}" rowSelection="single"
id="t1" width="980" inlineStyle="height:130px; border-style:none;">
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Mark.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Mark.label}" id="c13" width="43">
<f:facet name="header">
<af:selectBooleanCheckbox id="sbc2" text="All" binding="#{backingBeanScope.backing_agencynew.sbc2}"
valueChangeListener="#{backingBeanScope.backing_agencynew.allClick}"
autoSubmit="true"/>
</f:facet>
<af:selectBooleanCheckbox value="#{row.bindings.Mark.inputValue}" label="#{row.bindings.Mark.label}" *//HERE IS PROBLEM OF REFRESHING THE CHECKBOX AT RUNTIME*
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Mark.tooltip}" id="sbc1"
binding="#{backingBeanScope.backing_agencynew.sbc1}" autoSubmit="true"/>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Agcode.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Agcode.label}" id="c1">
<af:inputText value="#{row.bindings.Agcode.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.Agcode.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Agcode.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Agcode.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Agcode.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Agcode.tooltip}" id="it3" readOnly="true">
<f:validator binding="#{row.bindings.Agcode.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Agsubcode.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Agsubcode.label}" id="c2" width="70"
frozen="true">
<af:inputText value="#{row.bindings.Agsubcode.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.Agsubcode.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Agsubcode.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Agsubcode.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Agsubcode.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Agsubcode.tooltip}" id="it4" readOnly="true">
<f:validator binding="#{row.bindings.Agsubcode.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Name.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Name.label}" id="c3" width="105" frozen="true">
<af:inputText value="#{row.bindings.Name.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.Name.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Name.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Name.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Name.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Name.tooltip}" id="it5" readOnly="true">
<f:validator binding="#{row.bindings.Name.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.State.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.State.label}" id="c4" width="44" frozen="true">
<af:inputText value="#{row.bindings.State.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.State.label}"
required="#{bindings.AdAgmastApprovalView1.hints.State.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.State.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.State.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.State.tooltip}" id="it6" readOnly="true">
<f:validator binding="#{row.bindings.State.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Loccd.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Loccd.label}" id="c6" width="80" frozen="true">
<af:inputText value="#{row.bindings.Loccd.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.Loccd.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Loccd.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Loccd.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Loccd.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Loccd.tooltip}" id="it8" readOnly="true">
<f:validator binding="#{row.bindings.Loccd.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Centre.name}" sortable="false"
headerText="Billing Office" id="c16" width="70">
<af:inputText value="#{row.bindings.Centre.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.Centre.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Centre.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Centre.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Centre.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Centre.tooltip}" id="it17" readOnly="true">
<f:validator binding="#{row.bindings.Centre.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Ctg.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Ctg.label}" id="c5" width="30" frozen="true">
<af:inputText value="#{row.bindings.Ctg.inputValue}" label="#{bindings.AdAgmastApprovalView1.hints.Ctg.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Ctg.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Ctg.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Ctg.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Ctg.tooltip}" id="it7" readOnly="true">
<f:validator binding="#{row.bindings.Ctg.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Mrvrefno.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Mrvrefno.label}" id="c15" width="60">
<af:inputText value="#{row.bindings.Mrvrefno.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.Mrvrefno.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Mrvrefno.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Mrvrefno.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Mrvrefno.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Mrvrefno.tooltip}" id="it16" readOnly="true">
<f:validator binding="#{row.bindings.Mrvrefno.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Remarks.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Remarks.label}" id="c12" frozen="true">
<af:inputText value="#{row.bindings.Remarks.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.Remarks.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Remarks.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Remarks.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Remarks.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Remarks.tooltip}" id="it14" readOnly="true">
<f:validator binding="#{row.bindings.Remarks.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.HoAgcode.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.HoAgcode.label}" id="c7" width="90">
<af:inputText value="#{row.bindings.HoAgcode.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.HoAgcode.label}"
required="#{bindings.AdAgmastApprovalView1.hints.HoAgcode.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.HoAgcode.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.HoAgcode.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.HoAgcode.tooltip}" id="it9" readOnly="true">
<f:validator binding="#{row.bindings.HoAgcode.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.HoAgsubcode.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.HoAgsubcode.label}" id="c8" width="85">
<af:inputText value="#{row.bindings.HoAgsubcode.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.HoAgsubcode.label}"
required="#{bindings.AdAgmastApprovalView1.hints.HoAgsubcode.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.HoAgsubcode.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.HoAgsubcode.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.HoAgsubcode.tooltip}" id="it10"
readOnly="true">
<f:validator binding="#{row.bindings.HoAgsubcode.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.GrpAgcode.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.GrpAgcode.label}" id="c9" width="90"
rendered="false">
<af:inputText value="#{row.bindings.GrpAgcode.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.GrpAgcode.label}"
required="#{bindings.AdAgmastApprovalView1.hints.GrpAgcode.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.GrpAgcode.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.GrpAgcode.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.GrpAgcode.tooltip}" id="it11" readOnly="true">
<f:validator binding="#{row.bindings.GrpAgcode.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.GrpAgsubcode.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.GrpAgsubcode.label}" id="c10" width="70"
rendered="false">
<af:inputText value="#{row.bindings.GrpAgsubcode.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.GrpAgsubcode.label}"
required="#{bindings.AdAgmastApprovalView1.hints.GrpAgsubcode.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.GrpAgsubcode.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.GrpAgsubcode.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.GrpAgsubcode.tooltip}" id="it12"
readOnly="true">
<f:validator binding="#{row.bindings.GrpAgsubcode.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="#{bindings.AdAgmastApprovalView1.hints.Publ.name}" sortable="false"
headerText="#{bindings.AdAgmastApprovalView1.hints.Publ.label}" id="c11" width="40" frozen="true">
<af:inputText value="#{row.bindings.Publ.inputValue}"
label="#{bindings.AdAgmastApprovalView1.hints.Publ.label}"
required="#{bindings.AdAgmastApprovalView1.hints.Publ.mandatory}"
columns="#{bindings.AdAgmastApprovalView1.hints.Publ.displayWidth}"
maximumLength="#{bindings.AdAgmastApprovalView1.hints.Publ.precision}"
shortDesc="#{bindings.AdAgmastApprovalView1.hints.Publ.tooltip}" id="it13" readOnly="true">
<f:validator binding="#{row.bindings.Publ.validator}"/>
</af:inputText>
</af:column>
</af:table>Please provide me an easiest solution for this.
Edited by: shashank ADF on Jul 2, 2012 5:09 AM
Similar Messages
-
I accidentally did the browser refresh yesterday (2-17-2015) without reading further down the page on what that would do. It of course gave me a fresh browser. The problem is I lost my customized appearance (Dark blue fox, I believe), the add-ons I really have come to really on, etc. Firefox did create a folder with the old settings. I'm not that savoy understanding how to get that folder to open, run, whatever it takes to put all the things I want back into working order on the firefox browser. Please excuse my lack of proper terminology, jargon, etc. I know enough to be confused and everything I have learned IT has come from stumbling through it over the last 15 years of having my own PC.
Any help would be greatly appreciated!
Please keep any solution details as plain and simple for a novas to understand and execute as possible.
Many, many Thanks, OttodewyWhen you reset (refresh) Firefox then a new profile is created and some personal data (bookmarks, history, cookies, passwords, form data) is automatically imported and the current profile folder will be moved to the desktop to an "Old Firefox Data" folder.
Installed extensions and other customizations (toolbars, prefs) that you have made are lost and need to be redone.
It is possible to recover data from the old profile, but be cautious not to copy corrupted files to avoid carrying over problems.
*https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
Note that is is also possible to use the Profile Manager to create a new profile.
That way the current profile isn't moved to the desktop, so you can return to it at any time.
*https://support.mozilla.org/kb/Managing+profiles -
In 3.6.16, the buttons are all over the place. In previous versions, the forward, back, refresh, stop and home buttons were all together. In this version, the refresh and stop buttons are between the address and search windows, and the home button to the far right.
I would love to have them all together as they used to be - much more user friendly that way. I have tried installing alternate themes, but the coding of this version over-rides the themes.Firefox 4.0 has a combined Reload and Stop and Go button that appears at the right end of the location bar.
To restore the Firefox 3 appearance you can use these steps:
* Open the "View > Toolbars > Customize" window to move the Stop and Reload button out of the location bar.
* Move the Reload and Stop buttons to their previous position at the left side of the location bar.
* Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
* Set the order to "Stop - Reload" or separate them otherwise to get two distinct buttons. -
I just got the Droid Turbo. I deleted several emails yesterday and now today, I am not receiving any. When I try to refresh, I get an internal error. I have tried turning the phone off and checked my settings as well, but still getting nothing. Any ideas??
I figured it out. Deleted and re-added the account.
-
My computer was refreshed and the technician did not deactive the CS3 license first and the drive has been wiped. I have my serial number, how can I get it activated?
Hi pipper88,
You can reinstall CS3 and enter the serial number to activate the software.
Regards,
Rave -
Upgraded 5s to IOS8, my iphone has showed no service to days, and I have restart and get the SIMcard regected. Also, I have refreshed my iphone system, but it still doesn't work. So, how to fix my iphone?
Hhave you done a reset press & hold power button & menu button until you see
Apple Logo you will not lose any data.
bsydd uk -
All i have now is the row with..
1 file edit etc..
2 web address and then search block
3 missing
4 most visited getting started etc..
5 tabs
I really miss being able to refresh a page or stop the page from loading! What can I do?Firefox 4.0 has a combined Reload, Stop, & Go button that appears at the right end of the location bar. Only one function is ever active at any one time, so combining them save UI space was a good idea. When a page is loading, it is a "Stop" button, when it finished loading, it turns into a "Reload" button, and when you start to type something into the Location bar it turns into a "Go" button.
To restore the Firefox 3 appearance you can use these steps:
* Open the "View > Toolbars > '''Customize'''" window or right-click a vacant area on a Toolbar, ''except fot the Bookmarks Toolbar''.
* Then drag'n'drop the Reload and Stop buttons to their previous position at the left side of the Location bar.
# Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
# Set the order to "Stop - Reload" to separate them and get two distinct buttons. -
ADF model : prevent refresh using invokeAction
hi
I'm trying to understand the Refresh and RefreshCondition properties of executables like methodIterator and invokeAction.
These executables come from the app_SRListPageDef.xml pageDefinition for SRList.jspx in the "Oracle ADF SRDemo Application":
<executables>
<methodIterator id="findServiceRequestsIter"
Binds="findServiceRequests.result"
DataControl="SRPublicFacade" RangeSize="10"
BeanClass="oracle.srdemo.model.entities.ServiceRequest"/>
<invokeAction Binds="findServiceRequests" id="tableRefresh"
Refresh="ifNeeded"
RefreshCondition="${(userState.refresh) and (!adfFacesContext.postback)}"/>
<!-- ... -->
</executables>The same pageDefinition also contains this methodAction binding :
<methodAction id="findServiceRequests"
InstanceName="SRPublicFacade.dataProvider"
DataControl="SRPublicFacade"
MethodName="findServiceRequests" RequiresUpdateModel="true"
Action="999"
ReturnName="SRPublicFacade.methodResults.SRPublicFacade_dataProvider_findServiceRequests_result">
<NamedData NDName="userIdParam" NDValue="#{userInfo.userId}"
NDType="java.lang.Integer"/>
<NamedData NDName="statusParam" NDValue="#{userState.listMode}"
NDType="java.lang.String"/>
</methodAction>I added this navigateToSRList.jspx page to that application:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<afh:html>
<afh:head title="navigateToSRList">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
</afh:head>
<afh:body>
<h:form>
<af:commandButton text="show Open requests" action="GlobalHome">
<af:setActionListener from="#{false}" to="#{userState.refresh}"/>
<af:setActionListener from="#{'Open'}" to="#{userState.listMode}"/>
</af:commandButton>
<af:commandButton text="show Pending requests" action="GlobalHome">
<af:setActionListener from="#{false}" to="#{userState.refresh}"/>
<af:setActionListener from="#{'Pending'}" to="#{userState.listMode}"/>
</af:commandButton>
</h:form>
</afh:body>
</afh:html>
</f:view>
</jsp:root>This navigateToSRList.jspx page contains two buttons that will bring you to the SRList.jspx page. Both buttons explicitly set the userState properties refresh and listMode.
If I click the first button, I get to see the Open requests. If I click the second button, I get to see the Pending requests.
Because the tableRefresh invokeAction configures RefreshCondition="${(userState.refresh) and (!adfFacesContext.postback)}" and the buttons on my navigateToSRList.jspx explicitly set userState.refresh to false, I would expect this invokeAction NOT to be refreshed. (I checked the value -false- of userState.refresh using an expressionResolver.jspx page, see tip : resolve JSF expressions at runtime.)
(*) questions
- What causes the SRList.jspx page to show the expected data when using the buttons on navigateToSRList.jspx? I suspect it has something to do with the value of the statusParam NamedData in methodAction findServiceRequests that gets changed. The userState.listMode gets set by a af:setActionListener, this "changed methodAction parameter value" might trigger a refresh of the methodIterator. Can someone confirm this (from experience or with documentation)?
- Is it possible to prevent "executables to be refreshed" if "methodAction parameters were changed"?
many thanks
Jan VerveckenPlease see section "10.5.5 How to Use Refresh Correctly for InvokeAction and Iterator Bindings" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html for more information on this.
The information it contains is valid for Non-ADFBC data controls as well. -
Memory Problem with SEt and GET parameter
hi,
I m doing exits. I have one exit for importing and another one for changing parameter.
SET PARAMETER exit code is ....
*data:v_nba like eban-bsart,
v_nbc like eban-bsart,
v_nbo like eban-bsart.
v_nbc = 'CAPX'.
v_nbo = 'OPEX'.
v_nba = 'OVH'.
if im_data_new-werks is initial.
if im_data_new-knttp is initial.
if im_data_new-bsart = 'NBC' or im_data_new-bsart = 'SERC' or im_data_new-bsart = 'SERI'
or im_data_new-bsart = 'SER' or im_data_new-bsart = 'SERM' or im_data_new-bsart = 'NBI'.
set parameter id 'ZC1' field v_nbc.
elseif im_data_new-bsart = 'NBO' or im_data_new-bsart = 'NBM' or im_data_new-bsart = 'SERO'.
set parameter id 'ZC2' field v_nbo.
elseif im_data_new-bsart = 'NBA' or im_data_new-bsart = 'SERA'.
set parameter id 'ZC3' field v_nba.
endif.
endif.
endif. *
and GET PARAMETER CODE IS....
get parameter id 'ZC1' field c_fmderive-fund.
get parameter id 'ZC2' field c_fmderive-fund.
get parameter id 'ZC3' field c_fmderive-fund.
FREE MEMORY ID 'ZC1'.
FREE MEMORY ID 'ZC2'.
FREE MEMORY ID 'ZC3'.
In this code i m facing memory problem.
It is not refreshing the memory every time.
So plz give me proper solution.
Its urgent.
Thanks
RanveerHi,
I suppose you are trying to store some particular value in memory in one program and then retieve it in another.
If so try using EXPORT data TO MEMORY ID 'ZC1'. and IMPORT data FROM MEMORY ID 'ZC1'.
To use SET PARAMETER/GET PARAMETER the specified parameter name should be in table TPARA. Which I don't think is there in your case.
Sample Code :
Data declarations for the function codes to be transferred
DATA : v_first TYPE syucomm,
v_second TYPE syucomm.
CONSTANTS : c_memid TYPE char10 VALUE 'ZCCBPR1'.
Move the function codes to the program varaibles
v_first = gv_bdt_fcode.
v_second = sy-ucomm.
Export the function codes to Memory ID
EXPORT v_first
v_second TO MEMORY ID c_memid. "ZCCBPR1 --- Here you are sending the values to memory
Then retrieve it.
Retrieve the function codes from the Memory ID
IMPORT v_first TO v_fcode_1
v_second TO v_fcode_2
FROM MEMORY ID c_memid. "ZCCBPR1
FREE MEMORY ID c_memid. "ZCCBPR1
After reading the values from memory ID free them your problem should be solved.
Thanks
Barada
Edited by: Baradakanta Swain on May 27, 2008 10:20 AM -
ADFS 3.0 WAP and Non-Claims-Aware Relying Party Trusts
I am attempting to migrating a Windows Claims SharePoint page to ADFS 3.0 (Windows Server 2012 R2) and the WAP (Web Application Proxy) from UAG, but are running into problems when our external users attempt to authenticate. Users from our external
domain (call it Domain2.com) have been accessing our SharePoint pages via SAML tokens but when I attempted to move them to the new WAP and off of UAG, they get a http/500 error. The WAP error log gives the following:
Warning Event ID 13016 - Web Application Proxy cannot retrieve a Kerberos ticket on behalf of the user because there is no UPN in the edge token or in the access cookie
Error Event ID 12027 - Web Application Proxy encountered an unexpected error while processing the request. Error: The specified username is invalid. (0x8007089a).
I presume the Error Event ID 12027 is because there is no UPN in the token and we are using KCD/Kerberos so I need to pass a UPN.
The ADFS server and WAP are joined to Domain1.com. Domain1.com is Active Directory and there is an account for every user in Domain2.com that is allowed access to our SharePoint Sites. These account contain the standard
info... UPN, Email Address, sAMAccountName, etc. The UPN, Email, and sAMAccountName do not always match the accounts with the Domain2.com accounts; however, we have been using an Active Directory Field labled employeeNumber that is synchronized
on both domains and we have been using a custom lookup based on the employeeNumber in AD.
When login's occur via Domain1.com, no problem, the UPN is pulled from the Active Directory Claim Provider Trust. When a user attempts to access from Domain2.com, we have configured ADFS to forwards them to an STS that collects the employeeNumber
from Domain2.com via a Web Auth SAML token. We are able to use the SAML token if we use the standard Claims-Aware Relying Party Trust (CARPT) and convert our SharePoint sites to use the trusted URN via powershell scripts, but we are trying to retain
functionality similar to how we are using UAG so we don't want to change every single SharePoint site to the SAML configuration, hence we are trying to use the Non-Claims-Aware Relying Party Trust (NCARPT)
Problem1: When we are using CARPT we can configure the custom translation for our employeeNumber lookup in AD. But CARPT uses SAML Tokens not Kerberos Tolkens so we cannot login when SharePoint is configured for Kerberos.
Problem2: When we are using NCARPT it works great when authenticating via local (Domain1.com) credentials and look's up the user in AD, but when we attempt to authenticate with remote (Domain2.com) credentials we are unable to configure the employeeNumber
lookup and ADFS doesn't just go out and make that correlation on its own.
Question1: Can I configure CARPT to use Kerberos?
Question2: If not, can I configure NCARPT to lookup the AD employeeNumber, match the UPN, and add the UPN to the token?
Question3: If neither option is available, am I just stuck with UAG or is there something out (not scheduled for EOL) there that can handle the translation between SAML and Kerberos Tokens?
Let me know if I left something out, I tend to ramble, but not sure of all the info that is needed...Hi,
Based on the description, is there trust between domain 1 and domain 2? If not, we can try to create trust between these two domains to see if it helps.
Regarding Event ID 13016 and Event ID 12027, the following article can be referred to for more information.
Web Application Proxy Troubleshooting
https://technet.microsoft.com/en-us/library/dn770156.aspx
Besides, for ADFS questions, in order to get more and better help, it's recommended that we ask for suggestions in the following forum.
Claim based access platform (CBA), code-named Geneva
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
Best regards,
Frank Shen
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
The report l runs very night and gets ended with error
Dear all,
I am facing a problem in solution manger. There is an report (Program/Command RDSMOPSOL_MONIREFRESH ) will runs very night and get ended with error and there is Run-time error "MESSAGE_TYPE_X".
Please suggest how to solve the problem.
Is this report is necessary for the system because it is not mention in the sap stand jobs.
SM37 log
Job started
Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
Opening and closing session started. Session SM2000000000065
Opening and closing the session was successful. Session: SM2000000000065
Opening and closing session started. Session SM2000000000005
ABAP/4 processor: MESSAGE_TYPE_X
Job cancelled
SM:CSA SESSION REFRESH
No. Program/Command Prog. type Spool list Parameter User Lang.
1 RDSMOPSOL_MONIREFRESH ABAP &0000000000876 BASIS EN
Sm21 log
00:00:50 DIA 00 000 SAPSYS EEA OPERATION MODES: Switch to operation mode Normal triggered
00:30:57 BTC 08 200 BASIS R68 Perform rollback
00:30:57 BTC 08 200 BASIS AB0 Run-time error "MESSAGE_TYPE_X" occurred
00:30:57 BTC 08 200 BASIS AB1 > Short dump "081112 003057 sapsm BASIS " generated
00:30:57 BTC 08 200 BASIS D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
00:30:57 BTC 08 200 BASIS R68 Perform rollback
00:30:57 BTC 08 200 BASIS AB0 Run-time error "MESSAGE_TYPE_X" occurred
Details
Recording at local and central time........................ 12.11.2008 00:30:57
Task................ 05312 . 08 B8 BTC background processor No. 08
User................ BASIS
Client.............. 200
Terminal............
Session............. 1
Transaction code....
Program name........
Problem class....... T Transaction Problem
Development class... SABP
Further details for this message type
Module name......... abdynpro
Line................ 1133
Error text.......... ab_jmess
Documentation for system log message AB 0 :
The specified runtime error has occurred in the system.
Parameter
a.. MESSAGE_TYPE_X
Technical details
File................ 000048
Position............ 0000253620
Entry type.......... l ( Error (Module, Row) )
Message ID.......... AB 0
Variable parts...... ab_jmess abdynpro1133
Time Ty. Nr Cl. User Tcod MNo Text Date : 12.11.08
00:30:57 BTC 08 200 BASIS AB1 > Short dump "081112 003057 sapsm BASIS " generated
etails
ecording at local and central time........................ 12.11.2008 00:30:57
ask................ 05312 . 08 B8 BTC background processor No. 08
ser................ BASIS
lient.............. 200
erminal............
ession............. 1
ransaction code....
rogram name........
roblem class....... K SAP Web AS Problem
evelopment class... SABP
BAP Mini dump
ate................ 20081112
ime................ 003057
ost................ sapsm
ser................ BASIS
ocumentation for system log message AB 1 :
A short dump was generated for the specified program termination.
You can analyze this short dump in the system log evaluation by
selecting this line or evaluating Table SNAP (Transaction ST22).
echnical details
ile................ 000048
osition............ 0000253800
ntry type.......... s ( ABAP Runtime Error )
essage ID.......... AB 1
ariable parts...... 081112003057sapsm BASIS
Time Ty. Nr Cl. User Tcod MNo Text Date : 12.11.08
00:30:57 BTC 08 200 BASIS D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
Details
Recording at local and central time........................ 12.11.2008 00:30:57
Task................ 05312 . 08 B8 BTC background processor No. 08
User................ BASIS
Client.............. 200
Terminal............
Session............. 1
Transaction code....
Program name........
Problem class....... K SAP Web AS Problem
Development class... SDYN
Module name.........
Location............
T100................ 00 671
Parameters..........
Documentation for system log message D0 1 :
The transaction has been terminated. This may be caused by a
termination message from the application (MESSAGE Axxx) or by an
error detected by the SAP System due to which it makes no sense to
proceed with the transaction. The actual reason for the termination
is indicated by the T100 message and the parameters.
Additional documentation for message 00 671
ABAP/4 processor: &
No documentation exists for message 00671
Parameter
a.. MESSAGE_TYPE_X
00:30:57 BTC 08 200 BASIS R68 Perform rollback
Details
Recording at local and central time........................ 12.11.2008 00:30:57
Task................ 05312 . 08 B8 BTC background processor No. 08
User................ BASIS
Client.............. 200
Terminal............
Session............. 1
Transaction code....
Program name........
Problem class....... W Warning
Development class... STSK
Further details for this message type
Module name......... thxxhead
Line................ 1240
Error text..........
Caller.............. ThIRoll
Reason/called....... roll ba
Documentation for system log message R6 8 :
An error has causes an SAP rollback. All database updates are reset.
Technical details
File................ 000048
Position............ 0000254520
Entry type.......... m ( Error (Function,Module,Row) )
Message ID.......... R6 8
Variable parts...... ThIRollroll bathxxhead1240
Regards,
ShivaHi karteek,
I have check there is Switch of operation mode but when I have checked the t-code sm63 there is no new mode are in normal mode.
There is one thing I want to ask dose this report (Program/Command RDSMOPSOL_MONIREFRESH ) run in your system or any one server because I have think there is some problem in job shued
and is also not mention in the sap stand jobs.
there is an error in sm21 in job.
BASIS SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:
BASIS SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was specified
Is this SM37 log
Job started
Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
Opening and closing session started. Session SM2000000000065
Opening and closing the session was successful. Session: SM2000000000065
Opening and closing session started. Session SM2000000000005
ABAP/4 processor: MESSAGE_TYPE_X
Job cancelled
Sm21 log
SAPSYS EEA OPERATION MODES: Switch to operation mode Normal triggered
BASIS R68 Perform rollback
BASIS AB0 Run-time error "MESSAGE_TYPE_X" occurred
BASIS AB1 > Short dump "081111 003056 sapsm BASIS " generated
BASIS D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111003056sapsm BASIS 2001 )
BASIS R68 Perform rollback
BASIS R49 Communication error, CPIC return code 017, SAP return code 223
BASIS R64 > CPI-C function: CMINIT(SAP)
*BASIS SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:*
*BASIS SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was*
specified
BASIS R68 Perform rollback
BASIS AB0 Run-time error "MESSAGE_TYPE_X" occurred
BASIS AB1 > Short dump "081111 220948 sapsm BASIS " generated
BASIS D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111220948sapsm BASIS 2001 )
Details Page 2 Line 6 System Log: Local Analysis of sapsm 1
Time Ty. Nr Cl. User Tcod MNo Text
00:00:51 DIA 00 000 SAPSYS EEA OPERATION MODES: Switch to operation mode Normal triggered
Details
Recording at local and central time........................ 13.11.2008 00:00:51
Task................ 04100 . 00 D0 Dialog work process No. 00
User................ SAPSYS
Client.............. 000
Terminal............
Session............. 1
Transaction code....
Program name........
Problem class....... S Operation Trace
Development class... SBTC
Sm63
Start/end time Name of the active operation mode
00.00 - 01.00 Normal
01.00 - 02.00 Normal
02.00 - 03.00 Normal
03.00 - 04.00 Normal
04.00 - 05.00 Normal
05.00 - 06.00 Normal
06.00 - 07.00 Normal
07.00 - 08.00 Normal
08.00 - 09.00 Normal
09.00 - 10.00 Normal
10.00 - 11.00 Normal
11.00 - 12.00 Normal
12.00 - 13.00 Normal
13.00 - 14.00 Normal
14.00 - 15.00 Normal
15.00 - 16.00 Normal
16.00 - 17.00 Normal
17.00 - 18.00 Normal
18.00 - 19.00 Normal
19.00 - 20.00 Normal
20.00 - 21.00 Normal
21.00 - 22.00 Normal
22.00 - 23.00 Normal
23.00 - 00.00 Normal
Regards, -
How to schedule macros to open a report , refresh and update database?
Hi,
We have the below set of steps that work on a deski environment. It works fine on XI R3.1 Fix pack 1.5, but I am unable to schedule and get the macros to run although i've included the entire macros code in - Private Sub DocumentAfterRefresh()
Refresh of report
Step 1 : Report is Refreshed. Refreshed data contains 10 Report Names to be opened by the Macros and the prompt values that these reports need to be refreshed with.
Macros Functionality:
Step 1 : Opens 1st report of the 10 reports from the repository in deski thick client, updates the database by setting a flag on the processing to Y or N for the report being processed.
Step 2 : Refreshes the report with the prompt values obtained from the first refresh in the report, saves the refreshed data to a CSV or PDF at a location.
Step 3 : Updates the database if the report has been genrated or not and then deletes the local copy of the output csv and pdf.
The above steps repeat over and over again until all 10 reports open up, get refreshed and update the database.
Now all of this works on Deski thick client/refresh and macros.
However, when i schedule it, the macros doesnot seem to be running.
Is the above scenario even possible to replicate via a schedule process..?
Note : The reports need to be retained in Deski itself.
PLz help...!Scheduling Background Jobs
Use
You can define and schedule background jobs in two ways from the Job Overview:
Directly from Transaction SM36. This is best for users already familiar with background job scheduling.
The Job Scheduling Wizard. This is best for users unfamiliar with SAP background job scheduling. To use the Job Wizard, start from Transaction SM36, and either select Goto ® Wizard version or simply use the Job Wizard button.
Procedure
Call Transaction SM36 or choose CCMS ® Jobs ® Definition .
Assign a job name. Decide on a name for the job you are defining and enter it in the Job Name field.
Set the jobs priority, or "Job Class":
High priority: Class A
Medium priority: Class B
Low priority: Class C
In the Target server field, indicate whether to use system load balancing.
For the system to use system load balancing to automatically select the most efficient application server to use at the moment, leave this field empty.
To use a particular application server to run the job, enter a specific target server.
If spool requests generated by this job are to be sent to someone as email, specify the email address. Choose the Spool list recipient button.
Define when the job is to start by choosing Start Condition and completing the appropriate selections. If the job is to repeat, or be periodic, check the box at the bottom of this screen.
Define the jobs steps by choosing Step, then specify the ABAP program, external command, or external program to be used for each step.
Save the fully defined job to submit it to the background processing system.
When you need to modify, reschedule, or otherwise manipulate a job after you've scheduled it the first time, you'll manage jobs from the Job Overview.
Note: Release the job so that it can run. No job, even those scheduled for immediate processing, can run without first being released.
For a simple job scheduling procedure, see the R/3 Getting Started Guide. -
I just bought an iTunes card and was eager to redeem it. My iPod prompted me to log in as usual, but when I put in the correct password it just kept prompting me again. I've tried putting in my password to log in but it won't allow me to get into my account, rather it just refreshes and prompts me, and I've been doing this about ten times before I gave up. My internet connection is fine and all else is running smoothly.
And no, it isn't the incorrect password. I have tried putting in an alternative password to check, before refreshing it said it was incorrect.
With the correct password it'll just keep prompting me over and over so I cannot get in. This is really annoying and I don't know what to do as this hasn't happened before.
If anyone knows what is going on please inform me.
(Also: I cannot sync my iPod into any computers at the moment. I lost the previous computer and if I synced it with the new one I would lose everything on it, and some information on there is dear to me such as photos and videos. That is if I had a choice - computers with iTunes don't seem to recognise it as an iPod device, rather a camera which I can't take anything off of.
This is another problem on its own, though.)Have you tried going to Settings>iTunes and App Stores (or just Store) and signing out and then signing in again?
-
I just got the new itunes and I can open itunes and see my music but whenI try and go to the itunes store it just loads to a white page. I try and refresh and go to the home page and nothing happens. I can sign into my account and the tabs for the itunes store pop up like they normally would when browsing the itunes store but when I click on one of them, it is a blank page. Is there a setting I need to change? Does it just take an extremely long time to load? Please help!!
Bucktr09:
I'm having the exact same problem. I upgraded to the newest version of iTunes on my iMac and ever since I did the store is a blank white screen. I can get my library content but the store is a no go. Is there any one out there with a solution? -
Problems with combination of ADF Faces, Tomahawk, Facelets and MyFaces
Hello,
I am trying to combine all things named in the Subject and run into several problems:
1. ADF Render Kit forces the Tomahawk Components to be rendered in a wrong way or stop there functionality.
Example 1: The clickable parts of the t:dataScroller Tag can not be accessed because an empty a Tag will be rendered after the outputText.
Example 2: The t:commandSortHeader Tag can be clicked but the table content will not be sorted anymore.
The given examples works if i remove the default-render-kit-id element from the faces-config.xml
2. The ad:table Tag runs into an ClassCastException, only when I put a simple example code snipped into my xhtml file.
Code snipped:
<af:table>
<af:column>
<f:facet name="header">
<af:outputText value="Firstname"/>
</f:facet>
</af:column>
<af:column>
<f:facet name="header">
<h:outputText value="Lastname"/>
</f:facet>
</af:column>
</af:table>
The stack trace look like this:
java.lang.ClassCastException at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:1029)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:109)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:229)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:79)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:438)
at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:521)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
I followed all steps for the ADF installation and the suggested steps for using ADF with Facelets.
Used versions:
- Oracle ADF Faces 10.1.3 Early Access
- myFaces 1.1.1
- Facelets 1.1.1
- oc4j 10.1.2.0.2
Has somebody try to use these things together, too?
Thanks,
CarstenHi,
Inside our fusion applications(ADF/Webcenter) using combination of JSTL and ADF Faces is good practice or pitfal?
To suggest a a rule of thumb: Try ADF Faces on-board functionality first before reaching out to JSTL. The difference between JSF in general and JSTL is that the JSTL expressions are evaluated at page compile time wheras JSF expressions are evaluated deferred. This difference may have an impact to PPR refreshes and the data rendering (which in many cases I assume you can fix by setting the ADF Faces component content delivery to immediate instead of deferred). On a training slight I flagged JSTL with a "heads up" alert because of this
Frank
Maybe you are looking for
-
I have a problem with my pong game. IT says its missing a return statement at :71: and at someplace else. How do I fix this? Below is the source code. Note that I haven't done puck-paddle collisions yet. It isn't supposed to do those right now anyway
-
Dynamic Actions - only PA40 ?
Can we use dynamic actions in PA30... or is it juust dedicated to PA40/Actions ? Thanks in advance
-
Workgroup names are showing up with ASCII characters in them
Hi, When I view the network I can see all the workgroups and computers however the workgroup names are showing "/032" (without the quotes) where there would normally be spaces. I believe /032 is the ASCII value for a space but I don't know how to fix
-
No External Sound - Satellite Pro L550
Driving myself a little crazy here. Running on Windows 7, cannot get my external Logitech Speakers to work. Any advice would be greatly appreciated. Thanks
-
Two users on one library?
I want to put my iPhoto library on my Time Capsule, and I want my fiancee and I both to be able to use it. Will this create any problems? What if we both have it open at the same time?