{"action":"closed","issue":{"url":"https://api.github.com/repos/larshp/abapGit/issues/206","repository_url":"https://api.github.com/repos/larshp/abapGit","labels_url":"https://api.github.com/repos/larshp/abapGit/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/larshp/abapGit/issues/206/comments","events_url":"https://api.github.com/repos/larshp/abapGit/issues/206/events","html_url":"https://github.com/larshp/abapGit/issues/206","id":151366954,"number":206,"title":"Late deserialization for object TOBJ","user":{"login":"VishnAndr","id":4543139,"avatar_url":"https://avatars.githubusercontent.com/u/4543139?v=3","gravatar_id":"","url":"https://api.github.com/users/VishnAndr","html_url":"https://github.com/VishnAndr","followers_url":"https://api.github.com/users/VishnAndr/followers","following_url":"https://api.github.com/users/VishnAndr/following{/other_user}","gists_url":"https://api.github.com/users/VishnAndr/gists{/gist_id}","starred_url":"https://api.github.com/users/VishnAndr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VishnAndr/subscriptions","organizations_url":"https://api.github.com/users/VishnAndr/orgs","repos_url":"https://api.github.com/users/VishnAndr/repos","events_url":"https://api.github.com/users/VishnAndr/events{/privacy}","received_events_url":"https://api.github.com/users/VishnAndr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-27T11:53:22Z","updated_at":"2016-05-14T06:39:01Z","closed_at":"2016-05-14T06:39:01Z","body":"There is an issue that TOBJ object can only be generated if active versions of related objects already exist in the system. It's even mentioned as ToDo in method lif_object~deserialize of lcl_object_tobj.\r\n\"* todo, TOBJ has to be saved/generated after the DDIC tables have been activated\". It should be done if sy-subrc = 2 after OBJ_GENERATE call.\r\n\r\nWhat would be nice to have is an option to store such TOBJs somewhere ( where? ) and call deserialize method for them after \r\nlcl_objects_activation=>activate( )\r\nin method deserialize of lcl_objects class.\r\n\r\nSo the question is where to store such objects for \"late deserialization\"? What do you think?\r\n\r\nOr different approach: what about skipping TOBJ deserialization and call it separately after other objects activation?\r\n\r\nPS: in case of offline project - now I need to move tobj files to separate zip-file and import it as an additional step manually. That certainly works."}}