05-26-2014 10:23 AM
Hello Experts,
can anyone tell me the exact i/p parameters to be passed in function module availability_check to get o/p as total commited date
which is in the tab changing "P_ATPCC" in which the field name is "GSBTR".I want to fetch the values of that field,can anyone help me in this.
Thanks,
SAP
05-26-2014 10:49 AM
hi,
P_ATPCC is optional ,in tables there is a parameter called P_ATPCSX this parameter is not optional....
hope it helps...
05-26-2014 11:04 AM
Hi Vishnu,
yes i know that and i have passed atpcsx in tables but i am not able to fetch all values,i can see only some structures such as atpmatx etc....
05-26-2014 11:39 AM
Experts,
Can anyone answer the above thread even my requirement match little bit .
Thanks,
Vinod.
05-26-2014 12:32 PM
hi,
the table P_ATPCSX is made of the structure ATPCS.it has fields..so in your main program call a table with this structure and fill those fields....also check out fm BAPI_MATERIAL_AVAILABILITY, LE_ATP_CHECK_SINGLE, and SSF_KRN_ENVELOPE....using table in fm are obsolete....
hope you got it...
05-26-2014 1:58 PM
Hi,
You can use the FM as below manner.
CALL FUNCTION 'AVAILABILITY_CHECK'
TABLES
p_atpcsx = i_atpcs
p_atpdsx = i_atpdsx
CHANGING
p_atpca = wf_atpca
EXCEPTIONS
error = 1
OTHERS = 2.