Value Categories...............PM Module
Dear All,
Here are the list of some the value categories............. Do tell whether these are default values or not ?? And Man power cost (Planned & Actual ) wll hit w/c Value category:::
Stores and Spares-Ind
Stores and Spares-Imp
Relining material - Ind
Relining material - Imp
Refractory Material - Ind
Refractory Material - Imp
Refurbished Spare
Packing - Stores and Spares
Stationary - Store and Sp
EDP - Store and Spare
Welfare - Store and Spare
Furnace Oil
Relining material - new
transportation
Labour charges
Machinery hire
Coin Adjustment
THANKS .........
DM
Hi Deepak......
Whatever you have written are indeed Value Categories.........created by some one. If you need you can use these.....
what you have to do actually is that you first find out the way client wants to track the cost.....e.g. he will say i need labor cost (internal as well as external as separate one), material cost (indigenous as well as imported as separate one), external services etc.
Then in this case you can use the Value Categories that are already there & define the new ones that are not there. Then in Customizing you have to assign the respective cost element to the relevant value category.
This will help you in viewing the cost incurred during maintenace in a maintenance order - costing tab from value category point of view. You can further go in detail.
Hope this will help you.......
Regards...........
Similar Messages
-
How to pass values to a module pool program from another Report Program
Hi ..
Please let me know how I can pass values to a MODULE POOL selection screen field from another Report Program.
Thanks
RKhttp://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/frameset.htm
a® -
how value categories will be useful?
why we need to assaign cost elements to value categories?
how to define value categories ( how to give the nomenclature ....for example)..
RegardsPlease refer this post most of your querry related to it will get answered.
Re: Value Categories
Re: Value Categories Impact on Hierarchy Reports
value category customizing - ps
Regards
Nitin -
Define Default Values for Value Categories-reg
Hi Experts,
What will be the effect in cost tab in MO,if I dont maintain the Define Default Values for Value Categoriesin SPRO.Because by just maintaining Value categories and its cost element assignment,Iam getting the planned and actual cost in cost tab of order.
Pl clarify.
regards
KRISHNANhi..
Yes,u r right..without assigning default values also u can get the P/A cost in PM order.But,Suppose u have created 4 different value categories,ex-
Mech Spares
Elect Spares
Civil Spares
Maint Services
and u are assigning all these as default value categories,if ur maint order has only cost against mech spares it will show the cost incurred against that and cost against other value categories will be shown 0 in cost overview..
u can try it!!! -
Allocation of CE to Value Categories
Hello,
I wanted to know, whether we assign primary CE or secondary CE to Value Categories? As per my understanding its secondary.
I have query around my above assumption. I am creating a Purchase Order and and using an Account Assignment category as "P" i.e. Account Assignment is WBS. I am using a free text material and hence I need to assign a G/L to it.My question is how do this hit the Material Value category in Projects i.e. where the Cost Element is picked up by the system to report the material costs against proper value category. PO is not having any refernce to secondary CE in above case.
Awaiting replies.
Thanks
SarangYou can assign any cost element to the value category - primary/secondary. You will need to maintain the G/L account as a primary cost element before you'll be able to use it in a value category. When the commitment is raised or actuals posted, the G/L/cost element on the PO is used to post it. When the report is pulled by value category, the cost gets pulled also.
-
Activity type to Value categories
Dear Experts,
Can you please tell me how to assign the Activity type ( like Labor hour ) to Value categories.
AR.Hi Amit,
Actually activity type is not directly assigned to value categories.
We maintain the value categories in SPRO & cost elements are assigned to value categories.
CO person created the activity type & herein mentions cost elements too.
Further activity types are entered in work center master data and thus it appears in maintenance order.
Sundar -
To get the values from func. module
c i have used a func. module to calculate the values of date , i wrote a subroutine i want the values of this to be dispalyed on the list...
now how do i get them to the list output, i mean how do i assign to the fieldcatalog?????
thanks,
CAPCHi CAPC,
Plese find below a sample program which will solve u r broblem.
report abc.
TYPE-POOLS : slis.
Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : flag tyPE c,
END OF itab.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
Select Data
SELECT * FROM t001 INTO TABLE itab.
*------- Field Catalogue
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_internal_tabname = 'ITAB'
i_inclname = sy-repid
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
Display
alvly-box_fieldname = 'FLAG'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid "<-------Important
i_callback_user_command = 'ITAB_USER_COMMAND' "<------ Important
is_layout = alvly
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
CALL BACK FORM
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
data : msg(100) type c.
LOOP AT itab.
if itab-flag = 'X'.
msg = sy-tabix.
condense msg.
concatenate 'Row Number ' msg ' ' into msg
separated by space.
message msg type 'I'.
endif.
ENDLOOP.
ENDFORM. "ITAB_user_command
Regards,
Sunil -
Where to Store the value from custom Module?
Hi Experts,
I am having Custom Module for altering the payload .From that payload I need to store a particular value.where can i store that that vlaue ?.Custome module is inOutBound.
Regards,
Rajesh.D
Edited by: Rajesh Kumar on Sep 18, 2008 1:13 PMHi Bhavesh,
My scenario is Idoc to WebService.In custom module i had called webservice through http call it had returned connection id.Payload is passed with connectionID to Web Service for calling other methods.Next i have to close the connection with Same Conncetion ID in another Custome module.so i have to store some where and reterive in my module.pls help
Regards,
Rajesh.D -
How to access screen field value in a module pool programming?
Hi Experts,
I have create a module pool program SAPMYDLG. It contains two screens 100 and 200.
The first screen contains Employee_ID field. This field is not a dictionary field.
In the second screen 200, I want to access the value of Employee_ID field from first screen.
For this I created a global variable v_empid in TOP include.
Then in the PAI of the screen 100 I have assigned the screen field value to global variable.
v_empid = Employee_ID.
But this gives an error saying " Field Employee_ID not defined".
What am I doing wrong? How can I access the screen field value?
Thanks
GopalHi,
Employee_ID field also must u define in the top include when u define that 100 screen and 200 screen will access.
regards,
muralii -
Passing SELECT-OPTIONS value to Function Module
Hi,
I need to pass select-options value to a function module.
Code is like the following:
SELECT-OPTIONS seltab FOR object-type.
CALL FUNCTION 'Z_MY_FM'
EXPORTING
sel_tab = seltab
IMPORTING
result_tab = it_result
I have found a similar problem in the SDN forum: How to pass select-options parameter to FM?
However, that could not help me much in solving my problem.
So far I have tried to created a structure in DDIC with the following components for the select-options:
SIGN - BAPISIGN
OPTION - BAPIOPTION
LOW - ZBWOBJECTTYPE (my type)
HIGH - ZBWOBJECTTYPE (my type)
and subsequently a table type for this structure which is specified in the "Import" tab of my function module.
Unfortunately, when I ran the program a runtime exception occured (CALL_FUNCTION_CONFLICT_TYPE).
Could anyone please help me on this issue?
Thanks in advance.
Regards,
Joon MengHello Joon,
CALL FUNCTION 'Z_MY_FM'
EXPORTING
sel_tab = seltab
IMPORTING
result_tab = it_result
You have defined SELTAB as a SELECT-OPTION.
So when you pass only SELTAB, the header line is transferred to the FM. When you pass SELTAB[] the whole table(range) is passed.
It is similar to the concept of an internal table with header line.
Hope i am clear.
Anyways how have you defined result_tab and sel_tab ?
BR,
Suhas -
Passing values to function module
Hello Everybody!
I have defined a function group ZSUB_FGROUP1 and within that, I have defined a function module ZSUB_FMOD1. I wish to pass one set of values of following types:
VBELN, POSNR, MATNR, ARKTX, KWMENG, VRKME, NETWR from VBAP
and WAERK from VBAK.
from my main report ZSUB_REP1 to ZSUB_FMOD1, which will then print those values in the form of a list. When I processed the list from within the main report, I used regular methods like top-of-page and all. But, I am not sure how to handle things from within the function module. Please help!Hi...
When u create the function module , we generally provide the import and export parameters....
<b>Import parameters :</b> Which we pass to the function module ..
<b>Export parameters:</b> Which we receive from the function module...
<b>Tables parameters:</b> Tables to pass and to receive to and from the function module...
<b>Changing Parameters:</b> Which we pass to the function module and change these values in the function module and receive those from function module...
So define the fields
VBELN, POSNR, MATNR, ARKTX, KWMENG, VRKME, NETWR ,WAERK in the import parameters with LIKE declaration and corresponding type..
<b><u>Field || Type || Associated Type || Optional || Default ||</u></b>
vbeln || like || vbak-vbeln ||
<b>Optional : </b>If u check this then this field is not mandatory to receive the value..
If uncheck then we have to pass value to this field from the program !! otherwise it gives an error.
In the <b><u>source code</u></b> tab u can write the list output related code with these imported and exported parameters !!
To call the function module we use<b> PATTERN </b>which is present on the application tool bar of the SE38-Editor screen..
Click on this .. u will get a popup ..IN this check the <b>CALL FUNCTION</b> and in the input field of this,, give the function module name... and press enter ...Here u can give values for these imported fields...
reward if it helps u...
sai ramesh -
Passing Input values to Adapter Module
Hi
I have write some simple adapter module in my sender file adapter.
in order to make it more flexible i need to pass 2 input parameters at run time so that I can update the Values in SAP tables using JCO CALL along with filename.
please advise how to get pass input value from my ejb module.
regards
Gabriel>
Gabriel Sagaya Selvam wrote:
> Hi
> I have write some simple adapter module in my sender file adapter.
> in order to make it more flexible i need to pass 2 input parameters at run time so that I can update the Values in SAP tables using JCO CALL along with filename.
>
> please advise how to get pass input value from my ejb module.
>
> regards
> Gabriel
refer this blog - https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6107. [original link is broken] [original link is broken] [original link is broken]
you can add flexibility by adding the module key parameters. Base the code as a reference where the author uses parameters configured in the adapter to be used to in the logic -
I want an example for event Process on Value-request in Module Pool
Hi,
I need to populate f4 values for a field in module pool program under POV event.
Can anyone send me the sample code.
Helpful answers will be rewarded .
Thanks and Regards
AdityaHi
For F4 Values on Screen:
PROCESS ON VALUE_REQUEST
using module call starting with FIELD i.e FIELD field MODULE module
There are number of function modules that can be used for the purpose, but these
can fullfill the task easily or combination of them.
DYNP_VALUE_READ
F4IF_FIELD_VALUE_REQUEST
F4IF_INT_TABLE_VALUE_REQUEST
POPUP_WITH_TABLE_DISPLAY
DYNP_VALUE_READ
This function module is used to read values in the screen fields. Use of this
FM causes forced transfer of data from screen fields to ABAP fields.
There are 3 exporting parameters
DYNAME = program name = SY-CPROG
DYNUMB = Screen number = SY-DYNNR
TRANSLATE_TO_UPPER = 'X'
and one importing TABLE parameter
DYNPFIELDS = Table of TYPE DYNPREAD
The DYNPFIELDS parameter is used to pass internal table of type DYNPREAD
to this FM and the values read from the screen will be stored in this table.This
table consists of two fields:
FIELDNAME : Used to pass the name of screen field for which the value is to
be read.
FIELDVALUE : Used to read the value of the field in the screen.
e.g.
DATA: SCREEN_VALUES TYPE TABLE OF DYNPREAD ,
SCREEN_VALUE LIKE LINE OF SCREEN_VALUES.
SCREEN_VALUE-FIELDNAME = 'KUNNR' . * Field to be read
APPEND SCREEN_VALUE TO SCREEN_VALUES. * Fill the table
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-CPROG
DYNUMB = SY-DYNNR
TRANSLATE_TO_UPPER = 'X'
TABLES
DYNPFIELDS = SCREEN_VALUES.
READ TABLE SCREEN_VALUES INDEX 1 INTO SCREEN_VALUE.Now the screen value for field KUNNR is in the SCREEN_VALUE-FIELDVALUE and can be used for further processing like using it to fill the internal table to be used as parameter in F4IF_INT_TABLE_VALUE_REQUEST ETC.
F4IF_FIELD_VALUE_REQUEST
This FM is used to display value help or input from ABAP dictionary.We have to pass the name of the structure or table(TABNAME) along with the field name(FIELDNAME) . The selection can be returned to the specified screen field if three
parameters DYNPNR,DYNPPROG,DYNPROFIELD are also specified or to a table if RETRN_TAB is specified.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = table/structure
FIELDNAME = 'field name'
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNR
DYNPROFIELD = 'screen field'
IMPORTING
RETURN_TAB = table of type DYNPREAD
F4IF_INT_TABLE_VALUE_REQUEST
This FM is used to dsiplay values stored in an internal table as input
help.This FM is used to program our own custom help if no such input help
exists in ABAP dictionary for a particular field. The parameter VALUE_TAB is used to pass the internal table containing input values.The parameter RETFIELD
is used to specify the internal table field whose value will be returned to the screen field or RETURN_TAB.
If DYNPNR,DYNPPROG and DYNPROFIELD are specified than the user selection is passed to the screen field specified in the DYNPROFIELD. If RETURN_TAB is specified the selectionis returned in a table.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = field from int table whose value will be returned
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNNR
DYNPROFIELD = 'screen field'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = internal table whose values will be shown.
RETURN_TAB = internal table of type DDSHRETVAL
EXCEPTIONS
parameter_error = 1
no_values_found = 2
others = 3.
POPUP_WITH_TABLE_DISPLAY
This FM is used to display the contents of an internal table in a popup window.The user can select a row and the index of that is returned in the CHOISE
parameter.The VALUETAB is used to pass the internal table.
A suitable title can be set using TITLETEXT parameter. The starting and end position of the popup can be specified by the parameters STARTPOS_COL / ROW and ENDPOS_ROW / COL .
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL =
ENDPOS_ROW =
STARTPOS_COL =
STARTPOS_ROW =
TITLETEXT = 'title text'
IMPORTING
CHOISE =
TABLES
VALUETAB =
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
e.g.
DATA: w_choice TYPE SY-TABIX.
DATA: BEGIN OF i_values OCCURS 0 WITH HEADER LINE,
values TYPE I,
END OF i_values.
PARAMETRS : id TYPE I.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR id
i_values-values = '0001'.
APPEND i_values.
i_values-values = '0002'.
APPEND i_values.
i_values-values = '0003'.
APPEND i_values.
i_values-values = '0004'.
APPEND i_values.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL = 40
ENDPOS_ROW = 12
STARTPOS_COL = 20
STARTPOS_ROW = 5
TITLETEXT = 'Select an ID'
IMPORTING
CHOISE = w_choice
TABLES
VALUETAB = i_values
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
CHECK w_choice > 0.
READ TABLE i_values INDEX w_choice....now we can process the selection as it is contained
...in the structure i_values.
Other FM that may be used to provide input help is HELP_START .
Reward points if useful
Regards
Anji -
REFERENCE VALUES BETWEEN REPORTS MODULES COMPONENTS IN DESIGNER6I
Good afternoon;
I am building a report in Designer 6i which inludes 4 different
module components.
My question is..
How can you verify (and pass) a field's actual value between
module components?
Thank you,
Michel TurcotThe way to pass information from a PJC back into Forms is via the WHEN-CUSTOM-ITEM-EVENT trigger. Then you can pass the info around in Forms in the usual way. Look at some of the examples in the Forms area on OTN.
Regards,
Robin Zimmermann
Forms Product Manager -
Reg : Setting a attribute value through function module
Hi guys,
I got a RFC to To read the attribute of a particular work item ( SWI_READ_CONTAINER_ATTRIBUTE ) simillarly Is there any function module to write the attribute?
Thanks,
MugundhanHi Mugundhan ,
if you want to pass Value to workflow container variable while starting the workflow
use function module SAP_WAPI_START_WORKFLOW and pass value to the Table parameter input_container
wa_container-element = 'TEMP_AGENT' .
wa_container-value = 'SAPUSER' .
APPEND wa_container TO lt_container .
if you want to update the workflow container .
using the function module SWW_WI_FIND_FATHER_WIS to get father workitem here only all the container variable available .
then pass father workitem to the function module SWW_WI_CONTAINER_READ, this function module will return the container values in table parameter wi_container
using the function module you can update the workflow container variable
CALL FUNCTION 'SWC_ELEMENT_SET'
EXPORTING
element = 'TMP_AGENT'
field = 'SAPUSER;
TABLES
container = lt_container
EXCEPTIONS
type_conflict = 1
OTHERS = 2.
thanks and Regards
Krishnan R
Maybe you are looking for
-
Hi All, I can able to display the data through the FM REUSE_ALV_GRID_DISPLAY in the out put screen.When I click on the Microsoft Excel (CtrlShiftF7) at the ALV toolbar to view the same data in excel sheet it does open the excel sheet WITHOUT ANY DATA
-
Acrobat 9.0 Pro Help and Chrome problem
I am running Acrobat 9.4.2. Everything was working fine until Chrome was installed as part of Google Earth. Even so, Chrome is *not* the default browser (IE is). The problem is the following: clicking on the Acrobat Help from within an open PDF docum
-
I know that there has been a million posts about AVI files but I couldn't find exactly what I was looking for. I have a music video that I edited using Adobe premere 6 on a Windows machine at school. I exported it using Microsoft Video codec version
-
Upgrade went well from my IpodNano to the IPodtouch in iTune. The only thing I would like to see, is that +we can sync from the calendar provided in Vista like we can with the contact.+ So the 100 Millions of us new owners of Vista wouldn't have to b
-
Winscp in Run Program activity
Hi, The Run Program activity never ends when running winscp.com using these parameters; /command "option batch abort" "option confirm off" "open ftp_test_account" "put d:\data\* /VPT/*.TMP" "exit". The log file shows the program ran and ended but the