Application Development and Automation 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: 
Read only

Availability_Check function module i/p parameters.

Former Member
0 Likes
1,855

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
Read only

former_member206650
Active Participant
0 Likes
1,290

hi,

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





hope it helps...

Read only

0 Likes
1,290

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

Read only

Former Member
0 Likes
1,290

Experts,

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

Thanks,

Vinod.

Read only

former_member206650
Active Participant
0 Likes
1,290

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

Read only

Former Member
0 Likes
1,290

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.