Application Development and Automation 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: 
Read only

Create table entries

Former Member
0 Likes
805

Hello I need to create some entries in the developmeny syatem and transport it to the quality and prd system. I am planning to do this in a program.

I am planning to use

FM - HR_TRANSPORT_TABLE

Does any one have used it in the past.

ANy suggestions,

Ster

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
769

Hello,

You can do it in SE16 transaction, when showing the list with records, select the items to be transported and then select the menu Table Entry->Transport Entries .

Or you can create a Table Maintenance Generator at transaction SE11 in the background it creates a program that you can associate with a transaction and every change that you do in the entries will be in a customizing request that can be transported.

Regards.

7 REPLIES 7
Read only

Former Member
0 Likes
770

Hello,

You can do it in SE16 transaction, when showing the list with records, select the items to be transported and then select the menu Table Entry->Transport Entries .

Or you can create a Table Maintenance Generator at transaction SE11 in the background it creates a program that you can associate with a transaction and every change that you do in the entries will be in a customizing request that can be transported.

Regards.

Read only

0 Likes
769

thanks to all for the suggestions.

As said I have to do this in a program as I would be uploading thousands of records.

Ster

Read only

0 Likes
769

hi Ster,

The below is the piece of code how HR_TRANSPORT_TABLE can be used ... You can find the program where the code is being used then find it by pressing where-used-list button in SE37 transaction


            CALL FUNCTION 'HR_TRANSPORT_TABLE'
                  EXPORTING
                       TABLE_NAME     = db_name
                       KEY            = admin_key
                       TR_TASK        = transport_req
                  IMPORTING
                       NEW_TASK       = transport_req
                  EXCEPTIONS
                       ILLEGAL_TASK   = 1
                       OTHERS         = 2. 

Read only

0 Likes
769

THanks Santosh..

I have done a where used list but its not found in my system.

However can u elaborate on this fiels,

KEY = admin_key

does this mean the only for the primary key. IF so how would the data from other fields will move on...

Ster..

Read only

0 Likes
769

Hello,

See this: [https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5456] [original link is broken] [original link is broken] [original link is broken];;

Regards.

Read only

0 Likes
769

Check out the Standard program L0H02F01 for reference where FM is being used ..

Regards,

Santosh

Read only

Former Member
0 Likes
769

hi,

Create a table maintainence generator via Utilities-> Table Maintainence Generator.Choose the second radio button 'No, or User, Recording Routine'. Which promts for a request while creating the entries in SM30 and transport the request to your destination servers..

Regards,

Santosh