How to read Share Memeory values in Solaris 10 Kernel?
How to read Share Memeory values in Solaris 10 Kernel?
# ipcs
IPC status from <running system> as of Tue Apr 8 15:39:50 BST 2008
T ID KEY MODE OWNER GROUP
Message Queues:
Shared Memory:
Semaphores:
or review the output of
# sysdef
Similar Messages
-
WAD template with BSP Application - how to read selection screen values
Hello,
I've created Web template with Web Application Designer (WAD).
I would like to extend that page with BSP Application...
Purpuse of this application is to read some information from tables
on BW transaction server and display them within Web page.
Question: How to read selection screen values from a Web template ?
Thanks for any help,
Pawel BorowiecHi,
The selection screen parameters will be on an inputField, so try and get the is of the inputfield generated by doing View source...
And once you get the inputfield Id, you can read the value in the InputField(InF) by
using the following code...!
data : if_value type ref to cl_htmlb_inputfield.
data : variable type string.
if_value ?= cl_htmlb_manager=>get_data( request = request
name = 'inputField'
id = 'InF_ID_here'
if if_value->value is not initial.
variable = if_value->value.
endif.
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna. -
How to read the selected value of a dropdown list box
Hello,
I have 2 custom fields which are of type dropdown list on Accounts(CRMM_ACCOUNT) PCUI application details tab.I need to read the selected value of first dropdown list item,based on that second dropdown list will be populated.
I know where to populate the dropdown list box,it is in FILL_DROPDOWN_LISTBOX.
I dont know how to trap the selection made on dropdown list.
PLease guide me on how to trap the dropdown list field selection value.
Thanks in advance.
Thirumala.Hello,
Check what is done in standard for the fielf REGION which is inked to the country.
Otherwise, you can do the following :
- in field group customizing, for field 1, flag the 'send request' flag. So, when you change the value in this field via the dropdown, the MAC methods are immediately called.
- Put the new value in a global variable (GV).
- in the fill_dropdown_listbox method, get the value from this GV and based on it, filter the values for the dropdown of field 2.
Hope this will help you,
Regards,
Frederic -
How to read the tag values sent by PCo to MII transaction
Hi everybody,
I have an Agent created inside PCo and its listening to a data server. I have also created a notification object which triggers my MII Transaction (after certain condition is getting fulfilled).
Now, I want to pass certain values from PCo to MII using the notification object. For this I have tried 2 options:
1. I defined one input parameter in transaction of type 'XML'. But this did not work. When I used 'Tracer' to check the received values, it showed empty.
2. Since XML variable did not work, I tried with 'String' variable. It worked but the entire input data was in 'String' format.
Actually I used XML_Saver to save the string and given filename as '.xml'. When I opened that xml file, it was looking like this:
<<unable to write XML here>>
Considering the above 2nd option, how can I extract the particular 'Tag' values from XML string. Since the string is not in the format of 'Rowset/Row/Row', I cannot specifically assign/map those tag values to any other variable inside MII transaction.
===========Hi, I was trying to post the xml string. It was not possible yesterday (because, SDN editor has converted xml part into some irregular string).
Now, I am trying to post the string by removing the special characters. Please try to understand it.
Now, my question is how to retrieve the CDATA value 5599999999 using xpath. Please help.
NotificationMessage
Body
Values
Expression1 type xsd string
CDATA 5599999999
/Expression1
/Values
/Body
Faults /
/NotificationMessage -
How to read empty tag value.
Suppose there is a tag name with values ,
<Name>Raj</Name>
I am able to read the tag value 'Raj' ..
But if the tag is like
<Name /> I am getting null pointer exception while reading the tags value..
I have put the reading part in a try catch block .Is there any other efficient way to do it.try {
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.parse(inputSource);
NodeList list = doc.getElementsByTagName("*");
for (int i=0; i<list.getLength(); i++) {
Element element = (Element)list.item(i);
NodeList fstNm = element.getChildNodes();
*// Here is where i get null point exception because of tag being*
*like <test/> ,whereas other tags have vakue like <test>value </test>*
String check_null;
try {
check_null = (((Node) fstNm.item(0)).getNodeValue());
catch(Exception ex) {
check_null="";
//System.out.println(element.getNodeName() + ":" + ((Node) fstNm.item(0)).getNodeValue());
//if((((Node) fstNm.item(0)).getNodeValue()) != null)
hm.put(element.getNodeName(),check_null);
//System.out.println(element.getNodeName() + ":"+ (((Node) fstNm.item(0)).getNodeValue()));
catch (Exception ex) {
System.out.println("Exception in PostPaidInfo Parsing") ;;
System.err.println(ex.toString());
return 1;
}I have just caught the exception ,I want to know is there any other way . The null pointer exception arises not because of string being null , But because of the internal parsing.
Edited by: CulbOy on Apr 29, 2010 12:13 PM -
How to read repeated tag values using sql query
Database version
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Question
How to get repeated tag values?
<TXLife>
<TXLifeRequest>
<TransRefGUID>10bc80e7d60e59b0:a134d0:10d7c4674ad:-7ffd</TransRefGUID>
<TransType tc="1203">OLI_TRANS_TRNHLD</TransType>
<TransExeDate>2011-02-27</TransExeDate>
<TransExeTime>15:06:35</TransExeTime>
<InquiryLevel tc="3">OLI_INQUIRY_OBJRELOBJ</InquiryLevel>
<InquiryView>
<InquiryViewCode>PLANUPDATE_CHBM_1203A</InquiryViewCode>
</InquiryView>
<OLifE>
<SourceInfo>
<SourceInfoName>CHBM Admin Tool</SourceInfoName>
</SourceInfo>
<Activity id="Activity1" HoldingID="Holding1">
<UserCode>User123</UserCode>
<LastUpdate>2011-02-27</LastUpdate>
<ActivityCode>CHBM10001</ActivityCode>
<OLifEExtension VendorCode="0098" ExtensionCode="Activity">
<ActivityExtension>
<SubActivityCode>CHBM20002</SubActivityCode>
<LastUpdateTime>15:06:35</LastUpdateTime>
</ActivityExtension>
</OLifEExtension>
</Activity>
<Holding id="Holding1">
<HoldingTypeCode tc="6">Group Master Contract</HoldingTypeCode>
<Purpose tc="36">Business Protection and Preservation</Purpose>
<Policy>
<CarrierAdminSystem>CHBM</CarrierAdminSystem>
<PolNumber>CHB0001234</PolNumber>
<OLifEExtension VendorCode="0098" ExtensionCode="Policy">
<PolicyExtension>
<BillingDetail>
<PaymentMode tc="3">Quarterly</PaymentMode>
<BillingOrder tc="1009800002">Employee ID</BillingOrder>
</BillingDetail>
<SalaryAllotment>12354333</SalaryAllotment>
</PolicyExtension>
</OLifEExtension>
</Policy>
<Attachment id="Attach1">
<DateCreated>2011-02-27</DateCreated>
<UserCode>System</UserCode>
<AttachmentBasicType tc="1">Text</AttachmentBasicType>
<Description>Event 4</Description>
<AttachmentData>Event Log</AttachmentData>
<AttachmentType tc="1009800001">Transaction Log</AttachmentType>
<AttachmentLocation tc="1">Inline</AttachmentLocation>
<OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
<AttachmentExtension>
<Sequence>2</Sequence>
<CreationTime>16:05:45</CreationTime>
</AttachmentExtension>
</OLifEExtension>
</Attachment>
<Attachment id="Attach2">
<DateCreated>2011-02-27</DateCreated>
<UserCode>System</UserCode>
<AttachmentBasicType tc="1">Text</AttachmentBasicType>
<Description>Event 3</Description>
<AttachmentData>Event Log</AttachmentData>
<AttachmentType tc="1009800001">Transaction Log</AttachmentType>
<AttachmentLocation tc="1">Inline</AttachmentLocation>
<OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
<AttachmentExtension>
<Sequence>1</Sequence>
<CreationTime>16:01:54</CreationTime>
</AttachmentExtension>
</OLifEExtension>
</Attachment>
<Attachment id="Attach3">
<DateCreated>2011-02-27</DateCreated>
<UserCode>P62350</UserCode>
<AttachmentBasicType tc="1">Text</AttachmentBasicType>
<Description>Note 2</Description>
<AttachmentData>Enter notes on changes or edits to plan</AttachmentData>
<AttachmentType tc="14">Note</AttachmentType>
<AttachmentLocation tc="1">Inline</AttachmentLocation>
<OLifEExtension VendorCode="0098" ExtensionCode="Attachment">
<AttachmentExtension>
<Sequence>2</Sequence>
<CreationTime>16:02:23</CreationTime>
</AttachmentExtension>
</OLifEExtension>
</Attachment>
</Holding>
</OLifE>
</TXLifeRequest>
</TXLife>
Expected output shoulb be like this
Description AttachmentType AttachmentData
Event 4 Transaction Log Event Log
Event 3 Transaction Log Event Log
Note 2 Note Enter notes on changes or edits to plan
Please help me any one on this
Edited by: LRAJESH on Apr 20, 2011 8:27 AMSELECT
t2. Description des,
t2.AttachmentType attty,
t2.DateCreated DateCreated,
t2.UserCode UserCode,
t1.Planid Planid,
t2.createdtime,
t1.Ausercode Ausercode
FROM (
SELECT xData doc
FROM dual
) temp_table,
XMLTable ( '/TXLife/TXLifeRequest/OLifE' passing doc
COLUMNS
Planid varchar2(20) path 'Holding/Policy/PolNumber',
AttachmentType xmltype path 'Holding//Attachment' ,
Ausercode varchar2(20) path 'Activity/UserCode'
) t1,
XMLTable
'/Attachment'
passing t1.AttachmentType
columns
Description varchar2(1000) path 'Description',
AttachmentType varchar2(1000) path 'AttachmentType/@tc',
DateCreated varchar2(20) path 'DateCreated',
createdtime varchar2(20) path 'OLifEExtension/AttachmentExtension/CreationTime',
UserCode varchar2(200) path 'UserCode'
) t2 -
How to read multiline element values to a table
Hello every one,
I am facing a problem while reading multiline element values for workflow container.
Through portal i am populating multipul records to the structure in wrokflow and they are storing fine, but when i am trying to read
them through SAP_WAPI_READ_CONTAINER and reding with SWC_GET_TABLE OR SWC_GET_ELEMENT to a table with similar structure, i am not geitting the values.
DATA: lt_url TYPE STANDARD TABLE OF ZHRESS_URL WITH HEADER LINE.
CALL FUNCTION 'SAP_WAPI_READ_CONTAINER'
EXPORTING
workitem_id = '476329' "for instance i have hard coded the value
LANGUAGE = SY-LANGU
USER = SY-UNAME
IMPORTING
RETURN_CODE =
IFS_XML_CONTAINER =
IFS_XML_CONTAINER_SCHEMA =
TABLES
SIMPLE_CONTAINER = lt_container
MESSAGE_LINES =
MESSAGE_STRUCT =
SUBCONTAINER_BOR_OBJECTS =
SUBCONTAINER_ALL_OBJECTS =
swc_get_table wf_container 'URL' lt_url.
the above element URL is multiline structure(ZHRESS_URL).
Request your guidence.
Thanks,
Krish.Hello,
Just look in SIMPLE_CONTAINER, you'll see mutiple entries if there's a table, eg:
ADDRESSSTRINGS USSMITHJ
ADDRESSSTRINGS USJONESB
You can just read them using normal ABAP.
regards
Rick Bakker
hanabi technology -
How to read Choice Field values in a Formula of ohter shrepoint field
Hi,
i want to read choice field values(total values) in formula of other sharepoint calculated column field.
Can anyone please help me.
Thanks & Regards,
SandeepHi,
According to your description, you might need to set the value of a column with the option from a Choice Field based on the value of another column(Site Column 1).
The OOTB Calculated Formulas doesn’t provide such functionality to read the options of a Choice Field, we can do it via SharePoint JavaScript Client Object Model instead.
Here is a documentation about SharePoint JavaScript Client Object Model :
http://msdn.microsoft.com/en-us/library/office/hh185006(v=office.14).aspx
An articel about using SharePoint JavaScript Client Object Model with steps in detail for your reference:
http://social.technet.microsoft.com/Forums/en-US/2f679d4d-9aac-41ce-94a9-872ab258e30a/forum-faq-step-by-step-jsom-in-sharepoint-code-samples?forum=sharepointdevelopment
Feel free to reply if there are still any questions.
Best regards
Patrick Liang
TechNet Community Support -
In NodeList how to read the ERRTAB values
How to Read the NodeList ? I have an error table it has Type and message fields....
NodeList list = document.getElementsByTagName("ERRTAB");I assume you are using XML DOM inside Java mapping. Once you got the Nodelist object initialised, get the length of the node list and run in a for loop for each Node that it has.
VJ -
How to read the field value from Table Control
Hello Experts,
I am creating my first Table Control Screen. Basically I have to create a screen (102) with a table control which has 2 fields: A_QTY, B_QTY and 2 Buttons: SAVE, EXIT.
When Clicked on 'SAVE' the data (MATNR) from a previous screen (101) and the data (A_QTY, B_QTY) from the new screen (102) should be saved into a Z-table.
Internal table t_data has 3 fields.
MATNR
A_QTY
B_QTY.
Table Control TC_RACK was declared like this:
controls tc_rack type tableview using screen 0102.
I/0 Fields:
A_QTY type ZQTY.
B_QTY type ZQTY.
The screen Flow Logic:
process before output.
module status_0102.
loop at t_data into w_data with control tc_rack.
endloop.
process after input.
module exit_0102 at exit-command.
loop at tc_rack.
endloop.
module user_command_0102.
module status_0102output.
set pf-status 'STATUS_102'.
set titlebar 'TITLE_102'.
describe table t_rack lines tc_rack-lines.
endmodule. "status_0102 output
process after input.
module user_command_0615 input.
case ok_code.
when 'SAVE_RK'.
when others.
endcase.
endmodule. "user_command_0102 input
Now for eg, when the users enter values for A_QTY and B_QTY like this:
A_QTY B_QTY
1000 2000
3000 4000
How can I read these values and pass them to T_DATA so that I can save it into Z-table?
I greatly appreciate your help.
I've gone through some previously posted threads and could not understand because my knowledge in this area is preliminary.
Thanks a lot.
Could you please let me know
Edited by: dev a on Jan 13, 2010 2:46 PMHi dev a
You should use
DATA: lv_name(30) TYPE c.
FIELD-SYMBOLS: <QTY> type ZQTY.
GET CURSOR FIELD lv_name. "Get the field name in table control
check sy-subrc = 0.
assign (lv_name) to <QTY>. "Here you get the value in <QTY>
check sy-subrc = 0.
Also use <your table control>-current_line to get the table index uo're currently on.
Hint: Do not use GET CURSOR LINE if you want to get table index since this gives you the line relative to dialog screen
Good luck
Dean Q.
Edited by: Dean Q on Jan 13, 2010 11:11 PM -
How to read select-option values
Hi Experts
I have a requirement where in I need to provide F4 help for a parameter on selection screen for the entries in a select-option on the same screen. Here I need to get the value of select-option and based on that I need to provide f4 help. Please let me know if any one came across such scenario as to how we can read the values on the same screen.
VenkatHere's one I used
CLEAR d_line.
IF s_div IS INITIAL.
d_line-fldname = fldname.
d_line-sign = 'Include'.
d_line-low = 'All'.
WRITE:/ d_line.
ELSE.
LOOP AT s_div.
PERFORM display_selection_detail
USING fldname s_div-sign s_div-option
s_div-low s_div-high.
CLEAR fldname.
ENDLOOP.
ENDIF.
*& Form display_selection_detail
* text
* -->P_FLDNAME text
* -->P_SIGN text
* -->P_OPTION text
* -->P_LOW text
* -->P_HIGH text
FORM display_selection_detail USING p_fldname
p_sign
p_option
p_low
p_high.
CLEAR d_line.
d_line-fldname = p_fldname.
CASE p_sign.
WHEN 'I'.
d_line-sign = 'Include'.
WHEN 'E'.
d_line-sign = 'Exclude'.
WHEN OTHERS.
d_line-sign = p_sign.
ENDCASE.
CASE p_option.
WHEN 'EQ'.
d_line-option = 'Equal'.
WHEN 'NE'.
d_line-option = 'Not Equal'.
WHEN 'BT'.
d_line-option = 'Between'.
WHEN 'GE'.
d_line-option = 'Great Than or Equal'.
WHEN 'LE'.
d_line-option = 'Less Than or Equal'.
WHEN 'GT'.
d_line-option = 'Great Than'.
WHEN 'LT'.
d_line-option = 'Less Than'.
WHEN OTHERS.
d_line-option = p_option.
ENDCASE.
d_line-low = p_low.
d_line-high = p_high.
WRITE:/ d_line.
ENDFORM. " display_selection_detail -
How to read the Hierarchal values in the Profiles ?
Dear Experts,
in the Transaction SU01 when i clicks on the Profile , the Tree List is appearing in the hierarchy. i want to read the values. how can i approach that?
i can able to get the profiles from the FM 'BAPI_USER_GET_DETAIL' . so i had the profile with me, then how can i read the Hierarchal list for that Profile?
please do the needful.
Regards,
Murthy.Hi Murthy
You can check information directly at table AGR_HIER
Kind regards -
ECC5 How to read the stored value from Team Viewer
Hi,
How can I pick up the stored value from the team viewer from within ECC5?
I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE' to read mem id MSS01 but this doesn't exist in ECC5.
All help appreciated.
RobHi,
How can I pick up the stored value from the team viewer from within ECC5?
I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE' to read mem id MSS01 but this doesn't exist in ECC5.
All help appreciated.
Rob -
How to read selected item value from DropDownList?
Hi,
The DropDownList component has a selectedItem property that is supposed to return a ListBase.
But what I want is just the "String" that is supposed to be the selected Item in the DropDownList.
How can I read this value?
thanks
-MalenaThank, yes, I realized that right after I posted my question -:)
I casted the selectedItem property to String and voila.
Best
-Malena -
How to read the current value of hyperlink java bean in multiple record,
I have used a java bean for a multi-record block item. On When-new form-instance I m using fbean package as follows
FBean.Register_Bean(hHyperlink,1,'oracle.forms.demos.beans.Hyperlink');
FBean.Invoke(hHyperlink,1,'setURL','Abc_Entry');
FBean.Invoke(hHyperlink,1,'setLabel','Abc Document');
FBean.Enable_Event(hHyperlink,1,'actionListener',true);
You can see that I am using the number 1 which is hardcoded,for which I will replace with a incremental loop and remove it. Now when I m using the When-Custom-Item-Event, I want to read the URL for the current instance.
I m using
vcEventData := Fbean.Invoke_Char('CONTROL.HYPERLINK',2,'getURL');
to get the second record value , where in I want to avoid the hardcoded 2 or 1
Thank youI recommend you these forums for your question:
Forums Home » Oracle Technology Network (OTN) » Products » Database » JVM
Java in the Oracle Database
Forums Home » Oracle Technology Network (OTN) » Technologies » Java » Java Server Pages (JSP)
Java Server Pages (JSP)
Forums Home » Oracle Technology Network (OTN) » Technologies » Java
http://forums.oracle.com/forums/index.jsp?cat=24
Joel Pérez
Maybe you are looking for
-
I used to have Photoshop CS6 and when I clicked to open it told me that I have a missing file by the name of ExtendedScript.dll and when I wanted to set up Premiere Pro CS6, the set up wouldn't even start because it says I have a missing file but doe
-
Removing leading spaces in a decimal number
I have a decimal number field of length 28 with 9 spaces.I have to print it right justified and remove the leading spaces.I appreciate if anyone can let me the statement for this
-
How to add multiple tasks to the worklist view?
Hi, We are creating a view based on our BPM process and we are using OBPM 11.1.1.4. We do have 2 human workflow tasks in the process. While creating views in the worklist we are able to add only one task is there a way to add multiple tasks to one vi
-
Seeking book recommendation for DBA best practices
Good afternoon, I've been reading a lot of documentation on Oracle and learning quite a number of commands and different ways of doing things. The problem is knowing the commands is one thing, creating the context where they are appropriate/best is a
-
I had to reformat my harddrive and I lost of course my iPod game downloads,
is there any way to get them back without re-buying them? My record that I paid for them is in my iTunes account. I don't want to buy them twice.