2009 Dec 11 8:11 AM
Hello Experts,
I'm trying to implement SAP Note 836401 -" FBCJ: Receipt print with display not allowed " In SAP ERP 6.0. Could somebody help me please with action in this note:
"You must then adjust the error class 'Z' to your error class and replace the error number '000' with the error number of the message you created." I have some misunderstanding - What I must to do here? In SE91 i can't find message class 'Z' and I can't to create it there, because of the rule: name of message class must minimum 2 characters.
In correction of object :"R3TR REPS MFCJ0F01" of this note, in source code I'm facing strings:
...
ID 'BEGRU' FIELD ls_tcj_c_journals-begru.
CHECK sy-subrc NE 0.
AUTHORITY-CHECK OBJECT 'F_FBCJ'
ID 'ACTVT' FIELD '32' "Save
ID 'BEGRU' FIELD ls_tcj_c_journals-begru.
CHECK sy-subrc NE 0.
ld_no_auth = 'X'. "no authorization
MESSAGE ID 'Z' TYPE 'I' NUMBER 000.
* Sie haben keine Berechtigung, Quittungen zu drucken.
ENDIF. "begru initial?
ENDFORM.
...How to create the error class'Z'?
How to adjust error class 'Z' to my error class?
Best regards,
Pavel Bogomolov.
2009 Dec 11 8:17 AM
Hello Pavel
The SAP note says that you should look for an appropriate Z-message class having a message (i.e. number) with the required text.
Alternatively, you may use the following approach:
...
CHECK sy-subrc NE 0.
ld_no_auth = 'X'. "no authorization
MESSAGE ID '00' TYPE 'I' NUMBER 208 WITH 'Sie haben keine Berechtigung, Quittungen zu drucken'.
" MESSAGE ID 'Z' TYPE 'I' NUMBER 000.
"* Sie haben keine Berechtigung, Quittungen zu drucken.
ENDIF. "begru initial?
ENDFORM.
...
Regards
Uwe
Hello Experts,
I'm trying to implement SAP Note 836401 -" FBCJ: Receipt print with display not allowed " In SAP ERP 6.0. Could somebody help me please with action in this note:
"You must then adjust the error class 'Z' to your error class and replace the error number '000' with the error number of the message you created." I have some misunderstanding - What I must to do here? In SE91 i can't find message class 'Z' and I can't to create it there, because of the rule: name of message class must minimum 2 characters.
In correction of object :"R3TR REPS MFCJ0F01" of this note, in source code I'm facing strings:
...
ID 'BEGRU' FIELD ls_tcj_c_journals-begru.
CHECK sy-subrc NE 0.
AUTHORITY-CHECK OBJECT 'F_FBCJ'
ID 'ACTVT' FIELD '32' "Save
ID 'BEGRU' FIELD ls_tcj_c_journals-begru.
CHECK sy-subrc NE 0.
ld_no_auth = 'X'. "no authorization
MESSAGE ID 'Z' TYPE 'I' NUMBER 000.
* Sie haben keine Berechtigung, Quittungen zu drucken.
ENDIF. "begru initial?
ENDFORM.
...How to create the error class'Z'?
How to adjust error class 'Z' to my error class?
Best regards,
Pavel Bogomolov.
2009 Dec 11 8:17 AM
Hello Pavel
The SAP note says that you should look for an appropriate Z-message class having a message (i.e. number) with the required text.
Alternatively, you may use the following approach:
...
CHECK sy-subrc NE 0.
ld_no_auth = 'X'. "no authorization
MESSAGE ID '00' TYPE 'I' NUMBER 208 WITH 'Sie haben keine Berechtigung, Quittungen zu drucken'.
" MESSAGE ID 'Z' TYPE 'I' NUMBER 000.
"* Sie haben keine Berechtigung, Quittungen zu drucken.
ENDIF. "begru initial?
ENDFORM.
...
Regards
Uwe
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |