07-08-2010 7:21 AM
Hi Experts,
I have a requirement programmatically add objects to a Transport request.
My requirement is , to modify/delete entries from DB table in the program and to create that object under a Transport request. I could successfully add objects while creating entries to the DB table. I have some confusion when I'm to delete entries in the DB table. How am I to achieve this. Is there some delete key/flag in the transport request which indicates that the entry is for deletion in the table.? When the TR is SAP craeted, both the creation and deletion TR appears the same.
I'm using FM 'TR_REQUEST_CHOICE' to add the objects.
Thanks in advance ,
Regards,
Anjali
07-08-2010 7:55 AM
Hi,
Please check Function groups STR*.Also check FM TRINT_MODIFY_COMM. Also look at program TH_TKANL.
Thanks and Regards,
P.Bharadwaj
07-08-2010 7:55 AM
Hi,
Please check Function groups STR*.Also check FM TRINT_MODIFY_COMM. Also look at program TH_TKANL.
Thanks and Regards,
P.Bharadwaj
07-08-2010 10:11 AM
Thank you.
I can add the objects easily if i'm inserting into the table. What I'm confused is about how I should add the entries in a TR If those entries are deleted from a db table.
Regards,
Anjali
07-08-2010 10:54 AM
Hi,
Refer http://wiki.sdn.sap.com/wiki/display/ABAP/TransportingTableEntriesinABAP+programmatically
07-08-2010 11:13 AM
Thanks Neenu, My problem is not in adding objects to a TR.
Suppose I have a Config table, which I want to maintain by the use of an program. With this program I should be able to create and delete entries in the config table. Now While creation, i face no problem or confusion in adding the tasks to the Transport request. But if I'm to delete entries from the config table and maintain it in the transport request, how shall i do it? The TRs which SAP creates for addition of entries and deletion of entries appears same. I cannot spot any differnce in the tasks while creation of entries and deletion of entries from the DB table.