Provision for sevices entry cost addit in BOM material
Hi GURU's
I client want to services cost is also to be added to the material production cost as with the BOM.
ex. suppose production qnty. is 100 ton& BOM materials qnty & cost is suppose 10 & 100/-. and the services charges (cost) is suppose 100/- per ton then the cost of services is appended on the Production material with BOM material cost.
Is thier any provision to append services cost on the production material against process order.
Thanks in Adavance for ur immediate intimate.
Parminder Sikarwar
Hi
There is no direct link between Movement type and Cost element G/L account. It is not advisable to change the standard movement type 261 for BOM components for GI in OPKA.
The possible way to have a new G/L account in BOM cost element field as per u r requirement is to create new valuation class and assign it to Material master of u r Non stock material in Accounting view
Steps
1) Create a new valuation class say ZVCL in OMSK and complete all relevant settings
2) Now in OBYC > GBB > for VBR >for New Valuation class ZVCL > Assign G/L AC no say xxxxxx in Debit and Credit columns
3) Then Assign this valuation class in Material Master.
4) Now chk the G/L account in BOM as u mentioned and observe it as xxxxxx
Regards
Brahmaji
Similar Messages
-
I want to use my IPOD Classic 160gb for notepad entries in addition to the music and books I listen to. It is set to "Open ITunes when connected to computer" and "manually manage music and videos". How can I do that without losing some of the features of those two? I just want to add a feature. Thanks
Settings>Store (or iTunes & App Stores if you are running iOS6)>Apple ID. Tap your son's ID and sign out. Sign in with your ID and password.
You shouldn't lose the music, but if you try to update any apps that you bought with the family ID, you will have to use that password that is linked with that ID in order to update.
Avoid downloading past purchased content with the old ID if you can since you will associate the iPad with the old ID for 90 days and you will lock yourself out of your own, new ID for that period of time. Read more about associated devices in iTunes here.
iTunes Store: Associating a device or computer to your Apple ID -
Service entry sheet:No provision for service entry for purchase order
Hi.I create a Purchase order with one item.The Item category was D(Service).Also lines of Service number was input in the Service tab of the item detail.After save the Purchase order,I goto t-code ML81N to Maintain the Service entry sheet.When I input the Purchase order number and item number and press enter,the SAP raise an error message box with following text:
No provision for service entry for purchase order 4500000149 00010
Message no. SE198
Diagnosis
The "GR =NO" (no goods receipts) indicator has been set in the PO item. It is thus not possible to enter services against this purchase order.
I don't know why and how to resolve this problem.So I need the experts to give me some advice.Thank you so much.
Regards
Yodapls check in ur PO at item details in delivery tab whether goods receipt checkbox is unticked.if yes then tick it and then process.
regards,
indranil -
Maintaining costing view in BOM material
Hi all
I am doing product costing in process industry.For material costing purpose i need to maintain costing view for assigning overhead group, variance key in MM master which comes under that BOM.
e.g. If BOM material is FP01 and it has 3 components like RM01, RM02, RM03.Now my question is ' Should i maintain costing view only for one BOM material FP01 or should i maintain for all 4 materials i.e 1 finish product FP01 and 3 raw materials.
Any help would be appreciable and points rewarded
Regards
nileshHi,
Maintain accounting and Costing views for all the materials.
Award Points suitably
Best Regards
surya -
Alternative for / Problems with: "For all entries in data_package"
Hi Guys
I doing some ABAP in a Start Rotine in BW and would like to do the following:
select * from /BI0/PMATERIAL into table 0mat
for all entries in DATA_PACKAGE
where material = DATA_PACKAGE-/bic/zmaterial.
But I get the following error:
E:When using the addition "FOR ALL ENTRIES IN itab", the fields "MATERIAL" and "DATA_PACKAGE-/BIC/ZMATERIAL" must have the same type and length. and length.
ZMATERIAL:
- Length: 28
- Type: CHAR - Character String
ZMATERIAL:
- Length: 18
- Type: CHAR - Character String
According to the error message "For all entries" cannot be used in this case since the lengths are not identical, but is there an alternative way to do what I would like to do?
Thanks in advance, kind regards,
TorbenHi
one thing you can try like this define one variable in other itab of same type
then loop at the first table and assign it to new field and modify the itab
then use this field with for all entries
Regards
Shiva -
For all entries changes the order of the itab
Hi Experts
In the following query i have used two internal tables namely it_first and it_zlist.
The material inwhich the it_zlist is different sorting order
After executing this query, the order of the material inwhich the it_first is different from the it_zlist.
What could be the reason, pls explain me on this.
select matnr test zsno ztnam from zmaster1
into corresponding fields of table it_first
for all entries in it_zlist
where matnr = it_zlist-matnr.
Thanks in advance.
Regards
Rajaramfor all entries u should specified all primary key.
sort by u condition.
Effect
If the addition FOR ALL ENTRIES is specified before the language element WHERE, then the components comp of the internal table itab can be used as operands when comparing with relational operators.
The internal table itab must have a structured line type and the component comp must be compatible with the column col.
The logical expression sql_cond of the WHERE condition can comprise various logical expressions by using AND and OR. However, if FOR ALL ENTRIES is specified, there must be at least one Comparison with a column of the internal table itab, which can be specified either statistically or dynamically (Release 6.40 and higher). In a statement with a SELECTstatement with FOR ALL ENTRIES, the addition ORDER BY can only be used with the addition PRIMARY KEY.
The whole logical expression sql_cond is evaluated for each individual line of the internal table itab. The resulting set of the SELECT statement is the union of the resulting sets from the individual evaluations. Duplicate lines are automatically removed from the resulting set. If the internal table itab is empty, the whole WHERE statement is ignored and all lines in the database are put in the resulting set.
Notes
In Release 6.10 and higher, the same internal table can be specified after FOR ALL ENTRIES and after INTO.
The addition FOR ALL ENTRIES is only possible before WHERE conditions of the SELECT statement.
If the additions PACKAGE SIZE or UP TO n ROWS are specified together with FOR ALL ENTRIES, they are not passed to the database system but are applied instead to the resulting set once all selected rows on the application server have been imported.
With duplicated rows in the resulting set, the addition FOR ALL ENTRIES has the same effect as if addition DISTINCT were specified in the definition of the selection quantity. Unlike DISTINCT, the rows are not deleted from the database system but are deleted on the application server from the resulting set.
Addition FOR ALL ENTRIES is only possible for WHERE conditions of the SELECT statement.
Example
Exporting all flight data for a specified departure city. The relevant airlines and flight numbers are first put in an internal table entry_tab, which is evaluated in the WHERE condition of the subsquent SELECT statement. -
PO data will automatically update the required data in sevice entry sheet
Dear gurus
How and explain the PO for sevice entry sheet data automatically getting updated
in service entry sheet..
pls expalin how it happens
Thanks & regards
bhanuHi,
You need to select the relevant item from your list of services by doing the following.
Select your first line item and click the below service selection icon and in your service select the line again and click service tab and all you informATION FROM YOUR Service order will default into your SES.
Thanks -
Driver table in select for all entries
anyone please let me what is driver table in select for all entries and when do we go for select for all entries
Here is something from help
FOR ALL ENTRIES WHERE
Syntax
... FOR ALL ENTRIES IN itab WHERE ... col operator itab-comp ...
Effect
If the addition FOR ALL ENTRIES is specified before the language element WHERE, then the components comp of the internal table itab can be used as operands when comparing with relational operators.
The internal table itab must have a structured line type and the component comp must be compatible with the column col.
The logical expression sql_cond of the WHERE condition can comprise various logical expressions by using AND and OR. However, if FOR ALL ENTRIES is specified, there must be at least one Comparison with a column of the internal table itab, which can be specified either statistically or dynamically (Release 6.40 and higher). In a statement with a SELECTstatement with FOR ALL ENTRIES, the addition ORDER BY can only be used with the addition PRIMARY KEY.
The whole logical expression sql_cond is evaluated for each individual line of the internal table itab. The resulting set of the SELECT statement is the union of the resulting sets from the individual evaluations. Duplicate lines are automatically removed from the resulting set. If the internal table itab is empty, the whole WHERE statement is ignored and all lines in the database are put in the resulting set.
Notes
In Release 6.10 and higher, the same internal table can be specified after FOR ALL ENTRIES and after INTO.
The addition FOR ALL ENTRIES is only possible before WHERE conditions of the SELECT statement.
Example
Exporting all flight data for a specified departure city. The relevant airlines and flight numbers are first put in an internal table entry_tab, which is evaluated in the WHERE condition of the subsquent SELECT statement.
PARAMETERS p_city TYPE spfli-cityfrom.
TYPES: BEGIN OF entry_tab_type,
carrid TYPE spfli-carrid,
connid TYPE spfli-connid,
END OF entry_tab_type.
DATA: entry_tab TYPE TABLE OF entry_tab_type,
sflight_tab TYPE SORTED TABLE OF sflight
WITH UNIQUE KEY carrid connid fldate.
SELECT carrid connid
FROM spfli
INTO CORRESPONDING FIELDS OF TABLE entry_tab
WHERE cityfrom = p_city.
SELECT carrid connid fldate
FROM sflight
INTO CORRESPONDING FIELDS OF TABLE sflight_tab
FOR ALL ENTRIES IN entry_tab
WHERE carrid = entry_tab-carrid AND
connid = entry_tab-connid.
Regards,
Santosh -
For all entries with large sets
Hello All,
Does for all entries have restriction that the itab should not exceed the maximum entries? Look at code below:
select pernr raufpl raplzl catshours
from catsdb
into corresponding fields of table lit_catshrs
for all entries in itab
where pernr = itab-pernr
and status in ('10', '20', '30')
and workdate in s_date.
if itab have 7000 entries in production system, will the select statement cause a short dump such as DBIF_RSQL_INVALID_RSQL?
Thanks,
Alex MHi,
check the sequence of the fields in the internal table lit_catshrs
Because RSQL error occurs because of this.
and Whenevr you use for all entries of some Internal Table it is a must to check that
IF not ITAB[] Is initial.
< write the select>
endif.
Other performance related thing w.r.t to ABAP are
1) Dont use nested seelct statement
2) If possible use for all entries in addition
3) In the where addition make sure you give all the primary key
4) Use Index for the selection criteria.
5) You can also use inner joins
6) You can try to put the data from the first select statement into an Itab and then in order to select the data from the second table use for all entries in.
7) Use the runtime analysis SE30 and SQL Trace (ST05) to identify the performance and also to identify where the load is heavy, so that you can change the code accordingly
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d0db4c9-0e01-0010-b68f-9b1408d5f234
reward if useful
regards,
Anji -
Goods Receipt of BOM material- cost centre required for components
I have created a subcontracting PO with a BOM material.
When trying to post a Goods Receipt the components of the BOM material are required to have a cost centre assigned to them.
The profit centre for the BOM material and components are the same. The BOM material does not require a cost centre to be entered in the Goods Receipt as the Profit Centre is allocated to account assignment tab.
Why does the profit centre assigned to the components not default in the account assignment, why is the system asking for a cost centre?I receive this error when trying to post the material document:Field Cost Ctr is a required field for G/L account 1000 7023000200
Message no. F5808
Diagnosis
The value for field "Cost Ctr" in the interface to Financial Accounting is an initial value but you are required to make an entry in the field selection for G/L account "7023000200" in company code "1000" linked to the field selection for posting key "81".
System Response
Error
Procedure
It might be an error in the configuration of the G/L account field selection. The initial application, used to call up the interface must otherwise define a value for field "Cost Ctr". If this is the case, contact the consultant responsible for the application used to call up the interface or get in contact with SAP directly. -
Group Cost - Additive cost for mark-ups
Dear Experts:
Here's my scenario:
a) Group Costing activated with 10 and 31 views in OB22.
b) Plant A, Company Code A sells to Plant B, Company Code B via inter-company STO
c) Cross-company costing active for legal valuation
I'm looking to cost a material in Plant B with a mark-up in the legal valuation view and have created a cost component for 'Delta Profit for Group Costing' at the company code level. This cost component does not allow any cost elements to be assigned to it. But during CK74n, the system won't let me create additive costs for the Group Costing (or any variant) without using one....sort of a catch 22 situation!
Kindly help what I'm doing wrong..
Thanks,
DeepakCan't believe I asked this question - the additive costs don't show up when creating cost estimates using the Group Valuation costing variant!
Closing the thread. -
Authorization for Time Entry on Cost Center Level
Hi Experts,
Would like to know, if we can do authorisation for time entry on the base of cost center. For example, an employee worked for 8 hrs and out of that 2 hrs worked for different cost center. That 2 hrs should be approve by Manager of that cost center and 6 hrs from his current cost center.
I thought of Structural Authorisation but not sure how it will work. I would appreciate prompt response on the same.
Thanks,
AashishI was pointing out [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] about requesting "promptness" from what is a voluntary effort here to help each other and help those who first try to help themselves (keyword: "search").
Actually, I noticed that you had cross-posted this thread to the HCM forum. Normally, we move threads to other forums which are more appropriate, and often lock cross-posting. This is one of those grey areas between technical and functional, so I turned a blind eye on it.
I am hoping that there will be a functionality to mirror good questions to other related forums without having to cross-post. This would be very usefull for sure but the question would have to be good and the person who asked it would have to have a good track record of respecting [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]. Most likely moderators would be the only ones to "mirror" good questions, unless they contain words such as "urgent" or "ASAP" or "prompt" or "points will be rewarded", etc...
Cheers,
Julius -
Maint. Provision for Billing
Dear All,
Our customer have special requirement for maintain ace provision at the billing document level. And accounting entries as per below, I tried with creation of new condition type and Accounting key but it's not working. If possible, please guide me to fulfill the requirement.
1. When Delivering Goods to Customer
Accounting Entry:
Dr Cost of Goods Sold 100
Cr Finished Goods 100
2. When billing to customer
Billing price is 150
Accouting Entry
Dr Customer 150
Cr Sales 135
Cr Provision for Projects 15 (10% on 150)
Thanking you,
Regards,
Kamlesh PanchalHi,
In this case, you should not post the basic price condition type. You may need to have two different condition types from which you basic price splits based on this percentage.
Thanks
Krishna. -
Facin problems in the 'Select... for all entries'
I am facing problem with this piece of code, please share ur thoughts on it. I have specified the inputs.
I am extracting the open items from the BSIS table for specified 3 account number.
Inputs to the prg:
field No. of values
r_bukrs 1
r_hkont 2
r_blart 6
r_budat date range of 1 yr
r_bldat nil
v_tosdef contain 1 account number
" In each FI document posted, one line will have the 'v_tosdef' account number and one account from the 'r_hkont' values."
So will this query efficient.
SELECT bukrs
hkont
gjahr
belnr
budat
bldat
xblnr
blart
shkzg
dmbtr
FROM bsis
INTO TABLE i_bsis
WHERE bukrs IN r_bukrs " Company code
AND hkont = v_tosdef " Account number
AND budat IN r_budat " Posting date
AND bldat IN r_bldat " Document date
AND blart IN r_blart. " Document type
IF sy-subrc <> 0.
MESSAGE i003.
STOP.
ENDIF.
*@ Collecting the BELNR & GJAHR From the extracted records
li_bsis[] = i_bsis[].
SORT li_bsis BY bukrs gjahr belnr.
DELETE ADJACENT
DUPLICATES FROM li_bsis
COMPARING bukrs gjahr belnr.
IF NOT li_bsis[] IS INITIAL.
SELECT bukrs
hkont
gjahr
belnr
budat
bldat
xblnr
blart
shkzg
dmbtr
FROM bsis
APPENDING TABLE i_bsis
FOR ALL ENTRIES IN li_bsis
WHERE bukrs = li_bsis-bukrs " Company code
AND hkont IN r_hkont " Account number
AND gjahr = li_bsis-gjahr " Fiscal year
AND belnr = li_bsis-belnr. " Document num
BSIS table size around 86GB
primary index size aroung 33GB
and the index quality is 54%
the CBO shows less cost, but the actual runs takes too much disk read's / bgets..
Message was edited by:
SandyHi Sandy,
You indicated the size of the tables and index, what is the total number of records in your BSIS?
In your range tables, make sure they are postive formed.
Ex. r_bukrs : I EQ '1001', and not I NE '1000'.
You should consider coding your statements to check for input for bldat, code it with r_bldat and then another set without. It should be better performance to not have empty where conditions. So two routines, Selects with bldat and without.
Don't know if you have a Basis person to help analyze the performance, but you should look at the indexes in BSIS. You may have several indexes that contain some of your input fields but they may be spread across several indexes or there may be none. But say you have 5 indexes and it happens that just one of your parameters are in each of those indexes. Well, it can only use one index so while you think you are providing alot of parameters to help performance only one field is being used to access the index. What you need to do then is to find an index that has the most fields in your where clause and see if you can add to that, so long it's not an SAP index. If it's a z index consider adding additional fields to it, or consider creating a new index.
You can at least analyze the first Select in your DEV client. Run a trace, ST05 and then execute your code. It will show you which index it has used if any.
Also, look at the query values it is passing to the database. You said you get 6 M records on the first Select. This just seem like a lot of records, which is for just one account number (v_tosdef) along with the other parameters. I'm wondering if there's a problem with your input data. With 6M in your first table, your FOR ALL ENTRIES statement will be executed 1.2 million times. Tyically the database interface breaks down your Select-For All entries statement into 5 records per query. Again, run ST05 and you will see this.
In SE16, on your BSIS table, what is your count of records if you enter only the account number?
As a test, you might want to try entering all your parameters in SE16, run ST05 to trace the SQL to see what it is doing. You may have to kill your SE16 session or it may time out on you. You can stop your ST05 trace before your SE16 finishes and it will still show how SAP is going after the data and what index it used.
Let me know if this helped any.
Regards,
Filler -
MM - ML81N, Release Procedure for service entry sheet
Hi Gurus,
I would like to active the realease strategy for service.
in order to customize I set:
-Relase Groups
-Release Codes
-Release indicator
-Release startegues
Then I run ML81N TRX and I called a sheet to try. This sheet had to has done to one of the release strategy set...
on the menu (of this trx ML81N)Entry Sheet->Set Status->Release (is still turn off)
Where is the problem?, anybody could help me?
Tks in advance,
NachoHi,
please read the FAQ note 672719, question 5:
Setting up a release procedure is explained in the following short
example: All service entry sheets with material group 007 are supposed
to be subject to a release strategy. This release strategy requires that
the service entry sheets must be released with release code A1. Only the
cost center manager has the authorization for release code A1.
A) Create a characteristic for the material group:
o Call Transaction CT04. (Path in the SAP menu in R/3 Enterprise:
Cross-Application Components -> Classification System -> Master
Data -> Characteristics)
o Specify a name for the characteristic, for example CESSR_MATKL,
and choose the 'Create' pushbutton.
o On the 'Basic data' tab page, enter a description and keep the
'Released' status.
o On the 'Addnl data' tab page, enter table name CESSR and field
name MATKL (Material group).
o Enter class type 032 (Release strategy) on the 'Restrictions' tab
page and then save the characteristic.
Note: The release strategy must be based on a field of structure CESSR.
Using Transaction SE11, you can display which other fields are available
in addition to the material group (field MATKL).
B) Create a class to which you assign the characteristic:
o Call Transaction CL02. (Path in the SAP menu in R/3 Enterprise:
Cross-Application Components -> Classification System -> Master
Data -> Classes)
o Enter a class name, for example FRG_ESSR, and class type 032 (for
release strategy) and then choose the 'Create' pushbutton.
o On the 'Basic data' tab page, enter any name. (Keep the
'Released' status.)
o Enter characteristic CESSR_MATKL on the 'Char.' tab page and then
save the class.
C) Now carry out the required Customizing settings. Follow IMG path
(Transaction SPRO) 'Materials Management -> External Services Management
Seite 4
-> Define Release Procedures for Service Entry Sheet'
o At first, you must create a release group (for example 03). For
that, choose 'Release Groups', then choose 'New Entries', enter
'Rel. Group' = 03 and 'Class' = FRG_ESSR. Save the entry. The
system automatically determines value 3 (for entry of services
performed) for the release object.
o Now create release code A1 for release group 03. Choose 'New
Entries' and specify the following values: Grp = 03, Code = A1,
and description, for example cost center manager.
o Create two release indicators, for example A and B. Select the
'Released' field for release indicator B and save the entries.
(Note: A release strategy must at least contain two release
indicators. The first indicator (here A) must be defined as
locked, the last indicator as released. Furthermore, the general
changeability of the service entry sheet and the behavior for
value changes are defined via the release indicators.)
o Finally create the release strategy. Choose 'New Entries' and
specify the following values: Release group = 03, release
strategy, for example RS, release codes = A1. Assign the two
release indicators A and B via 'Release statuses'. Assign
material group 007 via 'Classification'. Save the release
strategy.
D) Assign the authorization for release code A1 and release group 03 to
the cost center manager. In role maintenance (Transaction PFCG), you can
for example use the default values for Transaction ML85 for that.
Regards,
Edit
Maybe you are looking for
-
Firefox 5.0.1 for Mac OS 10.6.8 is not allowing me to upload attachments. I get a pink band with the message "Files with errors will not be uploaded". When I click on the View Error link, it tells me "This file couldn't be added because it appears to
-
Post Author: happymouse CA Forum: Performance Management and Dashboards Dear all, I have a dashboard with multiple analytics within it. Currently, for refreshing of the dashboard, we need to click on the submenu name. Kindly advise if there is any wa
-
How to monitor 8i physical standby databases ?
Hi guys, It seems easy to create and monitor standby databases for 9i and 10g instances through OEM 10, but what about 8i standby db ? Has everything to be done manually : creation, monitoring, maintenance ? It is at least possible to monitor redo tr
-
Getting ClassCastException When Trying To Color JTable Row?
hi there i'm trying to set color for JTable Rows Using the method prepareRenderer and get the values of the second column which contains integer values and if it contain 0 integer value set the color row as red its already works and the row with 0 is
-
HT5622 I need help finding a movie that I downloaded, can anyone help me with this?
Hello, I need help finding a movie that I downloaded, can anyone help me with this?