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
What is append search help? : sap abap data dictionary
It is not possible to create an abap/4 program, which contains only subroutines. State true or false. : abap modularization
Cds views
What is the difference between a dialog program and a report?
WHY CLUSTER TABLE CALLED AS CLUSTER TABLE.
What are logical databases? : abap hr
suppose i want to print sap script output in different printers at a time what are the settings i'll have to make?
What should be the approach for writing a bdc program? : abap bdc
What are the different types of luws?
Explain the difference between call screen and leave screen?
Explain lsmw?
Explain how is batch input process different from processing on line?
What actually happens in real-time recruitment? : sap abap hr
how to create view in bdc..??
what is difference between set screen and call screen ?