Home > Default > About the actual length of domain AUART

About the actual length of domain AUART

November 30Hits:0
Advertisement
Hi experts:
please refer to below code:
REPORT  TEST1.
DATA : abc(4) TYPE c.
DATA : XYZ TYPE VBAK-VKORG.
DATA : XYZ1 TYPE AUART.
abc = 'amit'.
xyz = 'abcd'.
xyz1 = 'xxxx'.
write:/001(01) SY-VLINE NO-GAP,
002(10) abc centered,
012(01) SY-VLINE NO-GAP,
013(10) xyz centered,
023(01) SY-VLINE NO-GAP,
024(10) xyz1 centered,
034(01) SY-VLINE NO-GAP.
Could anyone kindly suggest why the third 'centered' does not work?
I suppose it was caused by the length of AUART, but cannot prove it.
Can anyone help? Many thanks.

Answers

Hi,
Here in your example  the position specified having precedence over centered .
The first two centered are occuring due to only the position specified with them .
You can write the third field as centered as follows changing the position value -
DATA : abc(4) TYPE c.
DATA : XYZ TYPE VBAK-VKORG.
DATA : XYZ1 TYPE AUART.
abc = 'amit'.
xyz = 'abcd'.
xyz1 = 'xxxx'.
write:/001(01) SY-VLINE NO-GAP,
002(10) abc centered,
012(01) SY-VLINE NO-GAP,
013(10) xyz centered,
023(01) SY-VLINE NO-GAP,
*****024(10) xyz1 centered,
026(10) xyz1 centered,
034(01) SY-VLINE NO-GAP.
Here I have changed the position of the third field from 024 to 026.  Now It is working.
Regards
Pinaki
Edited by: Pinaki Mukherjee on Feb 10, 2009 5:20 AM

Read other 12 answers

Tags:

Related Articles

  • About the actual length of domain AUARTNovember 30

    Hi experts: please refer to below code: REPORT  TEST1. DATA : abc(4) TYPE c. DATA : XYZ TYPE VBAK-VKORG. DATA : XYZ1 TYPE AUART. abc = 'amit'. xyz = 'abcd'. xyz1 = 'xxxx'. write:/001(01) SY-VLINE NO-GAP, 002(10) abc centered, 012(01) SY-VLINE NO-GAP,

  • Internal length ( dd03l-intlen ) of data elementNovember 30

    Hi Experts, I have created structure using data elements. intlen  updated in table dd03l is double than Whatever length I defined for data elements. e.g. I defined custom data element ZDEPOT  of domain type WERKS of type char 4. but it's length in ta

  • Problem in Sales Order typeOctober 11

    Hi I am creating a user exit for transaction VA01. In this I am checking for order type 'OR'. But when I create a sales order with order type OR the user exit is getting some other order type. I have got this through debugging. What might be the prob

  • CUC 8 - converting local users with VM's to LDAP users - what is the best method?October 11

    Evening all We are running a new Unity Connect 8.0 environment. Initially the users were either manually imported and created individually. The standard naming convention for the Alias names are first initial + surname. I have integrated LDAP synch s

  • Problem with commons-fileupload library.October 11

    Hello, I'm using the following code to try and upload files to my Tomcat server from HTTP clients. The code is inside a JSP page. When I submit the form to this jsp page, I get no errors but the file is not being uploaded and the only out.println sta

  • Material disc in material masterDecember 2

    when we create the material we have to maintain the text upto 40 chars including space can we maintain more then thisif u want to increase the length of the feild sort description the yes it is possible but u need to take help of abaper the way to do

  • PageRank again...November 30

    Hello, Some days ago I had opened a topic on how to get the PageRank of a website by Java coding. I'm providing hereunder the code I found for this purpose from here: http://www.temesoft.com/google-pagerank-api.jsp I've contacted Temesoft with my err

  • Java Regex QuestionNovember 30

    I wanted to do some regex to see if a string has a subdomain. I want to pass string then check if there is a xxx.example.com or if it's just example.com. Anyone have a clue? Thanks, BrianI just went around and used the split method to check, I'm post

  • Regarding custom objects in SPDDNovember 30

    Hi Experts, I am working for an upgrade project from 4.6C to ECC 6.0. I need some clarifications regarding use of SPDD. 1. Will the SPDD list only the standard objects or will it display the custom objects also? 2. If SPDD is not going to display the

  • Make a String variable equal to a Taglib valueNovember 30

    Hi, I'm using XMLTextReader to parse an XML file. During this I need to test to see if an attribute name of an Element is equal to "domain". I can't seem to work out how to insert the taglib value into my code, and I am starting to think it's no

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.559 s.