on 06-01-2011 11:48 AM
Hi friends,
Can any one please tell me the BADI name to validate custom input field in RFx Screen
Thanks
Kumar
Hi,
Try BBP_DOC_CHECK_BADI
Regards,
Marcin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcin, Thanks for ur reply
i have added one custom input field ( Min Tendors Required ), i want to validate this field, i want to find out the value of this input field, so that i will write logic in that badi what u specified , i gave points for ur earlier answer
can u please help me
Thnx
Kumar
Hi,
You can write something like this:
DATA: ls_ctr_header TYPE bbp_pds_ctr_header_d,
ls_message TYPE bbp_smessages_badi,
lf_dummy TYPE c.
CALL FUNCTION 'BBP_PD_CTR_GETDETAIL'
EXPORTING
i_guid = iv_doc_guid
IMPORTING
e_header = ls_ctr_header.
IF ls_ctr_header-zagreement_cat IS INITIAL.
MESSAGE e010(zcust_message) INTO lf_dummy.
CLEAR ls_message.
ls_message-msgty = sy-msgty.
ls_message-msgid = sy-msgid.
ls_message-msgno = sy-msgno.
SELECT SINGLE text
FROM t100
INTO ls_message-message
WHERE sprsl = sy-langu
AND arbgb = sy-msgid
AND msgnr = sy-msgno.
APPEND ls_message TO et_messages.
ENDIF.
In this BADI i've check contract field Agreement category (ZAGREEMENT_CAT) on header level.
If it's initial add message to export tab et_messages.
Regards,
Marcin
User | Count |
---|---|
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.