on 09-05-2014 12:47 PM
Hi to all
I would like ask some points regarding product substituon logic..
My requirement is e to get substitute product in the case of unavailablity of original product in the sale order.
I configured the following seetings in APO
condition table
condition record
access seq
condition type
rule strategy
assigned rule strartegy
check instution(activated RBA)
integtaed rule maintaince
rule determination
CIF( all the products location are availble in APO)
In ecc i created Business trasction & assigned to Order type.
I created a sale order and excecuted availabity check in the sale order. it is going to APO side but corresponding rule not picked. Its giving " no rules was found" ..
In APO side i executed /SAPAPO/AC04 tocde i entered all the values like Product,Plant,check mode,business event and excecuted. its going to chararcterstics based screeb it asking
Technical scenario, Business Trans, action type and in chaacterstics i filled with required details. in this case rule picking its giving substitute porduct as sub line item..
But form ECC side if do availabilty check that screen not comming...Could you please find the below screen shot. rule is not commimg
I think you understand my query.....
Iam requesting all to valuable suggestion to proceed further..
Thanks and Regrds
Sudhakar
Is your sales documet picking up the right check instructions that say "Rules Based Availability". If yes - it should work. It is quite difficult to judge just by seeing one screenshot. I hope you have the condition record with the rule maintained in the correct condition record that matches the parameters of your Sales document.
Babu Kilari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudhakar,
Any reason for using the checkbox "Calculation Profile" ? Could you explain the business scenario that drives this ?
Also to answer your question - It has got nothing to do with the condition records of ECC. If the rule is being picked up the issue could be in the rule evaluation. Please try to see if you're able to evaluate the rule in the delivery proposal screen. If you're unable to do so, then the problem is indeed with the RULE itself or if you're unable to see the rule in the delivery proosal screen, perhaps your RDD is not falling with the validity of the rule that was maintained in the condition record.
Hope this helps.
Babu Kilari
Hi babu
find the below comments
If the rule is being picked up the issue could be in the rule evaluation. Please try to see if you're able to evaluate the rule in the delivery proposal screen.(/sapapo/rba04 i had given my source product and loaction and then clicked on rule evalution its picking the substitute products in evalution rule)
If you're unable to do so, then the problem is indeed with the RULE itself or if you're unable to see the rule in the delivery proosal screen, perhaps your RDD is not falling with the validity of the rule that was maintained in the condition record.( /sapapo/aco4 if simulate the rule its picking my rule and giving substitute product as sub-item, but if i do check from R/3 its not picking. dont know what i missed)
Can you help in this regard.
Regards
Sudhakar
Hi Sudhakar,
Looking at this error, it is very evident for me that system is unable to find out the RBA rule from APO system. I suggest you to sit with an ABAP developer and debug the RFC call from ECC to APO and then set the break-point in /SAPAPO/ATP_RULES_EVALUATE in this FM to see what it is throwing you at the end. this should help you identify the root cause.
thanks & best regards,
Babu Kilari
Hi Babu
Many Thanks to your contribution on my issue. Now Iam getting APO confirmation screen through availabilty check..But my scenario is different
say Prod A-1000qty Prod B-1500 Prod-C 2000.
Sale order detail
======================
10 Prod-A 5000qty
=======================
Its picking my rule and proposing the following details APO screen
-----------------------------------
Prod-A 1000 DeliveryProposal [] rule
Product/location substitution
--------------------------------------------------
Prod-B 1500 DeliveryProposal
Prod-A 2000 DeliveryProposal
-------------------------------------------------------------------------
What Iam triyng ask form above is " Partial confirmation is not happening" because iam ordering 5000Qty but with substituion iam getting 4500Qty. At least I have to confirm 4500 qty ..Only for one substitution only its proposing confirmation..
Could you help me in this regrad. Kindly let me know if you are not getting my issue.
Regards
Sudhakar
Your question is not clear. But, I made some comments below. Hope that helps.
If you're having 3 products linked together. In that case you need to have substitution setup between A->B and B->C only then you will see the substitution happening between all the three. Otherwise you will see the substitution happening only between A->B and you will get the confirmations as per the stock that is available.
Babu Kilari
Thanks for your response!
what iam trying to say in my above post is "Will it possible to substitute one product with multiple substitute products at a time"
Ex:
stocks of the products as follows
A-1000
B-500
C-1000
Actual flow
-------------------------
If i create a sale order for the product A with requested qty as 4000......As per RBA first it will check A it will confirm 1000 and then it come to B will confirm 500 and finally 1000qty should confirm form product C. its not happening in my scenatio
In have to excute that scenario only but its substituing either substitue Prod B or Prod C is only. iam not getting two sub line items at a time . what have to do for substitue all related products at a time..
I hope that u can get my question at least this time
Regards
Sudhakar
Hi Sudhakar
Please paste the screenshot of your Product Substitution Procedure. I hope you have enough stock on Product B and C to get the confirmation against ?
Also, were you able to do the necessary configuration for the item categories of Sub items ? And, I hope you didn't select the "Merge Subitems" option in the check instruction. You should not select that.
Thanks & Best Regards,
Babu Kilari
You can't transport the RBA rules. It is master data. You need to build your own ABAP tool to upload the product substitutions. Please bear in mind that in each SCN thread there should only be one question according to the rules of engagement of SCN. For any new question, you should open a new thread.
Thanks & Best Regards,
Babu Kilari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.