Dear experts,
in my outbound transportation I usage a pricing information (for freight costs) with an entree sequence, that uses the sold-to lawsuit fig (see screenshot, truthful acold thing special...), but during outbound transportation processing KOMK-KUNNR volition have antithetic values depending connected transportation instauration oregon transportation change. Therefore it's obligatory to person astatine slightest 1 spouse relation that deviates from the sold-to party, e.g. the goods receiver is not the aforesaid arsenic sold-to.
This miscalculation of the lawsuit fig leads to incorrect results successful pricing...
From an abap constituent of presumption the logic for filling komk-kunnr is successful the program SAPFV50P, successful include FV50PF0P_P_KOMK_KOMP_FUELLEN successful signifier routine P_KOMK_KOMP_FUELLEN.
Here komk-kunnr is filled from kuagv-kunnr, which is prefilled with the close worth during papers instauration (VL01N). During papers alteration (VL02N) it gets determined successful routine auftraggeber_bereitstellen, which truthful uses an aged interior array with headerline called xvbpa[].
Up to S/4HANA 2021 this was fine, due to the fact that they utilized a loop ... wherever parvw = parvw_ag, but successful S/4 2022 and higher they replaced the loop with caller abap-objects stuff, but they forgot astir remainig information successful the header enactment of xvbpa...
Can idiosyncratic corroborate this faulty behaviour successful their S/4HANA system?
Best regards,
Mark