To append zeros

Advertisement

Hi all, I have a requirement in that i have to append zeors to the left of a character variable which is having length 10. While using shift statement the default character is space, then i tried with the 'IN BYTE MODE' option but there the representation is different,Each byte is represented as two characters.Is there any easy way to append zeros to a character variable using any of the ABAP keywords. Thanks in Advance, Shaju

Hi, How can I add some zeros in the end of a field in the decimal places? I need to have 6 decimal places, so which ever decimal place is not filled, should be filled with zeros. Example: If the value is 11.123 I need to convert it to 12.123000

Hi All, One small doubt regarding this question. i.e in sO10 there is a standard text contains data 2 pages.my requirement is just display 1000 charecters only from that standard text. If i use READ_TEXT is it possible? One more doubt is T_lines tabl

The field RSSELDONELNR references the system data element RSNRCHAR which is CHAR10. When I try to use this field in a WHERE clause, the only success I have had so far is to code WHERE rsseldonelnr = "%1" which of course will return any row wher

Dear Friends, In a transparent table xyz I have one field 'Bill No.' which is of character type & length 10. when I insert data in this table the value for this field gets stored as '0000000001'. I am facing a problem when the user is giving value o

Hi , the follwing SQL generates Zero's prefixed to the rownum. While inserting the data into table all the zero's go away why ? How can i insert data with Zero's ? <SQL> select (Case length(rownum) when 1 then '0000'||rownum when 2 then '000'||rownu

Hi to all, while migrating from NW to OES, one clustered volume with one (and always the same) folder is duplicated with an trailing zero at the folders name. Source is USER:\Abteilung\Edv\ Destination is /media/nss/USER/Abteilung/EDV0/ while /var/op

Hello Friends, How can I remove leading zeros in an Internal Table Value. I am writing a BDC for User Defined Transaction. Here BDCDATA-Fval contains length of 132 chars. When I append a value to BDCDATA, it is appending as right justified. when we t

Hi All, I am downloading a .xls file using the function module "GUI_DOWNLOAD". But it is truncating the leading zero's in some fileds. For example : in the field Account group , value is "0001" but in .xls file it is coming as "

Hello All, I have been stumped by this challenge for a few hours now, so would appreciate your suggestions. I am using APD to produce a CSV file where the source is a query. The output requires 0MATERIAL and this is delivered by the source query. The

Hello experts, I am trying to download the data using GUI_DOWNLOAD in .CSV format but the leading zeros are getting truncated. For instance Company code 0001 is displayed as 1 in the CSV File. But when I open the same file in notepad I am seeing 0001

I'am attaching one VI.Here I 'am trying to combine three numbers from the termination part of the motor for finding the steps it rotated. So the numbers 165,166, 167 in the combination given in VI will provide me the necessary number.I need a help th

Greetings, I am using the following code to create a pipe delimited extract file dynamically. The problem: leading zeros are being lost. For example, when I do an extract of BKPF, BELNR is appended to the extract without leading zeros. This is a p

As i am having field BKPF-BELNR of internal table whose value is :0000000010 BKPF-BELNR = 0000000010 i have to remove first two zero from left and append 'CE' and result like this : 'CE00000010' as i have tried shift field remove leading zeros . it

Hi, I had made a report in which i have to display 'POSTING DATE' (iseg-budat) when we execute the report i.e. it should be displayed as PERIOD :- _______ to _______ . 2nd problem is i had displayed the material no. ,but there are zeros which are

Dear all , I have created a generic extrator with function module but there are zero records which are getting extracted.I am able to extract records if I execute only the function module. Below is the code for the same.* FUNCTION ZGET_CUST_SALP . "

hi, how can i put leading zeros (functionality of FM CONVERSION_EXIT_ALPHA_INPUT) in SAP Script?? b'coz of not having leading zeros in PO number,i m facing problems in fetching the PO header text(text id = F01) using INCLUDE syntax. Message was edi