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
Similar Messages
-
Transaction code to assign the function module to the process code
Hi,
What is the transaction to assign the function module to the process codeHello Preethi,
Try with these Tcodes:
<b>
WE41 0000 Process codes, outbound
WE42 RSECODIN 1000 Process codes, inbound
WE43 0000 Funct.module: Status record display</b>
If useful reward.
Vasanth -
Function module to display images.
hi all,
i need inputs regarding how to display image from content repository which will be stored as BLOB objects. is there any function module to acheive this.any pointers from you will be help ful.
thanks in advance.
Regards,
joy.Function module for getting all the images is
SAPSCRIPT_SEARCH_GRAPHIC_BDS
Also in se78
graphics->import
(u ll get a popup to upload images).
And in the case of viewing all the images in SAP server,
Just f4 on the name then u ll b getting a list with all the images in SAP. -
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 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,
AhmetThe 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'. -
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 Module to convert date to week from Sunday to Saturday
Hi,
In BW the convertion date to week always give week from Monday(1) to Sunday(7)
I'm looking for a function module to convert date to week from Sunday(1) to Saturday(7)
Thanks
SebastienHi,
I think this SAP standardized. Maybe you need to create custom FM.
You can copy SAP FM DATE_GET_WEEK. in the FORM FIRSTWEEK, I see below case,
CASE start_weekday.
WHEN if_calendar_definition=>c_monday.
start_weekday_number = 1.
WHEN if_calendar_definition=>c_tuesday.
start_weekday_number = 2.
WHEN if_calendar_definition=>c_wednesday.
start_weekday_number = 3.
WHEN if_calendar_definition=>c_thursday.
start_weekday_number = 4.
WHEN if_calendar_definition=>c_friday.
start_weekday_number = 5.
WHEN if_calendar_definition=>c_saturday.
start_weekday_number = 6.
WHEN if_calendar_definition=>c_sunday.
start_weekday_number = 7.
ENDCASE.
Maybe you can play something here. -
How to make this function module as RFC to get data from different system?
Hi
I am trying to use following function module . This function module is used to copy data from one cube to another cube within same system however I need a this should happen across two different system. How can I use this function module to make it remote call to different system and do the same function what it is doing ?
Name of function module -
RSDRT_INFOCUBE_DATA_COPY
Any help would be really helpful
AGHI,
let us say you want to copy the data of a cube in system A to a cube in system B .
1) create a RFC function module in system B (in this function module call the function module RSDRI_CUBE_WRITE_PACKAGE to update the data), this RFC function module should have same parametersa as RSDRI_CUBE_WRITE_PACKAGE .
2) write a program in system A .. read the data from the infocube using the function module RSDRI_INFOPROV_READ and call the RFC function module in system B that you have created..
for the details of the parameters to pass to these two function modules use the RSDRT_INFOCUBE_DATA_COPY and get the required code
Thanks
mahesh -
I need a Functional module to get the header material from the component .
Dear Guru's
Please help me .
I need a name of the Functional module to get the header material from the component .
As in if I put the Component in the Input I should get ALL the Main header materials using this Component.
Regards,
Roshan Lilaram Wadhwani.This was not answered
-
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. -
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. -
BAPI function module to get process orders for certain material
Dear experts ,
kindly , I need my vb application to get all CRD , but not DLV Process orders for Material X.
Into SAP , I use the COIO , then set material to X , then display flag CRTD included , and Exclude DLV.
Question now , What is the function module that does this. what is the table name , and how to set search parameters.
my code will be like this
theFunc = functionCtrl.Add("BAPI_PO_GETDETAIL") ' get po data
theFunc.exports("purchaseorder") = t.Text
returnFunc = theFunc.call
returnParam = theFunc.imports("po_header")
retTab = theFunc.tables("po_items")
For Each rr In retTab.Rows
tt1.Text &= (rr("MATERIAL")) & vbTab
next
Thanks
WaleedHi,
Check if the below helps:
1. BAPI_SALESORDER_GETLIST for VA05
2. BAPI_QUOTATION_GETDETAILBOS for VA25.
Regards,
Vivek -
Function Module for Outbound process code
Hi,
I have a scenario in which i have to send MBGMCR02 Idoc from SAP to XI.
I created a new Outbound process code and now I have to code the function module that populates data into the segments.
Does anyone have sample code for this, i.e code to put in the finction module of an outbound process code?hi...
please find the below code.
*& Report ZPROGRAM11
REPORT ZPROGRAM11.
tables : likp,vbuk,vbfa,ibin,vbap,vbak,kna1.
types : begin of iy_tab,
vbeln type vbfa-vbeln,
vbelv type vbfa-vbelv,
posnv type vbfa-posnv,
end of iy_tab.
types : begin of iy_tab1,
vbeln type vbuk-vbeln,
wbstk type vbuk-wbstk,
end of iy_tab1.
types : begin of iy_tab2,
vbeln type vbak-vbeln,
kunnr type vbak-kunnr,
vkorg type vbak-vkorg,
vtweg type vbak-vtweg,
spart type vbak-spart,
end of iy_tab2.
data : i_ibase type ib_ibase.
data : i_kunnr type vbak-kunnr.
data : it_tab type table of iy_tab with header line,
it_tab1 type standard table of iy_tab1 ,
wa_tab1 type iy_tab1,
it_tab2 type standard table of iy_tab2 ,
wa_tab2 type iy_tab2.
data : t_edidd type standard table of edidd .
data : t_edidc type edidc.
data : t_edidc1 type standard table of edidc .
data : wa type edidd.
data : wa1 type e1edl20.
data : wa2 type zibase.
data : wa3 type e1edl32.
data : wa4 type e1edl44.
data : wa5 type e1edl37.
data : wa6 type e1edl28.
data : wa7 type e1edl30.
data : wa8 type e1edl24.
data : wa9 type e1adrm1.
data : begin of it_tab3 occurs 10,
vbeln type iy_tab-vbelv,
posnr type iy_tab-posnv,
i_ibase type ib_ibase,
end of it_tab3.
types : begin of iy_tab4 ,
valfr type ibin-valfr,
ibase type ibin-ibase,
amount type ibin-amount,
unit type ibin-unit,
end of iy_tab4.
data : it_tab4 type standard table of iy_tab4,
wa_tab4 type iy_tab4.
data : begin of it_tab5 occurs 10,
vbeln type vbfa-vbelv,
posnr type vbfa-posnv,
ibase type ibib-ibase,
valfr type ibin-valfr,
amount type ibin-amount,
unit type ibin-unit,
matnr type vbap-matnr,
kunnr type vbak-kunnr,
vkorg type vbak-vkorg,
vtweg type vbak-vtweg,
spart type vbak-spart,
name1 type kna1-name1,
end of it_tab5.
types : begin of iy_tab6,
vbeln type vbap-vbeln,
posnr type vbap-posnr,
matnr type vbap-matnr,
end of iy_tab6.
data : it_tab6 type standard table of iy_tab6,
wa_tab6 type iy_tab6.
types : begin of iy_tab7,
kunnr type kna1-kunnr,
name1 type kna1-name1,
end of iy_tab7.
data: it_tab7 type standard table of iy_tab7,
wa_tab7 type iy_tab7.
data : wa_table type ytable1.
selection-screen: begin of block b1 with frame title text-t00.
parameters: p_vbeln type vbfa-vbeln.
selection-screen: end of block b1.
start-of-selection.
select vbeln vbelv posnv from vbfa into table it_tab
where vbeln = p_vbeln.
if sy-subrc eq 0.
loop at it_tab.
select vbeln wbstk from vbuk into table it_tab1
for all entries in it_tab
where vbeln = it_tab-vbeln.
endloop.
endif.
loop at it_tab1 into wa_tab1.
if wa_tab1-wbstk = 'C'.
loop at it_tab.
call function 'IBSD_CREATE_IBASE'
exporting
i_vbeln = it_tab-vbelv
i_posnr = it_tab-posnv
i_as_sold = '0'
i_as_build = '0'
i_capid = '0'
I_CHANGE = ' '
i_commit = 'X'
I_COMMIT_WAIT = ' '
importing
e_ibase = i_ibase
exceptions
order_not_found = 1
position_not_found = 2
nothing_to_do = 3
too_much_to_do = 4
missing_authorization = 5
foreign_lock = 6
others = 7
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
move it_tab-vbelv to it_tab3-vbeln.
move it_tab-posnv to it_tab3-posnr.
move i_ibase to it_tab3-i_ibase.
append it_tab3.
if sy-subrc eq 0.
select valfr ibase amount unit from ibin into table it_tab4
for all entries in it_tab3
where ibase = it_tab3-i_ibase.
if sy-subrc eq 0.
select vbeln posnr matnr from vbap into table it_tab6
for all entries in it_tab3
where vbeln = it_tab3-vbeln and posnr = it_tab3-posnr .
if sy-subrc eq 0.
select vbeln kunnr vkorg vtweg spart from vbak into table it_tab2
for all entries in it_tab
where vbeln = it_tab-vbelv.
sort it_tab2 by vbeln.
delete adjacent duplicates from it_tab2 comparing all fields.
if sy-subrc <> 0.
select kunnr name1 from kna1 into table it_tab7
for all ENTRIES IN it_tab2
where kunnr = it_tab2-kunnr.
endif.
endif.
endif.
endif.
endif.
endloop.
else.
exit.
if sy-subrc eq 0.
endif.
endif.
endloop.
loop at it_tab3.
move it_tab3-vbeln to it_tab5-vbeln.
move it_tab3-posnr to it_tab5-posnr.
move it_tab3-i_ibase to it_tab5-ibase.
if sy-subrc eq 0.
read table it_tab4 into wa_tab4 with key ibase = it_tab3-i_ibase.
move wa_tab4-valfr to it_tab5-valfr.
move wa_tab4-amount to it_tab5-amount.
move wa_tab4-unit to it_tab5-unit.
if sy-subrc eq 0.
read table it_tab6 into wa_tab6 with key vbeln = it_tab3-vbeln posnr = it_tab3-posnr.
move wa_tab6-matnr to it_tab5-matnr.
if sy-subrc eq 0.
read table it_tab2 into wa_tab2 with key vbeln = it_tab3-vbeln.
move wa_tab2-kunnr to it_tab5-kunnr.
move wa_tab2-vkorg to it_tab5-vkorg.
move wa_tab2-vtweg to it_tab5-vtweg.
move wa_tab2-spart to it_tab5-spart.
if sy-subrc eq 0.
read table it_tab7 into wa_tab7 with key kunnr = wa_tab2-kunnr.
move wa_tab7-name1 to it_tab5-name1.
append it_tab5.
endif.
endif.
endif.
endif.
append it_tab5.
endloop.
loop at it_tab5.
move it_tab5-vbeln to wa_table-vbeln.
move it_tab5-kunnr to wa_table-kunnr.
move it_tab5-vbeln to wa_table-vbeln.
move it_tab5-ibase to wa_table-ibase.
move it_tab5-matnr to wa_table-matnr.
move it_tab5-valfr to wa_table-valfr.
move it_tab5-unit to wa_table-unit.
move it_tab5-amount to wa_table-amount.
move it_tab5-vkorg to wa_table-vkorg.
move it_tab5-vtweg to wa_table-vtweg.
move it_tab5-spart to wa_table-spart.
move it_tab5-name1 to wa_table-name1.
insert ytable1 from wa_table.
endloop.
*INSERT ytable1 FROM TABLE it_tab5.
loop at it_tab5.
wa1-vbeln = it_tab-vbeln.
wa1-vkorg = it_tab5-vkorg.
wa-segnam = 'E1EDL20'.
wa-sdata = wa1.
wa-hlevel = 2.
append wa to t_edidd.
loop at it_tab3.
wa2-i_ibase = it_tab5-ibase.
wa2-i_qty = it_tab5-amount.
wa2-i_dat = it_tab5-valfr.
wa-segnam = 'ZIBASE'.
wa-sdata = wa2.
wa-hlevel = 3.
append wa to t_edidd.
endloop.
wa9-name1 = it_tab5-name1.
wa-segnam = 'E1ADRM1'.
wa-sdata = wa9.
wa-hlevel = 3.
append wa to t_edidd.
wa-segnam = 'E1EDL28'.
wa-sdata = wa6.
wa-hlevel = 3.
append wa to t_edidd.
wa-segnam = 'E1EDL30'.
wa-sdata = wa7.
wa-hlevel = 4.
append wa to t_edidd.
wa3-kunnr = it_tab5-kunnr.
wa-segnam = 'E1EDL32'.
wa-sdata = wa3.
wa-hlevel = 5.
append wa to t_edidd.
wa8-meins = it_tab5-unit.
wa8-vtweg = it_tab5-vtweg.
wa8-spart = it_tab5-spart.
wa-segnam = 'E1EDL24'.
wa-sdata = wa8.
wa-hlevel = 3.
append wa to t_edidd.
wa-segnam = 'E1EDL37'.
wa-sdata = wa5.
wa-hlevel = 3.
append wa to t_edidd.
wa4-vbeln = it_tab5-vbeln.
wa4-posnr = it_tab5-posnr.
wa4-matnr = it_tab5-matnr.
wa-segnam = 'E1EDL44'.
wa-sdata = wa4.
wa-hlevel = 4.
append wa to t_edidd.
endloop.
t_edidc-mandt = sy-mandt.
t_edidc-direct = '1'.
t_edidc-rcvpor = 'A000000062'.
t_edidc-rcvprt = 'LS'.
t_edidc-rcvprn = 'O2C_ASSET'.
t_edidc-rcvpfc = 'LS'.
t_edidc-sndpor = 'SAPSIT'.
t_edidc-sndprt = 'LS'.
t_edidc-sndprn = 'T90CLNT090'.
t_edidc-sndpfc = 'LS'.
t_edidc-mestyp = 'DELVRY'.
t_edidc-idoctp = 'DELVRY03'.
*t_edidc-rcvpfc = 'LS'.
t_edidc-sndpfc = 'LS'.
t_edidc-cimtyp = 'ZDELVRY03'.
append t_edidc to t_edidc1.
call function 'MASTER_IDOC_DISTRIBUTE'
exporting
master_idoc_control = t_edidc
OBJ_TYPE = ''
CHNUM = ''
tables
communication_idoc_control = t_edidc1
master_idoc_data = t_edidd
exceptions
error_in_idoc_control = 1
error_writing_idoc_status = 2
error_in_idoc_data = 3
sending_logical_system_unknown = 4
others = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
else.
CALL FUNCTION 'DB_COMMIT'
CALL FUNCTION 'DEQUEUE_ALL'
EXPORTING
_SYNCHRON = ' '
COMMIT WORK.
endif.
endloop. -
Function module to display message
Hi,
I want a function module in ECC60 Unicode system which can display given Error message in status bar, and stop the processing.
Thanks,
Shivaa.....Try MESSAGE statment with addition DISPLAY LIKE.
Like:
message 'Test' type 'E' display like 'S'.
Regards,
Naimesh Patel
Maybe you are looking for
-
Error message with PCR.
The logic of PCR is as follows : Compute 15% of /117.And assign this to WT 1223. Compute 27% of /117 Subtract Wt /3F4,MF10,9805,9809 and 9810 from 27% of /117.Assign this to WT 1224. I have written a PCR which is giving an output error message : ****
-
Home Hub 3 orange light few times a day.
hi at whits end and family not impressed got BT infinity a few weeks ago and ever since then the HH3 Broadband light goes orange and the only way to get it back to blue is to reset the openreach white modem. i have tried everything to get the Blue li
-
Creating an Excel file from table with 40,000 records
I need help with creating an Excel file for client that has a table of 40,000 records. I have code that generates the Excel and has worked well in the past but with this much data it is timing out. I've already informed the client that Excel has limi
-
Can I add a larger hard drive to my 2009 mac mini
can I add a larger hard drive to my 2009 mac mini. It has a 120GB now. Can that be replaced with a much larger one?
-
Help! I've forgotten my master password to my imac.
I was recently going through a divorce, and had stored my entire household in a storage unit, including my iMac. Now I can't remember the Master password. Can anyone tell me how to reset it, PLEASE? Thanks so much!