Skip to Content
0
Jun 13, 2008 at 11:08 AM

function module RV_ORDER_FLOW_INFORMATION

1744 Views

Hi,

i am using the above mentioned fn module to access vbfa table as shown below.

LOOP AT t_delv INTO wa_delv.

CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'

EXPORTING

  • AUFBEREITUNG = '2'

  • BELEGTYP =

comwa = wa_delv-vbeln

nachfolger = 'X'

n_stufen = '1'

  • VORGAENGER = 'X'

  • V_STUFEN = '50'

  • IMPORTING

  • BELEGTYP_BACK =

TABLES

vbfa_tab = t_vbfa

EXCEPTIONS

no_vbfa = 1

no_vbuk_found = 2

OTHERS = 3

.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

ENDLOOP.

As as soon as the prg line reads the fn module after the loop statement, it is giving short dump. upto loop statement it is fetching proper values. Pls guide me on this.