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.Ravikumar
hi,
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.
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 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 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. -
Hi
I am displaying output in function module using 8 tables. But here i am writing code using for all entries.
But the problem is what are the fields specify in the select query those fields are displaying in the output. But i want only particular fields.
Here is there any possibility to write WRITE statement?I think you may need to re-state the question a bit as it is not clear -
I am displaying output in function module using 8 tables. -> Are you displaying the data onto a screen or a list or just returning the results in the FM parameters?
But here i am writing code using for all entries. -> Why does this have an impact on the problem?
But the problem is what are the fields specify in the select query those fields are displaying in the output. But i want only particular fields. The fields you include in your select do not have to appear in any output e.g. you could select all and display one
select * from t001.
write: / t001-bukrs. "output one field from many...
endselect.
Here is there any possibility to write WRITE statement? You can have "write" statements in a function module but you need a screen "canvas" to display them on, so how / whether you see them will depend on where the code is invoked from and what's in the code.
Jonathan -
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 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 -
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 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 -
Adobe Widgets -Function module not displaying data in flex
Hello All,
I am using a function module to obtain the data of the tables parameter. When i run in the adobe flex its not displaying the table data. I have written even the code also in the adobe flex.
I have set all the configurations and even set the RFC also.
Can anybody help me out in this issue.
I will reward you with points.
Thanks,hi karan,
I hope that you are using the REST service from the sap widget foundation.
what type of error it displays?
code :
<mx:HTTPService id="sapService"
url="http://localhost:7531/SapMiddleTier/REST/ewcs/service/rfct" method="POST"/>
reference :
Adobe widget :(which is created using adobe flex,also the relevant article attached)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e00ca8a3-51aa-2a10-fdaf-97858e6acd12
thanks
jaideep
Edited by: Abesh Bhattacharjee on Feb 28, 2008 12:31 PM
Please do not ask for points. You will get them if you deserve them !
Maybe you are looking for
-
How do I create a single PDF Portfolio from an Outlook 2011 email with multiple non-pdf attachments? Email has 3 attachments--some are not pdf. I'd like all three converted into pdf files along with the email itself, and all appear in the email's pdf
-
Controls running in evaluation mode?
I am trying to distribute my MS Access Application that contains a couple ComponentWorks controls (cwinstr.ocx and cwanalysis.ocx). I am building the package using the Package & Deployment wizard. However, after installing the application on the appl
-
How can I get rollover text to show pictures?
The original flash has a publish setting to Flash Player 5, and I have to have the publish setting set to Flash Player 8 (actionscript 2). The original flash works with the Flash Player 5 setting however when I change it the rollover text to picture
-
Files creating through remote desktop is not updating in office computer
Hi, we are currently using windows 2008 standard server for terminal service. colleagues are allowed to work through rdp. Recently one of my colleague said, when he is accessing the terminal server through remote, the files, folders and whatever he c
-
Management of Global Employees Issue
Hi Gurus, In Management of global employees, it is sure that you know that there are series of "Personnel actions" such as "Planning of Global assignment", "Assignment Activation - Host & Home" are needs to be run. On running the above mentioned Acti