cancel
Showing results for 
Search instead for 
Did you mean: 

custom ATP Check

Former Member
0 Kudos
293

Hello All

We have custom ATP(Material Check) functionality built in ECC. And we are in position to use this custom FM to carrier out ATP in CRM and show some additional information on the Order.

Please advice on the following:

1. Should we have disable the standard ATP configuration in CRM since we have a custom logic built in ECC

2. Is their any BADI available for carrying custom ATP check(regardless of Configuration) and bring additional data from ECC?

3. How can we use standard fields that holds Confirmed Quantity and date to hold the same data but from custom ATP FM

Cheers

RJ

View Entire Topic
Former Member
0 Kudos

Are you making an explicit call to your RFC from CRM to get the results?

If you are not big on any integration benefits that might come with the standard, you can as well "disable" the standard call.

There is no BAdI for what you are asking for. But still try CRM_AV_CHECK_R3_01 and CRM_AV_CHECK_FC_01*

Once you have got the values from your custom RFC, check BAdI - CRM_SCHEDLIN_BADI

Former Member
0 Kudos

Yes. I am planning to make expilict call to ECC.

<If you are not big on any integration benefits that might come with the standard, you can as well "disable" the standard call.

There is no BAdI for what you are asking for. But still try CRM_AV_CHECK_R3_01 and CRM_AV_CHECK_FC_01*

Once you have got the values from your custom RFC, check BAdI - CRM_SCHEDLIN_BADI >

I checked this BADI CRM_AV_CHECK_R3_01 but it looks to me that this has the capability to change only the Destination.

I am unsure about this badi CRM_AV_CHECK_FC_01* and when this would be called during the Order Processing.

Could you please let me know more details about the badi CRM_SCHEDLIN_BADI ?

I need to save custom obtained Confirmed Quantity and Date(from RFC) into the standard fields.

Cheers

RJ

Former Member
0 Kudos

CRM_SCHEDLIN_BADI BAdI lets you change the schedule lines. In this BAdI, you have access to the transaction data. You can do so using CRM_ORDER_READ with the header guid and the items guids available thriough the input structures. In theory, you can call the custom ATP calls from this BAdI, get your values for quantities and dates and update the schedule lines of the transaction. This is theory, but a good one...

Former Member
0 Kudos

Hi

I tried changing the Quantity and Date on the Fly(while debugging) in this badi, but it did not create any impact.

Should I have to call a linear order maintain again ?

Please advice.

RJ

Former Member
0 Kudos

Hi Remo,

You can use the method CHANGE_APO_ITEM_INPUT in badi CRM_AV_CHECK_APO_01 to pass the custom values to ECC for ATP check. I had a requirement where we were passing custom values to the standard ATP check and we used the above method. There is also a FM which you can trigger to do a ATP check CRM_CONFIRM_ATP_TO_CHECK. There is a badi available inside the FM for external atp which can be used. I have never done this but just check if it serves your purpose.

Regards,

Sangeeta.