on 04-16-2014 11:11 PM
Hi, I'm having a lot of trouble trying to use methods from the reuse library.
I have already looked at this thread, http://scn.sap.com/thread/3523204
and the complete help documentation. I am almost certain that I am using the wrong/syntax and/or missing an import. Could someone please help?
Thanks
Alexander Ludwig
I've just found the solution and realised that I should have imported ABSL and used the Date method used there. However I was then presented with the error where "Identifier 'Date' is available in multiple namespaces or object types. Use an additional qualifier to make the identifier unambiguous".
I am familar with this type of error from other programming languages, so I then qualified the Date object by using ABSL:Date, and the problem is now solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alexander,
What Date are you trying to generate there?
I could reasonably see 30 as Day and 3 as Month. Not sure what 34 refers to. Either way, it appears you're missing the Year value.
Looks like there's some flexibility to the Date.Create syntax, but it's basically expecting something in the format of "Date.Create(DD,MM,YYYY);"
So example, today's date would be "Date.Create(16,4,2014);"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Sorry I shouldn't have taken the screenshot with me putting in test values, you are right about the format being incorrect. The real issue I am having is that the compiler says "Identifier 'Create' does not exist". Implying that I am using the wrong syntax and/or haven't imported the correct reuse library.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.