Search found 866 matches

by YuriT
Thu Nov 07, 2013 8:47 am
Forum: ABAP
Topic: Hardcoding
Replies: 22
Views: 8189

Re: Hardcoding

Thanks a lot, Grogan. Extremely useful. I think avoiding hard-coding often confused with using constants, but technically constants in any form are hard-coding. Hard-Code (verb): Fix (data or parameters) in a program in such a way that they cannot be altered without modifying the program . One can d...
by YuriT
Mon Oct 21, 2013 12:29 pm
Forum: ABAP
Topic: What type is a hard-coded string?
Replies: 2
Views: 1453

Re: What type is a hard-coded string?

Thanks!
by YuriT
Wed Oct 16, 2013 6:19 am
Forum: ABAP
Topic: What type is a hard-coded string?
Replies: 2
Views: 1453

What type is a hard-coded string?

Hey there. Tricky one. Do you know what type is a hardcoded string in ABAP? String? Char(length)? Any way to know for sure?

Yuri
by YuriT
Fri Oct 11, 2013 2:06 am
Forum: ABAP
Topic: Hardcoding
Replies: 22
Views: 8189

Re: Hardcoding

And what is the big difference between

Code: Select all

select  * from t5ndk into table i_t5ndk where bunum eq c_init_bunum.
as opposed to

Code: Select all

select  * from t5ndk into table i_t5ndk where bunum is initial
?
by YuriT
Fri Oct 11, 2013 1:53 am
Forum: ABAP
Topic: Hardcoding
Replies: 22
Views: 8189

Re: Hardcoding

Great point about types. I guess my main point is that you shouldn't just blindly create a constant for anything in single quotes. Think WHY constants are needed in the first place. Filed names in field catalog is another good example. I am still a bit skeptical about c_true. 'X' looks really self-e...
by YuriT
Fri Oct 04, 2013 1:44 am
Forum: ABAP
Topic: Hardcoding
Replies: 22
Views: 8189

Hardcoding

Hi, guys I am trying to put my thoughts together regarding hard-coding. My main points are: 1) Avoiding ANY hard-coding is silly. Nothing wrong with MOVE 'X' to p_checkbox . More then that, CONSTANT c_x TYPE c VALUE 'X' freaks me out. Same goes for CONSTANTS c_seventytwo TYPE i VALUE 72 . 2) Putting...
by YuriT
Mon Jun 10, 2013 3:39 am
Forum: General Talks
Topic: Do you have a name for your car?
Replies: 17
Views: 13968

Re: Do you have a name for your car?

My old one i called Sarah. But with the new one no name sticks for some reason. Just call it the car...
by YuriT
Mon Jun 10, 2013 3:36 am
Forum: ABAP
Topic: sy-subrc & write
Replies: 3
Views: 1858

Re: sy-subrc & write

Nope, this is the only right place
by YuriT
Wed Feb 27, 2013 8:28 am
Forum: General Talks
Topic: Tim Minchin
Replies: 2
Views: 4013

Tim Minchin

by YuriT
Tue Feb 26, 2013 9:30 am
Forum: General Talks
Topic: Bored
Replies: 18
Views: 15912

Re: Bored

So how is it, Richard? I assume you are fluent in Russian by now.
by YuriT
Tue Feb 26, 2013 9:27 am
Forum: General Talks
Topic: Bored
Replies: 18
Views: 15912

Re: Bored

Back to the original topic... Some safe ones: Змо всё звон It's all nonsense Она уже давно со звонком She's completely off her rocker Ёжку-мошку Damn it! Не верь Don't believe it Looks like you took English, translated it to Chinese, asked a retarded person to draw the result, OCRed it to text and ...
by YuriT
Tue Feb 26, 2013 9:17 am
Forum: General Talks
Topic: That's interesting...
Replies: 5
Views: 6019

Re: That's interesting...

Mmm... cookies
by YuriT
Fri Nov 30, 2012 2:16 am
Forum: General Talks
Topic: General Knowledge Question
Replies: 23
Views: 17616

Re: General Knowledge Question

swright wrote:You sunk my battleship!
Checkmate!
by YuriT
Thu Nov 29, 2012 12:18 pm
Forum: General Talks
Topic: ABAP vs SUP
Replies: 12
Views: 8277

Re: ABAP vs SUP

amalayer wrote:
Sharpshooter wrote:I have been accused of "Socially Unacceptable Programming". Apparently, some do not care for sarcasm in popup messages.
I feel you. I don't think others have the same sarcasm as me.
Surely they don't... :roll:
by YuriT
Wed Nov 28, 2012 2:09 am
Forum: ABAP
Topic: Comprehending Abap
Replies: 12
Views: 4659

Re: Comprehending Abap

You sound like a nice guy, so I just have to tell you, debugging SAPMV45A was sort of a joke. (I really hope no one actually thinks it is a good idea). Like Rich pointed out, forget about it, It will do nothing except majorly confuse you. It's like learning to read, reading book on organic chemistry...