PROBLEM IN GETTING MONTHLY OPENING & ENDING BALANCE BETEEN TWO DATES
Hi,
i m executing this query to get following result.
OB is function through which i m getting Opening qty at time '01-JAN-2005' .
QTYIN is qty purchased.
QTYOUT is qty sold.
END_BAL is difference of (OPENING_BALANCE+ QTYIN) - QTYOUT.
PNAME is product name.
SELECT ALL
TO_CHAR(STKTRAN.SDATE,'MON,YY') MON,
PRODUCTS.PNAME,
OB(PID,'01-OCT-2005') OB_BAL,
SUM(STKTRAN.QTYIN) QTYIN,
SUM(STKTRAN.QTYOUT) OUT,
END_BAL(PID,31-OCT-2005) END_BAL
FROM PRODUCTS, STKTRAN
WHERE PRODUCTS.PID = STKTRAN.PID
AND STKTRAN.SDATE BETWEEN '01-OCT-2005' AND '31-OCT-2005'
GROUP BY
TO_CHAR(STKTRAN.SDATE,'MON,YY'), PRODUCTS.PNAME;
MON PNAME OB QTYIN OUT BAL
OCT,05 GX-150 1000 18655 12300 7355
OCT,05 GX-220 0 20500 18245 2255
opening balance is the qty_in_stock + qty_purchased - qty_sold before 01-oct-05.
ending balance is the qty_in_stock + qty_purchased - qty_sold before 01-nov-05.
the problem is i want to get result between two dates. suppose between
01-jan-05 and 31-dec-05 group by month n product.
"one month ending balance should be the opening balance of other. " ???
means it will look like ....
MON PNAME OB QTYIN OUT BAL
OCT,05 GX-150 1000 18655 12300 7355
OCT,05 GX-220 0 20500 18245 2255
NOV,05 GX-150 7355 1000 5355 3355
NOV,05 GX-220 2255 1000 1255 2255
please guide me ......thanks
If you have 8i enterprise edition, then analytic functions are supported and you could use this solution:
SQL> create table products
2 as
3 select 1 pid, 'GX-150' pname from dual union all
4 select 2, 'GX-220' from dual
5 /
Tabel is aangemaakt.
SQL> create table stktran
2 as
3 select date '2005-01-20' sdate, 1 pid, 1000 qtyin, 0 qtyout from dual union all
4 select date '2005-10-10', 1, 18655, 12300 from dual union all
5 select date '2005-10-10', 2, 10500, 10000 from dual union all
6 select date '2005-10-20', 2, 10000, 8245 from dual union all
7 select date '2005-11-11', 1, 1000, 5355 from dual union all
8 select date '2005-11-11', 2, 1000, 1255 from dual
9 /
Tabel is aangemaakt.
SQL> var P_STARTDATE varchar2(10)
SQL> var P_ENDDATE varchar2(10)
SQL> exec :P_STARTDATE := '01-01-2005'
PL/SQL-procedure is geslaagd.
SQL> exec :P_ENDDATE := '31-12-2005'
PL/SQL-procedure is geslaagd.
SQL> select pname
2 , to_char(m,'MON,yy') mon
3 , lag(eb,1,0) over (partition by pname order by m) ob
4 , qtyin
5 , qtyout
6 , eb
7 from ( select pname
8 , mon m
9 , qtyin
10 , qtyout
11 , sum(nvl(qtyin,0)) over (partition by pname order by mon)
12 - sum(nvl(qtyout,0)) over (partition by pname order by mon) eb
13 from ( select pname
14 , trunc(sdate,'mm') mon
15 , sum(qtyin) qtyin
16 , sum(qtyout) qtyout
17 from ( select p.pname
18 , s.sdate
19 , s.qtyin
20 , s.qtyout
21 from products p
22 , stktran s
23 where s.pid = p.pid
24 and s.sdate between to_date(:P_STARTDATE,'dd-mm-yyyy') and to_date(:P_ENDDATE,'dd-mm-yyyy')
25 union all
26 select pname
27 , mon
28 , null
29 , null
30 from ( select add_months(trunc(to_date(:P_STARTDATE,'dd-mm-yyyy'),'mm'),level-1) mon
31 from dual
32 connect by level <=
33 months_between
34 ( trunc(to_date(:P_ENDDATE,'dd-mm-yyyy'))
35 , trunc(to_date(:P_STARTDATE,'dd-mm-yyyy'))
36 ) + 1
37 )
38 , ( select pid
39 , pname
40 from products
41 )
42 )
43 group by pname
44 , trunc(sdate,'mm')
45 )
46 )
47 order by m
48 , pname
49 /
PNAME MON OB QTYIN QTYOUT EB
GX-150 JAN,05 0 1000 0 1000
GX-220 JAN,05 0 0
GX-150 FEB,05 1000 1000
GX-220 FEB,05 0 0
GX-150 MRT,05 1000 1000
GX-220 MRT,05 0 0
GX-150 APR,05 1000 1000
GX-220 APR,05 0 0
GX-150 MEI,05 1000 1000
GX-220 MEI,05 0 0
GX-150 JUN,05 1000 1000
GX-220 JUN,05 0 0
GX-150 JUL,05 1000 1000
GX-220 JUL,05 0 0
GX-150 AUG,05 1000 1000
GX-220 AUG,05 0 0
GX-150 SEP,05 1000 1000
GX-220 SEP,05 0 0
GX-150 OKT,05 1000 18655 12300 7355
GX-220 OKT,05 0 20500 18245 2255
GX-150 NOV,05 7355 1000 5355 3000
GX-220 NOV,05 2255 1000 1255 2000
GX-150 DEC,05 3000 3000
GX-220 DEC,05 2000 2000
24 rijen zijn geselecteerd.Regards,
Rob.
Similar Messages
-
Server Load-balancing Across Two Data centers on Layer 3
Hi,
I have a customer who would like to load balance two Microsoft Exchange 2010 CAS Servers which are residing across two data centers.
Which is the best solution for this? Cisco ACE or Cisco ACE GSS or both?I would go with source natting the clients ip addresses, so that return traffic from the servers is routed correctly.
It saves you the trouble with maintaining PBR as well.
Source NAT can be done on the ACE, by applying the configuration to either the load balancing policy, or adding the configuration to the class-map entries in the multi-match policy.
Cheers,
Søren
Sent from Cisco Technical Support iPad App -
(Groovy Expression) Get the no. of days between two dates
Hi All,
I am using ADF-BC-11g to create an entity object with 2 specific columns ActualDate and EstimatedDate both of Date type. I also want an additional field DaysBetweenTwoDates showing the difference between these two dates. Hence, I add another attribute DaysBetweenTwoDates in my entity object and after removing the Persistent property, I modify the expression field as ActualDate - EstimatedDate. When I test my AM, I get an error as below:
*(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: groovy.lang.MissingMethodException, msg=No signature of method: java.sql.Date.minus() is applicable for argument types: (java.sql.Date) values: {2009-04-01}*
Can anyone please tell me how to achieve the same?
Please note that I can not add a new column DaysBetweenTwoDates in the table nor can I have a new VO attribute subtracting and storing the difference as there are some logical and refreshing constraints.
Any suggestions would be really helpful.
Thanks
NeerajThanks John,
Oops...I did not think on this ground at all. Thanks for directing towards right direction. However, just to know, is that possible anyways thorugh groovy expression? Do we have any docs where we can search for the functions available in groovy expression?
Regards,
Neeraj -
Problem to get ResultSet when it is used a Date type in the query condition
hello ,
I having a bit of nightmare getting a ResultSet how result of one simple Query for a table when the condition WHERE involve a Date type.
To change the String value in a date to use in the query condition, I tried both:
String strDate = "dd/mm/yyyy";
(1.) java.sql.Date sqlDate = new java.sql.Date(strDate.getTime() )
(2.) SimpleDateFormat formatter = new SimpleDateFormat(strDate) ; sqlDate = formatter.parse(strDate);
and finally I use this code to get the ResultSet:
sql = "SELECT * FROM myTable Where (idCli = " + cd_Cli + " And dateReg = " + sqlDate + ")";
statement = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
resultSet = statement.executeQuery(sql);
boolean ok = resultSet.last();
totNumberOfRegistration = resultSet.getRow();
But In both the cases I get a empty resultSet.
I shoul like if someone would look my code to say me where it is the mistake...
thank you
tonyMrsangelo
P.S. I tryed using PrepareStatement too to get the ResultSet, but in that case I couldn't use the ResultSet because executing the statement resultSet.last() I get the error: "Result set type is TYPE_FORWARD_ONLY"In a database like Oracle, you need to use a function like TO_DATE; other databases may have something similar.
However, the proper way to do this is to use a PreparedStatement. Then you can say
PreparedStatement ps = conn.prepareStatement("update SOMETABLE set SOME_DATE=? where SOME_ID=?");
ps.setDate(1, new java.sql.Date(someJavaUtilDate.getTime()));
ps.setInt(2, theId);
ps.executeUpdate(); -
How to get all request from database between two dates in servlets
I am having a servlet in which i am I accepting two form values i.e 'fromdate' and 'todate' by using req.getParameter(fromdate & todate).
Now i have to query a table called REQUEST which has 4 columns like req_id, name, createdate and status.
In the servlet I would like to retrieve all the request during that period say for example. between 1st July to 31stJuly, and then display it on the browser with all req_id(first column in the table) having a hyperlink to another XML file which consists of all the details when a user had send his request in the month of July.
The output on the browser is preferable in a Table format which has to be created dynamically depending the number of request.
Kindly let me know how I can proceed with this .
Thanks,
Regards,
LijoyThe topic seems a little broad.
The SQL would look something like
select req_id, name, createdate, status
from request
where createdate > fromdate and <= todate -
SQL Help Need to Calculate Count beteen two dates.
CREATE TABLE SUPPORT_SERVICES.LOAN_ACTION
LOAN_NBR NUMBER(10),
ACTION_CODE VARCHAR2(20 BYTE),
DOC_CODE VARCHAR2(20 BYTE),
ACTION_DATE DATE
SET DEFINE OFF;
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'ASSIGN', 'MORT', TO_DATE('12/01/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'PASSIGN', 'MORT', TO_DATE('12/02/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'QASSIGN', 'MORT', TO_DATE('12/03/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'RASSIGN', 'MORT', TO_DATE('12/09/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'SASSIGN', 'MORT', TO_DATE('12/04/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'TASSIGN', 'MORT', TO_DATE('12/05/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'UASSIGN', 'MORT', TO_DATE('12/06/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'YASSIGN', 'MORT', TO_DATE('12/07/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'xASSIGN', 'MORT', TO_DATE('12/08/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'ASSIGN', 'MORT', TO_DATE('12/01/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'PASSIGN', 'MORT', TO_DATE('12/02/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'QASSIGN', 'MORT', TO_DATE('12/03/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'SASSIGN', 'MORT', TO_DATE('12/04/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'TASSIGN', 'MORT', TO_DATE('12/05/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'UASSIGN', 'MORT', TO_DATE('12/06/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'YASSIGN', 'MORT', TO_DATE('12/07/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'UNASSIGN', 'MORT', TO_DATE('12/08/2011 20:24:40', 'MM/DD/YYYY HH24:MI:SS'));
COMMIT;Could some one please give me a idea to solve following scenario .
from the above table i want to count DOC_CODE column values between action_code ='ASSIGN' AND action_code 'UNASSIGN'
example :
LOAN_NBR ACTION_CODE DOC_CODE ACTION_DATE
101 ASSIGN MORT 12/1/2011 8:24:39 PM
101 PASSIGN MORT 12/2/2011 8:24:39 PM
101 QASSIGN MORT 12/3/2011 8:24:39 PM
101 SASSIGN MORT 12/4/2011 8:24:39 PM
101 TASSIGN MORT 12/5/2011 8:24:39 PM
101 UASSIGN MORT 12/6/2011 8:24:39 PM
101 YASSIGN MORT 12/7/2011 8:24:39 PM
101 UNASSIGN MORT 12/8/2011 8:24:40 PMFor Loan Number 101 ,ACTION_CODE='ASSIGN' was on 12/1/2011 and ACTION_CODE='UNASSIGN' was on 12/6/2011
so now the doc_count is 4 ;
Let me know if you need any additioanl infoamtion on this.
Thank you
VijayHi, Vijay,
Thanks for posting the CREATE TABLE and INSERT statements.
Don't forget to post the full results you want from that sample data, nor to say which version of Oracle you're using. (It probably doesn't matter this time; the query below works in Oracle 8.1 and higher.)
vijayp wrote:
from the above table i want to count DOC_CODE column values between action_code ='ASSIGN' AND action_code 'UNASSIGN'
example :
LOAN_NBR ACTION_CODE DOC_CODE ACTION_DATE
101 ASSIGN MORT 12/1/2011 8:24:39 PM
101 PASSIGN MORT 12/2/2011 8:24:39 PM
101 QASSIGN MORT 12/3/2011 8:24:39 PM
101 SASSIGN MORT 12/4/2011 8:24:39 PM
101 TASSIGN MORT 12/5/2011 8:24:39 PM
101 UASSIGN MORT 12/6/2011 8:24:39 PM
101 YASSIGN MORT 12/7/2011 8:24:39 PM
101 UNASSIGN MORT 12/8/2011 8:24:40 PMFor Loan Number 101 ,ACTION_CODE='ASSIGN' was on 12/1/2011 and ACTION_CODE='UNASSIGN' was on 12/6/2011
so now the doc_count is 4 ;U<b>N</b>ASSIGN was on 12/8.
UASSIGN (with no N before the end) was on 12/6.
>
Let me know if you need any additioanl infoamtion on this.What if either ASSIGN or UASSIGN occurs more than once for the same loan_nbr? The query below uses the earliest ASSIGN date and the latest UASSIGN date.
Thank you
Vijay
WITH got_date_range AS
SELECT loan_nbr, doc_code, action_date
, MIN ( CASE
WHEN action_code = 'ASSIGN'
THEN action_date
END
) OVER (PARTITION BY loan_nbr) AS assign_date
, MAX ( CASE
WHEN action_code = 'UASSIGN'
THEN action_date
END
) OVER (PARTITION BY loan_nbr) AS uassign_date
FROM loan_action
SELECT loan_nbr
, COUNT (doc_code) AS cnt_doc_code
FROM got_date_range
WHERE action_date > assign_date
AND action_date < uassign_date
GROUP BY loan_nbr
; -
How to get NO OF DAYS by Differentiating two dates
I have one more requirement , you can able to see the created on date and confirmation date
i have to deliver no of days by confirmation date - created date = no of days.
can you tell me how to acheive the no of days by differentiating two dates?Function module is<b> SD_DATETIME_DIFFERENCE</b>
please supply 2 date parameters as input ...
and defulat the time ( from time/to time as ->00:00:01) it wont affect your dates ...
so that the out put will be theno of days .
reward points if it is usefull ...
Girish -
Beginning Balance and Ending Balance Calculation
Hi all,
I have got a critical requirement for my report.
I have to calculate Opening and Closing Balances for every month
Beginning balance amount of current month = Ending balance amount of previous month.
and Ending Balance = Beginning Balance + Transactions(data available)
My Beginning Balance amount initially will be loaded from Flat file.
For the first month I will go with a calculated Keyfigure and calculate my ending Balance.
Now, this ending balance of current month will be beginning balance of next month.
The problem is for the second month if i want ending balance, how to hold that data, as that is a calculation.
Secondly, if the data is for current period..that's fine, but if i have to see previous months data, how to get it??
Thanks,
Hima.Make a cell reference to the previous month in your query designer. I don't have any specific information available at this point, but I have done the exact same thing in the past and we could make it working using cell references. There's enough documentation available if you want to know the ins&outs of this.
-
How to get correct opening blance data for the quarterly report in BOFC?
Hi all,
I have a problem with getting the opening balance for the quarterly report.
i would like to keep the beggining balance data for the end of previouse year. (eg: now is 2010, then keep the begginig balance at Dec.2009 for each quarterly reporrt through the year in 2009).
however, for example in the second quarter, if i choose the beggining balance of Dec.2009 in the Consolidation definition, there is a problem that consolidation FS does not include the manual journal entry that ive entered at the first quarter such as goodwill.
Do I need to make manual journal entry at all the quarterly reporting period if I want to set the beggining balance for the previouse year end?
Could somebody please tell me how to remediate to this issue?
Or how do you manage with the opening balance in BOFC?
Thanks & Regards,
HitomiHi Michael,
HRMS appliocation
database 10.2.0.4
windows XP
ebs 11.5.10.2
One of our user using disooverer 4i desktop and administration edition on old windows 2000 machine and connecting to schema.
We are decommision old windows 2000 machine.
I have installed disooverer 4i desktop and administration edition on new windows XP VM box and trying to connect to same schema which was used with old
desktop and asking me to create EUL. What is theat I should be doing to use new one same as old one?
Old box is still there.
Thanks. -
Opening and closing balance between 2 dates
hi.
i am facing a problem while fetching the opening and closing balance for a particular G/L account.
In my program i am entering G/L account for a date range i.e, between two dates and i want opening and closing balance for these 2 date ranges.
So, please tell me is there any function module to fetch opening and closing balance between two dates.
Regards,
ROHINI.K.Hi Rohini,
Check this FM : BAPI_GL_GETGLACCPERIODBALANCES.
If we use this functional module, we will get opening and closing balance of corresponding G/L Acc.
(e.g)
CALL FUNCTION 'BAPI_GL_GETGLACCPERIODBALANCES'
EXPORTING
companycode = '1000'
glacct = '0000548101'
fiscalyear = '2007'
currencytype = '10'
IMPORTING
BALANCE_CARRIED_FORWARD = gs_bal-balance
RETURN = v_return
TABLES
account_balances = gt_bal. -
Issue with opening stock balance in 2LIS_03_BX in BW
HI GURUS,
for some of the material we are not getting correct inventory stock available in BW report.
where we have customised KF for inventory stock-non cumulative (based on difference of stock receipt and issued).
The stock qty is not considering the opening stock balance and hence this is coming as -ve in BW report.
and but i checked the data in cube stock issued = stock received so ideally the stock should be zero .Also i have seen that i am not able to see stock intilized data in cube .
also i ran the report for posting date on which stock intilization was done in BW and stock for material is coming as zero
so hence all material where we have problem are those which has opening stock balance in BX data source.
we have also checked in R3 in t code MB51/52 and the stock available is zero but BW report shows -ve stock.
Note that this problem is not for all stocks and also marker update settings are correct.We have also checked settings in RSDV .they are maintained relative to time..
Please share your thoughts on this issue..
thanks
nileshHave you compressed requests other than BX load and BF init load? If not run the infocube with 0RECORDTP = 1. This will give you the inital stock setup by the BX load. By default, when you run the non-*** infocube you will get records with RECORDTP '0' only. Whenever compression is done, the reference points get changes and records get written with RECORDTP '1'. If subsequent BF delta loads are also compressed i guess it would be difficult to differentiate. We have an OSS note on the importance of RECORDTP. Please check in service market place.
One important point to note is that the BF init shoud have been done for the same selections as the BX load as the load (BF init) brings in movements for the stock already setup by BX. If there are differences in the selections for the 2 loads initially or setups were done on different days for these datasources, you could endup with issues. -
Opening & Closing balances of Vendor
Hi Experts,
I am doing a report where in i need to get the opening & closing balances for Vendor(s). I am using BSIK & BSAK tables. Are there any more tables involved and how do i carry out the calculations?
Please help.
Thanks
Danyhi Dn,
That would suffice for your requirement .
Regards,
Santosh -
Opening & closing balances for Vendor
Hi Experts,
I am doing a report where in i need to get the opening & closing balances for Vendor(s). I am using BSIK & BSAK tables. Are there any more tables involved and how do i carry out the calculations?
Please help.
Thanks
DanyHi,
There are various t. code to check line items for vendor like: S_ALR_87012103 but Any table is not helping to check opening/closeing balance for vendor.
Table BSIK and BSAK are having are records for open items and close items for vendor and system calculate the balance by using these tables.
Regards,
Vinod -
GL_DAILY_BALANCES table for daily opening/closing balance
Hi All,
I need to know something about the GL_Daily_Balances table. In eTRM, it says that the table gives the balances for a particular day. My requirement is to show the opening and closing balances on daily basis. But, I found that all the END_OF_DAY columns (END_OF_DAY1...END_OF_DAY35) are NULL.
Can anyone tell me why these columns are NULL ? Under what conditions, they are null ? How can I get the opening /closing balance then?
Thanks!
YoginiHi Yogini,
This table is populated when balance processing is enabled in the definition of each set of books, do you have it?
You can read about in the metalink note # 1072012.6
Bye -
How to get Open Balance for the year and Total Ending Balance?
For a given account, how to get Open Balance for the year (Cumulative Ending Balance) and Total Ending Balance (Cumulative Ending Balance)?
Is there any function module available? or should I read from some tables? Please advice.Hello Paul,
You could try calling one of the following BAPIs - see which one meets your requirement. They are documented well so shouldn't be a problem finding out the correct one for your requirements.
BAPI_GL_GETGLACCBALANCE
BAPI_GL_GETGLACCCURRENTBALANCE
BAPI_GL_ACC_GETBALANCE
BAPI_GL_ACC_GETCURRENTBALANCE
BAPI_GL_ACC_GETPERIODBALANCES
BAPI_COND_VAL_DECRE_BALANCES
You might have to put in some of your own logic after the BAPI call to get what you want.
Hope this helps,
Cheers,
Sougata.
p.s. Also look at FM FAGL_GET_ACCOUNT_BALANCE
Edited by: Sougata Chatterjee on May 7, 2008 11:47 AM
Maybe you are looking for
-
My Screen Broke, And Ive Got A Mini-DVI To Video Adapter (Help Please)
and all i see is my background and my mouse on my tv, no icons or anything. any one got any helps.
-
LV 8.0 PDA "unknown error"
Whenever i try to build this VI, I get an unknown error prompt. I have attached the VI's for reference. Attachments: Filedialog.vi 20 KB y2kserflnme.vi 29 KB
-
Hard drive for back up, new i7 MbookPro
Can anyone advise on a thunderbolt drive purchase?
-
Preloader not going to frame 2 after 100% loaded
Hello. I recently got help concerning a preloader error. Happy to say the error message got resolved here on the forum. However I now have new problem. After site is loaded a 100% it is stuck on the preloader image in frame one instead of going to fr
-
Different tables used in Consolidation Business Rules
I was going through the documentation of different tables that needs to be maintained for consolidation business rules. I am a little confused and need some clarifications. These are different tables that needs to be maintained for consolidation - cl