on 11-05-2021 5:31 PM
Hello community,
The moment of creating a BAdI documentation that was previously created but for testing reasons it was eliminated but when creating it again it shows me a syntax error, I attach screenshots and code used.
* Mapping for Marketing Area of Interaction Contact
* Example:
* a customer field ZZ_MKT_AREA holds the marketing area of the business partner. This can be mapped into the standard marketing area field of the interaction contact
* Mapping for Marketing Area of Interaction Contact
DATA lv_marketing_area TYPE if_cuan_bupa_map_types => ty_ic_marketing_area.
if bp_general_data-include-YY1_SalesOrganisationI_bus is not initial.
lv_marketing_area = bp_general_data-include-YY1_SalesOrganisationI_bus.
APPEND lv_marketing_area TO ic_marketing_areas.
endif.
Hello Elio,
if you are using the SOAP based Business Partner integration please implement BAdI: "Business Partner Mapping: Adjust Marketing Area". In case you are using the OData based Business Partner integration please implement "Review imported Interaction Contact data" for your purpose.
Best regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Elio,
The code that I see in your attachment BADI-2.PNG seem to fit more with the BAdI "Business Partner Mapping: Adjust Marketing Area", but according to the attachment BADI-1.PNG you have selected the BAdI "Business Partner Mapping: Adjust Relationship Code Values".
Could you verify that you have selected the right BAdI?
Best regards,
Marc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
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.