on 02-24-2015 6:09 AM
Hi Experts
One of user cancelled Invoice on 21.02.2015 and delivery reversed done on 23.02.2015. Idealy it should done happened .
Is there anyway we can restrict user ,Delivery reverse will happen before or equal to 21.02.2015.
Do we have any copy control setting
Dear Pawal
go to SMOD t code
here enter the enhancement V50PSTAT click on display next click on components then double click on functional module(EXIT_SAPLV50P_001) here you find include ZXV50U07
double click on include ZXV50U07 create and write below logic
data : wrk_vbeln TYPE vbrk-vbeln,
wrk_fkdat TYPE vbrk-FKDAT.
SELECT SINGLE vbeln INTO wrk_vbeln FROM vbfa
WHERE vbelv = is_lips-vbeln
AND vbtyp_n = 'N'.
SELECT SINGLE fkdat INTO wrk_fkdat FROM vbrk
WHERE vbeln = wrk_vbeln.
IF IS_LIKP-WADAT_IST NE wrk_fkdat.
IF sy-subrc = 0.
MESSAGE 'Reverse not possibel change date' TYPE 'E'.
LEAVE TO CURRENT TRANSACTION.
endif.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are you talking about inbound or outbound process? In case of outbound I will move it to SD forum
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.