on 04-27-2009 10:11 PM
We implemented the badi BBP_DOC_CHECK_BADI for the shopping cart, which allowed us to throw error and warning messages during the check of the SC.
I am now on the hunt for a Confirmation check badi or a place to add error messages during check of the confirmation.
Any known exits, badis, or places to add Implicit enhancements?
Thanks,
Travis
Just as I post this I find that I can just add the confirmation business object BUS2203 to my filter on the same BBP_DOC_CHECK_BADI to add checks for the Confirmations.
I'll answer my own question in case anyone else has the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henery,
Implement the badi, create a method read confirmation which calls bbp_pd_conf_getdetail, see below. Create the e_* structures as class attributes and you will see the po in the header structure field BE_REFOBJ.
method READ_CONFIRMATION.
check ( conf_guid is not initial ) or
( conf_i_object_id is not initial ).
refresh( ).
call function 'BBP_PD_CONF_GETDETAIL'
EXPORTING
I_GUID = conf_guid
I_OBJECT_ID = conf_i_object_id
I_REF_DOC_NO =
I_PARTNER_NO =
I_WITH_ITEMDATA = 'X'
I_ATTACH_WITH_DOC = ' '
I_ITEM_SORTED_BY_HIERARCHY = 'X'
I_READ_FROM_ARCHIVE = ' '
IMPORTING
E_HEADER = e_header
ET_ATTACH = et_attach
TABLES
E_ITEM = e_item
E_ACCOUNT = e_account
E_PARTNER = e_partner
E_LONGTEXT = e_longtext
E_ORGDATA = e_orgdata
E_STATUS = e_status
E_MESSAGES = e_messages
E_TAX = e_tax
E_HCF = e_hcf
E_ICF = e_icf
E_ACTVAL = e_actval
E_ACC_ACTVAL = e_acc_actval
E_HEADER_REL = e_header_rel
E_ITM_REL = e_itm_rel
E_OVE_REL = e_ove_rel
E_PRIDOC = e_pridoc .
endmethod.
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.