on 05-06-2007 12:16 PM
Hi all
i am implementing a scenario of IDOc to File
the problem is with data type
At the receiver file system the structure will be : 1 HEADER
*(UNBOUNDED) lineitem.
i created the table strucure of type
BALANCES category Occurrence
item element 0.unbounded
year element 0.1
month element 0.1
credit element 0.1
debit element 0.1
currency element 0.1
(year,month, cred, debit..) are subelement of item , item is subelement of BALANCES
and it is working...
but i need to clarify <b>when to use Attribute and element/subelement</b>, and if i had a table structure
datatype
regards,
ajay pant
Attributes are properties to element in XML. While you are dealing with file adapters, all you need is elements. As an example to attributes usage, refer the weblog
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2002. [original link is broken] [original link is broken] [original link is broken] [original link is broken] This weblog deals with a special attribute <b>hasQuot</b> while using receiver JDBC data types.
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.
Ajay,
To put it in a nut shell, Attributes are used for some actions. Take for example, in a jdbc scenario u need to create an attribute which tells you whether u need to insert or delete or update in a database table.
Award points !
Regards,
B.Anandh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.