2008 Dec 03 5:58 AM
Hi,
i had made a report which displays the changes made to the Purchase Order and when i execute it on the PRD Server it gives the run time error 'EXCEPTION RAISE FOUND'.
I am using the FM:-
GET_FIELDNAME_TEXT_1
I had used this FM in other reports which used to display the changes made to things such as BOM,MATERIAL and they are exceuting fine.but when i use it in this report it gives runtime error on the PRD Server.
Plaese proivde me guidelines to solve this problem .
Edited by: ricx .s on Dec 3, 2008 7:11 AM
Hi,
i had made a report which displays the changes made to the Purchase Order and when i execute it on the PRD Server it gives the run time error 'EXCEPTION RAISE FOUND'.
I am using the FM:-
GET_FIELDNAME_TEXT_1
I had used this FM in other reports which used to display the changes made to things such as BOM,MATERIAL and they are exceuting fine.but when i use it in this report it gives runtime error on the PRD Server.
Plaese proivde me guidelines to solve this problem .
Edited by: ricx .s on Dec 3, 2008 7:11 AM
2008 Dec 03 6:22 AM
hi,
just uncomment the expections in the function module and see what type of error it is promting........
then you cna come to an conclusion...
if this is not working
before executing this switch on debugging mode and check where it is dumping error...
else...
check company code...
have proided it properly in your program..
with regrads
janani
2008 Dec 03 6:25 AM
Hi,
Please uncomment the Exceptions and try it out, this might be helpful
Regards
Ramchander Rao.K
2008 Dec 03 6:40 AM
hi,
did you find it out....please reply back...
with regards
janani
2008 Dec 03 7:08 AM
HI,
I had uncommented the exceptions and i am debugging on the DEV Server but i had to tranport it to the PRD Server and generate the request.
I am using this FM as:-
IF ITCDPOS-FNAME <> 'KEY'.
CALL FUNCTION 'GET_FIELDNAME_TEXT_1'
EXPORTING
I_AS4LOCAL = 'A'
I_AS4VERS = '0000'
I_FIELDNAME = ITCDPOS-FNAME
I_TABNAME = ITCDPOS-TABNAME
TABLES
E_DD03L = E_DD03L
E_DD04V = E_DD04V
EXCEPTIONS
ERROR_IN_PARAMETERS = 1
NOT_FOUND = 2
OTHERS = 3.
ENDIF.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
CLEAR E_DD04V-DDTEXT.
ENDIF.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |