on 06-21-2016 5:52 PM
Hello HANA Modelling Experts,
I wanted to know if the numericals are accepted as package names ? I remember creating a package name with 00 in one of the openSAP courses in the past. I followed the same and system did accept it. However, I faced an issue while creating a .hdbdd file with the below syntax
namespace workshop.sessiona.00.models;
@Schema: 'WORKSHOPX_00'
context tt_bp_addresses {
type PartnerId : String(10);
type PartnerRole : String(3);
type EmailAddress : String(255);
type CompanyName: String(80);
type AddressId : String(10);
type City : String(40);
type PostalCode : String(10);
type Street : String(60);
};
System threw the following error while activating it.
workshop.sessiona.00.models:tt_bp_addresses.hdbdd
Syntax error: Unexpected token "00" at line 1, column 29
I tried escaping 00 as shown below, but it didn't help and I have got the following error.
workshop.sessiona.00.models:tt_bp_addresses.hdbdd
Syntax error: Unexpected token "\" at line 1, column 29
Can someone clarify if this is expected ?
Thanks & Best Regards,
Babu Kilari
Try putting quotes around the 00 like namespace workshop.sessiona."00".models;
You must be looking at an old version of the openSAP course because I started using g## as the package to avoid just such complications. It isn't that all numeric packages aren't supported, just that its a pain to remember to escape them. That's why I would suggest adding a letter to the package name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Thomas. That worked. Looks bit tricky. Yes - I was following the old course and I realized that there are two more updates ones. Interesting. Where can I find the latest documentation about this ? It would be helpful to take look at one central file which has all the necessary updated syntax and a sideline comment that refers to the old syntax.
Cheers,
Babu Kilari
We always update all the exercises when we do a new course. So although you might want to watch the videos from all the courses, you really only need to do the exercises from the latest:
https://open.sap.com/courses/hana3-1/
https://open.sap.com/files/36354153-e032-45fb-9342-c47624f9346b
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.