SAP Note 315877 - Error message VF 342 during collective billing

Component : Processing Billing Documents -

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

Summary :
When billing a sales order with various billing types for different items, error VF 342 may appear, indicating the document is "currently being processed". This error occurs due to a lock triggered during the creation of the first billing document, preventing the processing of subsequent documents within the same transaction. When using SAP Release 4.5 or higher, a source code change in FUNCTION SD_COLLECTIVE_RUN_EXECUTE can allow simultaneous updates of different billing types. For older releases, modification in program MV60SSAM is necessary. Use of these modifications should be carefully considered with a consultant due to potential performance impacts.

Key words :
system displays error message vf 342, system issues error message vf 342, additional key words vf04, source code change, selkz ne space, performance problems due, <<<delete                      v60p_input_vkdfif-v_fkart, <<<delete                      v60p_input_vkdfif-vkorg, update billing documents, system response

Related Notes :

170183
130585Collective billing run: Adjustment S_MAX
111813Billing doc: Collective run differs from individual creation