During the execution of an ABAP program, it often becomes necessary to clarify additional data from the user. For example, interrupt execution or continue depending on the algorithm and other options.
Continue reading Question to user SAP ABAP. POPUP_TO_CONFIRM.Category Archives: Function modules ABAP
How work with Function modules SAP in ABAP? Creation, modification, call, remote call via RFC and other options for working with functional modules in ABAP.
How to close RFC connection ABAP?
Sometimes there is a need to forcibly close the RFC connection after calling some RFC module. There can be many reasons, but more importantly, how to do it?
The functional module RFC_CONNECTION_CLOSE will help us with this. Below I will give an example of calling this FM for greater clarity:
ABAP last day of month SAP.
The problem: “How in ABAP get last day of month SAP ?” and first month in ABAP is not uncommon. For example, display orders for the current month, regardless of what date it is today. Or calculate the turnover for this month and so on.
Continue reading ABAP last day of month SAP.Add month to date ABAP SAP. Month_plus_determine.
Adding/subtracting a month to/from a date in SAP ABAP can be done with the FM MONTH_PLUS_DETERMINE. Operations with months are not so frequent, but just as useful. For example, calculate the end date of a contract that expires in half a year. In order to subtract the desired number of months, we simply pass a negative number to the months parameter.
Continue reading Add month to date ABAP SAP. Month_plus_determine.Days_between_two_dates. How to find difference between dates in ABAP SAP?
Using the FM DAYS_BETWEEN_TWO_DATES we can quickly get the result as the difference between dates in days. You can count the days until the end of the payment term or calculate the number of days until the end of the contract and much more.
Continue reading Days_between_two_dates. How to find difference between dates in ABAP SAP?