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

What is append search help? : sap abap data dictionary

1273


It is not possible to create an abap/4 program, which contains only subroutines. State true or false. : abap modularization

1436


Cds views

8510


What is the difference between a dialog program and a report?

1149


WHY CLUSTER TABLE CALLED AS CLUSTER TABLE.

2336


What are logical databases? : abap hr

1195


suppose i want to print sap script output in different printers at a time what are the settings i'll have to make?

2334


What should be the approach for writing a bdc program? : abap bdc

1211


What are the different types of luws?

1249


Explain the difference between call screen and leave screen?

1214


Explain lsmw?

1134


Explain how is batch input process different from processing on line?

1100


What actually happens in real-time recruitment? : sap abap hr

1093


how to create view in bdc..??

2869


what is difference between set screen and call screen ?

1097