Sitemap

Amicuk Programming Answers

CL_ABAP_TYPEDESCR - DESCRIBE_BY_DATA  field length is doubled

-0001-11-30   Views:1

Advertisement

I have a custom program developed on Non Unicode system, that is using CL_ABAP_TYPEDESCR -> DESCRIBE_BY_DATA  to get field lengths of the fields in a structure. The code works perfectly file on Non Unicode system where it is developed, However when t

I have a custom program developed on Non Unicode system, that is using CL_ABAP_TYPEDESCR -> DESCRIBE_BY_DATA  to get field lengths of the fields in a structure. The code works perfectly file on Non Unicode system where it is developed, However when the same code is imported on a UNICODE system the field lengths of the fields in the same structure are exactly doubled. Anybody has any idea, why this may be happening?

The replay answer
Advertisement
> However when the same code is imported on a UNICODE system the field lengths of the fields in the same structure are exactly doubled. Anybody has any idea, why this may be happening?
Yes - because Unicode uses two bytes to represent ONE character.
Markus

Go to See the other 4 answers

CL_ABAP_TYPEDESCR - DESCRIBE_BY_DATA  field length is doubled

Category:DefaultRelease time:-0001-11-30Views:130

I have a custom program developed on Non Unicode system, that is using CL_ABAP_TYPEDESCR -> DESCRIBE_BY_DATA  to get field lengths of the fields in a structure. The code works perfectly file on Non Unicode system where it is developed, However when t[More]

Length report double

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have the code below and i am not sure why the length of the attribute are reported double Code: FIELD-SYMBOLS:     <fs_comp_wa> TYPE abap_compdescr. DATA: lr_desc_table    type ref to CL_ABAP_TYPEDESCR,         lr_desc_struc    type ref to cl_[More]

Field lengths in unicode system.

Category:DefaultRelease time:-0001-11-30Views:130

Hi gurus, I am creating a dynamic internal table. To get the structure of DDIC table at run time i use the following code to create field catalog: DATA : idetails TYPE abap_compdescr_tab,          xdetails TYPE abap_compdescr. DATA : xfc TYPE lvc_s_f[More]

Cl_abap_typedescr= describe_by_data( gt_table )

Category:DefaultRelease time:-0001-11-30Views:130

Afternoon all I am using cl_abap_typedescr=>describe_by_data( <gt_table> ) to retrieve the fieldlist of my dynamically created ALV fieldcatalog.  However, I have just switched to using some fields that are of type INT and now the method ignores t[More]

L_descr_ref ?=cl_abap_typedescr= describe_by_data( gt_tab ).

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have written the code as follows to get the components of the file uploaded.But it goes for dump at the statement written at subject line: And it says " However, the current content of the source variable does not fit into the target variable.&[More]

Dump at cl_abap_typedescr= describe_by_data

Category:DefaultRelease time:-0001-11-30Views:130

Hi , My code is as follows:   l_descr_ref ?= cl_abap_typedescr=>describe_by_data( gt_fldname ).   BREAK-POINT.   CLEAR : l_counter.   LOOP AT l_descr_ref->components[] ASSIGNING <lfs_comp_wa>.     l_counter = l_counter + 1.     ASSIGN COMPONEN[More]

Cl_abap_typedescr= describe_by_data

Category:DefaultRelease time:-0001-11-30Views:130

We've just upgraded from 4.6 to ECC 6.0 and found that the result from cl_abap_typedescr=>describe_by_data differs. In 4.6 the result in field ABSOLUTE_NAME referes to the definition in the main program. In 6.0 we get the definition from the type-poo[More]

Field length change in Web Dynpro Components iView

Category:DefaultRelease time:2015-10-11Views:130

Hi, We are using SAP MDM Web Dynpro Components - Configuration Manager (NW7.3) to develop the UI. One of the issue while disply field is, Though field maintained in MDM has only 2 charaters UI that displays a full-screen-width field. I would like to[More]

Changing field length of a standard field in standard table VBEP

Category:DefaultRelease time:2015-10-11Views:130

Hi, Please advice the possibility and the possible repercussions of changing field lengths in a standard table. Table in concern is VBEP. Thanks & Rgds, PradeepNo you cannot change the field length thanks G. LakshmipathiRead other 2 answers[More]

Type conflict when calling a function module (field length)

Category:DefaultRelease time:2015-10-11Views:130

Dear All,             I am getting this following error while executing:  Type conflict when calling a function module (field length) This is piece of coding i have writern in my action button. method SEARCH_MATERIAL .   data:         node_mat_input[More]

How to create an infotype with one of its field length eq 1000.??

Category:DefaultRelease time:2015-10-11Views:130

hi , i need to create a infotype where one of the field length is 1000 characters how do i achieve this. if i give more than 255 in the PS structure it will not allow. then how do i get a text field of 1000 chars in the screen ( which is an input fie[More]

Hot
Ok I am getting a little fed up of Leopard server now. Not only does the iCal server not work for me but I am now getting the following errors when trying to create users or change which groups they are part of... "Error '-14120' occurred while proce [More]
We have adobe acrobat X pro in the office and are needing to send applications to clients so they can fill it out on their computers at home and send back. Is there a way using this program?Adobe Reader users can only submit data formats such as FDF, [More]
iTunes working fine on my Pc with Vista. Yesterday wouldn't open and puts up 'unknown error 13005 message. I've removed and reloaded iTunes but it still refuses to open and puts up the same message. Any suggestions?Success I've answered my own proble [More]
Hello, I'm having trouble acquiring data from my FlexRIO (PXIe-7962R + NI-5734). I'm writing custom code instead of using FIDL building blocks, because the FIDL requires a master-slave design for synchronized triggering, while I require every FlexRIO [More]
HI Please let me know the answer for this,. thanks,Moderator message - Please search before asking - post locked Repeated violation of forum rules can result in your userid being deleted. RobRead other 2 answers [More]
We have an inbound interfaces that reads a flat file and creates IDocs to create employees (0000, 0001, 0002, 0006, 0105, 0041), positions (1000, 1002, 1011, 1013) and relationships between these objects (1001).  This results in numerous IDocs in err [More]
Hi, Required help on setting up blaze DS. I have Blex builder 3 and Blaze DS turnkey version. Would any one help me in setting up the java application on Blaze DS. Do i require to place Blaze DS and flex(client code) on same system. As of now i have [More]
Hello, I am trying to configure Address Book to get my outlook contacts using OWA. My company uses Exchenge 2007 so I need that... But I am afraid OWA does not exist anymore in Address Book 5... For 4 I was sing this http://docs.info.apple.com/articl [More]
Hi, Had a look around for the answer but I cannot find it. My MBP is running low on HD space, can i delete the old iPhoto Library now i am storing them all on the cloud with photo? Thanks for your help in advance. SteliosVery good point, once they ta [More]
Downloaded ADE today, it crashes on startup. I get the windows error, "Adobe Digital Editions 2.0 has stopped working. Windows is checking for a solution to the problem." Have re-downloaded the file, uninstalled and reinstalled to make sure it w [More]