BAPI_APO_AVAILABILITY_CHECK
Hi,
Has anybody used BAPI_APO_AVAILABILITY_CHECK ?
What are the parameters to be passed to the same ?
Regards,
RS
> Pat,
>
> Have you done the following steps.
> (1) Created and activated the ATP Customizing
> Integration MODEL in R3. This is a one time
> activity.
>
> (2) As soon as the above step is done, you will see
> that in APO:
> SPRO>APO>GATP>General Settings> Maintain Check
> Instructions is filled with the following
>
> Prod Alloc --- No Step
> Prod Availability---First Step
> Forecast---No Step
>
> ** Currently I believe all the 3 must be blank.
> For Testing purposes, maintain 0XX( The Check mode
> you see on the order) and A as " First Step-- Prod
> Availability" and see whether the BAPI is working **
> ** Afterwards dont forget to activate the ATP
> Customizing model**
>
> Let me know what you see and I can help you further
>
> Regards
> Kumar Ayyagari
Hi Kumar,
Thanks for the reply. APO/GATP are both configured correctly, as the GATP check works fine when creating orders in R/3. The problem is I cannot get any results when attempting to call BAPI_APO_AVAILABILITY_CHECK using the same material and check mode, which I maintained in a requirements profile.
It seems there must be some "trick" to BAPI_APO_AVAILABILTY_CHECK but I am missing it!
Similar Messages
-
BAPI_APO_AVAILABILITY_CHECK never returns successfully
Hello,
I am trying to execute an availability check using BAPI_APO_AVAILABILITY_CHECK to perform an ATP check using our GATP rules. Per the documentation, I'm passing the following:
FIELD_CATALOG_IN: Relevant condition values, match what is passed when calling GATP from R/3 sales order creation
REQUREMENTS_IN:
REQUIREMENT_INDEX - 1
REQUIREMENT_GROUP_INDEX_IN - 1
POSITION_IN_GROUP - 1
PRODUCT - Valid product
LOCATION - Valid plant with inventory
LOCATION_TYPE - 1002
ITEM_NUMBER - 000010
ACTION_METHOD - A
CHECK_PROFILE - Valid check profile
SCHEDULING_INDICATOR - N
TRANSACTION_TYPE - H
RESULT_MODE - X
REQUREIMENT_ITEMS_IN:
REQUIREMENT_ITEM_INDEX - 1
REQUIREMENT_INDEX - 1
REQUIREMENT_TIMESTAMP - 200706071200
REQUIREMENT_QUANTITY - 5.000
SCHEDULE_LINE - 0001
Invariably, I get a GUID but also get the following 3 errors:
- Requirements subgroup with index 1 already exists
- Internal error: Item /000010
- Check instructions /A does not exist for location/product [PROD]/[PLANT]
I get the same error messages regardless of the product/plant combination, and have debugged the R/3 call from sales order creation and am passing the same variables as far as I can tell.
The last error I find odd since it does find a check mode per the ATP log. I am not an ABAP guy so I am struggling here and would appreciate any guidance. Documentation seems very sparce on this RFC especially when using it in conjunction with GATP.
Thanks!
Pat> Pat,
>
> Have you done the following steps.
> (1) Created and activated the ATP Customizing
> Integration MODEL in R3. This is a one time
> activity.
>
> (2) As soon as the above step is done, you will see
> that in APO:
> SPRO>APO>GATP>General Settings> Maintain Check
> Instructions is filled with the following
>
> Prod Alloc --- No Step
> Prod Availability---First Step
> Forecast---No Step
>
> ** Currently I believe all the 3 must be blank.
> For Testing purposes, maintain 0XX( The Check mode
> you see on the order) and A as " First Step-- Prod
> Availability" and see whether the BAPI is working **
> ** Afterwards dont forget to activate the ATP
> Customizing model**
>
> Let me know what you see and I can help you further
>
> Regards
> Kumar Ayyagari
Hi Kumar,
Thanks for the reply. APO/GATP are both configured correctly, as the GATP check works fine when creating orders in R/3. The problem is I cannot get any results when attempting to call BAPI_APO_AVAILABILITY_CHECK using the same material and check mode, which I maintained in a requirements profile.
It seems there must be some "trick" to BAPI_APO_AVAILABILTY_CHECK but I am missing it! -
SCM-GATP- BAPI_APO_AVAILABILITY_CHECK
Hi
We are trying to use the BAPI: BAPI_APO_AVAILABILITY_CHECK for the purpose of reporting. When i try to input information in SE37 (as per the example given in documentation), i get the error that "no location found for rule strategy."
I am supplying this BAPI with this information, but still get this error.
Has anyone used this BAPI or has information on the same. Please reply.
REgards
Rajivplease look into this thread..you may check the suggested settings
BAPI_APO_AVAILABILITY_CHECK never returns successfully -
Sales Order Conversion for Go-Live
Folks,
I would like to get your expert thoughts on sales order conversion for go-live. I will give my thoughts below and would like to see if you can extend them and make this better.
1. The environment is this: the order entry systems are several external systems interfacing with SAP CRM. Therefore, there are two options to bring the sales orders to SCM: i) Use the same interface (BAPI_APO_AVAILABILITY_CHECK that is called from CRM) and create the orders, or, ii) Create the sales orders in ECC and then use the sales order integration model. Note that this is the only time sales orders will come from the ECC system. In steady state, they will come from CRM and based on the SPM scenario that SAP has enabled, they WILL NOT be replicated in ECC
2. Ensure that all deliveries in the system have been executed. That is, there is no stock that has been assigned to a delivery and the delivery has not been shipped. If this is not the case, you have to bring the deliveries into the system also. So, to clarify, no outstanding deliveries will be brought into the system as part of the conversion.
3. Sales order fields related to BOP will be populated through program or by other means. This is implementation specific. Some example fields are: i) Sales Org, ii) Delivery Priority, iii) Shipping Conditions on the header, iv) Transportation Zone of customer, v) Ship-to Party number, etc.
4. Run BOP for all the sales orders based on the criteria that has been defined for this conversion. Note that the criteria for the conversion could be different from the criteria that we will use for steady state.
Could you add any missing steps?
Thanks,
Satishthanks nitin
i would like to use it as prepayemnt itself
but when i am trying to load using oe_payments base table it loads
but when i use data and use in oe_payments_iface all it doesnot load after i run the order import program
can u plz suggest me where i am going wrong
thnaks -
Simsession short dump when calling BAPI
Hello,
I have created a macro in Demand Planning that calls BAPI_APO_AVAILABILITY_CHECK.
When running this is SE37 or SE38, everything works fine. But when calling this from //SDP94 I got a shortdump, because the BAPI wanted to create a simsession, but there was already an existing simsession.
Do you think, this is an error in the BAPI, or do i have to handle this in the calling FM?
Would this be the right approach:
FM "Z_TEST"
CALL FUNCTION //RRP_SIMSESSION_GET -
Save SIMSESSION from DP
CALL FUNCTION //RRP_SIMSESSION_LEAVE -
Clear Simsession
CALL FUNCTION //BAPI_APO_AVAILABILITY_CHECK
CALL FUNCTION //RRP_SIMSESSION_SET -
Set old SIMSESSION back
I do not understand the purpose of the SIMSESSION, so I rely on your comments and help.
Thanks for any feedback,
BR,
DominikHi Domink
Simsessions are simulation sessions or work areas for transactional live cache data. You must create a simsession in order to retrieve and work with data from live cache. When finished you should close the simsession however most times the end of a LUW will delete the simsession. If data created/changed in a simsession needs to be saved an explicit LC commit may be required but in most cases that is taken care of within SAP code. In fact, the leave simsession fm will determine that data in the simsession has changed and ask if you want to save.
I am not sure if you can get around the simsession creation problem in the ATP BAPI. If you had control over the code such as in a Zfunction module you could either not create the simsession or force a merge of simsessions. Do not code the leave simsession because that will delete (rollback) or force the save of the changed data from your planning book before you entered the macro - in addition when you return to your planning book from the macro there will not be a simsession for you to save or change data.
Why are you running ATP from within a DP planning book? Are you looking for what stock is available to update another KF? Do you need to run through the entire ATP process to retrieve an available qty or can you use a simpler function module to retrieve the stock? Another option is to read the planning book in a stand alone program, do the ATP check and whatever logic is necessary before writing back to the planning book.
Hope this helps
Andy -
BAPI_APOATP_CHECK Third Party Processing
Hi,
I am wondering whether it is possible to use BAPI_APOATP_CHECK for third party processing. I have read note 1409611 and it says that since SCM 4.1 a BAPI for ATP is available. However, the BAPI for ATP is not for third party processing. Is BAPI_APOATP_CHECK the BAPI in question?
Thanks.Dear Elvez,
It depends on what information you would like to process / change using BAPI. You can try BAPI "BAPI_APOATP_CHECK" and also "BAPI_APO_AVAILABILITY_CHECK" and see if it helps.
Best regards,
Vaibhav
Maybe you are looking for
-
The older phone in question was a work phone that was set up by the owner and then distributed to employees for use. I have a new phone that will be for personal use that I have backed up from the work phone;mainly for the contacts. I want to sync th
-
I'm looking for some help connecting linksys IP Cameras to my home network to monitor my property when I'm travelling. I used to do this with linksys WAPS, but since I've discarded all my old linksys networking and standardized on airport, I can't g
-
Itunes 12.0.1 home sharing issues
Hi, Just wondering if anyone else was having problems with home sharing and iTunes 12.0.1? My whole house pivots around home sharing, so this was a bit annoying when I couldn't get it to work after installing Yosemite and itunes 12.0.1. I have apple
-
After installing OSX 10.10 I have a very annoying problem with iTunes. It takes 2 seconds after pressing multimedia keys (play/pause, rewind, forward) to have response from iTunes (12.0.1). Any suggestions?
-
How do get my address book to sort/display by Last Name?
I would like my Thunderbird Address Book to display by Last Name. How can I accomplish this?