cancel
Showing results for 
Search instead for 
Did you mean: 

DMR with reference to service order should fetch pricing & tax details from service contract

balaji_parsewar
Contributor
0 Kudos

Hi Team,

We have business process as follows:

Service Contract -- Service Order -- Debit memo request -- Debit memo

We create Debit Memo Request with reference to service order & not service contract. Hence there is no direct relationship between service contract & Debit Memo Request. DP90 T-Code is used for creating debit memo request & it contains contract number in account assignment tab as reference document.

Here client requirement is when debit memo request is created, it should copy following data from service contract.

1) Customer Tax Classification

2) Material Tax classification

3) One condition type

How this can be achieved?

Can we use pricing exit for copying this data?

Appreciate your pointers on this.

Regards,

Balaji

Accepted Solutions (1)

Accepted Solutions (1)

bell_yang
Explorer
0 Kudos

You may use user-exit USEREXIT_PRICING_PREPARE_TKOMP to copy

1) Customer Tax Classification

2) Material Tax classification

And user-exit in FM PRICING_COPY to copy

3) One condition type

balaji_parsewar
Contributor
0 Kudos

Thanks bell.yang for your suggestion. Will discuss same with ABAP consultant to assess feasibility of the same. Will update same on forum. Thanks.

Answers (3)

Answers (3)

former_member311089
Participant
0 Kudos

Hi Balaji,

I understand now that your debit request is not from the billing document, from the flow that you have mentioned you are creating the debit request with ref to order.

Are you saying your Order (OR) to order (DR) VTAA copy control settings also does not come into picture in this scenario, where you can fine tune your data transfer routine to copy the tax details from contract?

balaji_parsewar
Contributor

Hi arputharaj.prasad2 ,

Yes... as per your suggestion we are exploring VTAA between YWV (Contract) & YLV (Debit Memo request). Will update you & forum. Thanks for your suggestion.

Balaji

balaji_parsewar
Contributor
0 Kudos

we finally decided to go with user exit option. Thanks.

Lakshmipathi
Active Contributor
0 Kudos

Just wondering all the three values listed by you will vary from parent document to source document in all cases which should not ideally be the case

balaji_parsewar
Contributor
0 Kudos

Hi lakshmipathi.ganesan Sir,

Here requirement is service contract & DMR would be in sync in terms of pricing, tax classification & tax determined.

We are bringing desired tax rate in service contract by changing Alternative Tax Classification (Header – Billing Tab) & Tax Classification (Item Details – Billing Document). One condition type in service contract is getting determined on the basis of document number i.e. service contract number.

However we are creating DMR with reference to service order & not service contract hence pricing & tax rate is DMR are different than that of service contract. Different tax is getting determined due to different tax classification & condition type is not getting copied.

Hence we are trying to achieve this requirement with the help of user exits. Please provide your valuable inputs.

Regards,

Balaji

former_member311089
Participant
0 Kudos

Hi Balaji,

I understand that your requirement is to have the cust and material tax classification copied to the debit note request from the contract.

For cust tax classification,you have to put in your logic of referring to the contract in the "data transfer routine" available in the header copy control between invoice->Debit note (tcode VTAF). Default data transfer routine is 103. You have to create a new routine with ref to this and have your extra logic of picking the values from the contract instead of invoice.

Similarly for copying the tax classification, the logic should be again in the data transfer routine, but this time the item data transfer routine which is again available in VTAF against your source item category. Default would be 104. You have to create a new routine with ref to this and have your extra logic here.

Once the logics are put in place as above, we can see that the tax classification of the header and the item copied from contract and available in your debit note request, when pricing or any other functionality is executed system will actual refer to these values which is your expectation.

On the condition type req, can you explain whether it is manual condition type and the condition type class whether it is a price/discount/tax?

balaji_parsewar
Contributor
0 Kudos

Hi arputharaj.prasad2 ,

I think VTAF will come into the picture. My copying requirement does not contain any billing document. I want to copy data from service contract to DMR.

I am copying sentence from my question - "We create Debit Memo Request with reference to service order & not service contract. Hence there is no direct relationship between service contract & Debit Memo Request."

Regards,

Balaji