Crm_MKTPL
In the MARKET PLANNER..
For a Campaign - in a activity - element1 & element2 are not corelating.Can any one help me?
Even the BDCs cannot be called in this transaction.
Any one please help me out.
You should be able to use Check_Attribute & Set_Attribute. Check attribute is called each time information is fetched of a particular marketing plan object. Set attribute is called whenever you try to save something for a marketing plan object.
You should be able to fetch all info about child & parent objects even if they are not available directly.
Hope this helps.
Regards,
Kaushal
Similar Messages
-
Hello
I am using Mobile Application Studio 4.0SR1 with SP8
I have some trouble with the modification of the Volumes/Trade Spends Planning.
- The first thing I don't understand, running the project step by step, is how a DLL can call back functions in the program, when the object is created with a CreateObject().
In the Business Objects project (sfabol), class PLANNINGMANAGER, the dll PlanSrvc.dll is used (version from Aug. 2006) :
Private PlanningManagerDLL As Variant
(Private Sub Loaded)
Set PlanningManagerDLL = CreateObject("SAP.PlanningService")
(Public Function ForecastPrepare)
ForecastPrepare = PlanningManagerDLL.Forecast_prepare(time_array, html_view, html_data)
If ForecastPrepare = False Then GoTo ErrHandler
(note that time_array, html_view, html_data are empty when the function is called)
So, during the execution of "PlanningManagerDLL.Forecast_prepare", my next step should be the line just after (I put a breakpoint on it to be sure that it cannot resume the execution), instead it goes back to my original class BOTSPPromotionPlanning, and calls several functions in it, then resumes to the True/False test
I searched the entire project and couldn't find any calls to these functions elsewhere.
My first deduction was that this PlanSrvc.dll somehow called its parent (or parent's parent) function, by i've just thought that it may have declared an object of BOTSPPromotionPlanning, or the dll of sfabol, but as I cannot access its code (standard SAP dll, it seems) I can't tell what happens.
- This leads to my 2nd problem :
As of the latest SP08 and patches we are working with (though I don't know what was the latest patch), the Volumes/Trades Spends planning is displayed as follow :
Product Group Material Sales Unit
</b>
Total # ST
P1 # ST
Product1 # ST
Product2 # ST
and I would want it displayed as in the crm_mktpl transaction :
Total # (or blank) ST
P1 # (or blank) ST
Product1 Id1 ST
Product2 Id2 ST
But the only result I can get is (by applying a modification in method PopularCharValues, similarly to note 787400)
Total Id1 ST
Id2 ST
P1 Id1 ST
Id2 ST
Product1 Id1 ST
Product2 Id2 ST
(and here in Total and P1, the key figures are displayed for each product instead of being calculated in the 1 line case)
I tried to play with variables during runtime, but I could only put one of the IDs to '#' so I still got the 2 lines with a '#' and the other Id.
These lines seem to be set in the dll PlanSrvc, unless I missed something.
So >>> Is there a way I could access the code in the dll, or is it only private to SAP so I would have to ask them for a change ?
(create a note ?)
Or maybe someone can tell me where to modify so as I get the right values ?
Thanks and Regards,
François
-edit-
I thought I had found a way around that problem by displaying the Product1 / Id1</b> line, and leaving the <b>#</b> in the 2nd column. The values were well calculated ; but while saving, only one product (on the 1st line) is saved. I think it is because the savin process checks the
Material column for distinct values.However with my original solution, both the 2 products were saved.
Message was edited by:
Francois FeugierHi !
Ok I managed to get this solution :
Total # ST
P1 # ST
Id1/Product1 # ST
Id2/Product2 # ST
My problem in the -edit- of the previous post came from a conversion function, as the products didn't have their reference loaded it didn't update well a counter, so the converted objects didn't have the same structures and one was discarded some functions later.
Now I have yet to see if it is ok when transferring the Campaign to the CRM Server (CRM_MKTPL transaction, which displays my original wanted solution), but as I only modified display variables and it seems that what is stored are the SQL Keys of the products, I think it will be OK.
I still didn't get the DLL thing but I should be able to continue without having to modify it. -
BADI for PRODUCT tab in CRM_MKTPL
Hi,
we have to control the entered products and maybe delete after this check in Product tab in transaction <b>CRM_MKTPL</b> - trade promotion.
I need a BADI when the products are entered in this tab. I find the badi definitions like <b>PRODUCT_ID_R3_ADJUST</b>, <b>COM_PRD_ECM_ACTIVE</b>, <b>COM_PRODUCT_ADD_DATA</b> but implementation can't created for these definitions, the error message returned like this <b>"BAdI definition COM_PRODUCT_ADD_DATA is only provided for SAP internal use"</b>.
Is there any BADI that controls the entered products? Or is there any other way to control the products??
I need an urgent helpyes..you can use above Badi..
check this thread for sample..
Re: New tab and it's updation in VL31n -
Cost element cannot be debug in CRM_MKTPL
Dear SAP Gurus
I have an issue at hand regarding <b>Marketing Planner CRM_MKTPL</b>, I want to retrieve the total cost element for a campaign element to generate a smartform.
Now the issue that I have is that when I logon to <b>CRM Server -
> Marketing Planner (CRM_MKTPL ) -
> Campaign Element</b> and go to the <b>Cost Tab</b> in that campaign element, the costs are entered in a BW report hence after pressing F1 on the total cost I am not able to debug it. I just want to know the table or the BW element where the value is stored. I am even not sure whether it is a BW report or a BSP application page. I can also provide you a screen shot if it is useful.
Can someone please throw some light on this issue.
Thanking in anticipation.
Regards,
AmitSorry should not have posted it here.
M closing this thread. -
BADI CRM_MKTPL and Status Change button! (Hide the standard system status)
Hello,
In transaction CRM_MKTPL, i need to delete some status that appears when i click on button Change status.
I am trying to use the BADI: CRM_MKTPL using the method 'GET_DROPDOWNBOX_VALUE', but i didn't get what i
want because this method is only valid (i think) for Listboxes for a field and not for a button, that is my
requirement.
Also i am trying to use the method 'p_fill_dropdown_listbox', but i don't know how to use this, and where, in
whick part of the BADI CRM_MKTPL.
I want to hide the standard system status in the dropdown list.
Any ideas?
Thanks in advance
Best regards
Message was edited by:
yukimai maiojust check in your badi there is any option is there for menu area customization or not in the implementation you can find attribute,interface ,subscreen like tab there check any menu area tab is there or not.. if it is not there then try for any menu exit and lastly you can try for transaction variant tcode SHD0.
regards
shiba dutta -
Hi,
In transaction CRM_MKTPL - Marketing Planner I need to set by default the field Profile (CRM_JSTO-STSMA).
I'm trying to use the method MODIFY_FIELD_ATTR in the badi CRM_MKTPL.
But.... i'm a bit confused.
Has someone already done this kind of thing? Can someone help me understand a bit more this method on this BADI?
Thanks a lot.
BRHi,
Arjun Pawar. Can you show me an example how did you used the BADI CRM_MKTPL to defaulting the value of status profile please???
Is really what i need.
Thanks in advance
BR -
Reading notes tab data in CRM_MKTPL - urgent
Hi all,
we are displaying CRM_MKTPL data in our smartform. Now our customer wants to display the data written in Notes tab in this form. How can I read the text that is written in Notes tab? By which class, which method?
Can you help me?Hi Astron,
Use FM Read_Text for the same purpose.
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
Reading dates in asic sata tab of CRM_MKTPL
Hi, I enter the plan start date and plan end date in basic data tab of CRM_MKTPL and I want to use this data in Key Figures tab. In Key Figures tab, we use a badi that is copied from the CRM_MKTPL_COND_IF definition, we use the method COND_READ_AFTER_GET. How can I get the plan start date and end date in this badi?
Thanks..Hi YGG,
It would of help if you would of specified the CRM Release you are running on.
Since you are using SAP Gui transaction CRM_MKTPL I assum you are using either 3.0 or 4.0.
In both cases you can use FM <b>MKT_ELEMENT_READ</b> where you pass in the Guid of your mkt project and look back the exporting parameter. For example for a campaign you will look at exporting paremeter <b>EX_CAMPAIGN</b> (field <b>PLANSTART & PLANFINISH</b>)
Sincerely,
Alain Gauthier -
CRM_MKTPL System and User Status coding
In Market Planner (CRM_MKTPL) you can change system status (this is different from other areas of CRM)
I've set up a status profile with system status.
I've coded a BADI CRM_MKTPL to make sure users can only pick system status.
But how (in the BADI) can I change the system status (There is a Status_change method in this badi) but I can't see the system status or see how to change it.sounds like you only want to show user status and not system status
In the badi, there is a method status_change
data: ls_bal_s_msg type BAL_S_MSG
if im_user_status is initial AND
im_check_mode = 'X'.
ls_bal_s_msg-msgty = 'E'.
ls_bal_s_msg-msgid = '???'.
ls_bal_s_msg-msgno = '???'.
append ls_bal_s_msg to et_return.
exit.
endif.
Where ??? is your own message id and number defined in SE91. The system never shows the message, but takes the hint that you don't want the system status displayed. -
Transaction CRM_MKTPL and Profile
Hi,
In transaction CRM_MKTPL - Marketing Planner I need to set by default the field Profile (CRM_JSTO-STSMA).
I'm trying to use the method MODIFY_FIELD_ATTR in the badi CRM_MKTPL.
But.... i'm a bit confused.
Has someone already done this kind of thing? Can someone help me understand a bit more this method on this BADI?
Thanks a lot.
BRHi,
Arjun Pawar. Can you show me an example how did you used the BADI CRM_MKTPL to defaulting the value of status profile please???
Is really what i need.
Thanks in advance
BR -
CRM_MKTPL get SALES_ORG data
Hi,
I'm creating Trade Promotions from the Marketing Planner and I'm implementing the Badi CRM_MKTPL.
I cannot find where to get sales area data.
There is the structure IM_MKTELEMENT I can access from the methods but the fields SALES_ORG, DIS_CHANNEL, DIVISION are not filled.
Also I know I can make an instance of class CL_CRM_MKTPL_APPL_BASE and from there I can access buying dates but I cannot find sales area data.
Could you help me?
Thanks in advance,
PiercarloWe found.
In the attributes class.
Bye,
Piercarlo -
Userexit/BAdi to run custom code on "Save" in CRM_MKTPL
Hi,
I am trying to identify a userexit or BAdi I can use to run some custom code during the SAVE event of the CRM_MKTPL transaction.
My background is mainly with ECC and I have no experience doing this in CRM. What steps are required to achieve this?
Thanks,
WillHello
I can see it by entering SE18-> Badi Name CRM_MKTPL_OL_OBJ -> Open the dropdown in the left hand pane and choose "Interface".
How did I find it? Experience, I had a similar issue, but didn't remember the name, so I went to SE18, open the matchcode and chose "information system". Since transaction CRM_MKTPL belongs to package CRM_MKTPL, I enter this as a search criteria. I found 10 hits, but only CRM_MKTPL_OL* ones sounded right to me. A little navigation and...voilà!
Sometimes, you can also run report SNIF, but it didn't help in this case.
Regards
Joaquin -
We have couple of custom fields (added by EEWB) at Marketing Plan and Campaign level.
Few custom fields on Marketing Plan level need to be inherited and greyed out at Campaign level.
I am not able to figure out which method in CRM_MKTPL badi should be used (for inherit and grey out).
Which method will have details about Marketing plan (parent) as well as Campaign (child) custom field data?
Thanks
Message was edited by: Jitendra dagurYou should be able to use Check_Attribute & Set_Attribute. Check attribute is called each time information is fetched of a particular marketing plan object. Set attribute is called whenever you try to save something for a marketing plan object.
You should be able to fetch all info about child & parent objects even if they are not available directly.
Hope this helps.
Regards,
Kaushal -
Insertion of layout in CRM_MKTPL tcode
hi experts,
i hav 2 insert a smartform layout in crm_mktpl whnvr the status is checked to 'released'...hw shud i achv dis, as i dnt hav ny specification for code insertion in the function pool of that tcode...ny user exits avalbl...ask if the requrmnt is nt clear...Hi Astron,
I guess you are using CRMD_EMAIL transaction to define your mail forms and templates to be send as part of campaign designed in transaction CRM_MKTPL.
If so the you jst need to open the mail form (transaction CRMD_EMAIL), Select your mail form, right click on the root node of mail form (Page) and create a new subject line (menu path> Righ click>Create> Subject Line).
Enter the text you desire to pass as subject line.
Save the mail form.
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
Error message CRM_MKTPL043 in CRM_MKTPL key figures tab
Hi all,
In CRM_MKTPL, we choose the partner, enter the activity type, choose the sales organzation and enter the planning dates in basic data tab. Then we enter the product and then press the key figurs tab. And we take the error CRM_MKTPL043. We can't understand the error and so don't know how to solve..Can you help?Hi,
We have to implement CRM Campaign Management for our Client. We have sligntly modified the standard Planning Profiles and Planning Layout in BW BPS and created a custom z-package. The RFC connection has already been setup with the BW system and is working/tested successfully. On CRM side we have created Planning Profile Group, having the required Planning Profiles which are created in BW BPS.
Now the problem is, we are not able to see the Planning Layouts in CRM Campaign Management Key Figure Planning.
We really dont know what went wrong, or if there is some extra setting we need to do. I searched almost all the SAP HELP, but couldnt find any procedure or doc.
Can you experts out there help me in resolving this issue, if you have already faced similar problem it will be of great help. Im working on CRM 4.0 (GUI)
Thanks & Regards
Vikas Sharma
[email protected] -
Hi everyone,
I want a BADI for transaction CRM_MKTPL that, when I push save bottom execute the BADI. I try with others interfaces (IF_EX_CRM_MKTPL) but they have many methods and they execute many times quen push "SAVE" (I want that only execute one time, becase y want to do an insert into a Z-table)
ThanksI ran the crmd_mktpl application in PCUI which has a save exit but never found it in the GUI.
How did you solve this one?
Maybe you are looking for
-
I have just taken over my husbands iphone 4s but when trying to download updates on Twitter, Facebook, etc. it says to sign into itunes store with a old email address that I no longer remember the password to. I have changed my email with the itunes
-
How to write a Goods Receipts Report: Having A detailed report for listing goods receipts by material wise for a given period which contains detailed information like PO No, PO Date, Plant, GR ref, GR date, Material description. [Tables involved: EKK
-
MBP late 2009 getting delays/timeouts while mount/dismount or plug/unplug
sigh Running a MBP late 2009 with 3GHz, 8GB RAM and 500GB HDD (300GB free). When I mount/dismount a drive it takes up to 1 min for the finder to respond again (getting the whirling ball). When I plug/unplug headphones it takes up to 1 min for the fin
-
Dear all, I need to automate the comment enabling ("Comments->Enable for commenting in Adobe Reader") using Acrobat 8.0 in windows(operating system). Kindly help me how to automate that process through javascript or vbscript without manual interacti
-
how to find OK CODE values for all like page up page down etc any pgm to view all possible ok code values.