cancel
Showing results for 
Search instead for 
Did you mean: 

Re-calculate all Pricing Condition for Service Contract.

coolomi1
Explorer
0 Kudos

Hi Experts,

I have a requirement to Recalculate all the  pricing condition for the Service Contract  to our custom program  as same as the Standard :

I need to know the any related  function module and its parameter to be passed  else any approach to achieve the same.

would be highly appreciated .

Thanks and Regards,

Om Prakash.

Accepted Solutions (1)

Accepted Solutions (1)

Himayatullah
Active Participant
0 Kudos

Hi,

Please search for CRM_PRIDOC_*OW in SE37 to get pricing related FM's.

Or else, put a break point in CRM_PRIDOC_MAINTAIN_OW and start debug from there, it will take you to your required calculation place hopefully .

BR/Himayat.

coolomi1
Explorer
0 Kudos

Hi Himayatullah,

Thanks for your  quick response.


I have tried the FM  CRM_PRIDOC_MAINTAIN_OW , but unable to reprice at item level for Service contract ..Request you to  guide us for the same..(necessary parameter to be passed)


I am totally new in CRM .

Please help me out.

Thanks and regards,

Om Prakash.

Himayatullah
Active Participant
0 Kudos

Hi Om prakash,

I did some analysis on this . The only solution for us is to debug and debuggggg standard codes.

Basically you will need below FM's to perform the above stuff.

CRM_PRIDOC_GET_HANDLE_OW -- Pass header guid and fetch ev_pd_handle value.

PRC_PD_ITEM_UPDATE --This is used to reprice the items(pass redetermine_pricing_type as B, newcalc,redetermine as X, pass pd_handle value which u got above and the item GUID).

Do a where used list of these FM's in SE37, you will get more information on how to pass values.

BR/Himayat.

Answers (0)