on 03-11-2015 5:37 AM
Hi,
I have a requirement to make payment block and contract end date field mandatory in contract creation(RECN)
my main concern is that it should be contract wise like Z051,Z052.Z061 and Z062 contract.
unable to make it in standard setting.Is there any BADI for this specific requirement??
I only need to make contract end date and payment block field mandatory with respect to contract Z051,Z052,Z061 and Z062.
Your reply will be highly appreciable.
Regards
Md Rizwan
Hi,
Jeong thnx for ur reply.But it is not controled by standard setting.
Regards
Rizwan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear MOHAMMAD RIZWAN
You can control this filed status as follows ;
1. Contract End Date : IMG > Contract > Dialog > Screen Layout > Field Groups >
Field Status per Contract Type
2. Payment Block (On the Posting Parameters) :
- Method A) Enhancement :
Enhancement Spot : BADI_RE_CN_CN
BADI : BADI_RECN_CONTRACT
Method : CHECK_ALL
- Method B) Function Module for Field Group
Field Group : 42 (Payment Rules)
Field : REEX_PAYMENT_FI_S-PYMTBLOCK
Function Module : REGC_REGC_EVENT_FMOD2
Sample :
* ================================
* contract currency
* ================================
WHEN 9.
* display!
out_status = reca2_fieldstate-display.
* not display?
IF lf_display = abap_false
AND NOT regcflds-bukrs IS INITIAL.
* read currency context
CALL METHOD cl_recn_contract_services=>get_currency_context
EXPORTING
id_bukrs = regcflds-bukrs
IMPORTING
ed_currencyassign = ld_currencyassign.
IF ld_currencyassign <> recd1_currencyassign-default.
out_status = reca2_fieldstate-optional.
ENDIF.
ENDIF.
Regards
Jeong, Yeong-Chul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rizwan,
you can implement BAdI BADI_RECN_CONTRACT, Method CHECK_ALL, to define additional checks for the contract fields.
I hope this helps.
Regards, Franz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.