Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem in report output

Former Member
0 Likes
734

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

4 REPLIES 4
Read only

Former Member
0 Likes
705

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

Read only

Former Member
0 Likes
705

Hi,

Please uncomment the Exceptions and try it out, this might be helpful

Regards

Ramchander Rao.K

Read only

Former Member
0 Likes
705

hi,

did you find it out....please reply back...

with regards

janani

Read only

Former Member
0 Likes
705

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.