Maths in ABAP

Yes! Maths in ABAP. Being a Designing understudy, I’m bit leaned towards Math. A couple of months prior when I needed to compose a program to figure out indivisible numbers, I felt the need of ABAP order which can give me leftover portion (something like % in C). At long last I discovered it and here are a few gatherings of such ABAP orders. Maths in ABAP .

📺 Recommended Video: SAP ABAP Full Course Roadmap 2026 | Basic to Advanced (HANA, CDS & OData)

Watch our comprehensive video guide below for step-by-step SAP ABAP concepts and practical demonstrations:

Send e-mail with subject line greater than 50 characters

Tracking down the outright worth of a number: |a| – > ABS( a ).
Finding the least number more prominent than a: CEIL( a ).
Finding the best whole number under a: Story( a ).
For mathematical operands, attempt ACOS, COS, and so on
Tracking down the square base of a, a > 0: SQRT( a )
Tracking down the length of characters in the string: STRLEN( a )
Finding leftover portion a/b: a MOD b.

To eliminate characters from any string which has the two characters and numbers then there is a simple stunt.

Assume, you have a string like 12wer34op. Take a variable which is type NUMC and relegate string to this variable and you will have just numbers.

Information: v_string TYPE char10,
v_num TYPE num10.

v_string = ’12wer34op’.
v_num = v_string.

Compose: v_num.
Something to think about:
With the clue above, what might be the result v_num. If it’s not too much trouble, compose it at the remark segment before you compose the code in your framework and execute the program. It would be enjoyable. We are certain, you would be stunned with the result.

Assuming you like Maths, you might likewise want to peruse our other post, Do all ABAPers know Fixed Point Number-crunching?

We as a whole realize ABAP is exceptionally basic language and help is available just with a single tick. Still I deal with issues every so often with all the assist with introducing on the net, I feel a fast tip from a companion/partner is more useful. We can assist you with our experience. We can help and together we can learn.

If you have any desire to get such viable issues and goals directly to your inbox, kindly Buy in. We regard your security and view safeguarding it in a serious way.

Much thanks for your time!!

YOU MAY BE INTERESTED IN

SAP HANA Consultant Cost, Fees, And Job

Mastering OData Query Examples with Ease

SAP training and certification Opportunities

  • Related Posts

    AI-Code Creates More Testing Work: Adapting to Increased Demand |

    Learn about the impact of AI-generated code on QA teams and strategies for adapting to increased testing demands. | Bright-Minds Training Institute, Pune

    Bridging the Gap: How Automation Addresses Understaffing in QA Teams |

    Learn how automation is helping to address the understaffing crisis in quality assurance teams, improving efficiency and enhancing software products. Discover best practices for implementing automation and explore the future of QA automation at Bright-Minds.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    AI-Code Creates More Testing Work: Adapting to Increased Demand |

    • By Varad
    • October 24, 2026
    • 4 views
    AI-Code Creates More Testing Work: Adapting to Increased Demand |

    Bridging the Gap: How Automation Addresses Understaffing in QA Teams |

    • By Varad
    • October 23, 2026
    • 13 views
    Bridging the Gap: How Automation Addresses Understaffing in QA Teams |

    Selenium BiDi: A Game Changer for Browser Automation |

    • By Varad
    • October 22, 2026
    • 17 views
    Selenium BiDi: A Game Changer for Browser Automation |

    Catch Regressions First: The Power of Continuous Performance Baselines

    • By Varad
    • October 21, 2026
    • 30 views
    Catch Regressions First: The Power of Continuous Performance Baselines

    uman Oversight in AI Testing

    • By Varad
    • October 19, 2026
    • 22 views
    uman Oversight in AI Testing

    Harnessing Observability for Automated Regression Tests

    • By Varad
    • October 18, 2026
    • 29 views
    Harnessing Observability for Automated Regression Tests