How to get the value for the LIT_Withheld field in the city tax form?
I am trying to get the value for the LIT_Withheld field on the city tax form , PAYUSEET.. This is not a database column but is generated based on some conditions.. Appreciate the help. Thanks, Suguna
Hi Abhmanyu,
Thanks for your response.
Search Help Name : ZZ_MG_MARITAL_VH
Selection Method : T502T
Search help parameters are SPRSL, FAMST, FTEXT,
Can u provide me a sample code to fetch the value of corresponding text.
Thanks,
Hari
Similar Messages
-
How to get a value for Select One Choice in the backing bean
Friends,
Does any one have any idea, how to get the value of a selected item value from the Select One Choice component in the backing bean iin valueChangeListener method. Right now I am always getting the sequence of the selected item, instead the actual selected value. I tried using 'ValuePassTrhough=true' also.. but didn't help
Below is the my code snippet
<af:selectOneChoice value="#{bindings.country.inputValue}"
required="#{bindings.country.hints.mandatory}"
shortDesc="#{bindings.country.hints.tooltip}"
id="soc1" autoSubmit="true" valuePassThru="true"
valueChangeListener="#{pageFlowScope.Bean.onValueChange
<f:selectItems value="#{bindings.country.items}" id="si2"/>
</af:selectOneChoice>
Thanks in advance.check my other post at Re: Pass data from a variable to another page
-
How to get Numric value from a Char field in the database?
I have the following values in a column in Database.
COMP
GRADE
CANC
CANCELLED
Comp
Complete
INCOMP
NC
NS
85%
79
88 .... etc....
I have to take the value from this field if it is a Numeric other wise I have to ignore that value.
Please let me know how to handle this?
Thanks,
LakshmiThanks for the inputs.
Here I want to take the value if it is numeric else I
will ignore that record.
Please let me know how to validate the data for a
Numeric value.
I don't want to stop my program by throwing these
exceptions.The sample code catches the exception. At that point you can do whatever you want (set a boolean to say the value is not a number, etc.) - the program does not stop. -
How to get column names for a specific view in the scheme?
how to get column names for a specific view in the scheme?
TIA
Don't have DD on the wall anymore....or this?
SQL> select text from ALL_VIEWS
2 where VIEW_NAME
3 ='EMP_VIEW';
TEXT
SELECT empno,ename FROM EMP
WHERE empno=10 -
How do I insert the value of an email field in the submit mailto: argument?
I want to create a button that will redirect a PDF form to an email address entered as a field in the form. In other words, a "return to sender" function. The button function has a submit to URL where you can use "mailto:[email protected]". How can I substitute the value from an email field in the form itself for the "[email protected]" value?
You'll need to use JavaScript, and the mailDoc method in particular: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.505.html
Get the value of the field that contains the email address and use it as the value of the cTo property. See the following for a sample script: http://forums.adobe.com/message/3553628?tstart=-1 -
Maintaing a default value for a particular field in the selection screen
Hi all,
How to maintain a default value for a particular field in the Selection Screen of a Standard report
Regards
Ajay>
ajay babu wrote:
> Hi all,
>
> How to maintain a default value for a particular field in the Selection Screen of a Standard report
>
> Regards
> Ajay
Create a variant for your standard program and assign this variant to the field 'Start with variant' while creating transaction code for the standard program in the transaction 'SE93'.
Regards
Rajesh. -
How To get Characteristic values for an Equipment in a particular Class ?
Hi All,
How i will get Characteristic values for an Equipment in a particular Class ?
Any table or FM ?
Thanks in advance
Srikanta GopeHi,
You can use the FM BAPI_OBJCL_GETDETAIL to fetch the characteristic values for an equipment from the table parameters ALLOCVALUESNUM; ALLOCVALUESCHAR; ALLOCVALUESCURR.
Or u can use the tables EQUI, KLAH, KSSK, AUSP, CABN
Regards,
Aditya -
How to get search help for 2nd parameter based on the 1st parameter value
Hi all!
I have 2 parameters (material no, revision level). I have created a search help for revision level. It has an importing parameter :material no. and one exporting parameter : revision level.When I checked it, it's giving the revision values only for the specified.
In my report , I have kept these 2 materials in my selection screen.For revision level , I have added the matchcode object which I have created. When I pressed F4 for revision level, it's giving all the values irrespective of the material no. in the first parameter. How to solve it? Please suggest.Hi,
Try this code filling internal table fields,
DATA: BEGIN OF values,
OID TYPE ZCL_OBJECT-OBJECTID,
ODEC TYPE ZCL_OBJECT-OBJECT_DESC,
END OF values,
W_FIELD(10).
DATA: ZCL_PROJECT-PROJECTID type zcl_project-projectid,
ZCL_OBJECT-OBJECTID(5).
DATA: progname TYPE sy-repid,
dynnum TYPE sy-dynnr,
dynpro_values TYPE TABLE OF dynpread,
field_value LIKE LINE OF dynpro_values,
values_tab LIKE TABLE OF values.
CALL SCREEN 100.
*& Module VALUE_PROJECTID INPUT
text
*MODULE VALUE_PROJECTID INPUT.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'ZCL_PROJECT'
fieldname = 'PROJECTID'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ZCL_PROJECT-PROJECTID'.
*ENDMODULE. " VALUE_PROJECTID INPUT
*& Module VALUE_OBJECTID INPUT
text
MODULE VALUE_OBJECTID INPUT.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = progname
dynumb = dynnum
translate_to_upper = 'X'
TABLES
dynpfields = dynpro_values.
READ TABLE dynpro_values INDEX 1 INTO field_value.
W_FIELD = FIELD_VALUE-FIELDVALUE.
SELECT OBJECTID
OBJECT_DESC
FROM ZCL_OBJECT
INTO (VALUES-OID,
VALUES-ODEC)
WHERE PROJECTID = FIELD_VALUE-FIELDVALUE.
APPEND VALUES TO VALUES_TAB.
ENDSELECT.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'OID'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ZCL_OBJECT-OBJECTID'
value_org = 'S'
TABLES
value_tab = values_tab.
ENDMODULE. " VALUE_OBJECTID INPUT
*& Module INIT OUTPUT
text
MODULE INIT OUTPUT.
progname = sy-repid.
dynnum = sy-dynnr.
CLEAR: field_value, dynpro_values.
field_value-fieldname = 'ZCL_PROJECT-PROJECTID'.
APPEND field_value TO dynpro_values.
IF SY-UCOMM = 'BACK'.
LEAVE program.
ENDIF.
IF SY-UCOMM = 'ANS'.
LEAVE TO SCREEN '0'.
ENDIF.
ENDMODULE. " INIT OUTPUT
START-OF-SELECTION.
WRITE: / field_value-fieldvalue,
W_FIELD.
LOOP AT VALUES_TAB INTO VALUES.
WRITE / VALUES.
ENDLOOP.
if sy-subrc <> 0.
WRITE / field_value-fieldvalue.
endif.
Plzz reward points if it helps -
How to get Multiple Values for a key from a session object?
Hi,
It might seem dumb but I am facing a problem here with the session object. I'll paste the session object's content from the netbeans "Local Variables" window for clarity -
Name Type Value
hsession StandardSessionFacade #66
session LWSFSession #69
inherited
attributes Hashtable #80
[0] Hashtable$Entry "cart"=>#115
key String "cart"
value DummyCart #115
item null
submit null
v Vector
[0] String Full Metal Jacket
[1] String As Good As It Gets
[2] String Tim
What I want is to get the values "Full Metal Jacket", "As Good As It Gets" and "Tim" from the session obejct?
The problem I am facing is that if I do a session.getAttribute("cart"), I'll get a single value in return. What will that value be? Will it be "item", "submit" or "v"? And if I want all the values in v above, how can I get them?
Thanks.None of the above.
HttpSession.getAttribute() will return what you put into it using HttpSession.setAttribute(). In your case, it'll return an Object which you need to cast to DummyCart. Then you can access the data in DummyCart using the API of the DummyCart class.
hth -
How to get meacure value for a sibling attribute in MDX
Hi,
I have a table with the following data
Activity Id
Last Activity Id
1
NULL
2
NULL
3
NULL
4
NULL
5
3
6
2
7
3
8
1
9
4
I have created a dimension "Activity" with 2 attributes : ActivityId, LastActivityId
I have a Fact table like this :
Activity Id
Count of Activities
1
10
2
12
3
34
4
45
5
32
6
23
7
56
8
34
9
56
Now getting the count by activity is straight forward, But what I need to get is the count of last activity per activity. So if I select Activity 9 the measure value should not show me 56 but should show me 45 which is count for Activity 4 as Activity 4
is the last activity for Activity 9.
So essentially if I take all activities this is what the result of MDX should be :
Activity
Count of Activities (Last)
1
NULL
2
NULL
3
NULL
4
NULL
5
34
6
12
7
34
8
10
9
45
Any suggestions on how to achieve this will be helpful.
- Girija
Please mark responses as answered if it helped you.. This helps others... - Girija Shankar BeuriaHi Soma,
that will not work. The measure is related to Activity id. The measure value per row is not value for LastActivityid.
I want to show the measure value for last activity id and not this activity id. So there is an indirect relationshipid. Ideally the path would be :
Activity id --> Figure out the last activity id for this activity id --> Get the measure value for last activity id..
- Girija
Please mark responses as answered if it helped you.. This helps others... - Girija Shankar Beuria -
How to get lookup value for a lookup_type and pass as a parameter in OAF
Hi,
I have requirement wherein I have to enable the "Add Attachment" Button only for a particular deliverable name.
Steps I followed
1) I have extended the corresponding Controller class.
2) Sting str1="XYZ";
3) Getting the attachment table bean and the deliverable name thru Data Mappings as Attachment is the built-in funtionality in OAF.
4)Checking if the deliverable name whether it is equal to str1 or not
Case1: If the deliverable name is not equal to str1 then I am placing the insertallowed as BOOLEAN.FALSE
Case2:If not it will be enabled.
5)The functionality as per the requirement is working fine.
6)Here for str1 I have hardcoded the value initially but I need to take up the value from a lookup created for this value because may be in future if for more than one value the "Add Attachment" Button has to enabled they it will be easy to add in the look up only. No need to change the controller class.
7) So please let me know the steps in getting the value from a lookup and have to pass the lookup values (Here str1--"XYZ","ABC","DEF") into the extended Controller Class.
Thanks in Advance,
Regards,
RamyaRamya,
Here for str1 I have hardcoded the value initially but I need to take up the value from a lookup created for this value because may be in future if for more than one value the "Add Attachment" Button has to enabled they it will be easy to add in the look up only. No need to change the controller class.For this u need to iterate through the lookup values.
Share ur existing Controller Code.
Regards,
Gyan -
How to get numerical value for every button
Hi,
Currently I am using a case structure to determine which graph i want to display. For example, each case( i have 7 cases), there is a frequency,amplitude dial which user can change it. So basically there are 7 of those. Let say the user want to change case 1 and display those. I've plan to place a button PLAY beside the frequency dial so that it will activate the case 1. But the problem is how can i do that as the input for the case structure is numerical (0-6) to select the case. How can i activate case 1 for an example, when i click the button PLAY beside the first dial? Is it possible to change the configuration of the button PLAY, so that when its activated, it will give out numeric 1 and i wire to the case structure input? Thanks guys.Maybe you want to use a single radiobutton control with seven items?
Here's a quick example.
(Also, see what happens if you wire the radiobutton control to a case structure. )
LabVIEW Champion . Do more with less code and in less time .
Attachments:
SelectWithRadio.vi 22 KB -
How to create a workflow for a date field if the date is approaching?
Hi Experts,
I have to create a workflow on the basis of delievery date entered for the Record type opportunity.
Like, if the user have entered the expected delievery date while Closing the Opportunity a mail should be triggered to concerened persons before 10 days of that "Expected Delievery Date".
If anybody can help in this regard,Thanking in anticipation.Configure wait action field Until When with the expression [<Delivery Date Filed Name>] - Period("10D")
-
Hi I am facing the three questions below.
1. How to use default RTE in custom page in Sharepoint hosted app.
I saw the article of Rich text Editor (ribbon based) in a webpart in SharePoint 2013 and tried it. But it did not work well. I guess it needs code-behind setting, however sharepoint hosted app does not support code-behind.
Does anybody know how to do this?
2. In above case, I placed the below code on custom page and tried to get the field's value when submit button was clicked.
<SharePoint:InputFormTextBox ID="rftDefaultValue"
RichText="true"
RichTextMode="FullHtml" runat="server"
TextMode="MultiLine" Rows="5">
</SharePoint:InputFormTextBox>
In debugger, the returned value was 'undefined'.
var note = $('#hogehoge').val();
Is it possible to get the RTE value? If yes, please let me know how to do this.
3. I need to submit the RTE value using REST call.
In this
article in MSDN, the item creation sample treats single line text field. Does anybody know the sample for RTE?Hi,
According to your description, you might want to use Rich Text Editor control in your SharePoint hosted app.
First of all, I would suggest you post one question in one thread to make it easier to be discussed, which would also help you get a quick solution.
Though we can add this control into a SharePoint hosted app, however, as we can’t add code behind for it, plus with the potential compatibility issues in different
browsers, I would suggest you use other JavaScript Rich Text Editor plugins instead.
Two JavaScript Rich Text Editor plugins for your reference:
http://quilljs.com/
http://nicedit.com/
If you want to submit the value of Rich Text Editor control to a SharePoint list using REST call, since the content in the Multiple Line of Text column is wrapped
with nested HTML tags, the similar requirement would also be applied to the content to be submitted.
Here is a code snippet about how to update a Multiple Line of Text column for your reference:
updateListItem(_spPageContextInfo.webAbsoluteUrl, "List018", 1);
function updateListItem(siteUrl, listName, itemId)
var itemType = GetItemTypeForListName(listName);
var item = {
"__metadata": { "type": itemType },
"MultiTextEnhanced": "<div><a href='http://bing.com/'>Bing</a><br></p></div>",
"Title": "123"
$.ajax({
url: siteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")",
method: "GET",
headers: { "Accept": "application/json; odata=verbose" },
success: function (data) {
console.log(data);
$.ajax({
url: data.d.__metadata.uri,
type: "POST",
contentType: "application/json;odata=verbose",
data: JSON.stringify(item),
headers: {
"Accept": "application/json;odata=verbose",
"X-RequestDigest": $("#__REQUESTDIGEST").val(),
"X-HTTP-Method": "MERGE",
"If-Match": data.d.__metadata.etag
success: function (data) {
console.log(data);
error: function (data) {
console.log(data);
error: function (data) {
console.log(data);
// Getting the item type for the list
function GetItemTypeForListName(name)
return"SP.Data." + name.charAt(0).toUpperCase() + name.slice(1) + "ListItem";
Thanks
Patrick Liang
Forum Support
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]
Patrick Liang
TechNet Community Support -
How to get a Value of a JSP field/Attribute?
Hi im trying to get a value of a field from the EditCurrentRecord databeans. Im trying get the Value of the Attribute "Mdepempno", which will be used as a search field in the next customized webBean.
Any suggestion? Thanks
Muraly
-- here is a portion of the code----
RowEditor.useEditField("Mdepempno");
RowEditor.getFieldRenderer("Mdepempno").setPromptText("Dept Manager");
empnumber = RowEditor.getFieldRenderer("Mdepempno").toString();
nullHi I managed to find the solution, by refering to the earlier replies..
adding the following codes in teh .jsp page solve the problem.
<%
Row row = rsn.getRowSet().getCurrentRow();
%>
<% String empnumber = row.getAttribute("Mdepempno").toString(); %>
Thanks for reading.
regards
muraly
null -
How to maintain default values for custom table fields -- Urgent
Hi all,
I've a requirement wherein i need to create a Z table (with maintainence view) in which i'll have date and time as two of its field which should have current date and current time as default value. Can somebody suggest as how am i to maintain the date and time fields defaulting to current date and current time.
Incase if someone is unable to intrepret what i'm trying to say, please query me, i'll elaborate it further.
Please give in your quick inputs which is highly valuable to me and also will be highly appreciated.
Thanks in advance,
Vaishnavi VaradarajanWe have a following custom table which contains the fields Date on which record was created and Name of the person who created the object. We would like to have these to be filled up with SY-DATUM and SY-UNAME respectively.
Using the events, we can achieve this.
Please refer the following link:
http://abapliveinfo.blogspot.com/2007/12/events-in-table-maintenance-in-sap.html
Also,
Write a form routine in table maintanance generator.
1. SE11 > utilities > table maintenance generator
2. environment > modification > event
define the event and form routine to make use of the tigger. in the form routine define an object for the class and call the relevant method.
Or u can do it as:
Table maintenance generator is basically used to do table operations like (insert, delete, modify...).
if you create table maintenance for your table it will build a module pool program, by using you do the above operations.
below is the procedure to create table maintenance generator.
1) Create one function group.
2) after activating your Ztable, choose 'Utilities'----> 'Table maintenance genrator'.
3) then give the authorization group and function group created abobe in the next screen.
4) Then choose the "create" button in your application tool bar, which will creates the module pool program.
5) then create one Tcode by chosing "Transaction with parameters( parameter transaction)".
6) in transaction field give "SM30", select the check box "Skip initial screen".
7) in the below of that screen you can find the "Default values" frame.
8) there under the "name of screen field" select the "View name' and 'update".
9) in value column against to "view name" give you table name, and against to "Update" put 'X' in capital letters.
save it then you can straight away use this newly created Tcode to maintain your table.
Note:- 1) make the modification while saving the data into your table using this newly generated program to carry out your validation (even though it looks like standard program; no need to enter the access key).
2) if you do any changes to your table and press the activate button automatically the table maintenace generator will be goes off, you need to create this again.
cheers,
Maybe you are looking for
-
Missing images and not able to use copy and paste anymore - just blank rect
Hello! I've a problem that really scares me. I use severall png and pdf images. But at one point keynote looses the media and just displays these grey rectangles instead of some images. I tried to figure out if it just happens with pdf images and rep
-
Hi I am getting the following error while calling a service in BPEL. Error while reading wsdl file http://afsmlnx07.onerheem.com:7105/soa-infra/services/default/validationForCC/getStatusByCC?WSDL.Exception:WSDLException:faultCODE=OTHER_ERROR:Failed t
-
Hi gurus, I am facing a peculiar problem with my transformation mapper. I am trying to map my source database(AS400) to the destination database(Oracle) by using DB Adapter. My source table column names contain $ signs like P$id,P$name Now when I am
-
All, Here s my situation: I have performed a transformation step 1:N: where i split my messages N times. After which i am sending my N messages one by one to the receiver. Now should i use a Parfor each or a ForEach for this scenario??? In either way
-
Refresh All option returns all zeros
Hi, I am using MS office 2003 and Smart view 9.3.1.4. When I use refresh all options, it rerurns zeros in all sheets. Has anybody ever faced similar kind of issue? Can you please let me know the possible ressolution? Thanks in advance.