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
I just connected my iPod, who already has a faulty USB and I'm getting a new one from Apple on its way, but anyways, I just connected it and for some reason WMP recognizes it and starts doing some loading and I see some songs being converted, then I [More]
I took a four minute video the other day in a vehicle and when I uploaded it to Facebook, it was very choppy visually. Is there a reason why it doesn't play back smoothly? I notice that not only in this particular video, but in videos I took standing [More]
We have scenario in BPM where in we have to mapp 2 source structure's into target. To be more specific one structure occurance is 0 to unbounded and other one is of single occurance. We have done the mapping with target structure and tested it manual [More]
We developed SharePoint 2013 provider hosted app using MVC 5 Entity Framework of Database first and publish in Windows Azure site as well as deployed that project to our SharePoint app Catalog. We need to change Windows azure site so we changed to pu [More]
Hi, I created a CORBA client-server using java JDK 1.4 and I am continuously getting this error when I run the client. It did not give me the error the first time I ran it. org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No      [More]
Hi Guys, I'm just wondering if there's any implications on deploying  SSRS 2005 on Reports Manager 2012( along with SQL Server 2012). We are upgrading our OS from 2003 to 2008 and we're thinking when we migrate our reports manager to the new sever, w [More]
Hi All, We have implemented our client logo in the header & Footer of the home page ,inorder to implement it, i have added the Javascript code in Page HTML section.After adding the code ,i can see the logo looks good but the thing,Welcome : USER_NAME [More]
A handler is nothing but a service, I guess. Why use an external alias? We can cite the serice directly. Like the way we use ITS https://host/../its/...webgui i.e. https://host/.../the-service is not good enough? Thanks!What handler are you talking a [More]
I have installed Photoshop Album Starter Edition and like the product very much, but Im wondering how I can select the slideshow feature as my screen saver from the desktop settings panel like you can do with other phtot gallery type applications.Hi, [More]
Idea A useful feature I would like to suggest would be to allow the creation of multiple blank rows from the 'insert row' button in a table tab. Possible Solution A good solution would be to add a prompt next to the button in order to specify the num [More]