Hierarchy

⤷

⤷

IMG Activity
ID | CMPD_CUS_EXECUTE | Business Add-In for Controlling Campaign Determination |
Transaction Code | S_AXA_22000047 | (empty) |
Created on | 20030320 | |
Customizing Attributes | CMPD_CUS_EXECUTE | Business Add-In for Controlling Campaign Determination |
Customizing Activity | CMPC_CUS_EXECUTE | Business Add-In for Controlling Campaign Determination |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | CMPD_CUS_EXECUTE |
Use
You can use the Business Add-In CMPD_CUS_EXECUTE to carry out your own determinations and/or checks within campaign determination. The Business Add-In (BAdI) is called for each sales document item when processing business data in the sales document.
The modifiable parameter E_CMPGN_DET_NECESSARY is transferred to the BAdI implementation and can override campaign determination in the standard system.
The following fields, tables and structures are available for method CAMPAIGN_DETERMINATION as information:
FXVBAP (Table for structure VBAPVB)
F_TABIX (Internal Tables, Current Line Index)
F_TVAP (Sales Documents: Item Categories)
F_TVAK (Sales Documents: Types)
F_POSNR (Sales Document Item)
FXVBPA (Table for Structure VBPAVB)
FVBAK_OLD (Sales Document: Header Data)
FVBAP_OLD (Sales Document: Item Data)
FVBKD_OLD (Sales Document: Business Data)
F_T180 (Screen Sequence Control: Transaction Default Values)
F_T683V (Pricing Procedures: Determination in Sales Docs)
F_RV02P (Screen Fields for Partner Dialog Modules in SAPDV02)
FXVBKD_DB (Table for Structure VBKDVB)
E_CMPGN_DET_NECESSARY (Checkbox)
Only the value of field E_CMPGN_DET_NECESSARY can be changed.
Note that some parameters are of type STANDARD TABLE and therefore do not contain any information about the structure transferred.
Requirements
For instructions on how to maintain the necessary campaign determination records, see the IMG documentation.
Standard settings
Activities
Example
In the example give below, campaign determination is to be performed depending on a modified goods recipient.
*--> Sample activate campaign determination, if ship-to party changed
if f_rv02p-weupd = 'X'.
e_cmpgn_det_necessary = 'X'.
endif.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | CMPD_CUS_EXECUTE | 0 | HLA0006561 | Pricing and Conditions |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20050427 |
SAP Release Created in | 2003_1_470 |