ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  ERP CRM  >>  SAP  >>  ABAP
 
 


 

 
 Basis interview questions  Basis Interview Questions
 ABAP interview questions  ABAP Interview Questions
 SAPScript interview questions  SAPScript Interview Questions
 SD interview questions  SD Interview Questions
 MM interview questions  MM Interview Questions
 QM interview questions  QM Interview Questions
 PP interview questions  PP Interview Questions
 PM interview questions  PM Interview Questions
 PS interview questions  PS Interview Questions
 FI CO interview questions  FI CO Interview Questions
 HR interview questions  HR Interview Questions
 SAP CRM interview questions  SAP CRM Interview Questions
 SRM interview questions  SRM Interview Questions
 APO interview questions  APO Interview Questions
 Business Warehouse interview questions  Business Warehouse Interview Questions
 Business Workflow interview questions  Business Workflow Interview Questions
 SAP Security interview questions  SAP Security Interview Questions
 SAP Interfaces interview questions  SAP Interfaces Interview Questions
 Netweaver interview questions  Netweaver Interview Questions
 SAP ALE IDocs interview questions  SAP ALE IDocs Interview Questions
 SAP B1 interview questions  SAP B1 Interview Questions
 SAP AllOther interview questions  SAP AllOther Interview Questions
Question
In an Internal table how do you suppress or add the leading 
Zeroes for a particular field in your itab?
 Question Submitted By :: Konda78
I also faced this Question!!     Rank Answer Posted By  
 
  Re: In an Internal table how do you suppress or add the leading Zeroes for a particular field in your itab?
Answer
# 1
SHIFT  <field_name> LEFT DELETING LEADING 0
 
Is This Answer Correct ?    1 Yes 0 No
Dinakar
 
  Re: In an Internal table how do you suppress or add the leading Zeroes for a particular field in your itab?
Answer
# 2
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 ?    3 Yes 0 No
Pramod Upadhyay
 
 
 
  Re: In an Internal table how do you suppress or add the leading Zeroes for a particular field in your itab?
Answer
# 3
condense
 
Is This Answer Correct ?    0 Yes 0 No
Chvpavankumar
 
  Re: In an Internal table how do you suppress or add the leading Zeroes for a particular field in your itab?
Answer
# 4
We can use a function module 'CONVERSION_EXIT_ALPHA_INPUT' 
to add the leading zeros.
example:
 CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
 EXPORTING
      INPUT = P_KUNNR 
 IMPORTING
      OUTPUT = P_KUNNR.
 
Is This Answer Correct ?    1 Yes 0 No
Student
 

 
 
 
Other ABAP Interview Questions
 
  Question Asked @ Answers
 
In select-options, how to get the default values as current month first date and last date by default? Eg: 1/10/2006 and 31/10/2006 Yash-Technologies3
how to transport request give step/producer of transport request give step?  2
whai is the transaction code or table to see all print programs Reliance1
what is the function module to read the standard text?  1
if you want to improve the response time logical database permits you to achive this using?  1
I have a table with 400 recs. among some are duplicate records. how can I remove the duplicate records from the table. pls help me out. IBM2
what is current version of sap r/3 ? HCL3
in mm and sd,in which table plant and storage location are there?  3
how is data transported from module to program? Accenture1
3. After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then?  1
Can we download master data using LSMW method?  1
what is the standard program to check the consistency of partner profiles? Intelligroup1
What the Object will be created when upload a Logo?  1
What is WEB Dynpro Comp. / intf?  1
shell we use select-options in mpp?then how? Cap-Gemini1
control break statements in ABAP? TCS3
What do you mean by correction and Transportation system?  1
Why can we get the Function module when we activate the Smartform ? Satyam2
how do the sub-total in sap scripts ITC-Infotech1
what is Catch Command? IBM2
 
For more ABAP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com