‎2009 Apr 27 1:30 PM
Halo Experts ,
I have a requirement for a report . Wherein the user enters a package a selection screen . I had to find out the rep objects based on certain condiitons . ie the first part and i have done that
NOw the second part is I have to compile a Transport request containing all these objects and set the lock . The user should get back a Compiled Transport request no as the output . Is it possible to have Transport Request compiled programatically
‎2009 Apr 27 1:42 PM
As per my knowledge,in your report we can use
CALL TRANSACTION 'SE10'.
when we are trying to excute it will directly takes to SE10 transaction
‎2009 Apr 27 1:44 PM
‎2009 Apr 27 1:46 PM
Isn't standard program RSWBO010 doing something very similar, do you need a new report for it?
Thomas
‎2009 Apr 27 2:05 PM
This report (or the FM TRINT_SELECT_OBJECTS which call this report) will return a list of objects, but, as far i as remember, it will not put the objects in a transport request.
So you may use this FM or report to select the objects, but encapsulate it to create the request and add the object in it.
Regards
‎2009 Apr 27 2:20 PM
Yes, you'll have to mark the objects (e.g. the highest tree node to pick everything) and hit the save button (F9 in this case...), then all selected objects will be inserted into an existing or a new transport request. Only the object lock would neet to be set separately.
So there is some user interaction required, not sure if this meets the OPs requirement.
Thomas
‎2009 Apr 29 9:21 AM
Thankyou very much Raymond .
But i dont understand what that report RSWBO010 is doing . Is it exporting the repository elements( that i have given in selection screen )to ABAP Memory ? . The report does not give any output also.
Regardign selection of objects , I am doing it with in my csutom code . I just want to include those objects like
R3TR TABL ZABCD
I dont want to use BDC kind of thing with CALL TRANSACTION
Thanks
Arshad
‎2009 Apr 29 11:14 AM
Proposal
- Select object list via FM TRINT_SELECT_OBJECTS which will return a list of TADIR objects to transport (this FM call the report RSWBO010 )
- Create/select a tranport request via FM TR_REQUEST_MODIFY/CHOICE
- Add object list to created request via FM TR_INSERT_REQUEST_WITH_TASKS to
- Sort and lock object list via FM TR_SORT_AND_COMPRESS_COMM and TR_LOCK_COMM
- Release the request via BAPI_CTREQUEST_RELEASE
(Check FMs names as a i don' t have access to a SAP system today)
Regards
‎2009 Dec 08 11:05 AM
FM: TR_LOCK_COMM is present only in 4.6c release.
Does anyone know what is the substiture for this FM. I am assuming there is a class, method for it.
Can someone tell me?