How to Calculate Line items Total of Matrix Column
hai experts,
Im facing a problem like
1. i have a matrix with a column Labour Costs in that im taking some cost.
2. in footer a have a Edit Text like Total Labour Cost
3 when i enter amount in matrix column it sholud disply that value in total labour cost and when we add new row ,labour cost it should add to 'total labour cost' in footer.Like Invoice Documents.
Where do you want to implement this like sapscript / smartforms or adobe forms? please specify.
Similar Messages
-
FS10N balance not tie with FBl3N line item totals
Hi
I searched the forum for posting on FS10N and FBL3N incorrect balances and I did not any post appropriate for my issue. Hence I am posting my issue here.
For a particular month, say 072010, FS10N GL balance does not tie with FBL3N line item totals. I am not sure why. In our case, we did not archive any line items and this is not related to year end carry forward. Year beginning GL balances look fine. We dont have any negative postings. Only few GL balances are off. We are using 4.7 version.
Do you know why this inconsistency and how to rectify it? Is there any program which I run apart from Yead End carry forward?
any ideas really appreciated.
ThanksHello
We have already this trouble.
To correct it you need to proceed like this (when NewGL is not activate, with new Gl there is one new programm)
Without newGL
- Block account to be posted (transaction FS00 Block for posting in the company view)
- Delete open item, by using the programm RFSEPA03 (you need to adapt it by a copy because if you don't you can't run it), also this programm will unflag your account in the company view
- Delete line item by the standrd program RFSEPA04
- Create the line item by the standard program RFSEPA01
- if this account is managed by open item, run the programm RFSEPA02 (you need to do the same adjustement of the RFSEPA03)
With NewGL, there is something new. the program RFSEPA02 is linked with a new transaction and you don't have to adjust it FAGL_ACTIVATE_OP. The difference is when you create the open item, you have to define the default profit center and default value depending of the customizing of the leading ledger.
BBest regards
Philippe,
Thanks for the rewards. -
Currency conversion - Line item total does not tally with account balance
hi guys!
we are currently going through currency conversion in Zimbabwe and we are at preparation stage. i have got 3 issues:
1. while trying to run program RFSEPA02 the following error is appearing-
-Line item total does not tally with account balance
2. i might need to retrieve some FI documents whic were archived. how do i retrieve archived documents
3. i might also be required to delete(if its an option) some records so tha line item total will tally with account balanceput a break-point @
if t_balance_items_hw[] <> t_balance_account_hw[] or
t_balance_items_tw[] <> t_balance_account_tw[].
perform dequeue_account.
message e099.
* Summe der Einzelposten stimmt nicht mit Kontensaldo überein. ->
endif.
endform. " CHECK_ACCOUNT_BALANCE_2
and debug y it is getting the error.
Short text
Switch On Open Item Management by Changing Master Record
Description
This program activates open item (OI) management for a G/L account and makes the necessary changes to documents already posted. These are then displayed afterwards as open items. It does not process the open items any further. In reversed documents especially, it does not reenter clearing data in the document.
Requirements
No items can already be archived from this account.
Caution: Company policy must be in place to ensure that this does not happen.
Some G/L accounts cannot be managed on an open item basis, especially G/L accounts that are used in account determination for automatic transactions (for example, accounts set up for transactions MVA or VVA, or accounts which are posted to using posting keys set up for account type M).
Caution: Before making any changes, check that the G/L account can really be managed on an open item basis. If necessary, contact your SAP consultant.
The account must be blocked from posting since any new documents posted at the same time as converting documents and postings for this account would not be entered.
Output
When using the list log, each document that was changed is listed. In addition, the total of the changed BSIS/BSAS entries and the total of the changed documents is listed.
Regards
Prabhu
Message was edited by: Prabhu Peram -
Urjent-how to add line items in tcode-FBL3N
Hi Experts,
How to add line items customer, customer name, vendor and vendor name in FBL3N.
Thanks in advance.
mahe
Moderator message - Please do not use words like "urjent". Please ask a specific question. Please search the forum. This question has been asked and answered before. Post locked
Edited by: Rob Burbank on Apr 29, 2009 11:27 AM
Edited by: Rob Burbank on Apr 29, 2009 11:28 AMHi,
Check the BTE's:
00001020 POST DOCUMENT: Prior to final checks SAMPLE_INTERFACE_00001020
00001025 POST DOCUMENT: Final checks completed SAMPLE_INTERFACE_00001025
00001030 POST DOCUMENT: Posting of standard data SAMPLE_INTERFACE_00001030
00001050 POST DOCUMENT: Accounting interface SAMPLE_INTERFACE_00001050
Thanks & Regards,
Harish -
Hi
How to transfer Line Items from One GL account to another GL account.
We, at the time of changing Non Open Item Manged account to Open Item Manged account, how can we transfer Line items to make this GL account Zero, If suppose line items are more than 200.
Satish
Points assured.If you are attempting to change the account from Non Open Item managed, you need to make the account balance zero. The change will be be effective only for future transactions. You need not transfer all line items, find the balance and make an entry to debit or credit to make it zero, to a temporary account. Later, once you have activated, you can reverse that transaction.
The OSS 606977 refered may be helpful if you are looking for reverse activation. i.e from Open to Non Open. Here is a brief:
Symptom
In the G/L account master record, you can activate/deactivate the 'Open item management' indicator if the balance of the account is zero. In this case, the system does not check whether postings exist on the account.
If postings exist, this could lead to problems, for example, if the clearing is reversed after the change to the indicator is made.
Other terms
FS00, FS02, FSS0, FS02, FH190, XOPVW
Reason and Prerequisites
The transactions for the maintenance of the G/L account master record did not check whether postings exist on the account. Now the program checks whether postings exist in the current year or previous two fiscal years.
Solution
Implement the attached correction or import the corresponding Support Package. Since it could make sense to change an account with balance zero from open item managed to non-open item managed (and vice versa) - despite postings to the account - the message is delivered as customizable (with error as a default setting).
The check is also carried out, when open-item management is activated, is postings exist on the account.
If you implement the note you must also carry out the following:
Use Transaction SE91 to create message 190 in message class FH with the following text:
Account balance = 0; however, postings exist on the account
Use Transaction SM30 to insert the following entry into view T100S:
Application area FH
MsgNo 190
Allowed EW
Standard E
Afterwards, the message can be customized in View V_T100C. To do this, you can use Transaction OBA5. -
Difference between cumulative balance and line items total in FS10N
hi,
when I am executing FS10n, I observed that the cumulative balance amount is not equal to line items total . This is due to some amounts in previous years are varying from the line ltem totals in those periods of previous years.
This is not happening with QA server only Prdn server is facing this problem. Can anybody provide me a way to solve this..!?
Regards,
AJo
I have checked the master data for the GL and the check box for line item display is selected. It has not been changed for years.
Edited by: Anil Jonnalagadda on Oct 22, 2008 10:57 AMHi Anil,
The reason for the differences that you are viewing can be various. As the differences are found in the cummulative balance then it means that the differences might have occurred in previous fiscal years. The first stetp is to find when these differences were originated: You can run report SAPF190 (in se38) for previous fiscal years, and company code in question- This report should show the differences with message "Errors" in the log. If differences are found then you have to creeate a message and send it to SAP for further analysis and corrections.(only SAP experts can do this kind of corrections - component FI-GL-GL-X)
Also bear in mind that if you did archiving in previous fiscal years then this would not be an error:
If you already did archiving and secondary index deletion on this accounts with SAPF048I. So this explains why line items balance and GL summary balance differ ! There is no programm error.
See consulting note 81489 which describes this issue:
The balance of an account results from the balance of the open items. In
connection with an archiving that has been carried out, the line item
display - used with cleared items - must not therefore be interpreted as
a balance display. For the balance display, there are separate
correspond to the display balance of the open items from the line item
display.
Having archived and deleted secondary indexes ( with SAPF048I )
for an account you can not use line item drill down as a balance
display any more for a line item managed account.
( as not all line items are existing any more in table BSIS ! )
The transactions meant to display the binding balances are FS10N,
FK10N and FD10N.
They also give you the line items details, but only of those line
items not yet deleted ( by SAPF048I ).
kind regards,
Oscar Diaz -
How to get line item net price and net value?
I have using "BAPI_SALESORDER_SIMULATE" to SIMULATE to create SO,
the return table
ORDER_ITEMS_OUT-NET_VALUE is not equals than created by VA01 .
how to get line item net price and net value?Hi,
Can u elaborate ur query ?
By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
Regards,
MAdhukar Shetty -
How to default Line item display in GL master record???
Hi..Guys
How to default Line item display selection in GL master creation.....When we create GL master it will automatically get selected.
Is it possible to do.
Plz reply .Hi
With sample account you can succeed your requirement
Give all the defualt fields whtatever you want then use this sample account while creating GL account
One more possibility is with SHD0 screen layout change with defaults (this thing i am not sure)
Reg
Vishnu -
How to calculate the individual sums of multiple columns in a single query
Hello,
Using Oracle 11gR2 on windows 7 client. I have a question on calculating sum() on multiple columns on different columns and store the results in a view. Unfortunately I could not post the problem here as it keeps on giving error "Sorry, this content is not allowed", without telling where or what it is! So I had to post it in the stack-overflow forum, here is the link: http://stackoverflow.com/questions/16529721/how-to-calculate-the-individual-sums-of-multiple-columns-in-a-single-query-ora
Will appreciate any help or suggestion.
Thanksuser13667036 wrote:
Hello,
Using Oracle 11gR2 on windows 7 client. I have a question on calculating sum() on multiple columns on different columns and store the results in a view. Unfortunately I could not post the problem here as it keeps on giving error "Sorry, this content is not allowed", without telling where or what it is! So I had to post it in the stack-overflow forum, here is the link: http://stackoverflow.com/questions/16529721/how-to-calculate-the-individual-sums-of-multiple-columns-in-a-single-query-ora
Will appreciate any help or suggestion.
ThanksLooks like you want a simple group by.
select
yr
, mnth
, region
, sum(handled_package)
, sum(expected_missing_package)
, sum(actual_missing_package)
from test
group by
yr, mnth, region
order by
yr, mnth, region;I wouldn't recommend storing your data for year / month in 2 columns like that unless you have a really good reason. I would store it as a date column and add a check constraint to ensure that the date is always the first of the month, then format it out as you wish to the client.
CREATE TABLE test
year_month date,
Region VARCHAR2(50),
CITY VARCHAR2(50),
Handled_Package NUMBER,
Expected_Missing_Package NUMBER,
Actual_Missing_Package NUMBER
alter table test add constraint firs_of_month check (year_month = trunc(year_month, 'mm'));
ME_XE?Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
2 Values (to_date('2012-nov-12', 'yyyy-mon-dd'), 'Western', 'San Fransisco', 200, 10, 5);
Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
ERROR at line 1:
ORA-02290: check constraint (TUBBY.FIRS_OF_MONTH) violated
Elapsed: 00:00:00.03
ME_XE?Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
2 Values (to_date('2012-nov-01', 'yyyy-mon-dd'), 'Western', 'San Fransisco', 200, 10, 5);
1 row created.
Elapsed: 00:00:00.01
ME_XE?select
2 to_char(year_month, 'fmYYYY') as year
3 , to_char(year_month, 'fmMonth') as month
4 , Region
5 , CITY
6 , Handled_Package
7 , Expected_Missing_Package
8 , Actual_Missing_Package
9 from test;
YEAR MONTH REGION CITY HANDLED_PACKAGE EXPECTED_MISSING_PACKAGE ACTUAL_MISSING_PACKAGE
2012 November Western San Fransisco 200 10 5
1 row selected.
Elapsed: 00:00:00.01
ME_XE?Then you have nice a nice and easy validation that ensures you data integrity.
Cheers, -
How to calculate a cumulative total in HANA
Hello,
I have a detail table (e.g. GL line item table) which has entries for 'posting date', account number, year, month, posting amount (single key figure) and account type (whether the account is a profit & loss account or a balance sheet account.
The requirement is to create a view which shows balance of month for profit and loss accounts and cumulative balance per month for balance sheet accounts (i.e. total of all line items till end of the month, not just for the month).
Currently I am able to get only balance for the month , but not the cumulative balance.
How can I calculate a cumulative amount column/key figure - either through Analytical view or calculation view?
Thanks,
NinadThe Window Functions should help. Here is a sample query in SPS06 using a sum over function against an SAP HANA Live standard view.
SELECT Year("BillingDocumentDate_E") as "Invoice_Year", "BillingDocumentDate_E" as "Invoice_Date", round("TotalNetAmount_E") as "Billed_Amount",
round(Sum("TotalNetAmount_E") OVER (partition by Year("BillingDocumentDate_E") order by "BillingDocumentDate_E")) as "YTD_Amount"
FROM "_SYS_BIC"."sap.hba.ecc/BillingDocumentQuery"
WHERE "SAPClient" = '004' and "SoldToPartyName" = 'Becker Berlin' and "BillingDocumentDate_E" >= '2002-01-01'
GROUP BY Year("BillingDocumentDate_E"), "BillingDocumentDate_E", "TotalNetAmount_E"
ORDER BY 1, 2
Message was edited by: Marc Daniau -
How to delete line item from sales order ?
Dear All ,
user is having 20 line items from which 3 line items of which prod order confirmation cancellation is done also goods reversal done now as user tries to delete the line items an info box pops up --> Due to cost management the line item can not be deleted . Can u tell me that if these line item is not deleted than how to delete this ? sos what user had done that he had selected reason for rejection for these 3 line items so now the total wt is reduced but user is not able to delete the lineitems .
pl help
sap11Hi
For those line items you can assign a REASON FOR REJECTION. Automatically the status of those line items will be closed.
Thanks,
Ravi
PS : sorry....please ignore my post.
Edited by: sankar ravi on May 20, 2008 3:45 PM -
Hi,
This is in 11.5.10.2.
For Balance Sheet review/clean up of GL Accounts, we are facing following Problems.
When we query a particular GL account the number of lines fetches are more than 6 lakhs line items due to which we are not able to extract complete dump .
The data Extracted is not getting classified into open and cleared items (Clearing) at GL level and therefore the data line items are enormous. Can you suggest something in this regard as to how to proceed further? IF you can share the methodology being adopted by any of you, it will be a great help.
ThanksHello.
Can you please try the following query? I'm not sure were are you keeping the data that indicates that the lines are not adjusted so i included the JGZZ_RECON_STATUS field but you can adjust the query to your needs.
SELECT l.effective_date,
h.je_source,
h.je_category,
l.description,
nvl(sum(l.accounted_dr),0),
nvl(sum(l.accounted_cr),0),
l.jgzz_recon_status
FROM gl_je_lines l,
gl_je_headers h
WHERE l.je_header_id = h.je_header_id
AND l.set_of_books_id = <your set_of_books_id>
AND l.effective_date >= '1-jul-09'
AND l.effective_date <= '2-jul-09'
GROUP BY l.effective_date,
h.je_source,
h.je_category,
l.description,
l.jgzz_recon_status
Hope this helps, otherwise repost.
Octavio -
Order creation logic how to pass line items
experts
i have the following data in iternal table itab.
po number ,customer number, matnr,quantity ,order date.
1212838383 7494749 8383938833 20 20032009
1212838383 7494749 8383938832 10 20032009
1212838382 7494749 8383938833 20 20032009
1212838384 7494745 8383938823 30 22032009
1212838384 7494745 8584858588 05 22032009
now i want to populate this data into idocs orders segement .
for all po the customer will be the same and i need to create one order for that.
in the above data first 2 lines have same po so i need to create order with 2 line items.
sales org,division,distribution channnel,ordertype will be same for all the records.
loop at itab into workarea.
at new po. "for same po, same header data so i am using AT NEW
edi_dd40-segnum = 1.
edi_dd40-segnam = 'E2EDK14 '.
edi_dd40-mandt = sy-mandt.
edi_dd40-psgnum = psgnum.
e2edk14-qualf = '008' .
e2edk14-orgid = 'NN21.
MOVE e2edk14 TO edi_dd40-sdata.
append edi_dd40 to itab_output.
edi_dd40-segnum = 1.
edi_dd40-segnam = 'E2EDK14 '.
edi_dd40-mandt = sy-mandt.
edi_dd40-psgnum = psgnum.
e2edk14-qualf = '006' .
e2edk14-orgid = 'ni.
MOVE e2edk14 TO edi_dd40-sdata.
append edi_dd40 to itab_output.
endat.
now the item data comes , so i need to create items with same po.and afetr this i need to submit this data to fm before another diffent po comes.below same customer and po so need to consider as one sales order and submit to fm.
item1 1212838383 7494749 8383938833 20 20032009
item2 1212838383 7494749 8383938833 20 20032009
call function 'MAST_IDOC_DISTRIBUTE'
My concern is how to tell to the system for the same po create the order with multipl line items , do i need to use to AT NEW
or some other commands above?
endloop.i have used at end of po. but my matnr is becoming *************. no date is showing in the internal table while populating the matnr to segments.
Loop at itab into workarea.
at end of po.
here i am filling the matnr to the segment. here workarea-matnr is showing *********** only stars,
endat.
endloop.
If i remove the at end of po , then the matnr is comming .
Please sugggest me what to do.
my fields sequence are like this.
kunnr " customer
bstnk "po
matnr " material
currency
kwmeng "order quantity
podate
orderdate
so how to handle this please suggest. -
How to delete line items from PM order
Dear SAPient's,
We have created PM order, in this one line item material is defective. For that we want to cancel the PM order
and return the material to the vendor. Now situation is this PM order is allready released and material is also issued.
Material stock is showing on ON-ORDER Stock.
Please suggest some Ideas.
With warm regards
Bijay Kumar JhaHi,
Well, the qty shall be brought to stock in some way. If the PM order is already completed, you can bring it with any other movement, e.g. trs MI10 (invetory adjustment) or trs MB1C and mvt 501. But then your accountants will have to deal with the offsetting posting to some P&L account. You have already debited some P&L account when you did the GI to the PM order (you can find which acct it was if you display the accounting documents for the GI material document). This charge was assumingly wrong since you haven't actually consumed the qty but returning it to the vendor. This means that this account shall be credited.
At the same you have the debit posting to another P&L acct when you do MI10 or MB1C. The accounting people will have to repost the debit amount from the first acct to the second one, so that the total P&L is zero.
BR
Raf -
How to reject Line Items in a Service Contract?
Hello friends,
Can anyone help me understand how do we reject items in a Service Contract? I don't see any Reject field. Is it one of the Status I need to configure for Item Level Status Profile? Even if I add a 'Reject' status, how do I link it to Rejection Reason codes? (I know how to add Reason codes in customizing, but how they are linked to a Transaction type is something I am not finding...).
Please provide any inputs.
Thanks.HI Navaneethan,
please try following code.
make PEKKO should be internal table with appropraite structure..
Loop at ZBTXT.
MOVE ZBTXT-LINE TO PEKKO-ZBTXT.
append PEKKO.
clear PEKKO.
ENDLOOP.
loop at pekko.
write : / PEKKO-zbtxt.
endloop.
if above code is helpful, REWARD POINTS.
Regards,
Ranjith
Maybe you are looking for
-
Can I just stop iCloud and go back to manually syncing?
How can I get out of iCloud. Have had nothing but trouble. Can I just stop iCloud and go back to manually syncing?
-
Syntax error when creating input-ready query
Hi, When creating an input-ready query, I set the key-figure to 'Data can be changed by user entries or Planning Functions' in the Planning Properties in the query designer. When I execute the query, I get the following error: Syntax Error in : CL_RS
-
Orange haze at start from sleep mode?
So, in the past 2 days my iMac starts up from sleep mode with a strange orange haze to the screen. This has happened every time, though not when I power down and reboot. yesterday it lasted a few minutes, today it remains though it has lightened some
-
Hi, IE (ver 7 or less) has a bug wherein it makes the SELECT box present in the page to be the topmost layer. I have a requirement wherein i need to display a div region over the iframe present in the body of the HTML page (the div becomes the top-mo
-
JTree (TreeModel) vs (TreeNode)
hellow, I've got some troubles with a tree-view of my data model: I've created my own TreeModel, implemented the necessary methods, ... Now, when I try to display the JTree with the TreeNode parameter (I parse the whole data tree) it works perfectly,