09-30-2005 7:20 PM
Hello there!
Anyone have an example how to use the FM AVAILABILITY_CHECK?
Thanks in advance!
Denis Nakamoto
09-30-2005 7: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,
10-01-2005 6:21 AM
Hi Denis,
You can also look at
http://www.sapfans.com/forums/posting.php?mode=quote&p=556849&sid=7d59477be0cbe8fe97ecb255d73a7641
Sudha