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 - Sales Order

Former Member
0 Kudos

Hi Experts,

Please suggest how to do an availability check for a sales order in ABAP similar to "Availability Check Ctrl+F4" in VA02. I am looking for some function modules that will accept the sales order number and carry out the job. Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi mishra,

try this function module

SSF_KRN_ENVELOPE

and in availability check you have to know about the following ones...

What is Forward and Backward Scheduling?

What do you mean by forward scheduling and backward scheduling?

Backward scheduling is the calculation of deadline dates: the arrival time at the customer site is calculated as the earliest possible goods receipt time at the customers unloading point on the requested delivery date. All four of the delivery and transportation scheduling lead times are subtracted from the customer’s requested delivery date to determine if this date can be met.

The transit time, loading time, and pick/pack time are subtracted from the customer’s requested delivery date to calculate the required material availability date.

The system calculates backward scheduling as follows:

Requested delivery date minus transit time = Goods issue date

Goods issue date minus loading time = Loading date

Loading date minus transportation lead time = Transportation scheduling date

Loading date minus pick/pack time = Material availability date

By default, the system will calculate delivery dates the closest day, taking into consideration the working days of the shipping point and a rounding profile. In this case the system assumes a 24 hour work day and lead times can be entered in days up to 2 decimal points. This is referred to as daily scheduling.

Precise scheduling calculated down to the day, hour and minute is supported. This allows the scheduling of a delivery within a single day. It is activated by maintaining the working hours for a particular shipping point.

Backward scheduling is always carried out first. If the material availability date or transportation scheduling date is calculated to be in the past, the system must then use forward scheduling.

Forward scheduling is also done if no product is available on the material availability date calculated by backward scheduling. The system does an availability check to determine the first possible date when product will be available. This new material availability date forms the starting point for scheduling the remaining activities. The loading time, pick/pack time, transit time, and transportation lead time are added to the new material availability date to calculate the confirmed delivery date.

availability check and its how to configuring.. By: rekha | 06 Feb 2008 8:17 am When we create a sales order, there are several basic functions which are executed automatically for the dynamic order management . among these basic functions , availability check and transfer of requirements are crucial.

the system first prepares schedule line containing the information on the desired delivery date and quantities , this information is passed to MRP and an avialability check and transfer of requiremnts are executed

First the system carries out backward scheduling and establishes the material avaialbility date = desired delivery date-transit time-loading time-picking & packing time and on this date an availability check is carried out using ATP logic which means avialable to promise quanity =total ware house stock+incoing orders-outgoing

along with the avialability check the requirements also are transferred to MRP.

the configuration involves following

1. switching on at schedule line catagegory the avialability check and TOR

2. configure the avilability check using ATP and using the checking group and Checking rule

What is the difference between ATP check and availability check how these reflect in sales order(which check system considers) what are the IMG settings for the same.

ATP Check is checking of availablty quantities i.e ATP = Total Warehouse Stock + Planned receipts(Incoming Stock) - Planned Issues (Out going stock)

Availbilty Check is an integral part of business process it determines the if the desire deliverible quantity can be met on requested delivery date or not.Then it passes to Material Requirement Planning. Or

we can also say..

avability check is nothing but checking of availibility of stock which is placed in the order , sys carries out this check through a available to promise (ATP) logic =whare house stock +planned recepts (incoming stock)-planned issues (out going stock)

What we normally check for in the Database Testing?

Database testing involves some indepth knowledge of the given application and requires more defined plan of approach to test the data. Key issues include :

1) data Integrity

2) data validity

3) data manipulation and updates

regards

karthik.

pls reward me points if the informations is usefull to you.

5 REPLIES 5

Former Member
0 Kudos

Hi Mishra,

Please go through this link for your reference..

help.sap.com/saphelp_crm40/helpdata/en/79/c1c53ace2d6265e10000000a114084/content.htm - 13k

What is avialability check and how to configure it?

When we create a sales order, there are several basic functions which are executed automatically for the dynamic order management . among these basic functions , availability check and transfer of requirements are crucial.

the system first prepares schedule line containing the information on the desired delivery date and quantities , this information is passed to MRP and an avialability check and transfer of requiremnts are executed

First the system carries out backward scheduling and establishes the material avaialbility date = desired delivery date-transit time-loading time-picking & packing time and on this date an availability check is carried out using ATP logic which means avialable to promise quanity =total ware house stock+incoing orders-outgoing

along with the avialability check the requirements also are transferred to MRP.

the configuration involves following

1. switching on at schedule line catagegory the avialability check and TOR

2. configure the avilability check using ATP and using the checking group and Checking rule

What is the difference between ATP check and availability check how these reflect in sales order(which check system considers) what are the IMG settings for the same.

ATP Check is checking of availablty quantities i.e ATP = Total Warehouse Stock + Planned receipts(Incoming Stock) - Planned Issues (Out going stock)

Availbilty Check is an integral part of business process it determines the if the desire deliverible quantity can be met on requested delivery date or not.Then it passes to Material Requirement Planning. Or

we can also say..

avability check is nothing but checking of availibility of stock which is placed in the order , sys carries out this check through a available to promise (ATP) logic =whare house stock +planned recepts (incoming stock)-planned issues (out going stock)

What we normally check for in the Database Testing?

Database testing involves some indepth knowledge of the given application and requires more defined plan of approach to test the data. Key issues include :

1) data Integrity

2) data validity

3) data manipulation and updates.

I think this will be helpful for you..

Thanks & Regards,

Swamy Kunche

Former Member
0 Kudos

Hi Mishra,

You can try with the Function Module BAPI_MATERIAL_AVAILABILITY. Hope this fulfills your need.

Regards,

Chithra

Former Member
0 Kudos

Hi Bikash Mishra ,

Use the FM "LE_ATP_CHECK_SINGLE" . It has the Sales order number nput field in import of the FM.

Thanks,

Greetson

Former Member
0 Kudos

hi mishra,

try this function module

SSF_KRN_ENVELOPE

and in availability check you have to know about the following ones...

What is Forward and Backward Scheduling?

What do you mean by forward scheduling and backward scheduling?

Backward scheduling is the calculation of deadline dates: the arrival time at the customer site is calculated as the earliest possible goods receipt time at the customers unloading point on the requested delivery date. All four of the delivery and transportation scheduling lead times are subtracted from the customer’s requested delivery date to determine if this date can be met.

The transit time, loading time, and pick/pack time are subtracted from the customer’s requested delivery date to calculate the required material availability date.

The system calculates backward scheduling as follows:

Requested delivery date minus transit time = Goods issue date

Goods issue date minus loading time = Loading date

Loading date minus transportation lead time = Transportation scheduling date

Loading date minus pick/pack time = Material availability date

By default, the system will calculate delivery dates the closest day, taking into consideration the working days of the shipping point and a rounding profile. In this case the system assumes a 24 hour work day and lead times can be entered in days up to 2 decimal points. This is referred to as daily scheduling.

Precise scheduling calculated down to the day, hour and minute is supported. This allows the scheduling of a delivery within a single day. It is activated by maintaining the working hours for a particular shipping point.

Backward scheduling is always carried out first. If the material availability date or transportation scheduling date is calculated to be in the past, the system must then use forward scheduling.

Forward scheduling is also done if no product is available on the material availability date calculated by backward scheduling. The system does an availability check to determine the first possible date when product will be available. This new material availability date forms the starting point for scheduling the remaining activities. The loading time, pick/pack time, transit time, and transportation lead time are added to the new material availability date to calculate the confirmed delivery date.

availability check and its how to configuring.. By: rekha | 06 Feb 2008 8:17 am When we create a sales order, there are several basic functions which are executed automatically for the dynamic order management . among these basic functions , availability check and transfer of requirements are crucial.

the system first prepares schedule line containing the information on the desired delivery date and quantities , this information is passed to MRP and an avialability check and transfer of requiremnts are executed

First the system carries out backward scheduling and establishes the material avaialbility date = desired delivery date-transit time-loading time-picking & packing time and on this date an availability check is carried out using ATP logic which means avialable to promise quanity =total ware house stock+incoing orders-outgoing

along with the avialability check the requirements also are transferred to MRP.

the configuration involves following

1. switching on at schedule line catagegory the avialability check and TOR

2. configure the avilability check using ATP and using the checking group and Checking rule

What is the difference between ATP check and availability check how these reflect in sales order(which check system considers) what are the IMG settings for the same.

ATP Check is checking of availablty quantities i.e ATP = Total Warehouse Stock + Planned receipts(Incoming Stock) - Planned Issues (Out going stock)

Availbilty Check is an integral part of business process it determines the if the desire deliverible quantity can be met on requested delivery date or not.Then it passes to Material Requirement Planning. Or

we can also say..

avability check is nothing but checking of availibility of stock which is placed in the order , sys carries out this check through a available to promise (ATP) logic =whare house stock +planned recepts (incoming stock)-planned issues (out going stock)

What we normally check for in the Database Testing?

Database testing involves some indepth knowledge of the given application and requires more defined plan of approach to test the data. Key issues include :

1) data Integrity

2) data validity

3) data manipulation and updates

regards

karthik.

pls reward me points if the informations is usefull to you.

Former Member
0 Kudos

Hi All,

Thank you all for your answers.

@Swamy : Your information is helpful. But i am not sure how to implement it in ABAP. I wanted to play safe by calling function modules.

Regarding the function modules BAPI_MATERIAL_AVAILABILITY, LE_ATP_CHECK_SINGLE, and SSF_KRN_ENVELOPE could you please provide me some sample code to understand the usage ?

Regards,

Bikash