Function modules to display hidden characteristic values of sales ord. item
Hi ALL,
My requirement is to display the hidden characteristic values of sales orders item.
Can anyone let me know the Function modules to be used.
Thanks & Regards
Deepthi
Hi Deepti
Use the Function Module 'VC_I_GET_CONFIGURATION' to get all the characterstics & their values for a sales order line item.
You just need to supply the configuration field(VBAP-CUOBJ) to the FM.
Regards
Chetan
Similar Messages
-
Any function module to read all the values in Tcode-PPQD?
Hi all
Is there any function module to read all the values in Tcode-PPQD (Display Qualifiaction Catalog).
and any idea what tables are involved to get these values like parent and child relationship?
Thanks in advance.
Murali.Murali,
you can use the following..
data: w_sobid type sobid, "Qualification ID
w_objid type objid. "Qualification Catalog
select objid into w_objid
up to 1 rows
from HRP1001
where otype = 'QK'
and plvar = '01'
and istat = 1
and risgn = 'B'
and relat = '030'
and endda ge sy-datum
and begda le sy-datum
and sclas = 'Q'
and sobid = w_sobid.
endselect.
if sy-subrc eq 0.
write: / w_objid,w_sobid.
endif.
Regards,
Suresh Datti -
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 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'. -
Is there any RFC function module to read domain fixed value
Hi,
Is there any RFC function module to read domain fixed value from remote system in basis layer?
As we cannot simply wrap DD_DOMVALUES_GET with a new RFC module,because remote system will not install our component, our wrap function module is not there.
We may need a RFC fm from basis layer.HI,
Try using Function Module:
DD_DOMA_GET , If it is RFC enabled it can be used for reading the domain,
Kindlly go through this link below:
How to get "Fixed Domain Values" from other system by RFC-Call?
Hope it helps,
Regards
Mansi -
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 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. -
Any function module to round of a value to two decimal places?
Hi gurus,
Any function module to round of a value to two decimal places?Hi,
you can use FM 'ROUND'.
Thanks. -
Function module which uses both BAPI's for sales order create and change
Please name the function module which uses both BAPI's for sales order create and change.
BAPI_SALESORDER_CREATEFORMDAT2
BAPI_SALESORDERCHANGEYup.
you must write a piece of code for this.
with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
logic somethig like this.
Amit. -
Hi All,
Any one know how the system set net value in sales order item? (VBAP-NETWR)
I mean, what kind of condition type will be considered in net value calculation.
Thank youHi,
In Sales Order net value (NETWR) is always value before tax, it means the condition type determined before tax condition will be considered in sales order Net Value.
In other words if conditon type have a category defined as D-Tax and Cond. class as D- Taxes, the value of this condition type will not be considered in Net value.
regards
Vivek.
Edited by: Vievk Vardhan on Jan 7, 2010 2:00 PM -
Any function module to get Stock and value of material on a given date?
Hi Friends
Is there any function module available to get Stock/and value of material on a given date?
Thanks
HarishSorry I didn't elaborate the requirement.
I am asked to develop a custom report for inventory management. For range of materials it is required to display stock and value on particular date and GRs GIs for the range.
I need function module to use in Zreport.
Thanks
Harish -
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 programe name , title, linesize..etc
hi Guru's,
My requirement is to create a fuction module for displaying the classical report header and footer.
in header i need Program Name,Program Title ,page no, date , time , user..
Can any one provide me with function module.
cheers,
kumar.hi,
you can make this type of FM or take help from this...
CALL FUNCTION 'Z_Z00_STD_HEADER'
EXPORTING
line_size = sy-linsz
listtitle = sy-title
EXCEPTIONS
mandt_not_found = 1
line_size_too_small = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM.
FUNCTION Z_Z00_STD_HEADER.
""Local interface:
*" IMPORTING
*" REFERENCE(LINE_SIZE) DEFAULT 80
*" REFERENCE(LISTTITLE) DEFAULT SPACE
*" REFERENCE(PARAM1) OPTIONAL
*" REFERENCE(PARAM2) OPTIONAL
*" EXCEPTIONS
*" MANDT_NOT_FOUND
*" LINE_SIZE_TOO_SMALL
data : pos_center1(3) type n,
pos_center2(3) type n,
pos_right1(3) type n,
pos_right2(3) type n,
tit_len type i.
Table to store the client name
DATA iT000 type T000.
Clear Internal Table
CLEAR it000.
Get client name from the T000 table
SELECT SINGLE MANDT MTEXT INTO iT000 FROM T000
WHERE MANDT = SY-MANDT.
IF SY-SUBRC NE 0.
RAISE MANDT_NOT_FOUND.
ENDIF.
if line_size < 75.
raise line_size_too_small.
endif.
Initialize values of the position counters
pos_center1 = ( LINE_SIZE / 2 ) - 5.
pos_right1 = LINE_SIZE - 19.
pos_right2 = LINE_SIZE - 12.
tit_len = strlen( listtitle ).
pos_center2 = ( LINE_SIZE / 2 ) - ( tit_len / 2 ) - 1.
Write the standard header
First Line
uline at (line_size).
Second Line
WRITE: /3 text-010, "Report Text
12 sy-cprog. "PERIASAS on 19/04/2004
WRITE AT pos_center1 iT000-Mtext.
WRITE AT pos_right1 text-006 RIGHT-JUSTIFIED. "Date Text
WRITE AT pos_right2 sy-datum RIGHT-JUSTIFIED.
Third Line
WRITE: /3 text-009, "Report Owner
10 sy-uname.
WRITE AT /3 param1. "PERIASAS on 19/04/2004
WRITE AT pos_center2 listtitle.
WRITE AT pos_right1 text-007 RIGHT-JUSTIFIED. "Time Text
WRITE AT pos_right2 sy-uzeit RIGHT-JUSTIFIED.
Fourth Line
WRITE AT /3 param2. "PERIASAS on 19/04/2004
WRITE AT pos_right1 text-008 RIGHT-JUSTIFIED. "Page Text
WRITE AT pos_right2 sy-pagno RIGHT-JUSTIFIED.
Fifth Line.
uline at (line_size).
ENDFUNCTION.
with regards
Lokesh
Edited by: Lokesh Tripathi on Oct 16, 2008 12:32 PM -
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
Maybe you are looking for
-
Paid Red Hat Linux (KVM Virtualization)
Hey guys, I was wondering, if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?
-
Singapore Ipod nano replacement program
A number of user for ipod nano gen1 has verified our serial via US website and noticed that we are eligable for the replacement program. Please kindly infrom us on how to get the replacement done. On the side note, if this program does not carry over
-
Error for /557 and /558
Dear Experts, I have an issues for one employee with /557 and /558. When I run simulation for the period 01/01/2011 to 31/03/2011 it's getting error on final net processing and error is /558 Balance of Payment's. But when I run for 01/04/2011 and abo
-
All, I have to parse a file that has multiple lines per client. example: ENTRY001 444444444 44444444444 ENTRY002 44 555555 66666 ENTRY003 6666 444 22222222 As you can see, each client spans multiple lines. I have to parse this data and create a clien
-
Circular references between stored procedures
Hi, i need help about circular references. I have two stored procedures that references like that: create or replace procedure ciclico2 as begin ciclico1; end; create or replace procedure ciclico1 as begin ciclico2; end; I can't compile both... so i