Hi,
From the line you have mentioned, 'Obj001' is the name of the Header element in the view detail view. 'Banfn' is a part of the header element. That I need to use for transferring file data and hence I have taken that in a variable.
You have to mention the view and then describe the element. The XML view code is mentioned below for the header.
<ObjectHeader
id="Obj001"
title="{BanfnTxt}"
number="{Field3}"
numberUnit="{Field2}" >
<attributes>
<ObjectAttribute text="{WerksTxt}" />
<ObjectAttribute text="{ErnamTxt}" />
<ObjectAttribute text="{AfnamTxt}" />
<ObjectAttribute text="{PrDate}" />
<ObjectAttribute text="{EkgrpTxt}" />
<ObjectAttribute text="{BsartTxt}" />
</attributes>
</ObjectHeader>
I hope this clarifies your doubt. I have taken the 'Banfn' element from the object header.
Regards,
Subhabaha Pal