10-10-2007 2:02 PM
Hi all,
I have the folowwing problem:
when i call a form from another program as :
Perform Process in Program YH99CWTR0_ALV.
I get the runtime error :
The length of COMMON PART "DRIVER_DATA_EXCHANGE" in program "YH99CWTR0_
Wat is er gebeurd?
Error in ABAP application program.
The current ABAP program "YH99CWTR0" had to be terminated because one o
statements could not be executed.
This is probably due to an error in the ABAP program.
Wat **** u doen?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administe
termination messages, especially those beyond their normal deletion
date.
Foutenanalyse
The structure of the COMMON PART "DRIVER_DATA_EXCHANGE" in program
"YH99CWTR0_ALV" is
different from the corresponding area in the calling program "YH99CWTR0
Length of COMMON PART in program YH99CWTR0_ALV: 720 bytes.
Length of COMMON PART in program YH99CWTR0: 672 bytes.
10-10-2007 2:16 PM
This is because of a conflict between the parameters of the calling prog and and called sub routine.
Just look at the "Source Code extract" of the Dump analysis - it will tell u where it actually raised the dump.
You need to ensure that the data types are the same during calling the sub routie . if problem persists - revert with the "Source Code Extract" of the dump analysis.
10-10-2007 2:44 PM
In both programs there has to be a COMMON PART in the data declarations with the same length. That's not the case here.
Rob