Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Availability_Check function module i/p parameters.

Former Member
0 Kudos

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

5 REPLIES 5

former_member206650
Active Participant
0 Kudos

hi,

P_ATPCC is optional ,in tables there is a parameter called P_ATPCSX this parameter is not optional....





hope it helps...

0 Kudos

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....

Former Member
0 Kudos

Experts,

               Can anyone answer the above thread even my requirement match little bit .

Thanks,

Vinod.

former_member206650
Active Participant
0 Kudos

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...

Former Member
0 Kudos

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.