Reading Component Type in ABAP
hi
Given a table name, is it possible to identify its 'Component type' <b>programmatically</b>
for example VBAK has the following Application/Component hierarchy:
SD - Sales and Distribution
SD-SLS - Sales
VA - Application development R/3 Sales
<b>VBAK</b> - Sales Document: Header Data
So, is it possible to read this hierarchy in an ABAP program?
Hi
From the table description and the Dev class attached to it, and from the fields description we will come to know the component types of that table
all these are stored in different tables with respect to that table
check the tables
TADIR,DD03L, TDEVC etc to get all the above linked things of a table
Reward points for useful Answers
Regards
Anji
Similar Messages
-
Reading XML file to ABAP internal table
Hi all,
Iam trying to convert a XLM file into abap internal table , am using XSLT transformation to parse the XML file and i am using "CALL METHOD cl_gui_frontend_services=>gui_upload" for reading the XML file.
below is the XML file.
===========================================================================
- <PIXBridge version="2.2" timestamp="2003-04-09T15:27:00">
- <PIX>
<TransactionType>605</TransactionType>
<TransactionCode>98</TransactionCode>
<TransactionNumber>6888965</TransactionNumber>
<SequenceNumber>40001</SequenceNumber>
- <SKUDefinition>
<Company>GZL</Company>
<Division>BMD</Division>
<Season />
<SeasonYear />
<Style>ORT002A</Style>
<StyleSuffix />
<Color>K13</Color>
<ColorSuffix />
<SecDimension />
<Quality />
<SizeRangeCode />
<SizeDesc>M</SizeDesc>
<SkuID>200140577</SkuID>
</SKUDefinition>
</PIX>
</PIXBridge>
=================================================================
and my Transformation code is as below
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output encoding="iso-8859-1" indent="yes" method="xml" version="1.0"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<IPIX>
<xsl:apply-templates select="//PIX"/>
</IPIX>
</asx:values>
</asx:abap>
</xsl:template>
<xsl:template match="PIX">
<item>
<TRANSACTIONTYPE>
<xsl:value-of select="TransactionType"/>
</TRANSACTIONTYPE>
<TRANSACTIONCODE>
<xsl:value-of select="TransactionCode"/>
</TRANSACTIONCODE>
<TRANSACTIONNUMBER>
<xsl:value-of select="TransactionNumber"/>
</TRANSACTIONNUMBER>
<SEQUENCENUMBER>
<xsl:value-of select="SequenceNumber"/>
</SEQUENCENUMBER>
<SKUDEFINITION>
<COMPANY>
<xsl:value-of select="Company"/>
</COMPANY>
<DIVISION>
<xsl:value-of select="Division"/>
</DIVISION>
<SEASON/>
<SEASONYEAR/>
<STYLE>
<xsl:value-of select="Style"/>
</STYLE>
<STYLESUFFIX/>
<COLOR>
<xsl:value-of select="Color"/>
</COLOR>
<COLORSUFFIX/>
<SECDIMENSION/>
<QUANTITY/>
<SIZERANGECODE/>
<SIZEDESC>
<xsl:value-of select="SizeDesc"/>
</SIZEDESC>
<SKUID>
<xsl:value-of select="SkuID"/>
</SKUID>
</SKUDEFINITION>
</item>
</xsl:template>
When i run my program i am getting the values only till the sequence number part and im not getting any values that is read in between <SKUDEFINITION> ..... </SKUDEFINITION>
I need help to sort this , kindly help me in this.
regs,
rajaI am not able to get a clue out of that, can Get Durairaj Athavan Raja in to loop for sorting this out.
I made changes to my transformation program , but still not getting the output of the components inside the
<SKUDefinition> , but when i debug the transformation i can able to see the output values for those components but when i get the values in the result table im not getting values of those components.
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output encoding="iso-8859-1" indent="yes" method="xml" version="1.0"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<IPIX>
<xsl:apply-templates select="//PIX"/>
</IPIX>
</asx:values>
</asx:abap>
</xsl:template>
<xsl:template match="PIX">
<item>
<TRANSACTIONTYPE>
<xsl:value-of select="TransactionType"/>
</TRANSACTIONTYPE>
<TRANSACTIONCODE>
<xsl:value-of select="TransactionCode"/>
</TRANSACTIONCODE>
<TRANSACTIONNUMBER>
<xsl:value-of select="TransactionNumber"/>
</TRANSACTIONNUMBER>
<SEQUENCENUMBER>
<xsl:value-of select="SequenceNumber"/>
</SEQUENCENUMBER>
<xsl:for-each select="SKUDefinition">
<SKUDEFINITION>
<COMPANY>
<xsl:value-of select="Company"/>
</COMPANY>
<DIVISION>
<xsl:value-of select="Division"/>
</DIVISION>
<SEASON/>
<SEASONYEAR/>
<STYLE>
<xsl:value-of select="Style"/>
</STYLE>
<STYLESUFFIX/>
<COLOR>
<xsl:value-of select="Color"/>
</COLOR>
<COLORSUFFIX/>
<SECDIMENSION/>
<QUANTITY/>
<SIZERANGECODE/>
<SIZEDESC>
<xsl:value-of select="SizeDesc"/>
</SIZEDESC>
<SKUID>
<xsl:value-of select="SkuID"/>
</SKUID>
</SKUDEFINITION>
</xsl:for-each>
</item>
</xsl:template>
</xsl:transform>
==================
Below is my main program
===================
TYPE-POOLS abap.
CONSTANTS gs_file TYPE string VALUE 'C:\XMLABAP1.xml'.
This is the structure for the data from the XML file
TYPES: BEGIN OF ty_text,
TransactionType(3) type n,
TransactionCode(2) type n,
TransactionNumber(7) type n,
SequenceNumber(5) type n,
Company(3) type c,
Division(3) type c,
Season(3) type c,
SeasonYear(4) type c,
Style(8) type c,
Color(3) type c,
SecDimension(3) type c,
Quality(3) type n,
SizeRangeCode(2) type c,
SizeDesc(1) type c,
SkuID(10) type c,
END OF ty_text.
Table for the XML content
DATA: gt_itab TYPE STANDARD TABLE OF char2048.
data: xmlstr TYPE XSTRING.
Table and work ares for the data from the XML file
DATA: gt_person TYPE STANDARD TABLE OF ty_text,
gs_person TYPE ty_text.
Result table that contains references
of the internal tables to be filled
DATA: gt_result_xml TYPE abap_trans_resbind_tab,
gs_result_xml TYPE abap_trans_resbind.
For error handling
DATA: gs_rif_ex TYPE REF TO cx_root,
gs_var_text TYPE string.
Get the XML file from your client
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = gs_file
CHANGING
data_tab = gt_itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Fill the result table with a reference to the data table.
Within the XSLT stylesheet, the data table can be accessed with
"IPERSON".
GET REFERENCE OF gt_person INTO gs_result_xml-value.
gs_result_xml-name = 'IPIX'.
APPEND gs_result_xml TO gt_result_xml.
Perform the XSLT stylesheet
TRY.
CALL TRANSFORMATION ZAUM_MANH_SYNC_RPT
SOURCE XML XMLSTR
RESULT (gt_result_xml).
CATCH cx_root INTO gs_rif_ex.
gs_var_text = gs_rif_ex->get_text( ).
MESSAGE gs_var_text TYPE 'E'.
ENDTRY.
Now let's see what we got from the file
LOOP AT gt_person INTO gs_person.
WRITE: / 'Transaction Type:', gs_person-TransactionType.
WRITE: / 'Transaction Code :', gs_person-TransactionCode.
WRITE: / 'Transaction Number :', gs_person-TransactionNumber.
WRITE: / 'SequenceNumber :', gs_person-SequenceNumber.
WRITE: / 'Company : ', gs_person-Company.
WRITE : /.
ENDLOOP. "gt_person. -
XSD Data Type to ABAP Proxy Tech. Type
I am working with an ABAP development team who is creating PROXYs from the Service Interfaces I have setup in the ESR (PI 7.11). I have been asked to set the type of a numeric field by the ABAP developer as this:
"Yeah we can convert from string to currency but sap internally stores currency with 3 decimals so we may got to do some multiplications and divisions based on how many decimals sender passes. If you could create a numeric with 3 decimals that is ideal."
The XSD type as xsd:decimal, but in the proxy it seems to create Tech. Type = STRING.
I can apply formatting rules in the message mapping, but developer is convinced that the Service Interface can have the correct ABAP Tech. Type. I do not find any messages in this forum, so not sure what to do.
Thank you for your time.Internal ABAP types like packed or float cannot be created by ABAP proxy.
I recommend to use String for any type. Inside XML you will have a String representation anyway, but you will encounter less issues in converting from XML to ABAP internal types.
I work a lot with currency fields, it is no problem at all. Inside ABAP you mave currency field to string field, the decimals are correct.
If course, in mapping you have to create a decimal field, but this would not be any change, if you had a decimal type in ABAP. -
Error in ABAP Mapping (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION)
Hi ,
Scenario: Manually Purchase Order is created, automatically Sales Order should be created in the Target System through PI,
I have used Message Mapping which is working fine for single Customer and Vendor,
For Multiple Customers and Vendors i am using one ZTABLE, Only Message Mapping is not sufficient to my requirement.
Now i am using both Message Mapping and ABAP Mapping at a time in Interface Mapping. I created the class and done the development., whene i run the scenario i am getting the error as below,
*<SAP:Stack>Error in mapping program ZCL_SD_IDTO_POSO (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference</SAP:Stack>*
*<SAP:Retry>M</SAP:Retry>*
*</SAP:Error>*
Please let me know.
Best Regards
VamsiHave u seen the ABAP mapping guide?
Refer this series to the ABAP mapping section.https:///people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
It will be very handy and useful. -
Null Pointer Exception in CO of type Webdynpro ABAP
Hi Friends,
I am getting an Error in creating a callable object of type Webdynpro ABAP,
The ABAP webdynpro application is working fine individually, but while creating a callable object of the same type, I get the following error,
(This happens when I click on <b>'Search'</b> button after putting the wd app name)
<i><b>The initial exception that caused the request to fail, was:
com.sap.mw.jco.JCO$Exception: (127) JCO_ERROR_FIELD_NOT_FOUND: Field LANGU not a member of INPUT
at com.sap.mw.jco.JCO$MetaData.indexOf(JCO.java:9372)
at com.sap.mw.jco.JCO$Record.setValue(JCO.java:14778)
at com.sap.caf.eu.gp.model.connect.rfc.abapwd.impl.ABAPWDAppManager.getAppInfo(ABAPWDAppManager.java:54)
at com.sap.caf.eu.gp.ui.co.config.abapwd.VSelect.getApplicationData(VSelect.java:493)
at com.sap.caf.eu.gp.ui.co.config.abapwd.VSelect.onActionSearch(VSelect.java:438)</b></i>
Do somebody has any idea about the problem?
Thanks in advance,
Deepak.Please send us the CreateEmployees.java. It seem the problem is in the way you using the generated java classes.
-
DATA TYPE IN ABAP CORRESPONDING TO TYPE REAL IN MDM
Hi all,
I am working on a code to fetch data from MDM, using the *MDM ABAP APIs*_._ I could retrieve almost all the Fields except for one, which has data type REAL in MDM. I need to find the type in ABAP, corresponding to the type REAL in MDM. I need to define this field in the structure but I am not sure as to which data type to put against it. I have already tried float, decimal, string, char... nothing works!!
Kindly let me know if anybody has come across the same issue and resolved it.
Thanks and regards,
AasthaHello,
We're getting the same problem too.
Have you deleted your Real fields and u've created them as a measurement field?
Is it really necessary to create the fields with type 'measurement'?
Or do you maintain in MDM your field with type Real and you treat it as type 'mesurement' into your ABAP API with measure 'none', while in SAP ECC it's created as a numeric with decimals.
Thanks for your feedback!
Carlos Santamaría. -
How to find what are the support-teams map with particular componant type
hi experts,
i am new in solution manager.. My requirement is when creating the support message in crmd_order t-code i have to give the componant type in transaction data after that in fast entry screen i have to assign support team for that componant type .. here i have to give only valid support team which are map with particular componant type .. when save the support message here i have to check that support team is map with that particular componant type (i.e that support team is belong to that componant type ) .. thats what i have to do in abap development .. so how to find the what are all the support teams mapped with particular componant type .. whether it is stored in any table or ?.. Please give solutions ..
Regards,
Kumar..Hi Kumaresan-
I'm not sure I fully understand your requirement but I will try to help out. If you are trying to determine / associate the relevant support team according to which component they are responsible for, this might help.
The determination of the support team is maintained by configuring rule 13200137 in transaction PFAC_RESPO.
Click on the Responsibilities Tab
Create your responsibility based on your support team requirements
Assign the appropriate Support Team, this data will be taken from the settings you have maintained when creating your org chart in ppoma_crm
Highlight a responsibility and click Change
In this table you will see an entry for SAP Component, this is where you identify which support team will be determined based on component -
Reading URL parameters in ABAP webdynpro
I have a requirements to run my ABAP Webdynpro application view based on two parameters passed to it from portal. How can I read the parameters in ABAP webdynpro and use them to write my condition in the run time. I would appreciate it if someone has any code that would help me also.
Again your help and support is highly appreciated.
LilyHi Lily,
To read the URL parameters, you need to right the following code in the HANDLEDEFAULT method
of the your default window controller.
DATA : it_parameter TYPE tihttpnvp,
wa_parameter TYPE ihttpnvp.
DATA lo_nd_url_param TYPE REF TO if_wd_context_node.
DATA ls_url_param TYPE wd_this->element_url_param.
" Get all URL parameters
CALL METHOD wdevent->get_data
EXPORTING
name = if_wd_application=>all_url_parameters
IMPORTING
value = it_parameter.
" Get parameter values
CLEAR wa_parameter.
READ TABLE it_parameter WITH KEY name = 'PERNR' INTO wa_parameter.
IF sy-subrc EQ 0.
ls_url_param-pernr = wa_parameter-value.
ENDIF.
CLEAR wa_parameter.
READ TABLE it_parameter WITH KEY name = 'SUBTY' INTO wa_parameter.
IF sy-subrc EQ 0.
ls_url_param-subty = wa_parameter-value.
ENDIF.
CLEAR wa_parameter.
READ TABLE it_parameter WITH KEY name = 'BEGDA' INTO wa_parameter.
IF sy-subrc EQ 0.
ls_url_param-begda = wa_parameter-value.
ENDIF.
CLEAR wa_parameter.
READ TABLE it_parameter WITH KEY name = 'ZZPRNTOPT' INTO wa_parameter.
IF sy-subrc EQ 0.
ls_url_param-zzprntopt = wa_parameter-value.
ENDIF.
" Save URL parameter to context
lo_nd_url_param = wd_context->get_child_node( name = wd_this->wdctx_url_param ).
lo_nd_url_param->set_static_attributes(
static_attributes = ls_url_param ).
Regards,
Vikrant -
Function module to read XML file in ABAP
Hey guys
is there any function module which can read an XML file into an ABAP code?
we are getting some file on the application server in XML format and we need to read this file in ABAP code,how can i achieve this ?
thanz
ahmadHi Ahmad,
These are few functions to work with XML in ABAP.
SDIXML_DATA_TO_DOM: Convert SAP data (elementary/structured/table types) into DOM (XML)
SDIXML_DOM_TO_XML: Convert DOM (XML) into string of bytes that can be downloaded to PC or application server
SDIXML_DOM_TO_SCREEN: Display DOM (XML)
SDIXML_DOM_TO_DATA
Example of using these:
eport z.
data: it_table like t001 occurs 0.
data: l_dom TYPE REF TO IF_IXML_ELEMENT,
m_document TYPE REF TO IF_IXML_DOCUMENT,
g_ixml TYPE REF TO IF_IXML,
w_string TYPE XSTRING,
w_size TYPE I,
w_result TYPE I,
w_line TYPE STRING,
it_xml TYPE DCXMLLINES,
s_xml like line of it_xml,
w_rc like sy-subrc.
start-of-selection.
select * from t001 into table it_table.
end-of-selection.
initialize iXML-Framework ****
write: / 'initialiazing iXML:'.
class cl_ixml definition load.
g_ixml = cl_ixml=>create( ).
check not g_ixml is initial.
write: 'ok'.
create DOM from SAP data ****
write: / 'creating iXML doc:'.
m_document = g_ixml->create_document( ).
check not m_document is initial.
write: 'ok'.
write: / 'converting DATA TO DOM 1:'.
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
NAME = 'IT_TABLE'
DATAOBJECT = it_table[]
IMPORTING
DATA_AS_DOM = l_dom
CHANGING
DOCUMENT = m_document
EXCEPTIONS
ILLEGAL_NAME = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
check not l_dom is initial.
write: / 'appending DOM to iXML doc:'.
w_rc = m_document->append_child( new_child = l_dom ).
if w_rc is initial. write 'ok'.
else. write: 'Err =', w_rc.
endif.
visualize iXML (DOM) ****
write: / 'displaying DOM:'.
CALL FUNCTION 'SDIXML_DOM_TO_SCREEN'
EXPORTING
DOCUMENT = m_document
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
convert DOM to XML doc (table) ****
write: / 'converting DOM TO XML:'.
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
DOCUMENT = m_document
PRETTY_PRINT = ' '
IMPORTING
XML_AS_STRING = w_string
SIZE = w_size
TABLES
XML_AS_TABLE = it_xml
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
write: / 'XML as string of size:', w_size, / w_string.
describe table it_xml lines w_result.
write: / 'XML as table of', w_result, 'lines:'..
loop at it_xml into s_xml.
write s_xml.
endloop.
write: / 'end of processing'.
end of code
Let me know if you have further questions..
BR
Rakesh -
What is the different between component and component type in extract struc
Hi All,
What is the different between component and component type in the Extract Structure?
I used them, but I never really know the different between them yet.
Thanks,
GraceThe difference between Component and Component Type are:
Component This is essentially the field name in the extraction structure. These can either be SAP delivered field names or custom field names (e.g. Y* or Z*).
Component Type This defines the data definition for the field, along with associated attrributes and descriptions for anything using that Component Type, to define the corresponding Component. If you double-click on any Component Type in an extraction structure, it will show you the definitions that have been setup for that Component Type (will display as Data Element but it's essentially synonymous - Component Type refers to structures and Data Elements refer to tables). -
Defining complex types in ABAP
Hi Folks,
I am new to the ABAP world and has started programming in it for about two weeks now (therefore, two weeks of experience so far ). I have a question regarding definition of complex types in ABAP. Basically what I want to achieve is to define a type which is either mytype1 or mytype2. During the runtime, it should be decided whether complextype is of mytype1 or of mytype2. Maybe to put some more concrete context: I will call a method with an object of type "complextype". Depending how I set this object, this will be of mytype1 or mytype2. Please see the code schema below.
TYPES BEGIN OF mytype1.
TYPES:
TYPES END OF mytype1.
TYPES BEGIN OF mytype2.
TYPES:
TYPES END OF mytype2.
TYPES BEGIN OF complextype.
TYPES:
mytype_name TYPE mytype1,
mytype_name TYPE mytype2.
TYPES END OF complextype.
Is this a correct way to approach? If yes, how can I express this (either mytype1 or mytype2 but only one of them at a certain time) in ABAP types correctly?
I will appreciate any kind of help.
Thanks a million,
Boldbaatar
Edited by: Boldbaatar Tsend-Ayush on Apr 6, 2011 8:24 PMHi,
I think you should use the dynamic data reference .
TYPES BEGIN OF mytype1.
TYPES:
TYPES END OF mytype1.
TYPES BEGIN OF mytype2.
TYPES:
TYPES END OF mytype2.
data: dref_complex type ref to data.
field-sumbols:<fs_any> type any.
if type eq mytype1.
l_type = 'MY_TYPE1'.
elseif type eq mytype2.
l_type = 'MY_TYPE2'.
endif.
create data dref_complex type (l_type).
"In order to access the components of dref_complex , you should assign the same to field symbol
assing dref->* to <fs_any>.
"then u can use ASSIGN COMPONENT to get individual components
Regards
Arshad -
Getting error : Expected a child component type of UISelectItem/UISelectIte
Hi,
I am using facelet and third party tool for displaying Grid.
When I am using following code then getting the error :
"Expected a child component type of UISelectItem/UISelectItems for component type javax.faces.SelectOne"
Code:
<ig:column sortBy="phoneNumber">
<f:facet name="header">
<h:outputText value="Phone Number" />
</f:facet>
<h:selectOneMenu value="#{DATA_ROW.phoneNumber}" >
<f:selectItems value="#{mylist.list1}"/>
</h:selectOneMenu>
</ig:column>
Please suggest to resolve the issue.following is the component tree at which this error is occured:
<HtmlSelectOneMenu disabled="false" id="_ig26" immediate="false" localValueSet="false" readonly="false" rendered="true" required="false" transient="false" valid="true">
<UISelectItems id="_ig27" rendered="true" transient="false"/>
</HtmlSelectOneMenu> -
dear sir,
in solution manager the component type is stored in dswp_csncomp table while creating the support desk message.. but in R/3 system component type stored it where (which table ) .. please reply..
Regards,
kumarHi Kumar,
I hope, that I understand your question correctly.
When creating a support desk message in satellite systems, the proposed component is derived from technical information of the transaction.
The application component is assigned to the package, which is visible on tab "Properties". You can the display the assignment of a transaction as follows:
- execute transaction
- choose System -> Status
- double click on field "Transaction"
- double click on field "Package"
- tab "Properties" shows the assigned Application Component
I don't know the table.
Regards,
Ruediger
Message was edited by: Ruediger Stoecker (Grammar corrected) -
Component type in property tree
Hi Experts,
Can you please provide me the details about what is the component type in a property tree of a specification and how can we find which component type is assigned to a specification property tree.
Thanks in Advance
Regards
KapilDear Kapil
you misinterpret the data model of EHS. The "Component type" is just "customizing". This customizing is used in any !! value assignmen type C (composition); We have may be 50 (or more; I do not have counted them) value assignment type of type C in STANDARD tree; so there is no answer to your question possible as component type can be used very often in different contexts
C.B. -
How can we relate c and x types in ABAP
hi all,
I would like to know how we could relate c type and x type in ABAP.
In terms of size specification.
Thank you all
prasad.Hi Prasad,
Consider the following code snippet -
data : char type c,
hexa type x.
Now, both these variables are of 1 byte each. However, they store different kinds of data, so we have -
hexa = '41'.
write : hexa to char.
write: char , hexa.
hexa is going to store the hexadecimal number 41. (the decimal equivalent is 65). The first write statement does the automatic type conversion. so we get the 65th ASCII character in the character variable (which is the capital A).
Hope that helps.
Regards,
Anand MAndalika.
Maybe you are looking for
-
I am new to Imac. I want to use an external hard drive to backup to but the drive shows very little free space when in fact it is empty. Do I need to reformat it and, if so How? Thanks
-
How to run multiple queries in a report 6i
hi! i have multiple queries that i have created in data model how can i invoke them in my report? thanks!
-
Panel contents overlap when using borderSkin style and layout=absolute
This problem has been reported on several occasions (http://bugs.adobe.com/jira/browse/SDK-14806) and there are several articles that talk about this: http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/ http://dougmccune.com/blog/200
-
New iPhone5 app store update says K2HAppPurchasePage
Brand new iPhone5 updated from a 4 App Store, Updates now shows a title across the top: "P2.SoftwareUpdates..." also shows "K2HAppPurchasesPage.Title..." kind of like it used to say "purchased apps" (When activated, this screen looks pretty weird t
-
Data field FUNCTIONAL_YN does not support the default value (Message 14120)
L.S., When defining a data type of category NC, I would like to use data fields of type checkbox. At NC logging data entry the checkbox should be "checked" by default. When looking for the proper value to indicate that the ccheckbox is selected, I ha