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

Assignment of TR to Function Module

Former Member
0 Likes
3,248

Hi

I have a BAPI developed in ECC5 System - ZBAPI_TEST, under a function group - ZFG_TEST within a package - ZPKG_TEST.

The function group - ZFG_TEST and package - ZPKG_TESTare assigned to the same TR number.

An interesting fact I have noticed is that, when I have created ZBAPI_TEST in SE37 and saved/activated - it did not ask for a Transport Request Number!!

When I looked into the Version Management of the BAPI, it shows the same TR number only.

But, in SE01, the same TR does not have this function name in its Object List of Request.

What could be wron? Why it happened like this?

Plz comment.

Thx

Rich

12 REPLIES 12
Read only

Former Member
0 Likes
1,641

Hi

Your function module will be in your Function Group's request.

So check your function group's request.

if you function group doesn't have request then it asks for function module's requests other wise it automatically assigns to function group's request.

Read only

0 Likes
1,641

Yes.. the function module is in its Function Group's request. But, when I have transported this FM from ECC5 to ECC6, only its related structures got transported. No FM source code made available in ECC6.

Why this happened? Normally, the code must be present in ECC6 right?

Rich

Read only

GauthamV
Active Contributor
0 Likes
1,641

If you are transporting the package and function group for the first time then

your function module will also be transported along with them.

Read only

Former Member
0 Likes
1,641

Hi Gautham, after transport it is seen that except the FM Source code (or FM itself) all its other components are successfully transported. Why it happened so?

Rich

Read only

0 Likes
1,641

Rich,

Retransport whole function group again by

After creating transport. using SE01 Click on the child task an choose Request/Task --> Change task in the menu.

Your task should be unclassified at the moment.

then go to change mode place the cursor in the child task then Press SHIFT+F11(display object list).

Click on New entries button.

Enter the following values:

for field PgmID : R3TR

for field Obj : FUGR

for field Object name : name of the function group to transport

Save your entries. and TRANSPORT

a®

Read only

0 Likes
1,641

Duplicate thread deleted

Read only

former_member194669
Active Contributor
0 Likes
1,641

Rich,

It will not ask for transport, due to your function group already in the transport. so while transporting all child objects underneeth fun group will automatically move to prd. nothing wrong with that. once you transported fun group next time your are creating or edit fun module it will ask for transport

a®

Read only

Former Member
0 Likes
1,641

Hi,

When you are creating a function group and a function module and trasnporting for the first time, only the function group will be visible in the tranport request. When the function group is transported the first time, even the associated function modules are trasnported along with the fucntion group.

The function module will be visible only when you are transporting for the second time. It will ask for a TR number when u make any changes to the function module the second time. Thats how transporting function groups and fuction modules works.

Regards,

Vikranth

Read only

Former Member
0 Likes
1,641

Hi

if you create a transport request for function group , all elements of that FG are included in the request including FUnction module

Check if the transport request in se10 by checking the included objects in request whether request has component R3TR FUGR

that represents whole FG is saved in request including FM

Read only

0 Likes
1,641

When I looked into the Version Management of the BAPI, it shows the same TR number only.

But, in SE01, the same TR does not have this function name as well as its includes in its Object List of Request.

Instead, it has the objects - Package, Function Group and Table (structures used).

Normally it should have the FM as well as INCLUDEs also under the associated Objects list.. right?

What could be the reason? Any guess?

Rich

Read only

0 Likes
1,641

you're wrong. As said above, R3TR FUGR fugr_name means that the whole function group fugr_name (its function modules, includes, screens, ...) is transported.

Read only

0 Likes
1,641

aggregation of previous answers, distinguish between:

1) creation of function group, adding or deleting a function module or include -> R3TR FUGR entry for the whole group incl. all subobjects

2) changing of existing (and already transported) function module or include -> LIMU REPS entry for the single subobject

Thomas