cancel
Showing results for 
Search instead for 
Did you mean: 

GATP and ABAP program.

Former Member
0 Kudos

Hello.

I have some issues. If you have ideas, Please help me.

In R/3.

I will make CBO Table and ABAP program for GATP.

CBO Table has requested quantity, requested material, plant and requested date.

In ABAP Program, I will execute GATP about CBO Table data.

I know. If I make sales order, I can see GATP result from R/3 and APO.

But. I will check only CBO Table data from R/3 to APO. It's not Sales order.

If CBO table has 4 lines requirement data, I will check 4 line requirement at the same time.

Example)

In R/3,

CBO table | sequence | Material | Plant | Requested Date | Requested quantity |

1

A

D100

2011.08.08

100 EA

2

A

D100

2011.08.10

200 EA

3

A

D100

2011.08.11

100 EA

4

A

D100

2011.08.12

300 EA

Now

In APO, D100 Plant available stock has 400 EA about A material

In R/3, I have BAPI "availablity_check".

BAPI "availablity_check" function can call "BAPI_APOATP_CHECK" from APO.

I can check only sequence "1" in CBO Table. This ATP result is avaliability. beacaues D100 Plans has 400 EA.

But. After I check, BAPI is end.

APO D100 Plant stock 100 EA is not reserved in APO. Because No transaction data is in APO. CBO Data is not sales order.

Question : In R/3, when I check CBO data with BAPI "availability_check", I want to reserve(assign) CBO DATA in APO.

Do you know how to do ?

I will set up GATP in APO.

Thank for reading.

Have a nice day

Edited by: wanseung son on Jul 29, 2011 9:09 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Wanseung,

What is an R/3 CBO table?

What is the business requirement? e.g., what are you actually trying to check the availability of?

APO D100 Plant stock 100 EA is not reserved in APO

Technically, APO GATP does not reserve stock. APO Planning can be made to hard-peg stock to a requirement, but that is not directly relevant to GATP. I guess that is a moot point. Since the requirement does not exist in APO, you can't use the hard-pegging capability.

APO GATP prevents future ATP calls from confirming a requirement against stock, if previously confirmed quantities exceed the quantity of stock on hand. Maybe that is what you mean by 'reserve stock'. Again, since the previous confirmations do not exist in APO, your scenario is still incomplete, a dead end.

The heart of using APO to perform any planning type function, from within R/3 (such as GATP), is Replication. Transactional data must first be replicated in APO under all possible relevant business scenarios. Your description does not even begin to address this step.

If all you want is technical advice about how to manage a programming problem, you would be better off posting you questions in an ABAP forum.

Best Regards,

DB49