SAP Note 156230 - Requirements: What is permitted, what is not?

Component : Pricing -

Solution : https://service.sap.com/sap/support/notes/156230 (SAP Service marketplace login required)

Summary :
This SAP Note guides modification of pricing source code, particularly under the VOFM Transaction aimed at Requirements & Formulas. Users adjust source code via the ABAP editor, accessed through 'Requirement -> Pricing'. Pricing requirements consist of two FORM routines - a precondition check at the header level (KOBEV_xxx) and the main requirement at the item level (KOBED_xxx). Requirements are managed within customer or SAP name ranges, depending on the configuration. Conditions must be explicitly passed (SY-SUBRC = 0) for the pricing process to consider them. Customization settings allow these checks at both the pricing procedure and access sequence levels. Detailed debugging follows the data flow from T683S and T682I tables through various procedural checks, ensuring all conditions are vetted before final pricing computation.

Key words :
check sy-subrc eq 0        append komt2    append komt1xkomv_aufbauen_aus_komt1  loop, check sy-subrc eq 0    konditionen_lesen      call kobed_{komt2-kobed}, check sy-subrc eq 0 additional key words vofm, suboption 'define access sequences' -> 'optimize accesses', check sy-subrc eq 0    derivation, komt1    call kobed_{komt1-kobed}, set system field sy-subrc, call kobev_{t682v-kobed}, call kobev_{t683s-kobed}, condition preliminary step  loop

Related Notes :

449546Access requirement in account determination does not work
410579FAQ: Rebate processing
381348Using user exit, customer exit, VOFM in SD
130416Requirements in the condition preliminary step