‎2009 Nov 06 3:17 PM
Good morning,
we added a custom field in MARA. we deleted it but whe i use the history in MM01 a dump occurs in the autogenerated code in MARA because the custom filed ZBARCODE IS YET USED.
Why? where is generated this code?
WHEN 'MARA-ZBARCODE '.
IF FUTURE_F IS INITIAL.
MARA-ZBARCODE = AUSGABE-F_OLD.
ELSE.
MARA-ZBARCODE = AUSGABE-F_NEW.
ENDIF.thanks.
‎2010 Apr 12 4:41 PM
Hi Friend,
what did you do to resolve this issue. What we are thinking is to rename the field which we have changed and then activate it. once it is activated, we will change the field and reactive MARA table.
Let us know what you have done to resolve the issue.
Thanks, have a nice time.
Regards,
Vamsi
The current ABAP program "SAPLMG02" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "SAPLMALH " in include "LMALHARA
" in
line 2159:
"The data object "MARA" has no component called "ZZPDC_LTXT", but there"
" is a component called "ZZPDC_STXT"."
" "
" "The current ABAP program "SAPLMG02" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "SAPLMALH " in include "LMALHARA
" in
line 2159:
"The data object "MARA" has no component called "ZZPDC_LTXT", but there"
" is a component called "ZZPDC_STXT"."
" "
" "Active Calls/Events
No. Ty. Program Include
Name
7 FUNCTION SAPLMG02 LMG02F00
MARA_HISTORY_OR_FUTURE
6 FORM SAPLMG02 LMG02F00
MARA_HISTORY_OR_FUTURE
5 FORM SAPLMG02 LMG02F00
LESEN_MARA
4 FUNCTION SAPLMG02 LMG02U03
READ_MAT_ANKER
3 MODULE (PAI) SAPLMGMM LMGMMI12
LESEN_MAT_ANKER
2 FUNCTION SAPLMGMM LMGMMU01
MATERIAL_MAINTAIN_DIALOGUE
1 MODULE (PAI) SAPMMG01 MMG01I01
START_DIALOG
‎2010 Apr 12 4:41 PM
Hi Friend,
what did you do to resolve this issue. What we are thinking is to rename the field which we have changed and then activate it. once it is activated, we will change the field and reactive MARA table.
Let us know what you have done to resolve the issue.
Thanks, have a nice time.
Regards,
Vamsi
The current ABAP program "SAPLMG02" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "SAPLMALH " in include "LMALHARA
" in
line 2159:
"The data object "MARA" has no component called "ZZPDC_LTXT", but there"
" is a component called "ZZPDC_STXT"."
" "
" "The current ABAP program "SAPLMG02" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "SAPLMALH " in include "LMALHARA
" in
line 2159:
"The data object "MARA" has no component called "ZZPDC_LTXT", but there"
" is a component called "ZZPDC_STXT"."
" "
" "Active Calls/Events
No. Ty. Program Include
Name
7 FUNCTION SAPLMG02 LMG02F00
MARA_HISTORY_OR_FUTURE
6 FORM SAPLMG02 LMG02F00
MARA_HISTORY_OR_FUTURE
5 FORM SAPLMG02 LMG02F00
LESEN_MARA
4 FUNCTION SAPLMG02 LMG02U03
READ_MAT_ANKER
3 MODULE (PAI) SAPLMGMM LMGMMI12
LESEN_MAT_ANKER
2 FUNCTION SAPLMGMM LMGMMU01
MATERIAL_MAINTAIN_DIALOGUE
1 MODULE (PAI) SAPMMG01 MMG01I01
START_DIALOG
‎2013 Dec 06 9:02 AM
After reajusting youtr table through SE14, you have to regenerate all standrad prgm using your standard table (including your extension). This can be done using standrad program 'GENERATE' (se38) and putting name of your standard table (tested with MARA and MARC).
‎2019 Nov 12 10:09 AM
I had the same problem and the program 'GENERATE' was the solution. Thanks!