Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Ho to programmaticaly add objects to Transport Request

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member193821
Active Participant
0 Kudos

Hi,

Please check Function groups STR*.Also check FM TRINT_MODIFY_COMM. Also look at program TH_TKANL.

Thanks and Regards,

P.Bharadwaj

4 REPLIES 4

former_member193821
Active Participant
0 Kudos

Hi,

Please check Function groups STR*.Also check FM TRINT_MODIFY_COMM. Also look at program TH_TKANL.

Thanks and Regards,

P.Bharadwaj

0 Kudos

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

Former Member
0 Kudos

Hi,

Refer http://wiki.sdn.sap.com/wiki/display/ABAP/TransportingTableEntriesinABAP+programmatically

0 Kudos

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.