‎2018 Sep 14 7:14 PM
Hi All,
I would like to know if it's possible to create a BOR object by using a function module or any other tool ?
To be more specific does any BAPI or FM for SWO1 ?
For example I want to create a BOR object from an XML file or JSON file
Can we do that ?
‎2018 Sep 15 9:14 PM
OK I had a quick look if there's something we can derive from CTS, but no joy. The transport consists of a regular PROG and an generic SOBJ entry. SOBJ is just a bunch of table entries describing the BOR object.
So if you have the time you could try to decode the SWOT* table entries for a given object to see how they work. Then just create the program and corresponding table entries for your custom object.
Alternatively have a look at FM SWO_OBJTYPE_INSERT. It only seems to create the basic header, so have a look at the rest of the FMs in the function group and the rest of the package. It's somewhere to start.
Good luck.
‎2018 Sep 14 8:02 PM
Yes of course it's possible, the transport system does it. But ... why?
BOR is kind of ancient, there are hardly any reasons to still develop BOR objects. So going to the effort ofcreating a BOR object programatically sounds a bit unusual.
‎2018 Sep 15 6:03 PM
Hi Mike,
Yes I know but it's just to know and for a personnal project 😉 I don't know if I will to do it but I have to try.
If you have some more input on that I take it 🙂
‎2018 Sep 15 9:14 PM
OK I had a quick look if there's something we can derive from CTS, but no joy. The transport consists of a regular PROG and an generic SOBJ entry. SOBJ is just a bunch of table entries describing the BOR object.
So if you have the time you could try to decode the SWOT* table entries for a given object to see how they work. Then just create the program and corresponding table entries for your custom object.
Alternatively have a look at FM SWO_OBJTYPE_INSERT. It only seems to create the basic header, so have a look at the rest of the FMs in the function group and the rest of the package. It's somewhere to start.
Good luck.