How to get a gl balance for a date
Hi,
I am trying to develop a reprt for a gl transaction from user entered date. The problem i am facing is fi table contains data for a period. So whenevri try to fetch opening balance it comes from start of the month not from any date into the maonth say 10th.
Please provide me code to capture the balance of gl in any day of the month.
CHEERS
Hi,
Thanks for your reply
the table you have given contains the data with document numbers. To calculate the current date balance i have to consider all the documents till date.
For fbl3n please guide me how can i catch the closing balance in report for a particular date. Because when i am running the tcode it is shownig the balance in structure from whic i am not able to get the balance.
Similar Messages
-
How to get the opening balances for lessthan selected date in cubes.
Hi All,
my task is to get the opening balances for the selected date.
Ex: If I select date say 31-1-2013, I should get the sum of values which are less than the selected date.
in sql:
select sum(balance) from banktrans where banktrans.transdate < 31-1-2013;
BankTable BankTrans
BankId BankId
balance
transdate
BankTable (records):
SCB
BankTrans(records):
a) SCB, 15000, 10-02-2013
b) SCB, 20000, 31-01-2014
c) SCB, 50000, 21-09-2012
If I select date as 31-01-2014, I should get the value as 65000
If I select date as 10-02-2013, I should get the value as 50000
Date will be dynamic selection from years months days hirearchy ( time dimension)
How can i achieve this?
any help is much appreciated.
Thanks,
RakeshDear David,
I've tried the below with static date but i'm not getting the values which are sum of less than the given date.
I've given 1st jan 2013 as static date and I need to get the sum of values which are less than the 1st jan date.
CREATE
MEMBER
CURRENTCUBE.[Measures].[OPENBALANCE]
AS
Sum({Null:[Time].[Years
Quarters Months Weeks Days].[Days].&[2013-01-01T00:00:00]},[Measures].[AmountCur]]),
FORMAT_STRING
= "Standard",
VISIBLE
= 1
can you plz check the above once and guide me.
Thankyou,
Rakesh -
How to get list of orders for current date.
Hi,
My requirement is to get list of orders for the date on which order was created such that I don't have to change the date in my application.
Every time I run my application it should generate orders created on that current date without manually giving current date.
This has to be done directly using BAPI and without creating a RFC.
I tried with bapi " BAPI_ALM_ORDERHEAD_GET_LIST " using parameter OPTIONS_FOR_START_DATE but there I can't enter sy-datum and hence, every time I hence to change the date.
Please tell me if there is any possible way to get fulfil above requirement.
Thanks.
Shilpi Agarwal.Hi Shilpi,
This looks simple to me.
Just create a variant in IW38 with U_your UserId as shown in the picture (Dynamic date selection for Created On set to Current Date)
The status settings obviously would be
Jogeswara Rao K -
How to get On Account Balance for a Customer in Accounts Receivables(AR)
Hi,
Pls let me know how i can get the On Account Balance and Customer Balance for a particular customer in AR.
Pls let me if there is any SQL query or function availabe to get On Account Balance in AR.
Is On Account Balance and Customer balance is same in AR.
Pls let me know how i can get both the values.
regards
Udittry to join your query from these tables:
1.Customer - RA_CUSTOMERS_ALL
2.Customer Name - RA_CUSTOMERS_ALL
3. Ship to /Bill to & Location - HZ_CUST_ACCT_SITES_ALL and RA_TERRITORIES
4.Account Balance - AR_PAYMENT_SCHEDULES_ALL
5.Current Balance - AR_PAYMENT_SCHEDULES_ALL
if you additionally need aging try to set from here
a)1-30 Past - AR_PAYMENT_SCHEDULES_ALL
b)31-60 Past - AR_PAYMENT_SCHEDULES_ALL
c)Over 90 Past - AR_PAYMENT_SCHEDULES_ALL
This way you can achieve the outcome -
How to get the item stock for a date
Hi all
I need to get the item stock quantity on a date, but i don´t know if i can get it from a table or if i have to make a query to calculate it from the documents´lines. If you can help me please reply this post.
ThanksDo you already know of table OINM (Warehouse table) - it is not documented in SAP-BO references?
This table contains entries for each movement in stocks of your system. Here are some examples of fields in this table:
BASE_REF document number of document affecting OITW.OnHand
DocDate date of this document
ItemCode Item of which the stock quantity is changed
Dscription name of item
Warehouse affected stock
InQty number of items added into stock (OITW.OnHand is increased)
OutQty number of items taken from stock (OITW.OnHand is decreased)
TransType type of booking (see below)
Balance this is NOT the OITW.OnHand at the date of this booking;
it's something like the cumulated stock value in some currency
To calculate the OnHand-value at a date of any of these bookings you have to
sum up the incoming/outgoing quantities, e.g. (z.B. SUM(InQty) - SUM(OutQty)).
Relation between the type of booking and the values in InQty / OutQty:
++ InQty/OutQty contain the number of items added to/taken from the stock;
the number complies to the value OITW.OnHand is increased/decreased;
-- doesn't affect stock (InQty/OutQty = 0)
? missing documentation
TransType InQty OutQty
-2 ++ -- opening balance
13 -- -- outgoing invoice
13 -- ++ outgoing invoice without previous delivery note
15 -- ++ delivery note
18 -- -- incoming invoice
20 ++ -- incoming delivery note
58 ? ? inventory
59 ++ -- stock receipt (without purchasing transactions)
60 -- ++ goods issue (without sales transactions)
67 -- ++ transfer between stocks
67 ++ -- transfer between stocks
I hope that I got your question right and that my hints will help you!
Frank -
How to get rid of zeros for the data which has been extracted with open hub
Hi all
I am trying to extract data from the cube thru an open hub, but the data which i have extracted, for a cost center i am able to see '0's which is expected to be an empty space, even in cube there is an empty space.
Can anyone suggest me quickly, points will be rewarded
thanks
preethi......In the transformation of the Open Hub,use BAPI....
Create a target structure with all fields as type characters,move data from source structure to target structure in the BAPI using ABAP codes.When there is no value in character fields it would not show up 0's. -
How to get Inventory Balances for PO data
Hi Guys,
How to get Inventory Balances for PO data.
from which tables I can get it ?
We are migrating material data to a new plant.. for this process.. The inventory data also has to be moved..
I am using BAPI_GOODMVT_CREATE to post inventory balances for the new plant.
ThanksHi,
Try MARC, MSKA, MARD .
Thanks,
Krishna -
How to get a running balance on a report
How do I get a running balance for one customer. Please look at the data set as a example and advise.
Customer A Apples
1.00 Paid
Customer A Pears
2.00 Paid
Customer A Oranges
2.50 Open
Balance 2.50
What expression am I to use in report builder
ThanksHi,
Here is the example for getting running Value:
http://gerryhubi.wordpress.com/2010/03/16/ssrs-tips-runningvalue/
SSRS Tips – RunningValue
Posted on March
16, 2010by gerryhu2000
Running value is a very generic and useful function. All
the 3 parameters can be manipulated for different purpose.
· Expression
the target on which the aggregation is applied. Most of the time it’s the column name in a dataset, or a combination of a few columns, e.g. “Group1 & Group2”.
· Function
Aggregate functions, and the most often used functions include
Avg
Returns the average of all non-null numeric values specified by the expression
Count
Returns a count of non-null values specified by the expression
CountDistinct
Returns a count of all distinct non-null values specified by the expression
Max
Returns the maximum value of all non-null numeric values specified by the expression.
You can use this for specifying a chart axis maximum value to control the scale.
Min
Returns the minimum value of all non-null numeric values specified by the expression.
You can use this for specifying a chart axis minimum value to control the scale.
Sum
Returns the sum of all the non-null numeric values specified by the expression
· Scope
The scope can be dataset, table or table groups.
The sample report below shows some applications of RunningValue. The dataset uses this query
SELECT Company, Product, InvoiceNumber, InvoiceAmount from InvoiceTable
The table (SSRS table control) is configured to have 2 groups, “gCompany” and “gProduct”.
Here is a report featured with Running Value tips
Alternate
color for Product Group
Normally the “green-bar” (green background color for alternate rows) is implemented by setting
the back ground color of the detail row to
=IIF(RowNumber(Nothing)
Mod 2,"Green","White")
To set color for alternate groups, use the expression below for background color
=IIF(RunningValue(Fields!Product.Value,CountDistinct,Nothing)
Mod 2, "LightBlue", "White")
The RunningValue function works like a counter/index for the product group.
Running
Sum value
Cumulative sum is calculated in this expression:
=RunningValue(Fields!Amount.Value,
SUM, Nothing)
“Scope = Nothing” means the outermost data region. And for Running Sum by Company or Product,
the scope if set to the corresponding group name.
=RunningValue(Fields!Amount.Value,
SUM, “gCompany”) or
=RunningValue(Fields!Amount.Value,
SUM, “gProduct”)
Group
Running Number
The summary table uses the same dataset as the details table. Normally the row number uses the
function
= RowNumber(“table1”)
For this case, the row number is using the CountDistinct function. The expression is
=RunningValue ( Fields!Company.Value +
Fields!Product.Value,
CountDistinct, Nothing)
Notice that the 2 groups are both used, to prevent mixing products
from different company.
Thanks Shiven:) If Answer is Helpful, Please Vote -
How to get the last error for while loop?
How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.
What do you mean by "get" and "transfer"?
If the shift register is not what you want, use a plan tunnel instead.
Typically, programmers are interested in the first, not last, error.
Can you show us your code so we have a better idea what you are trying to?
LabVIEW Champion . Do more with less code and in less time . -
How to get title templates library for CC?
How to get title templates library for CC? Do you have to download and install PP 6 to get them?
Try here Library, title templates, template projects missing: Premiere Pro, After Effects, Encore
-
How to get a opening balance in fbl1n
how to get a opening balance in fbl1n as i copied it into zreport,
plz help
Moderator message : Spec dumping not allowed, thread locked.
Edited by: Vinod Kumar on Dec 1, 2011 3:07 PMhow to get a opening balance in fbl1n as i copied it into zreport,
plz help
Moderator message : Spec dumping not allowed, thread locked.
Edited by: Vinod Kumar on Dec 1, 2011 3:07 PM -
I went to add my iPod to another computer and when I did it re-bought all of my music and I would like to know how to get my money back for it?
anyonr know how I can get my money back????????Go to Settings>General>Reset>Erase all content and setting. Then re-setup the iPod with your account/media. To redownload iTunes purchases see:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
How to get 64 bit version for premiere elements 12
How to get 64-bit version for Premier Elements 12 ?
I download from ADMISY site.
Click on win 64 bit and download it.
When I try to install ther is a error this download version is not for 64 bit I have try many times but same resultHello
I have been away some days
ADMISY is a software partners for Adobe
I running Win 7 Home Edition
I have received a card with a code when I bought the program and the I
download from ADMISY
Sending serial and installation warning
PhotoshopElements_12_WWEFDJ.7z
PhotoshopElements_12_WWEFDJ
PremiereElements_12_WWEFDJ_win32.7z
PremiereElements_12_WWEFDJ_win32
I can not find a 64 bit version of 32-bit or 64-bit version of downloads
This is information I have
Best regards
Erling Magnusson
2015-02-04 22:33 GMT+01:00 Adobe Forums <[email protected]>:
How to get 64 bit version for premiere elements 12 created by A.T.
Romano <https://forums.adobe.com/people/A.T.+Romano> in *Premiere
Elements* - View the full discussion
<https://forums.adobe.com/message/7162950#7162950> -
How to get the depreciation areas for an asset in particular period
Hi frndz,
how to get the depreciation areas for an asset in a particular period for writeup or manual depreciation method.
Thanks and regards.
Harisumanth.ChTry table ANLB, then read ANLC.
Regards. -
How to get the version no. for service po?
Hi,
How to get the version no. for service po?For material po we are getting the version from EKKO-REVNO but for service po Ekko-revno is blank.
Regards,
Rachel.Hiee,
It is not like service PO does not have revision.
REVNO will only exists for any document if amendment is made after releasing it. If in EKKO for all service PO revision number is blank then test if version management is active for document type
MM->Purchasing->Version management -> External documents
Here check for your doc type and purchase org version management is active.
Regs,
Appie
Maybe you are looking for
-
Multiple form parameters with the same name not passed to remote portlet
I have an html select box that contains several values, and multiple selection is enabled. When my code runs as a remote portlet, the following is showing up in the soap monitor when I select multiple values and submit the form: <urn:interactionParam
-
"locked by a template or translator" in Editable Region - CS4
Hello, I am working on a series of ASP homepages using repeating regions in Dreamweaver CS4. However, I am encountering "Making this change would require changing code that is is locked by a template or translator. The change will be discarded." erro
-
Running OSX Update, screen goes black - nothing!! HELP!!
I have an old iMac and I haven't used it for much besides a DVD player in the last 2 years. I'm planning on making it more of an every-day computer and was updating to 10.6.3 so that I could then update to 10.7. While running the 10.6.3 update, it s
-
Is there a Bug or Bug Fix in iPlanet 4.1 for URL Forwarding???
Here's the issue... We are forwarding a number of URL's from one website to another. When we create these under the iPlanet Web Server Admin UI, the URL's appear, and get written to obj.conf, and the Web Server appears to "Save and Apply" the changes
-
Bad performance in sending IDOCs from WAS to R3
Hi all, We have the following scenario: WAS 7.0 XI R3 with protocol: SOAP XI IDOC When IDOC comes from WAS to R3, it appers always at first time a 405 error (we see it in sxmb_moni transaction of WAS). After 3 or 4 minutes it is reprocessed