on 11-22-2018 8:45 AM
Hi,
Do validations work for documents that are parked? i.e. when you park a park document. Transaction: FV70 - Park/Edit Invoice or when you post a parked document: FBV0 - Post/Delete
I have created a rule to check that the parked document payment term must be the same as the Customer BP, but having no luck.
My rule is:
Prerequisites:
( BKPF-BLART IN ZFIDOCTYPE_PARKEDDOCS ) AND
( SYST-TCODE = 'FBV0' OR SYST-TCODE = 'FV70' OR
SYST-TCODE = 'FV75' OR SYST-TCODE = 'F-64' OR
SYST-TCODE = 'FV67' OR SYST-TCODE = 'FB70' OR
SYST-TCODE = 'FBVB' )
Check:
U024
* User exit that checks the BP
The user exit worked 🙂
( BKPF-BLART IN ZFIDOCTYPE_PARKEDDOCS ) AND
( SYST-TCODE = 'FBV0' OR SYST-TCODE = 'FV70' OR
SYST-TCODE = 'FV75' OR SYST-TCODE = 'F-64' OR
SYST-TCODE = 'F-67' OR SYST-TCODE = 'FBV0' OR
SYST-TCODE = 'FBV2' )
USER EXIT:
U024
CODE:
form u024 using b_result.
b_result = 'T'.
select single zterm from knb1 into @data(lv_old_zterm)
where bukrs = @bseg-bukrs
and kunnr = @bseg-kunnr.
if lv_old_zterm <> bseg-zterm.
b_result = 'F'.
endif.
endform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use BTE function module sample_interface_00001140 with your code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
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.