cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit called when online ATP check with GATP

Former Member
0 Kudos

Hi Guys,

I got requirement as below,

Manipulate the GR time defined in the unloading point when the ATP confirmation of sales order is done with GATP online.

I noticed that the online GATP check from R/3 to APO is not going via normal CIF way of communication or at least even i de-registered CIF queue monitoring, the data transfer can still go through properly.

There are two questions popped up:

1. Any body knows the background routine how the data are transferred between R/3 and APO when online GATP is done, and how to debug this process?

2. Which functional module or exit user is called when online GATP check is done from R/3 sales order?

If anyone knows something you are also welcome to share your expertise!

Thanks!

Tony

Accepted Solutions (0)

Answers (2)

Answers (2)

pavan_verma2
Contributor
0 Kudos

Hi Tony,

FM called in R/3 is AVAILABILITY_CHECK

In APO if you want to manipulate scheduling then use exit EXIT_/SAPAPO/SAPLVCRM_002

use this exit with caution, you need an experienced developer.

Thanks,

Pavan Verma

Former Member
0 Kudos

Hi Pavan,

Thanks for your answer, I'm still in the course of understanding the scheduling logic. What i'm trying to manipulate is the unloading point. As it defines the possible GR time at customer, we want to allow every full day regardless the time window defined in the unloading point.

BR,

Tony

michael_thinschmidt
Contributor
0 Kudos

Hi Tony,

you can use the scheduling exits in APO to manipulate the unloading calendar:

EXIT_/SAPAPO/SAPLVCRM_002

and

EXIT_/SAPAPO/SAPLVCRM_001

-> check the documentation of the exits.

best regards,

Michael

Former Member
0 Kudos

Hi Michael,

Thanks for your input!

We're already using EXIT_/SAPAPO/SAPLVCRM_002 to control the GI calendar, however, i still couldn't find how the unloading point is taken into calculation.

As GI calendar and transport calendar is defined in APO with time stream. But unloading varies per customer and it's maintained in customer master in R/3. In the structure that is transferred from R/3 to APO, i only see in the SD_DOC and ATPFIELD there's a field with name of unloading point but wonder how the details are communicated, meaning the open time window information.

Do you have any idea?

Thanks and regards!

Tony

Former Member
0 Kudos

Dear All,

We've found the place to manipulate the GR unloading point information.

It's in R/3 FM: AVAILABILITY_CHECK

Table that gathering GR hours from R/3 is P_ATPSSPX STRUCTURE ATPSSP.

BR,

Tony

Former Member
0 Kudos

hi! Tony

These are the Exits in online GATP

EXIT_/SAPAPO/SAPLATPT_001 APO ATP: Set ATP Segment

EXIT_/SAPAPO/SAPLATPT_002 APO ATP: Select Substitutions

EXIT_/SAPAPO/SAPLATPT_003 APO ATP: Initialize ATP Controller

EXIT_/SAPAPO/SAPLATPT_004 APO ATP: Check for the Existence of a Location Alias

EXIT_/SAPAPO/SAPLATPT_005 APO-ATP: Handling of Data at End of Check

Regards

Vaibhav Sareen