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

Problem with not executed include

marcin_cholewczuk
Active Contributor
0 Likes
1,400

Hi all,

I've a problem with my include in production system. Whole story looks like this. We have product from 3rd company so this is not z-namespace. There are some places in which we can add our own code - function module with not existing z-include. This FM is called with CALL FUNCTION statement, not CALL CUSTOMER-FUNCTION, so there are no CMOD entries to modify. I've created this include and implemented my functionality. Unfortunatelly my code in production is sometimes executed and sometimes not. What I've observed is that when include is not executed debugger steps over it (it goes in to FM but ignores include) and what is more funny I'm not able to set breakpoint in this include (I'm getting a message that ithis is not possible). 2 Minutes later everything works (I can set break point and include is executed) although I didn't do anything (no activation). I've transported once more all transports from development to production without any change. I didn't observe this behavior in development or test systems, but to be honest I didn't do so many tests to be sure that problem is only in production.

I suspect that there is something wrong with 3rd party product, but I'm not 100% sure. Did anyone has this kind of problem?

Best Regards

Marcin Cholewczuk

5 REPLIES 5
Read only

deepak_dhamat
Active Contributor
0 Likes
1,117

hi,

I've transported once more all transports from development to production without any change.

"

you could not activate debugger because . during transporting object from dev to prd all the object where not transported correctly . and some times the include which gets created has there namespace registered in repository objects , so when you re transported that request it corrected those entries .

regards

Deepak.

Read only

0 Likes
1,117

Hi,

To be honest I'm not sure what you mean.

1. I didn't try to set breakpoint during import in production

2. If the reason of problem are errors in object, then why few minutes later I can set breakpoint although object is still the same?

3. After transport it looks the same as before - no change

Best Regards

Marcin Cholewczuk

Read only

0 Likes
1,117

hi Marcin ,

i am not telling about debugging during Import , some times when to import from dev to Qlt or Quality to PRd , object does not get transport properly so we need to re-transport .

regards

Deepak.

Read only

0 Likes
1,117

Hi Deepak ,

It was not me personaly who did transport to production (basis team do this), but I guess they would tell me about errors especially that we requested to import once again the same transports.

@pawankesari

1. FM /CRONOS/EXIT_NBG_005

2. In quality everything went good without errors

3. As I said 'CALL FUNCTION' is used.

BR

Marcin Cholewczuk

EDIT: I guess it was problem with transport. Everything works fine now.

Edited by: Marcin Cholewczuk on Jan 31, 2012 9:56 AM

Read only

Pawan_Kesari
Active Contributor
0 Likes
1,117

Never came across this problem.

Was there any warning messages during transport?

What is the name of the function module where this include is defined?

Usually if you define a function module with include which does not exist SAP will not let you activate it. I was wondering if this a customer function however instead of using CAL CUSTOMER FUNCTION developer has used CALL FUNCTION in main program.

Regards,

Pawan.