Additional BADI fields for Marketing Planning
Hi All,
we have a requirement to add additional fields to BADI for Marketing Planning, where do we configure that and how do we add code associated to it and preferably where do we do the validation for the same.
Thanks in advance
Regards,
Kishore Yerra
The custom fields in marketing palanner will be an attribute. To add a new field in Marketing planner screen you need to create attributes for a set types. This is done with the transaction COMM_ATTRSET.
The validations can be done in the BADI. In SAP IMG, Under Marketing planning and campaign management, BADI's are aviailable. Create a new implementation. (Option : BADI Additonal checking and controlloing options). Include the validations in CHECK_ATTRIBUTE method.
Data can be accessed using the ELEMENT_READ method on object CL_CRM_MKTPL_APPL_BASE Find values in the return table EX_ATTRIBUTES.
Use tables CGPL_TASK , CGPL_PROJECT,CGPL_HEIRARCHY to collect the Mkt fields wherever required.
Set type values can accessed by the ELEMENT_READ method on object CL_CRM_MKTPL_APPL_BASE and finding a value in the return table ET_SETTYPE_VALUES
Note: You need to be careful in adding the attributes.
Similar Messages
-
Additional Date range in Marketing Plan/Campaign
Hi All,
I am working CRM 7.0 webui, i know in SPRO under Marketing we have option to define additional date range for marketing project, i have added the some date fields in Marketing Plan and Campaign but still i am not able to see the additional date range in Marketing Plan or Campaign in webui, please tell if there are any additional configuration needs to be done for this.
Thanks,
Dipesh.Hi Dipesh,
For every additional date range you define, you will have to define a context objects of type CPGDateRange and relate it to campaign. SAP has already provided 5 such addtional context objects from Daterange1 to Daterange5. To get these on web ui, you will have to do UI customization and implement getter and setter methods of the attributes for star date and end date.
Hope this information is helpful.
Thanks and Regards,
Sandeep -
Looking suitable CRM data source for Marketing Plan & Campaign
Hi Experts,
I'm a BI guy & looking suitable CRM data source for Marketing Plan & Campaign.
and the related base tables from where it picks the data.
I saw two DS,
0CRM_MKTPL_CAUSAL Extraction of MDF Causal Data
0CRM_MKTPL_VO_TRANS Vouchers Usage extraction
but not sure if it is correct one .
and also a DS 0CRM_SALES_ACT_I Activity Item
here business has created some test data for Market Plan & Campaign which i can see using Tcode crmd_order but could not able to see the same data in RSA3 from 0CRM_SALES_ACT_I .
Please hekp me.got the solution!
-
Create User-defined field for Marketing Documents
I need to create a User-Defined field for Marketing Documents under Title and Rows.
I need to do it via .NET instead of manually go into SAP to create it.
Does anyone can give me idea on how to do this?Hi David,
There are examples of how to do this in the SDK samples (look for MetaDataOperations project in the DI samples).
There are also examples in the SDK help. Here's one:
Private Sub AddUserField()
'// The UserFieldsMD represents a meta-data object that allows you
'// to addremove fields from tables or change the fields' characteristics
Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
'// In any meta-data operation there should be no other object "alive"
'// but the meta-data object, otherwise the operation will fail.
'// This restriction is intended to prevent a collisions.
'// The meta-data object needs to be initialized with a
'// regular UserFields object
Set oUserFieldsMD = oCompany.GetBusinessObject(oUserFields)
'// When adding user tables or fields to the SAP Business One database
'// use a prefix identifying your partner name space
'// this will prevent collisions between the various partners add-ons
'// SAP's name space prefix is "BE_"
'// Set the Fields' mandatory properties
oUserFieldsMD.TableName = "OCRD" '// BP table
oUserFieldsMD.Name = "BE_UserField1"
oUserFieldsMD.Description = "A user field"
oUserFieldsMD.Type = db_Alpha '// am alphanumeric type
oUserFieldsMD.EditSize = 20
'// Add the field to the table
oUserFieldsMD.Add
End Sub
Kind Regards,
Owen -
Workflow for marketing plan approval
Hello everyone,
Does anyone know if there is a standard workflow for approval of marketing PLANS (I don´t mean campaigns)??
Best regards,
EfrainHi Jaya,
I haven't used this particular workflow but hopefully the following is of use:
- Email to initiator- the likely explanation is that the workflow has not identifed the recipient's email address. Follow steps 4 & 5 from the Blog and this should resolve the issue.
- Cancelled Event - The wait step listens out for the triggering of the corresponding event on the BOR object.
i.e. for this workflow wait step 164 is listening out for CANCELLED to be raised on that particular instance of BUS2010020.
If this is triggered that branch of the fork will be triggered.
- Locked/Rejected - There is no step (that I can see) that notifies the initiator that the campaign has been locked.
However you can add your own Send Mail step(s). An alternative approach would be to have additional branches that listen for the BUS2010020.locked and the rejected events and then have your Send Mail steps, however this is probably overcomplicating the solution.
- Schedule condition and start condition - Again I haven't used campaigns yet but in the Blog they are using the Marketing Project Campaign BOR Object status profile and status table - look at object BUS2010020 in SWO1.
I hope that this is of use.
Best Regards,
Trevor -
Obtain list of fields for marketing attributes against BP
Hi All,
I'm working on a data extraction routine for BP data and need to be able to allow the user to select which fields will be extracted and added to the output file. I've got some standard code that so far uses a data dictionary structure to create a pop up of fields with checkboxes so the user can select which fields to output - it uses FM DDIF_FIELDINFO_GET to simply list all fields for a given structure.
My requirement is to extend this so that all possible marketing attributes against business partners are also available for selection in the field list. I guess to do this I need to find a way of reading all fields defined for any BP type attribute sets.
Does anyone know of any FM's that do this or have any ideas around tables I can read?
Note: I'm after the atttribute names not the actual values.
Thanks,
Gareth.Hi Gareth
I think the function modules in group CRM_MKTPFTPL_OW are really valuable.
Maybe you could call CRM_MKTPFTPL_GETLIST and then call CRM_MKTPFTPL_READ_CHR for each one.
They aren't called by Pratik's FM's though .
Cheers
Dom -
Not clear with the Authorization concept for Marketing Plan
Hi All,
I am new to CRM and was going through some of the prescribed document for CRM marketing
when i encounter with the authorization concept in marketing plan,for example how
can i restrict a user with a campaign manager role from changing marketing plan.please
provide the step by step procedure.
Regards,
SanjuHi Sanju
User with a campaign manager role can be restricted for changing marketing plan using authorization group.
We define authorization groups for use in the Marketing Planner. Authorization groups can be maintained at both marketing plan level and campaign or trade promotion level. Authorization groups enable us to control which users are authorized to change which of these two types of marketing project. We could, for example, define one authorization group to be assigned to a marketing plan, then define further authorization groups to be assigned to the different campaigns within the marketing plan. In the Marketing Planne.
Follow below steps
1. Define authorization group using following IMG Path
Customer Relationship Management / Marketing / General Settings / Define Authorization Group.
2. In authorization object CRM_CPGAGR of the role Campaign manager maiantian activity 01, 02, 03 ,06 (this will allow user to create, change, display and delete)
3. IMG defined authorization group ex: ABC can be seen under the tabstrip Basic Data of marketing plan.
4. Now user have to choose the Authorization group ABC from the drop down in Basic tab to create a marketing plan. User will get the change access for all the marketing plan which have the authorization object ABC.
Hope this will help...
Rgds
Mallikarjun -
Additional Reference Field for Journal Posting
Hi,
1. I would like to have other 2 additional reference fields (not exceed 10 characters) for Journal Posting.
Other than Assignment field, Reference, and Text field
2. For assignment field, if I didn't key in anything, why sometimes this field auto input the date for me?
Kindly advice. Thank you.
SirirakHi
1) Make use of Reference field 1,2 & 3
2) Assignment field would be default populated by values based on 'Sort key' stored in respective GL master
Thank You, -
System Status Authorizations for Marketing Plans and Campaigns
Hi Experts,
We are using the Standard System Statuses on the Marketing Planner like the Created , Released, Approved, Finished, Locked and Rejected. My requirement is to limit the access to the Users for these Statuses. For Example :
User 1 will have access to Created.
User 2 will have access to Aproved.
User 3 will have access to Aproved,Released, Create
How do I set the Authorizations for the System status based on the User? I tried creating Authorization Keys under Status Profiles, but I am not clear on where to assign them.
Please guide me.
Thanks in Advance.Hi ,
Thanks for your input. I am planning to go with your second option to go with assigning the Authorization objects at the Marketing Plan and also at the Campaign level . My only concern here is will we be able to assign status specific authorizations here ?
The Authorization objects given are for change, create etc. There are no status specific authorization objects mentioned. My requirement is the person who creates the MP should have access to release it and only the approver should be able to see the approved status and change the status o approved.
Do you suggest using Authorization keys and assigning them ?If so where do we define the restictions on the Authorization keys like
Authorization Group 1 has authorization to Create , modify a MP and can only View / Change the statuses to Create and Release.
Authorization Group 2 has access to Modify and has access to change the statuses to Aproved.
Is there any way this can be achieved ? Please let me know if I am going in the right direction.
Regards,
Pooja -
Authorization object for Marketing Plan Element
Hi All,
If user is authorized to create marketing plan then system by default providing authorization to create "Marketing Plan element" as well. Can user be restrict from creating MP element in system particularly in marketing calendar? I am using authorization objects as CRM_MPT, CRM_MPLRES, CRM_MPLCTP, CRM_MPLAGR.
Regards,
NikhilHi,
Start Authorization Trace in tcode ST01 and see what all authorization checks get executed.
Later on from this trace you can identify the authorizations.
Regards,
Naresh -
Addition of field for Dynamic Selection in TCode FBL1N
Hi,
We have a requirement to add the field Partner Bank Type in TCode FBL1N on clicking dynamic selection button (under vendor master) in TCode FBL1N. To achieve this we went to TCode SE36 (Logical database) and selected logical databse KDF and then seleted selection views from the extras menu. There we have selected the table LFBK and then entered 01 (function group for Vendor Master) in the box next to the field BVTYP and selected the checbox on the right of BVTYP to enable Preselection. Saved the changes.
However the field Partner Bank Type does not show in the dynamic selection in TCode FBL1N under Vendor Master. Please help.
Thanks in advance.
MickThanks Miguel.
I found this on the web:
http://joyjitghosh.blogspot.com/2009/05/how-to-add-new-fields-in-dynamic.html
I have done exactly as per the instructions given in the above link, but still I am unable to see the field in the dynamic selections of TCode FBL1N. Any reason why and how can we add the field in the dynamic selections?
Mick -
Additional Output fields for ME2N?
We have created a Z field which exists on the item level of our POs (table EKPO). It is available in the search criteria of our ME2N report, but not in the output. Does anyone know of a way to add additional fields to the output of ME2N? Thanks so much.
JimLot of thanks Ken G, I follow your code and solved the same problem.
1st I add custom field YYJ_4KSCAT in structure MEREP_OUTTAB_PURCHDOC
then do that enhancement:
Tcode: ME2N/ME2W/...
program: LMEREPI02
Method: if_reader_mm~read_table
Code:
ENHANCEMENT 1 ZME2W_CUSTOM_FIELDS. "active version
FIELD-SYMBOLS: <ZZ_CUSTOM> TYPE MEREP_OUTTAB_PURCHDOC.
DATA: idx TYPE sy-tabix.
IF my_struct_name EQ 'MEREP_OUTTAB_PURCHDOC'.
LOOP AT <OUTTAB> ASSIGNING <ZZ_CUSTOM>.
idx = sy-tabix.
READ TABLE <ekko> into ls_ekko WITH KEY ebeln = <ZZ_CUSTOM>-ebeln.
clear lt_ekpo[].
my_any_ekpo->read_lines( exporting im_key = ls_ekko-ebeln
importing ex_table = lt_ekpo ).
READ TABLE lt_ekpo into ls_ekpo WITH KEY ebeln = <ZZ_CUSTOM>-ebeln
ebelp = <ZZ_CUSTOM>-ebelp.
<ZZ_CUSTOM>-YYJ_4KSCAT = ls_ekpo-j_4kscat.
MODIFY <OUTTAB> FROM <ZZ_CUSTOM> INDEX idx .
ENDLOOP.
ENDIF.
ENDENHANCEMENT. -
PO mass maintenance: additional table/fields for EKET
Dear Friends,
I am finding a way to help my users with mass po maintenance. They would like to use t-code: memasspo to change the delivery dates in multiple POs.
But I found this t-code only support two tables: massekko and massekpo and Function module:
ME_LIMIT_FIELDS_PO_BAPI only allows fields from these two tables. But the delivery date field is from Table EKET which is not listed for BUS2012 in t-code: MASSOBJ.
Can anyone help me with this issue ? I wish to use MEMASSPO to change delivery date from EKET.
Thank you!
JackHi,
You can use alternate options Lsmw /BDC program.
LSMW-http://help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/content.htm
BDC-Give the t-code shdb in the command field.
Click the new recording button. Give a name to the recording and the t-code you want to record.
Regards,
Sandesh Sawant -
Me59N - Additional Selection Field for New Purchase Order
Hi Everyone,
I have a requirement to add a new field to the selection screen of ME59N. Basically the client requires 'Per Material Group' to be defined under 'New Purchase Order. I've searched around but cannot find something similiar.
My question is: Can this be acheived without copying ME59N to a custom version ? I'm told a particular enchancement (me590001) can be of use but I dont think it's suitable for this requirement.
Any help or advice is greatly appreciated.
Many thanks
GHi Bipin,
Yes, that would be an option if we couldnt find a solution for setting a new selection condition in CFM1. Is there a CIF userexit related to sales order? That would be grateful..
Cheers.
Thanks in advance
Vignesh M -
New 'Type' within Marketing plan
Hi Experts,
I am trying to create a new marketing plan. But, i am not getting any text within the 'Type' dropdown, which is an mandatory field.
I had a look into SPRO -> CRM -> Marketing -> Marketing Planning -> Basic Data -> Define Types/Objectives/Tactics. It contains values. I am not sure, which setting should i change to make the values available within the 'Type' dropdown of Marketing plan. Can someone please help ?
Thanks,
Gaurav.Hello Gaurav,
. please maintain entries for 'Marketing plan' under SPRO:
CRM -> Marketing Planning and Campaign Management -> Basic Data
-> Define Types/Objectives/Tactics
. please check if the user has the authorization for CRM_MPLCTP. Do not apply the note yet, I would like you to check first if the user has this authorization.
thanks Willie
Maybe you are looking for
-
Can no longer open CS3 on new PC
Hi all I have recently bought a new windows 7 computer, HP 1250ea it has a i7 processor and 6g memory. I then loaded PS CS3 which I have been using on my old XP PC for years and it would no longer open raw files. Both Bridge and PS give me the error
-
Is MJPEG/RTP performance improved in Java 6 (Mustang)?
Hi, I use JMF to stream video from a web cam to a client using the Video JPEG/RTP protocol. I have some performance problems in term of fluidity and image quality. Is the (M)JPEG/RTP performance is improved in Java 6 (Mustang)? I read that Mustang al
-
How to zoom the webpage in CS3
Hey guys I have a standard website, but need to create another copy which enlarges this by 400%. I know that internet explorer has this facility, but I want my website to already have this, so that a visually impaired user can use this straight away.
-
Microsoft in their infinite wisdom has decided that Compatibility View is to be treated as Browsing History and therefore cleared on closure of the current Window. Wonderful stuff! We deal with lots of sites that are developed for IE7 such as Banks
-
PropertyManager.Application.Databases lists the tables and views for my Oracle 11g CF Data Source, but lists "None" under the Stored Procedure node. User is owner of these procs. I am already calling these procs with ColdFusion cfcs from Flex. TIA, M