Function Module to display Campaign
Dear SAPiens,
I need a Function Modul, which displays the campaign.
In my Report I have the GUID or the Object ID of the campaign.
Regards,
Ahmet
The solution
DATA lv_cpg TYPE REF TO cl_crm_mktpl_application.
CREATE OBJECT lv_cpg.
CALL METHOD lv_cpg->start_application
EXPORTING
im_select_object = l_f_guid
IM_MODE = 'D'.
Similar Messages
-
Function module for displaying the location
Hi,
Could anyone tell the Function module for displaying the location in our system without a file name while downloading, when the user press f4.
thanks* read the default pathname on application server
call function 'FILE_GET_NAME'
exporting
* CLIENT = SY-MANDT
logical_filename = lc_logical_filename_ftappl
operating_system = sy-opsys
* parameter_1 = ' '
* PARAMETER_2 = ' '
* USE_PRESENTATION_SERVER = ' '
* WITH_FILE_EXTENSION = ' '
* USE_BUFFER = ' '
importing
emergency_flag = l_emergency_flag
file_format = l_file_format
file_name = l_file_name_ftappl
exceptions
file_not_found = 1
others = 2. -
Function module to display the time and date in the report-sy-udate And s
Hi.
wish to have a function module which can display the system time and date through function module.
the format that this function module should display should be like this:
if its today-date and time then:
05-Jan-08 01.25.57 PM
please note that i want them to be in one single row in the top-of page
kinldy help on this.
thanks!hi,
check this.
https://forums.sdn.sap.com/click.jspa?searchID=19175181&messageID=4628668
Thanks -
Function modules to display graph in a container
Hi,
Can anyone suggest me is there any other function module to display graph in a container other than "GFW_PRES_SHOW_MULT" why because when I am displaying the graph using that function module I am getting boxes in the graph display which is not needed so please send me other function module or tell me whether there is any way to remove the boxes in the graph at the time of display by using the same function module given above.
Thanks in Advance.
Bhushanam.Hi,
To add a graphics functionality to ALV Grid;
1. Add a user button on the ALV Grid control, utilizing "toolbar" event and "set_toolbar_interactive" methods of the class "cl_gui_alv_grid".
2. As the function of this button, your routine should use GFW objects or "GRAPH_MATRIX..." function modules to display your graph. You implement your routine at the event "user_command".
Additionaly, you can have a look at this
SAP Graphics Help
http://help.sap.com/saphelp_46c/helpdata/en/a1/d9883672d57c73e10000009b38f889/frameset.htm
data: begin of i_tab occurs 0,
name(5) type c,
value type p,
end of i_tab.
i_tab-name = 'SAP'.
i_tab-value = '40'.
append i_tab.
clear i_tab.
i_tab-name = 'MSN'.
i_tab-value = '30'.
append i_tab.
clear i_tab.
i_tab-name = 'CNN'.
i_tab-value = '27'.
append i_tab.
clear i_tab.
i_tab-name = 'ABC'.
i_tab-value = '56'.
append i_tab.
clear i_tab.
call function 'GRAPH_2D'
EXPORTING
TYPE = 'PI'
TITL = 'My Graph'
tables
data = i_tab
EXCEPTIONS
GUI_REFUSE_GRAPHIC = 1
OTHERS = 2
if sy-subrc <> 0.
endif.
Also,Check the fun modules
GRAPH_2D Calling up the 2D business graphics
GRAPH_2D_MENUE DO NOT USE (use 'GRAPH_2D' and 'GRAPH_BUSG_MENU_SET')
GRAPH_3D Calling up the 3D presentation graphics
GRAPH_BUSG_COLOR_SET Definition of color pallets for business graphics
GRAPH_BUSG_MENU_SET Pushbutton menu (tool bar) for all BUSG modules
GRAPH_MATRIX Calling up SAP Business Graphics (2D, 3D and 4D)
GRAPH_MATRIX_2D Calling up the 2D graphics (user-friendly version)
GRAPH_MATRIX_3D Structure of 3D graphics (user-friendly version)
GRAPH_MATRIX_4D Calling up a 3D graphic (4th dimension stacked representation)
Regards,
Padmam. -
Function Module output display
HI Frnds,
When I am calling the function module and displaying the output the column name is displayed as field name but my requirement is to diplay the field description of that field how to do it tell me
Thanks in advance
Y.Ravikumarhi,
if you are displaying using ALV.
then in fieldcatalog you can use .
d_fieldcat_wa-fieldname = 'MATNR'.
d_fieldcat_wa-seltext_l = 'material number'. * user defined fieldname.
d_fieldcat_wa-edit = 'X'.
d_fieldcat_wa-col_pos = 1.
append d_fieldcat_wa to d_fieldcat.
clear d_fieldcat_wa.
data : gd_repid like sy-repid.
gd_repid = sy-repid.
call function module reuse_alv_grid_display.
exporting.
program name = gd_repid.
t_fieldcatalog = d_fieldcat.
importing.
t_outtab = itab.
exceptions.
Reward with points if helpful. -
Function module for display production order details
Hi All,
I want to display production order details including operation,sub-operations and components using standard FM.I checked 4 FMs, but some are not displaying my require details. I found PM_ORDER_DATA_READ function module, it is displaying all details.But you can execute the function module 2 times for different orders it is giving ABAP dump 'itab_error'. Please get back to me if any one faced this problem or know solution.I am also checked BAPI_ALM_ORDER_GETDETAIL FM.
My require fields are
AUFNR, WERKS, PLNAL, PLNFL, VORNR,UVORN, ARBPL, KTSCH,
LTXA1,OFFSTB,VGW01 etc.
I am using SAP 4.7 release. Please send me either standard FM or BAPI to display all details of production order.
Thanks in Advance
Shaik BashaHi,
I had the same problem this morning and I found out a FM you have to run to fix this problem.
FM: CO_IT_SET_FLG_ITAB_NEW
Rgds,
Parise -
Function Module for creating Campaign
Hi,
Can you tell me what is the function module I should use for creating the Campaigns. I am working on the CRM 7.0 system.
Many thanks,
GopalHi,
Try this CRM_TM_CAMPAIGN_CREATE
Regards,
Dipesh. -
Function module to display process overview log from SM66 Transaction
Hi,
I want to display process overview log from SM66 Transaction in a report.
Is there a function module which will help me in achieving that or is there any other method.
Thanks in advance,
Sandeep.Did you try finding out how SM66 creates the list? You could set break-points e.g. at statement "call function" and see which ones are being called. Look at those starting with TH... especially.
Thomas -
Function module to display offsetting invoice of incoming payment
Hi all,
I would like to print the customer statement of accounts through sap correspondence.
Is there any function module where it will display out the offsetting invoice numbers of the incoming payment that I can use in the sapscript?
Eg:
Incoming payment: 1,000.00
Offset against
Invoice A: 500.00
Invoice B: 300.00
Invoice C: 200.00
Thanks.
Rgds,Hi,
When you do the clearing, these invoices are stored in BSAD Table under the field BELNR and the link between the incoming payment and the invoice is the clearing document number. You dont need any function module to determine the invoice.
You can also get this link in the table BSE_CLR.
Regards
Mahendra -
ABAP Function module for Display amount in word
Dear all,
Suppose amount is 100 and currency is USD then text display like 0ne hundred dollar. and suppose amount is 100
and currency is INR then text display like One hundred rupees.can you please suggest me what is the function module to used in smart forms.
Thanks and Regards,
Raheem.
Moderator Message: THE MOST FAQ question in SCN forums. And you never bothered to search.
Edited by: kishan P on Mar 1, 2012 2:19 PMfm SPELL_AMOUNT
-
Function module to display the given numbers in graphics / chart.
Hi all,
I was given a situation where if I give some number, those numbers shud be displayed in graphics or like a chart ( X & y axis chart). Is there any function modules for this? Pls help me.
Thanks in advance.
Vijaykumar.GYou might want to try this function module.
[code]
REPORT ZRICH_0005 .
DATA: BEGIN OF ITAB_DATA OCCURS 0,
DATANAME(15),
QUANTITY1 TYPE I,
QUANTITY2 TYPE I,
QUANTITY3 TYPE I,
END OF ITAB_DATA.
Data: BEGIN OF ITAB_OPTIONS OCCURS 0,
OPTION(20),
END OF ITAB_OPTIONS.
ITAB_DATA-DATANAME = 'Maple'.
ITAB_DATA-QUANTITY1 = 5500.
ITAB_DATA-QUANTITY2 = 6200.
ITAB_DATA-QUANTITY3 = 5900.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = 'Oak'.
ITAB_DATA-QUANTITY1 = 3500.
ITAB_DATA-QUANTITY2 = 5200.
ITAB_DATA-QUANTITY3 = 4400.
APPEND ITAB_DATA.
ITAB_DATA-DATANAME = 'Cherry'.
ITAB_DATA-QUANTITY1 = 1800.
ITAB_DATA-QUANTITY2 = 2200.
ITAB_DATA-QUANTITY3 = 1900.
APPEND ITAB_DATA.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
COL1 = 'Jan'
COL2 = 'Feb'
COL3 = 'Mar'
TITL = 'Lumber Usage in $'
TABLES
DATA = ITAB_DATA
OPTS = ITAB_OPTIONS
EXCEPTIONS
OTHERS = 1.
[/code]
Regards,
Rich Heilman -
Function Module to get Campaign Details
Hi,
Can anyone tell me any FM or BAPI or a DB table to get the campaign details.
Thanks
LokeshHi,
Apart from that two tables you can get the campaign Hierarchys from the Table
CGPL_HIERARCHY. Function module CONVERSION_EXIT_CGPLP_INPUT helps to get GUID of campaign, Than give this guid as a input in table CRM_JCDS it provides the total details of the campign statuses.But basic details we are getting from CGPL_PROJECT Table.
Hope it helps you
Thanks
Naren.. -
Standard Remote-Enabled Function Module to display data.
Good afternoon,
Is there any Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data?
First time, I was trying to use FM link to BW Extractor as MDEX_MATERIAL_MD for Material Attributes, but these kind of FM are not Remote-Enabled and not released.
My second solution is to find a Standard Remote-Enabled Function Module which can be used to display a list of material, supplier or stocks data, but I haven't it yet.
May someone help me in this?
Thanks in advance for your answers.
Best regards,
Paul d'ORIGNYHi,
Suppose you want to read data from the vbrk table in ECC through a function module, then you can define the function module as "remote-enabled"(attribute tab in se37-processing type). You can try the following code out:
FUNCTION Z_EM_INVOICE.
*""Local Interface:*
*" IMPORTING
*" VALUE(I_FKDAT) TYPE FKDAT OPTIONAL
*" TABLES
*" E_VBRK STRUCTURE VBRK
*select * from vbrk into table*
e_vbrk where fkdat = i_fkdat.
ENDFUNCTION.
From BI you can call the function odule as follows:Supposing that you are calling the function module in the start routine of a dso:
data : v_dest_system TYPE char255.
data: l_vbrk type table of vbrk.
v_dest_system = 'DRDCLNT010'
CALL FUNCTION 'Z_EM_INVOICE''
destination v_dest_system
EXPORTING
i_fkdat = <passing variable>
e_vbrk = l_vbrk.
Regards,
Anjana. -
Function module to display the card details for the tcode BCA_CN_card_03
HI all,
I need to know the function modules to create the card data and also to display the card details in accounts management in CRM.
Points will be awarded.
Thanks and regards,
vinoth.1 BUPA_ADDRESS_GET_DETAIL
2 BUPA_IDENTIFICATION_GET_DETAIL
BUPA_IDENTIFICATIONDETAILS_GET
3 BUPA_TAX*
4,5 BUPA_PCARD* -
Function Module to retrieve Campaign details.
Hi All,
Please tell me the name of the Function module to fetch the details of Campaign according to external id.
I need to fetch 2 fields :-
1. Planned Start Date
2. Planned End Date
Regards,
Raman.Got details using function module "PLM_AUDIT_READ_PROJECT_ID_DB"
Maybe you are looking for
-
Enhancement pt /badi/exit to restrict Creation/edition of Note txt (STXH)
Hi All, I am trying to restrict creation/edition of Note(text) in PA30 for qualification(infotype 024) . The BADI(HRBAS00INFTY) which triggers when the qualification is changed , is NOT having any data in old_image and New_image when Notes are cha
-
Low Battery rejected IOS 7 upgrade at the end of the upgrade
Attempted to upgrade the Ipad 4 after it gave me a warning that battery is low (was at 37%). Do you want to continue? I answered YES. The install continued for about 20 minutes. When it was "done" the error message popped up that install was unsucces
-
I have just purchesed a dedicated AV lead to link my i-pad2 to my TV and when it's connected BBC i-player works perfectly. However, ITV player, 4OD and TV Catchup only produce sound through the TV with no picture. Does anyone know what the problem is
-
Reminders not showing the repeat option
I am migrating from PC to Mac. And I am trying to set up a new reminder. There is an option to set a recurring reminder but, it appears dimmed. Can someone help? I have Maverick on a Macbook air
-
NetStream.Play.Stop and Complete fired early on RTMPE streams
Hi there I am experiencing an issue with playback on RTMPE streams. after investigation it seems that the FMS server is firing the NetStream.Play.Complete message at random points, indicating that a stream has ended. This is happening and random poin