Skip to Content
0
Former Member
Dec 22, 2007 at 07:51 AM

old method

65 Views

I'm a bit surprised...

Code:

----


  • FORM USEREXIT_PRICING_PREPARE_TKOMK *

----


  • This userexit can be used to move additional fields into the *

  • communication table which is used for pricing: *

  • TKOMK for header fields *

  • This form is called from form PREISFINDUNG_VORBEREITEN. *

----


FORM USEREXIT_PRICING_PREPARE_TKOMK.

  • TKOMK-zzfield = xxxx-zzfield2.

  • TKOMK-KUNRE = XVBPA_RE-KUNNR.

  • TKOMK-KUNWE = XVBPA_WE-KUNNR.

  • TKOMK-KNRZE = XVBPA_RG-KUNNR.

  • PERFORM XVBPA_SELECT USING 'VE'.

  • TKOMK-VRTNR = XVBPA-PERNR.

  • PERFORM XVBPA_SELECT USING 'SP'.

  • TKOMK-SPDNR = XVBPA-LIFNR.

  • PERFORM XVBPA_SELECT USING 'AP'.

  • TKOMK-PARNR = XVBPA-PARNR.

ENDFORM.this i found in RV60AFZZ

changing this subroutine means changing standard SAP code... it's not like UserExit includes...

could somebody get me out of my shock and explain what's that and how to deal with such things???

__________________