2007 Jun 25 7:49 PM
II am making change to user exit in INCLUDE MV45AFZZ.
I just put an if condition in the INCLUDE ztest_so.
It is giving following ERROR (RED) when I check the syntax.
Include ZTEST_SO
Statement is not accessible.
-
FORM userexit_move_field_to_vbak.
Include ztest_so
Endform.
-
&----
*& Include ZTEST_SO
&----
if sy-uname eq 'TRAIN014'
endif.
Please help.
2007 Jun 25 7:54 PM
Do you have the '.' after the include and after the IF?
Also did you create the include as an include or any other kind of program?
It looks ok just looking at this.
II am making change to user exit in INCLUDE MV45AFZZ.
I just put an if condition in the INCLUDE ztest_so.
It is giving following ERROR (RED) when I check the syntax.
Include ZTEST_SO
Statement is not accessible.
-
FORM userexit_move_field_to_vbak.
Include ztest_so
Endform.
-
&----
*& Include ZTEST_SO
&----
if sy-uname eq 'TRAIN014'
endif.
Please help.
2007 Jun 25 7:51 PM
Hi,
if sy-uname eq 'TRAIN014'. "Full-stop missing
endif.Regards
Aneesh.
2007 Jun 25 7:54 PM
Do you have the '.' after the include and after the IF?
Also did you create the include as an include or any other kind of program?
It looks ok just looking at this.
2007 Jun 25 7:55 PM
Is there any other statement in front of the INCLUDE statement?
2007 Jun 25 9:21 PM
You created the include alright. But there is no call to the include (Perform statement) from any program, hence include cannot be accessed.
MV45AFZZ is standard SAP User Exit where all Forms are being called at specified points in standard SAP code.
Iam not sure/not tried but if you create your new Form you will have to modify SAP code to make a call to this FORM, which is not recommended.
The best solution is to use the available Forms and put your code in the one that is being called at the right place for you to be able to use it.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |