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 ABAP memory

Former Member
0 Likes
1,318

Hi All,

I have a requirement where i need to export internal table from mv50afzz to mv50afz1. but the problem is  mv50afzz is of type I and mv50afz1 is of type 1.

after the export statement when we submit the program it is going to dump. Is there any way to export the internal table from Type I to Type 1 program.

Hereby I am attaching the dump image please have a look.

Regards,

Mohammed Quddus.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,236

Hi Mohammed,

in all of our systems both MV50AFZZ and MV50AFZ1 are of type I (Include) and both are part of module pool SAPMV50A.

So you can't SUBMIT one of them. But they can use common internal tables, if you define them in include MV50ATZZ, so you don't need to export the data. But if you have local data in FORM routines, you can pass them with EXPORT.

Regards,

Klaus

8 REPLIES 8
Read only

Former Member
0 Likes
1,236

Hi,

Are you sure that the program being called using SUBMIT statement is 'MV50AFZ1' and not 'MV50AFZZ' ? it seems to be from the error dump.

Read only

0 Likes
1,236

Hi Ashish,


its my mistake both are include programs. Thanks for your support...


Regards,

Mohammed Quddus.

Read only

Former Member
0 Likes
1,237

Hi Mohammed,

in all of our systems both MV50AFZZ and MV50AFZ1 are of type I (Include) and both are part of module pool SAPMV50A.

So you can't SUBMIT one of them. But they can use common internal tables, if you define them in include MV50ATZZ, so you don't need to export the data. But if you have local data in FORM routines, you can pass them with EXPORT.

Regards,

Klaus

Read only

0 Likes
1,236

Hi klaus,

As i am working with enhancement. In Mv50afzz i am picking batch number in internal table and i need to shift the control to MV50AFZ1 from  Mv50afzz with the internal table. My doubt is how can i shift the control to MV50AFZ1 from Mv50afzz.

Regards,

Mohammed Quddus.

Read only

0 Likes
1,236

Hi Mohammed,

if you make a global data definition in MV50ATZZ, then simply fill the data in your enhancement  in MV50AFZZ and it should be automatically available in MV50AFZ1.

Regards,

Klaus

Read only

0 Likes
1,236

Hi Klaus,

Thank you so much for you valuable time and help..

I was bit confused when you said to mention global data definition in MV50ATZZ. but i found MV50ATZZ include is available in MV50ATOP.

Regards,

Mohammed Quddus.

Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
1,236

Hello Quddus,

Use Export to memory statement in Include. i ,e type 'I'

Use Import from memory statement to fetch the same in executable report i, e type '1'.

Thanks

Read only

0 Likes
1,236

Hi Always Learner,


its my mistake both are include programs. Thanks for your support...


Regards,

Mohammed Quddus.