Hello,
I have a problem with the FM’s FREE_SELECTION_INIT and FREE_SELECTION_DIALOG.
When I display the material number (18 digits) in popup (parameter as_window = abap_true), only 16 digits are displayed and the user has to scroll.
But if I di...
Dear community,
i have a question regarding the code versioning in Abap (Eclipse or GUI i dont care).
Is it possible to see the code versions only for a few lines in a Class or Report?
E.g. i want to know, who inserted the current if statement...
Hello
I have a problem regarding success messages in my unit test. How is it possible to mock them that in the unit test the message Statement isnt excecuted?For errors and warnings i just raise an exception catch it outside the cut and display t...
Hi Sandra,thx for your reply.I have the same Font Setting like in your Screenshot.The thing that astonishes me here is that it works in the popup with single values but not with ranges, that's why I think it must be due to the blocksI am just checkin...
Hello sandeepsuggu ,thx for your answer. I know the version Management in general. What i wanted to know:Is it possible to get only the changes made at LoC 14-18 e.g. Cause often i dont need the changes of the whole program/class. E.g. if i wanted to...
Hi Frederic,for errors i use exceptions and this works fine. I tested messages Type I and S with the message statement not mocked and funnily enough my unit test is green. But to be safe i will mock is as a method like sandra.rossi mentioned.Thank ...
Hi frdric.girod thanks for your Code! Isnt it a problem that in the unit test the message statement with type error is excecuted?The assert equals sounds understandable Best regards
Hi Frederic,yes youre right my coding is a little bit more complex, i just wanted to show my problem Its more like this:Method excecute.
do_some_checks( ). "Maybe exception
if should_both_be_created() eq abap_true.
create_both() "with exception or...