on 06-11-2007 8:31 AM
Hi all,
i am working in a R/3 -legacy scenario.
In R/3 side there exist one table called YMD_ARTICLE...
now i have to make data type based on the 7 fields of that table YMD_ARTICLE..
and I have given the field name + type(vachar,timestamp,smaal int..etc..)+filed length....in the data type template...
Now my question is...wat should i give in type ...for the field...
i min can i use "xsd:string" for every field..... irespective of what given in the template....
Do we need to declare the lenght,type...for fileds of a DATA TYPE in XI...
if the DATA type is already there in the R/3 side.....
Can any one explain me......
thanks....
Hi,
"xsd:string " is best for an abap proxy, the lenght that you set in the data Type must be the same of the table in R/3.
Set the lenght maximum e and minumum if you have to definie a WSDL o XSD to give to the legacy system.
bye
Claudio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>> i min can i use "xsd:string" for every field..... irespective of what given in the template....
string can be used to handle other datatypes as well...but try using the same data type as in R/3...
when u know e.g the value can only be integer then use data type integer... this will also not allow values other than integer to pass...
hope it helps,
regards,
latika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How are you planning to connect to R/3 system? I beleive you are looking into the ABAP proxy option.
If you are looking for RFC or IDOC then you dont create the data type at all.
If you are using client proxies, then you can go for a xsd:string for all fields. But this will not be the case for server proxies.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For accuracy, you can provide the same data type as for the fields in the table of R3 to the DT specified in XI. Else the next best option would be to declare them as string if the type is unknown to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.