How To Write Currency Using 2 Decimals Using ABAP

Question: How do I write a USD currency using 2 decimals? Answer: You can write currency using 2 Decimals with a simple WRITE command, first you need to declare a variable with 2 decimals and then pass the amount number … Continue reading

Posted in ABAP | Tagged | Leave a comment

How To Use Spell Amount Function In ABAP

Question: I have a requirement to spell the amount in a form, how Do I do that? What’s the function used to spell the amount? Answer: To spell the amount from number to string, all you need is function SPELL_AMOUNT. … Continue reading

Posted in ABAP | Tagged | Leave a comment

How To Call SmartForms From ABAP Program

Question: I already created the smartforms and create ABAP report program now How do I call SmartForms from ABAP program? Answer: The first step to call SmartForms is by retrieving its name using SSF_FUNCTION_MODULE_NAME function then use the SmartForms name … Continue reading

Posted in SmartForms | Tagged , | Leave a comment

How To Create A Simple SmartForms?

Question: What is SmartForms? Please provide a simple step by step tutorial on how to create SmartForms in SAP. Answer: SmartForms is used to print forms report such as Invoice, Delivery order, etc. You can also use it to print … Continue reading

Posted in SmartForms | Tagged | Leave a comment

How To Create Function In SAP

Question: How do I create a function in SAP? What is the tcode to create function? Please give an example, thanks. Answer: To create function in SAP or using ABAP, first you need to create function group because a function … Continue reading

Posted in ABAP | Tagged | Leave a comment

How To Upload Text File To SAP Internal Table

Question: How do I upload a text file and convert it into internal table in SAP? What’s the function name to achieve this result? Answer: To create the program, you’d need two functions. The first one is GUI_FILE_LOAD_DIALOG to get … Continue reading

Posted in ABAP | Tagged , | Leave a comment

How To Create Transaction Code In SAP

Question: What is TCODE? How to create TCODE (transaction code) in SAP and assign the tcode to a report program? Answer: What is TCODE? Transaction codes (TCODE) is a code to call objects in SAP such as report program, module … Continue reading

Posted in ABAP | Tagged | Leave a comment

How To Create Data Element In SAP

Question: What is data element? And how to creata data element in SAP? Answer: Data element is actually an object that contains data type. E.g. You can create data element for cust name and name the data element as zde_custname … Continue reading

Posted in Data Dictionary | Tagged , | Leave a comment

How To Create A Simple SALV Report In ABAP

Question: What is SALV and How do I create a simple SALV report using ABAP? Please give an example how to use classes and object to generate SALV. Answers: SALV is the same as normal ALV (SAP List viewer) but … Continue reading

Posted in OO Concepts & SALV | Tagged , | Leave a comment

How To Create A Simpe ABAP Class Object

Question: How do I create a simple ABAP Object using class to query data from SAP? Answer: When you’re using Class in ABAP, the two basic sections is defining you class and implement the class, a class can have several … Continue reading

Posted in OO Concepts & SALV | Tagged | Leave a comment