cancel
Showing results for 
Search instead for 
Did you mean: 

Billing Userexit - RV61AFZA

Former Member
0 Kudos

Can anyone advise if we are able to see the billing type in this userexit? This userexit called at the point of billing creation to modify the condition records.

Thanks

Peter

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

This user exit RV61AFZA is too early during the creation of invoice.

Try with other exit : RV61AFZB

FORM USEREXIT_XKOMV_ERGAENZEN

You can use here KOMK-FKART for billing type.

Regards,

Lionel

Former Member
0 Kudos

Hi Goutham,

I know this is subroutine where i can change. Qns is can i see VBRK-FKART? Or is there a similar field i can see if it is 'F2', 'FAZ' billing type in this userexit before i decide to effect the coding?

Thanks

Peter

Former Member
0 Kudos

Hi Peter,

Just now i was debugged but through this exit, system is not identifying the billing type, please try the following exits

Program:RV60AFZZ

User exits:

USEREXIT_PRICING_PREPARE_TKOMK

USEREXIT_PRICING_PREPARE_TKOMP

Regards

Goutham

Former Member
0 Kudos

Hi Goutham,

I wan to manipulate the condition value based on the billing type created. Is there any internal table/table/structure in this userexit i can see what's the billing type selected in VF01?

Thanks

Peter

Former Member
0 Kudos

Hi,

Yes you can done through the

FORM USEREXIT_PRICING_COPY *

----


  • modify KONV before copying *

----


FORM userexit_pricing_copy.

  • the following example modifies the calculation rule within invoices

  • for condition type HD00

*

  • CHECK VBTYP_NEW CA VBTYP_FAKT.

  • IF KONV-KSCHL = 'HD00'.

  • KONV-KRECH = 'B'.

  • ENDIF.

ENDFORM. "USEREXIT_PRICING_COPY

*eject

Regards

Goutham

Former Member
0 Kudos

Hi Peter,

This may include subtotals, manually entered conditions or conditions that have been calculated with a formula. USEREXIT_PRICING_COPY (module pool SAPLV61A, program RV61AFZA) You can change the KONV fields for copied price components.

User Exit RV61AFZA

Pricing Fields

- WAVWR u2013 Cost

- KAWRT u2013 Cond Base Value

- KBETR u2013 Condition Rate

- KSCHL u2013 Condition Type

- WAERS u2013 Currency Key

- KWERT u2013 Condition Value

- KINAK u2013 Condition Inactive

- MGAME u2013 Qty

Bye,

Subramanyam.B

Former Member
0 Kudos

Hi Goutham,

I wan to update condition record based on billing type that is created. Can i see the billing type in this userexit?

Thanks

Peter

Former Member
0 Kudos

Hi,

Sorry to ask again,

Let me understand -

You have two documents -

Billing document of having billing type

Pricing condition record is designed in one of the combination as billing type.

Now, once the billing document is created then based on the billing type in billing document, system to update the condition record values.

Regards

Goutham

Former Member
0 Kudos

Hi,

Can please inform your requirement. Like what field value want to update in the billing document.

Regards

Goutham