Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In an Internal table how do you suppress or add the leading
Zeroes for a particular field in your itab?

Answer Posted / pramod upadhyay

Unpacks the packed field A and places it in the field B
with leading zeros. If B is too
short, it is truncated on the left.
Example:

DATA: p_field (2) TYPE p VALUE 103,
c_field (8) TYPE c.
UNPACK p_field TO c_field.

WRITE: p_field, c_field.

Output: 103,
00000103.

To delete leading zeros use PACK.

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you find the field/data underlying a transaction?

1059


What happens if only one of the commands set screen and leave screen is used without using the other?

1097


What are the events we use in dialog programming and explain them?

1030


What is meant by payscale structure? How did you configure pay scale structure? : sap abap hr

1015


if while coding power goes off , how to retrieve the codes?

2095


Double click function on the lists, identifying the line selected by the user on the list?

1045


What are the different methods of bdc? : abap bdc

1050


In sap script how to print bar code in vertical manner

3265


What are the advantages and disadvantages of ABAP query tool?

1002


What are the prerequisites for creating foreign key relationship?

1161


Explain the advantages and disadvantages of abap query tool?

970


Explain buffering

1363


What is a report?

1262


How do you send files to the legacy systems from sap and vice versa? How does one know that the legacy files have come on to the sap server you are working on? : abap bdc

1089


What is check table?

1012