I might not be possible in a supported manner.
You must have already established that in OBS area the data for the financials OBS*s is not editable and in Departments and Locations the level information is not displayed.
If you XOG out eg departments which would be the supported way
| <Department delegate_invoice_approval="0" department_code="zDel_dep2" dept_manager_code="mKinnunen" entity="CGUC" short_description="zDel_dep2"> |
| <Description>Child departmetn for deletaton test</Description> |
| <LocationAssociations> |
| <LocationAssociation locationcode="zTest_deletetion2"/> |
| </LocationAssociations> |
| <Subscriptions/> |
| <Budget currency_code="USD" is_fcst_eq_bdgt="1"/> |
| <CustomInformation> |
| <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue> |
| </CustomInformation> |
| </Department> |
you do not have the level information. The data is presented hierarchically.
If you XOG out the OBS you would get the information
| <obsTypes> |
| <obs code="cguc_fnancial_department" description="CGUC Financial Department" isSecurity="false" name="CGUC Financial Department"> |
| <level depth="1" name="1"/> |
| <level depth="2" name="2"/> |
| <level depth="3" name="3"/> |
| <level depth="4" name="4"/> |
| <level depth="5" name="5"/> |
| <level depth="6" name="6"/> |
| <level depth="7" name="7"/> |
| <level depth="8" name="8"/> |
| <level depth="9" name="9"/> |
| <level depth="10" name="10"/> |
| <level depth="11" name="11"/> |
| <level depth="12" name="12"/> |
| <level depth="13" name="13"/> |
| <level depth="14" name="14"/> |
| <level depth="15" name="15"/> |
| <level depth="16" name="16"/> |
| <level depth="17" name="17"/> |
| <objectAssociation associationType="Any Unit" object="application"/> |
Typically that is written before the OBS structure is defined to be used as a financial structure and I have not written a financial OBS after that point. Only before it was defined as a financial structure.
As Kathryn says you can try that in and environment which you can corrupt if things go wrong.