‎2016 Jan 25 3:03 PM
Hi,
I'm working on a report allowing to find inactive objects of a transport request.
I'm using FM TR_GET_OBJECTS_OF_REQ_AN_TASKS to get all objects of a given transport request, the I read the table DWINACTIV for each object to check whether it's in the table (inactive) or not (active).
Everything seems to be ok, except for programs (PROG). They are not in the table DWINACTIV (We can find REPS but not PROG !!) so they are not detected ...
Please give me an answer on how to solve this issue.
Thanks in advance.
‎2016 Jan 25 3:37 PM
Any subobject (LIMU) of a (R3TR) PROG, FUGR, CLAS, etc can be inactive so type like REPS, DYNP, TEXT, CUAD, CPUB, etc.
You have to look for the main object of those listed in DWINACTIV with a FM like TR_CHECK_TYPE (WI_E071 -> WE_TADIR).
Hint: Remember the transport request may contain either some subobjects with or without the main object too (this one alone after a sort/comrpess) so implicitly every suibobject should be checked.
Regards,
Raymond
‎2016 Jan 25 3:37 PM
Any subobject (LIMU) of a (R3TR) PROG, FUGR, CLAS, etc can be inactive so type like REPS, DYNP, TEXT, CUAD, CPUB, etc.
You have to look for the main object of those listed in DWINACTIV with a FM like TR_CHECK_TYPE (WI_E071 -> WE_TADIR).
Hint: Remember the transport request may contain either some subobjects with or without the main object too (this one alone after a sort/comrpess) so implicitly every suibobject should be checked.
Regards,
Raymond
‎2016 Jan 25 4:15 PM
In the DWINACTIV table, I can see main objects (R3TR) like tables, ... and not only subobjects !
If a subobject is inactive, does it mean its main object is inactive too ?
‎2016 Jan 26 6:45 AM
‎2016 Jan 25 4:06 PM
Hi,
In se10 you can select a transport and then go to Request/Task-->Complete check-->display inactive objects to see them.
Why do you need this programmatically? In my opinion it is either the task of the transport coordinator or the creator to ensure that transports are correct for importing to quality.
Or to put it in other words, what is going wrong which lead to this requirement, maybe it can be solved with authorizations, or training.
Kind regards, Rob Dielemans
‎2016 Jan 25 4:10 PM
I don't know what leads to this requirement. All I know is that I've been asked to achieve this programmatically.
So, I need to find a solution without thinking about the reason ...
‎2016 Jan 26 9:00 AM
You do have another option. Push back to the person who gave you the requirement and tell him or her that very experienced and expert ABAPpers in SCN are questioning the need and strongly suggesting that their might be a better solution.
In fact, if you were working for me, I'd say it's your duty to push back.
‎2016 Jan 26 9:09 AM
Hi,
I don't know if you're a consultant or an in-house developer.
One of the hardest skills to achieve as a consultant is being able to succesfully sell 'No!' to a customer. It is also one of the skills that makes a difference and where you can really see the added value of hiring a consultant/external party.
You can only get better in it by understanding the business requirements and the underlying needs and also challenging them when they seem counterproductive.
Kind regards, Rob Dielemans