on 2021 Nov 19 4:05 PM
Hello colleagues, I had a case where 3 sales orders with different payment terms were assigned in ONE delivery by mistake and system automatically has generated 3 different invoices with the same weight(duplicated).
Is there any way that SAP automatically differentiate sales orders with different payment terms and create automatically separate deliveries?
Split on the basis of Payment Terms occur at the Invoice Level in standard. You may need to go for a development for your requirement for separate Deliveries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sinha,
I am also having the same issue, if I have multiple sales orders with different Payment terms/Pricing Groups then it should create multiple delivery documents by using VL10C(Background).
Is there any way to handle this scenario, any Routine/Exit available for the same to handle this programmatically...
Thanks,
Lakshman.
Hi Sinha,
I found the Routine( RV50C900 ) and Program we need to choose for this include is ( SAPFV50C ).
There I have implemented Implicit enhancement...
IF cvbkd-vbeln IS NOT INITIAL .
DATA : l_low1 LIKE tvarvc-low VALUE IS INITIAL ,
it_vbkd like cvbkd[] ,
wa_vbkd LIKE cvbkd .
it_vbkd[] = CORRESPONDING #( cvbkd[] ) .
SELECT SINGLE low " TO CHECK ENTRIE IN TABLE TVARVC
FROM tvarvc
INTO (l_low1)
WHERE name = 'ZRV50C900_CVBKD_VSTEL'
AND low = likp-vstel.
DELETE it_vbkd[] WHERE vbeln = cvbkd-vbeln .
IF sy-subrc = 0 .
CLEAR wa_vbkd .
READ TABLE it_vbkd[] INTO wa_vbkd WITH key konda = cvbkd-konda .
IF sy-subrc <> 0.
CONCATENATE likp-zukrl cvbkd-konda INTO likp-zukrl SEPARATED BY '-'. " COMBINE Combination criteria for delivery & Pricing Group.
REFRESH it_vbkd[].
ELSEIF sy-subrc = 0 and wa_vbkd-zterm <> cvbkd-zterm .
CONCATENATE likp-zukrl cvbkd-zterm INTO likp-zukrl SEPARATED BY '-'. " COMBINE Combination criteria for delivery & Pament Term.
REFRESH it_vbkd[].
ENDIF.
ENDIF.
ENDIF.
User | Count |
---|---|
88 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.