on 2025 Mar 04 6:45 AM
Request clarification before answering.
Dear Sushmithanaveenanthea,
depending on the context in which you're looking for
such a function, there are a large number of functions
in ABAP that can return 0.
For example, the standard function STRLEN returns 0 if
the string is empty:
Another similar example would be determining the
table size:
Both of these examples return 0 as a count, but most
functions return a return value indirectly, via the SY-
SUBRC, indicating whether the call was successful or
not:
Example of successfully reading a record from a table:
Maybe you are looking for a function that returns zero
to see which data type is used by default?
In this case, I have moved the last example into a
function that uses the return value of the type from SY-
SUBRC:
This is what the FUBA call looks like:
I hope these examples will help you.
Best regards,
Dennis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
22 | |
17 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.