on 01-15-2010 6:27 PM
Dear SRM experts
I am implementing SRM 7.0 in the Classic scenario with ERP 6.0.
I am wanting to map the following:
- the shopping cart supplier text to the ERP requisition item text
- the shopping cart internal note to the ERP requisition item note
Unfortunately because our ERP system is not on a high enough Enhancement Pack level I cannot use the new available configuration for the mapping. Instead I am trying to implement the BADI - BBP_LONGTEXT_BADI using the method COPY_RULES_GET.
I have created an implementation of this badi, coded the method, activated it all, and deactivated the implementation BBP_LONGTEXT_BADI_1 so there is only one active implementation. Despite all of this the changes I had expected in the ERP requisition have not been made. I have tried to debug, but am struggling to get the processing to stop, therefore have not really been able to validate what my code is doing. The code I have used is as follows:
method IF_EX_BBP_LONGTEXT_BADI~COPY_RULES_GET.
DATA: ls_text_copy_rules TYPE LINE OF bbpt_text_copy_rules.
*As this mapping is required for the transfer of texts to ERP the
*indicator for copying text within SRM needs to be removed
If the document to map to is the requisition
IF IS_TARG_DOCTYPE = 'EXTREQ'.
Map the shoppping cart supplier text to the requisition item text
LS_TEXT_COPY_RULES-text_id_src = 'ITXT'.
LS_TEXT_COPY_RULES-level_src = 'I'.
LS_TEXT_COPY_RULES-text_id_targ = 'B01'.
LS_TEXT_COPY_RULES-level_targ = 'I'.
APPEND ls_text_copy_rules TO ct_text_copy_rules.
Map the shoppping cart internal note to the requisition item note
LS_TEXT_COPY_RULES-text_id_src = 'NOTE'.
LS_TEXT_COPY_RULES-level_src = 'I'.
LS_TEXT_COPY_RULES-text_id_targ = 'B02'.
LS_TEXT_COPY_RULES-level_targ = 'I'.
APPEND ls_text_copy_rules TO ct_text_copy_rules.
ENDIF.
Does anyone one know what the problem might be?
N.B I have not done anything with any BADIs on the ERP side.
Thanks
Claire Crosby-Clarke
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not answered but content not accurate therefore have created new message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear SRM experts
I am implementing SRM 7.0 in the Classic scenario with ECC 6.0.
I am wanting to map the following:
- the shopping cart supplier text to the ECC requisition item text
- the shopping cart internal note to the ECC requisition item note
Unfortunately because our ERP system is not on a high enough Enhancement Pack level I cannot use the new available configuration for the mapping. Instead I am trying to implement the BADI - BBP_LONGTEXT_BADI using the method COPY_RULES_GET.
I have created an implementation of this badi, coded the method, activated it all, and deactivated the implementation BBP_LONGTEXT_BADI_1 so there is only one active implementation. Despite all of this the changes I had expected in the ERP requisition have not been made. I have tried to debug, but am struggling to get the processing to stop, therefore have not really been able to validate what my code is doing. The code I have used is as follows:
method IF_EX_BBP_LONGTEXT_BADI~COPY_RULES_GET.
DATA: ls_text_copy_rules TYPE LINE OF bbpt_text_copy_rules.
*As this mapping is required for the transfer of texts to ERP the
*indicator for copying text within SRM needs to be removed
If the document to map to is the requisition
IF IS_TARG_DOCTYPE = 'EXTREQ'.
Map the shoppping cart supplier text to the requisition item text
LS_TEXT_COPY_RULES-text_id_src = 'ITXT'.
LS_TEXT_COPY_RULES-level_src = 'I'.
LS_TEXT_COPY_RULES-text_id_targ = 'B01'.
LS_TEXT_COPY_RULES-level_targ = 'I'.
APPEND ls_text_copy_rules TO ct_text_copy_rules.
Map the shoppping cart internal note to the requisition item note
LS_TEXT_COPY_RULES-text_id_src = 'NOTE'.
LS_TEXT_COPY_RULES-level_src = 'I'.
LS_TEXT_COPY_RULES-text_id_targ = 'B02'.
LS_TEXT_COPY_RULES-level_targ = 'I'.
APPEND ls_text_copy_rules TO ct_text_copy_rules.
ENDIF.
Does anyone one know what the problem might be?
N.B I have not done anything with any BADIs on the ERP side.
Thanks
Claire Crosby-Clarke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.