‎2014 Aug 19 6:39 AM
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.
‎2014 Aug 19 6:48 AM
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
‎2014 Aug 19 6:48 AM
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.
‎2014 Aug 19 7:15 AM
Hi Ashish,
its my mistake both are include programs. Thanks for your support...
Regards,
Mohammed Quddus.
‎2014 Aug 19 6:48 AM
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
‎2014 Aug 19 7:11 AM
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.
‎2014 Aug 19 7:16 AM
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
‎2014 Aug 19 7:26 AM
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.
‎2014 Aug 19 6:50 AM
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
‎2014 Aug 19 7:17 AM
Hi Always Learner,
its my mistake both are include programs. Thanks for your support...
Regards,
Mohammed Quddus.