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

variable value gets null when routine of standard report gets executed.

Former Member
0 Likes
1,248

Hi Experts,

I have copied a standard report ( i.e. RM06INP0 ) into a Z report.

And done some changes according to the requirement in one of the routine by using enhancement.

But when i am executing it the value of a variable becomes blank if the control goes into other standard routine which is from other standard report.

Please help me on the same.

Regards,

Akash Jaiswal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,215

Hi Akash,

I think while coping standard report you would have copied the includes also ? Please check that

Dont copy the includes , keep the same includes in cloned program which used in standard report also.

These includes contains global data which available across many standard programs.

Thanks & Regards,

Arun.

Hi Experts,

I have copied a standard report ( i.e. RM06INP0 ) into a Z report.

And done some changes according to the requirement in one of the routine by using enhancement.

But when i am executing it the value of a variable becomes blank if the control goes into other standard routine which is from other standard report.

Please help me on the same.

Regards,

Akash Jaiswal

5 REPLIES 5
Read only

Former Member
0 Likes
1,215

Hello Akash

there are many std. forms being called which one you are asking here?

Regards

Sudesh

Read only

0 Likes
1,215

Hi Sudesh,

Thanks for your reply.

There are many forms in the report.

The value in all the variables gets blank once it goes into any form because 'USING' is not used.

My question is how to retain the values of variables when control goes into any standard report.

Regards,

Akash Jaiswal

Read only

bharat_rathod2
Active Participant
0 Likes
1,215

Dear,

Can you give some code.

Read only

Former Member
0 Likes
1,216

Hi Akash,

I think while coping standard report you would have copied the includes also ? Please check that

Dont copy the includes , keep the same includes in cloned program which used in standard report also.

These includes contains global data which available across many standard programs.

Thanks & Regards,

Arun.

Read only

0 Likes
1,215

Hi Arun,

Thanks for the reply.

It worked.

Regards,

Akash Jaiswal