Skip to Content

Help with FM AVAILABILITY_CHECK

Hello there!

Anyone have an example how to use the FM AVAILABILITY_CHECK?

Thanks in advance!

Denis Nakamoto

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Sep 30, 2005 at 06:28 PM

    DATA: l_atpcs LIKE atpcs OCCURS 0 WITH HEADER LINE,

    l_atpcs_r3 LIKE atpcs OCCURS 0 WITH HEADER LINE,

    l_t441v LIKE t441v OCCURS 0 WITH HEADER LINE,

    l_atpmsgx LIKE atpmsg OCCURS 0 WITH HEADER LINE,

    l_tmvf LIKE tmvf OCCURS 0 WITH HEADER LINE,

    l_mdvex-mng02 LIKE mdvex-mng02,

    l_egsbs LIKE p_atpca-egsbs,

    l_maxflag,

    l_check_flag_exists,

    atpcsx_lines LIKE sy-tabix.

    *--> call ATP server ***

    CALL FUNCTION 'AVAILABILITY_CHECK'

    TABLES

    p_atpcsx = l_atpcs

    p_atpassx = atpassx

    p_atpcsx_r3 = l_atpcs_r3

    p_atpdsx = atpdsx

    p_atpmatx = atpmatd

    p_atpfieldx = p_atpfieldx

    p_mdvex = mdvex

    p_t441vx = l_t441v

    p_tmvfx = l_tmvf

    p_atpdiax = atpdiax

    CHANGING

    p_atpca = p_atpca "ANWDG, AZERG, PLAUF RDMOD

    p_atpcb = p_atpcb "MEINS

    EXCEPTIONS

    error = 1

    OTHERS = 2.

    Rgds,

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 01, 2005 at 05:21 AM
    Add comment
    10|10000 characters needed characters exceeded