2009 Feb 13 5:06 PM
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
2009 Feb 13 5:24 PM
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
2009 Feb 13 5:11 PM
2009 Feb 13 5:27 PM
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
2009 Feb 13 5:24 PM
If you don't catch exceptions in the calling program, it will dump.
Rob
2009 Feb 13 5:29 PM
i have to use it in programm so? . i can not test it without using programm ( test it in se 37)?
2009 Feb 13 5:32 PM
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
2009 Feb 13 5:47 PM
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'.
2009 Feb 13 9:34 PM
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.
2009 Feb 16 8:28 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |