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

dump FUNC_LOCATION_HIERARCHY

adil
Participant
0 Likes
1,442

i m testing in se37 MF with number value in IFLO-TPLNR

FUNC_LOCATION_HIERARCHY

Tabastructure --> IFLOT

including_root --> X

Root_tab --> number

why MF dump ?

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,306

If you don't catch exceptions in the calling program, it will dump.

Rob

i m testing in se37 MF with number value in IFLO-TPLNR

FUNC_LOCATION_HIERARCHY

Tabastructure --> IFLOT

including_root --> X

Root_tab --> number

why MF dump ?

thanks

8 REPLIES 8
Read only

former_member194669
Active Contributor
0 Likes
1,306

What will be dump error message ?

Read only

0 Likes
1,306

it dump here

WHEN Y_STRUCTURE_IFLOTH.

  • Strukturname ist IFLOTH

PERFORM TAB_APPEND_IFLOTH TABLES

IFLO_TAB.

WHEN Y_STRUCTURE_IFLOT.

  • Strukturname ist IFLOT .

--> PERFORM TAB_APPEND_IFLOT TABLES

IFLO_TAB.

WHEN Y_STRUCTURE_IFLOH.

  • Strukturname ist IFLOH

PERFORM TAB_APPEND_IFLOH TABLES

Read only

Former Member
0 Likes
1,307

If you don't catch exceptions in the calling program, it will dump.

Rob

Read only

0 Likes
1,306

i have to use it in programm so? . i can not test it without using programm ( test it in se 37)?

Read only

0 Likes
1,306

No - I was wrong. Didn't see that you were running it from SE37. It gave an error but didn't dump when I ran it.

I take it back - when I ran it with a valid functional loacation, it did dump.

Rob

Edited by: Rob Burbank on Feb 13, 2009 12:35 PM

Read only

0 Likes
1,306

in test programm it's OK but in SE37 is KO

have any solution to test it without programm.?

this my programm :

REPORT ZTEST_FUNC_LOCATION_HIERARCHY .

DATA wt_root LIKE iflot-tplnr OCCURS 0 WITH HEADER LINE.

DATA : wt_iflo LIKE iflot OCCURS 0 WITH HEADER LINE.

wt_root = '?0100000000000002910'.

append wt_root.

CALL FUNCTION 'FUNC_LOCATION_HIERARCHY'

EXPORTING

  • SPRAS = SY-LANGU

  • LEVEL_LIMIT = '0'

TABSTRUCTURE = 'IFLOT'

  • INCLUDING_ROOT = 'X'

  • BUFFER_BYPASS = ' '

  • IMPORTING

  • LEVEL_FOUND =

TABLES

ROOT_TAB = wt_root

IFLO_TAB = wt_iflo

  • EXCEPTIONS

  • ROOT_NOT_FOUND = 1

  • READ_ERROR = 2

  • STRUCTURE_NOT_POSSIBLE = 3

  • OTHERS = 4

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

write 'hopy'.

Read only

0 Likes
1,306

Maybe you have reached the limits of SE37 (to be sure, you may add a break-point at the beginning of the FM and compare the parameter values at this breakpoint when you execute from SE37 (entered values may be formatted differently from what you entered in the screen) and when you execute from your program). This issue happens from time to time, we have then to create our own program.

Read only

0 Likes
1,306

No i don't thank so . i have idea to copy MF and change type of parameters table iflo_itab with IFLOT

it's ok Now . but I don't know why standard MF dump