How to deal with BRS for the below scenario?
Hi,
I would like to know the solution for the below scenario for BRS:
I have a customer who was maintaining their accounts with Tally software for their previous Financial Year. This year they have shifted to SAP B1 2005B. They have issued few cheques for their vendors in the month of march 2008 which has been realised in the month of April 2008. As per Tally, the closing balance of their bank is 8 Lakh but as per the bank statement, their closing balance is 23 Lakhs. In SAP, the opening Balance for the bank is considered as 23 Lakhs. Now there are 15 Lakh worth cheques which were not realised for the month of March 2008.
Example:
abc a/c - 3Lakh
def a/c - 5lakh
xyz a/c - 7 lakh
How do i reconcile for this scenario and what procedures do i follow in SAP?
Thanks and Regards,
Kaushal
Hi Kamlesh,
Thanks for your response.
Actually, In the "Process External Bank Statement" window, i see that there are few entries which is for the previous year and which has not been reconciled. I have never worked practically on BRS and hence, i am scared to make any changes in the clients database without being confident on what i am doing. I need to reconcile for one of their Bank a/c for the month of April '08. I have the copy of the statements for the month ending 31st Mar 08 and 30th Apr 08. The closing balances are as below:
31/03/08 - 2300000.00
30/04/08 - 3100000.00
Now my OB for Bank a/c for April '08 in SAP is 2300000.00 Dr.
When i go to External Bank Reconciliation - Selection Criteria Screen (Manual Reconciliation), here are the detail that i enter:
Last Balance: INR -7,000,000.00000 (Grayed out by the system)
Ending Balance: INR -3,100,000.00000 (Entered by me)
End Date: 30/04/08 (Entered by me)
"Reconciliation Bank Statement" Screen opens up and shows the below balances in the screen:
Cleared Book Balance: INR -7,000,000.00000
Statement Ending Balance: INR -3,100,000.00000
Difference: INR 3,800,000.00000
As per the Bank statement, i have found all the transactions listed out here for the month of Apr '08 but, i also found that the open transactions for the previous month from April '08 have been lying in "Process External Bank Statement" window.
Could you please help me solve my issue as to what needs to be done or could you also get me some links from where i can get few documents for processing External Bank Reconciliations?
That will be of a great help for me. I need steps as to what needs to be done first and then the next so that i can arrive at the correct closing balance for the month April '08.
Thanks in Advance....
Regards,
Kaushal
Similar Messages
-
How to deal with file(for example .xml)? what format of dir should be?
I'd like to operate the file in disk, and want to use relative directory?
How to deal with file dir? what format of dir should be?Hi Kamlesh,
Thanks for your response.
Actually, In the "Process External Bank Statement" window, i see that there are few entries which is for the previous year and which has not been reconciled. I have never worked practically on BRS and hence, i am scared to make any changes in the clients database without being confident on what i am doing. I need to reconcile for one of their Bank a/c for the month of April '08. I have the copy of the statements for the month ending 31st Mar 08 and 30th Apr 08. The closing balances are as below:
31/03/08 - 2300000.00
30/04/08 - 3100000.00
Now my OB for Bank a/c for April '08 in SAP is 2300000.00 Dr.
When i go to External Bank Reconciliation - Selection Criteria Screen (Manual Reconciliation), here are the detail that i enter:
Last Balance: INR -7,000,000.00000 (Grayed out by the system)
Ending Balance: INR -3,100,000.00000 (Entered by me)
End Date: 30/04/08 (Entered by me)
"Reconciliation Bank Statement" Screen opens up and shows the below balances in the screen:
Cleared Book Balance: INR -7,000,000.00000
Statement Ending Balance: INR -3,100,000.00000
Difference: INR 3,800,000.00000
As per the Bank statement, i have found all the transactions listed out here for the month of Apr '08 but, i also found that the open transactions for the previous month from April '08 have been lying in "Process External Bank Statement" window.
Could you please help me solve my issue as to what needs to be done or could you also get me some links from where i can get few documents for processing External Bank Reconciliations?
That will be of a great help for me. I need steps as to what needs to be done first and then the next so that i can arrive at the correct closing balance for the month April '08.
Thanks in Advance....
Regards,
Kaushal -
How to deal with credentials for external applications using a Java Client/
Hi Guys,
This is the case. I am integrating an external application with an ADF Application. I have implemented some programmatic ViewObjects that are being filled up by a REST Java Client Wrapper. Everything is working fine but the issue is that the credentials the wrapper is using are hard coded inside the java class. I am thinking to ask for the credentials at the beginning of my taskflow and then store them somewhere and use them then to create my client wrapper (passing them in the constructor).
However, I don't know if my approach is good and I would like you to share your experiences or how to deal with this.
RegardsYou can use Credential Store Framework to store the credentials securely in the weblogic server instead of hardcoding in the java class.
The Credential Store Framework:
- enables you to manage credentials securely
- provides an API for storage, retrieval, and maintenance of credentials in different back-end repositories
Check the documentation on CSF API -
http://docs.oracle.com/cd/E29505_01/core.1111/e10043/devcsf.htm
Major Steps -
1. Create a credential map and key in em console to store the password (http://docs.oracle.com/cd/E25054_01/core.1111/e10043/csfadmin.htm)
2. Use CSF API to retrieve the stored password
3. In jazn-data.xml give permissions to access CSF key and map -
How to deal with '$' sign in the class name?
I want to put my Java Applet game on my homepage. But the server which I set up my homepage doesn't support the file name like XXX$XXX.class, which has '$' sign in the file name. Would anyone can tell me how to deal with this problem? And how can I make the game work on my homepage? Thanks.
Don't forget, this include both concrete inner classes as well as any anonymous inner classes you create, like
myButton.addActionListener(new ActionListener()
// Yada Yada Yada -
How to implement BADI's for the below issue
Hi All,
The URL is being populated correctly (without any spaces) to the follow on document (PR/PO) created in R/3 after implementing code corrections in BBP (replacing space by = as shown below).
When sending the PO to supplier portal, the outbound IDOC segment does not get populated properly. The text format = is again converted to space in ECC 6.0 which was not the case with 4.5B.
This is an upgrade issue as the function module used to format text FORMAT_TEXTLINES is completely different in ECC 6.0. The entire code of this function module in 4.5B has been commented in ECC 6.0 and new code has been implemented which splits the text and inserts spaces while formatting as shown below.
This issue can be resolved by implementing a customer exit or a BADI which gets called after standard SAP populates the IDOC. It requires implementing custom code to remove the unwanted spaces inserted by standard SAP for text id F07. Hence after SAP completes its processing to populate the IDOC, the text would be processed further to remove unwanted spaces before actually sending the IDOC out from SAP R/3.
Thus this upgrade issue resolution requires R/3 development
1. BADI Definition: ME_MMPUR_EINM, Method: PROCESS_TEXT
This option is preferable.
2. User exit: EXIT_SAPLEINM_002
I need your help on how to write this code in the form of BADI's.where we write and how to implement. ASAP
thanks,
SridharHi All,
The URL is being populated correctly (without any spaces) to the follow on document (PR/PO) created in R/3 after implementing code corrections in BBP (replacing space by = as shown below).
When sending the PO to supplier portal, the outbound IDOC segment does not get populated properly. The text format = is again converted to space in ECC 6.0 which was not the case with 4.5B.
This is an upgrade issue as the function module used to format text FORMAT_TEXTLINES is completely different in ECC 6.0. The entire code of this function module in 4.5B has been commented in ECC 6.0 and new code has been implemented which splits the text and inserts spaces while formatting as shown below.
This issue can be resolved by implementing a customer exit or a BADI which gets called after standard SAP populates the IDOC. It requires implementing custom code to remove the unwanted spaces inserted by standard SAP for text id F07. Hence after SAP completes its processing to populate the IDOC, the text would be processed further to remove unwanted spaces before actually sending the IDOC out from SAP R/3.
Thus this upgrade issue resolution requires R/3 development
1. BADI Definition: ME_MMPUR_EINM, Method: PROCESS_TEXT
This option is preferable.
2. User exit: EXIT_SAPLEINM_002
I need your help on how to write this code in the form of BADI's.where we write and how to implement. ASAP
thanks,
Sridhar -
How to deal with "criminals" in the appstore?
I have discovered a developer, Brian Hall, the creator of games such as Elven Knight, Pegasus Flight, Temple Run and many more games, that i beIieve can be marked as a criminal. His games are totally worthless, they are all exactly the same except for the graphics, and the screenshots and the descriptive text are absolutely misleading. It is obvious that this Brian Hall is trying to cheat appstore users in buying one or more (depending your taste for e.g fantasy, zombies, cute ponies etc) of his apps. Game play is absolutely worthless and in no way even remotely matches with what the description leads you to believe. Brian Hall obviously just wants to make quick money by cheating the appstore public with his worthless apps.
I have bought one of his games and posted a review stating much the same as above, but i even suspect that negative reviews are somehow removed again, since I can no longer see it.
In my opinion, people like Brian Hall and his apps should at least be BANNED from publishing in the appstore, if not actually persecuted for his close to criminal behaviour. Please advise to who or where i can address this issue properly, if anyone reading this knows how to....
Thanks,
T KusterI don't know if this will help, but if the app was from the Mac App Store you could try the 'Contact Support' link:
http://www.apple.com/uk/support/mac/app-store/contact/
If it's from the iTunes App Store:
http://www.apple.com/uk/support/itunes/
(These are the UK links, which may not be the stores you need - I think you can just change the 'uk' in the link to the recognised international abbreviation for the store you want to contact). -
How to write a query for the given scenario ?
Hi All ,
I am having two tables EMP, DEPT with the below data.
EMP TABLE :--
EID ENAME JOB SAL DEPID
111 RAM MANAGER 1500 10
222 SAM ASST MANAGER 2000 20
333 KALA CLERK 2500 10
444 BIMA MANAGER 3000 20
555 CHALA MANAGER 3500 30
666 RANI ASST MANAGER 4000 10
777 KAMAL MANAGER 2400 10
DEPT TABLE :--
DEPID DNAME
10 XX
20 YY
30 ZZ
Q1 : I want the sum of salary of each department and for the particular job . Here in each departmant manager, asst. manager, clerk posts are there .
I want to display the result like below ....
JOB 10 20 30
MANAGER 3900 3000 3500
ASST MANAGER 4000 2000 NULL
CLERK 2500 NULL NULL
please tell me how to write a sql query ?
Thanks
SaiIn general case, you cannot write this query.
This is one of the limits of relational database concepts. The number of columns must be known up-front. In the SELECT clause, you have to list and name all columns returned by the query. So you have to know number of departments. (There are some workarounds - you can return one column with concatenated values for all departments, separated by space character).
If you know that you have 3 departments then you qurey will return 4 columns:
SELECT
e.job,
SUM ( CASE WHEN d.deptid = 10 THEN e.sal ELSE NULL END) d10,
SUM ( CASE WHEN d.deptid = 20 THEN e.sal ELSE NULL END) d20,
SUM ( CASE WHEN d.deptid = 30 THEN e.sal ELSE NULL END) d30
FROM dept d, emp e
WHERE d.deptno = e.deptno
GROUP BY e.job -
How to deal with dust on the rear camera
So for some time now I have noticed some fuzzy dark areas on my rear facing camera, to the point where I can see dust on the lens but I can not seem to make it move. I have tried using compressed air to get it off but I think it is behind the lens?!? I don't know how that is even possible. However I don't know where to turn to get this fixed. I do not have apple care because a rep fed me the line that I was unavailable because I was over 20 min of talk time when I wanted to get it less than 2 weeks after getting the phone. Does anyone know what I could do? Thanks.
-Alex
iPhone 5
iOS 7.1.2there is a huge long thread of messages about the camera dust issue:
Is there dust inside camera lens of iPhone 5?
personally myself would tell you if the iphone is out of warranty (you said you don't have applecare) and if the apple store won't fix it for you, then go to a repair shop that fixes iphones. look them up on yelp and read the reviews on the shops to find one you are comfortable with. yelp has been the best site that helped me in finding the best iphone repair shop in my area - look for lots of favorable reviews at the shops you may see listed near you to give you a clue as to which shops to narrow down your selection. another alternative is to do it yourself by opening up the iphone, simply lifting the camera sensor without disconnecting it, and directly blowing out the lens (which is actually part of the case) with that compressed air. can personally say this is relatively easy to do, but if you don't have the courage or incentive to do it, then don't do it yourself. if it turns out that the dust is actually in the camera sensor, then that part has to be replaced. get a repair shop to do that because that involves taking more of the iphone apart. the repair shop that has worked on three of my iphones would do a camera fix for $35. you'll have to call around in your search to find a shop and ask for quotes to do this stuff for you. the other alternative is you'll have the apple store probably suggesting that you buy a replacement iphone 5 if they still have them. -
How to deal with int64 in the OCCI country
Gyus, I'm trying to convert int64 to Number in order to to use it within OCCI (Windows, VS2005).
But the hard point is that I'm using InstantClient 10.2 while Oracle client 9.2 is installed on my machine as well. In order to be able to set everything up I had to unset the NLS registry key. Because if I have the HKLM\SOFTWARE\ORACLE\NLS_LANG key untouched I get an exception at env->createConnection.
But my current guess is that without this key I couldn't use Number.fromText(), right?
Actually, what I'm trying to do is (C++/CLI code):
Number num;
num.fromText(env, "277301159723", "999999999999");
vectorArray.push_back(num);
setVector(stmt, index, vectorArray, schemaName, typeName);
the bold part throws this exception:
OCI-21500: internal error code, arguments: [kadcbeg02], [], [], [], [], [], [], []
Could anybody tell me why should I give twelve 9th as nls??
Why "numberIsNull" is true after my "fromText" call??
Does this code works on your machines? If yes I would blame the registry key.. But then I do not see if it is possible to use complicated logic with OCCI InstantClient and VS2005 having Oracle Client installed on the same machine (for sure, if oracle client is not 10.x)OK, it seems that the problem has nothing to do with NLS registry key, and the correct way to run this fromText stuff is to initialize Number beforehand:
Number num =0; //yeah, just =0 helps
num.fromText(env, "277301159723", "999999999999");
std::string text = num.toText(env, "999999999999");
works pretty well.
But let me put some nitpicking here: while initializing doesn't seem to be a very sophisticated operation, I haven't found any oracle doc that states this explicitly. Moreover, all the docs state that I don't need (!!!!) to initialize the Number before I use it. How could this be possible??! Even this excellent oracle ppt lies: http://www.oracle.com/technology/tech/oci/occi/downloads/OCCI.ppt.
Though, maybe the problem is only with C++/CLI at VS2005? Could anybody could run the code above without explicit "=0" and without getting an exception?
And again, I'm still encountering the same error while calling setVector :
OCI-21500: internal error code, arguments: [kadcbeg02], [], [], [], [], [], [], []
Any suggestions are appreciated. -
How to frame a SQL for the below Query
i have a SQL query
select x,y from table1 where x=1
output
x y
1 a
1 b
where a means alpha and b means beta
select x,z from table2 where x=1
Output
x z
1 B
How do i build a query to achieve a following output
x z y1 y2
1 b alpha beta
Please noete : Instead of 'a' and 'b' i want it to be replaced by words and
i want two rows value to appear in one column together....Maybe this is what you want ... I'm under the impression of trying to catch a moving target here.
WITH tb_clr_doc_version_defs AS (SELECT 'A' datatype_cd,
13 doctype_id
FROM dual
UNION
SELECT 'A' datatype_cd,
14 doctype_id
FROM dual
tb_clr_doc_field_defs AS (SELECT 'AccountNb_ID' fieldname_nm,
13 doctype_id
FROM dual
UNION
SELECT 'TaxIDNb_NO' fieldname_nm,
13 doctype_id
FROM dual
SELECT datatype,
MAX(DECODE(fieldname_nm, 'AccountNb_ID', fieldname_nm, NULL)) fieldname_nm1,
MAX(DECODE(fieldname_nm, 'TaxIDNb_NO' , fieldname_nm, NULL)) fieldname_nm2
FROM (SELECT t1.doctype_id,
DECODE(t1.datatype_cd, 'A', 'afp', 'L', 'line', 'M', 'mixed', t1.datatype_cd) datatype,
t2.fieldname_nm
FROM tb_clr_doc_version_defs t1,
tb_clr_doc_field_defs t2
WHERE t1.doctype_id = t2.doctype_id(+)
GROUP BY doctype_id, datatype
; -
Loading external swf, how to deal with errors within the loaded swf?
I have a Flex app that basically lets you browse a bunch of thumbnails that represent swf files, when you click a thumbnail it opens a window that loads the actual swf into an image control. The problem I have is that these swfs can be uploaded by our clients, so they may have actionscript errors being thrown, etc. We can't really predict what they may do. Is there a way I can load these swf in such a way as to ignore any errors that the loaded swf may generate within itself.
For example, one such swf reads some text from a text file to display, but when they are viewing it in this manner the file isn't there so a stream error is generated. My parent Flex app doesn't care about this error and I don't want to see it thrown up in an actionscript error box (I have debug verison loaded on my PC obviously) or interfere with the parent app in any way.
Would application domains help at all? Would it make a difference if I loaded the swf into a separate domain? Or is there some way I can generically trap any error coming from the loaded swf and just ignore them?
Any help appreciated.
Thanks,
MarcusThere is no way to catch errors thrown at random times. Remember that most folks have the release player which does not show error dialogs.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
How to implement left join for the below sql.
i need to perform left join between inventory table and purchase table and inventory table with sales table.
please let me know the syntax.
SELECT Tbl_ProductGroupMaster.ProdName, Tbl_ProductGroupMaster.UnitNam, Tbl_Inventory.CrDate, Tbl_Inventory.QtyOpStk, Tbl_Inventory.QtyClStk, Tbl_Inventory.ExcShortage, purchase.SumOfNUnit, sales.SumOfQty
FROM Tbl_ProductGroupMaster, Tbl_Inventory left join
[SELECT Tbl_PurchaseMain.idate as p_idate, Tbl_PurchaseSub.Proid as proid,
sum(Tbl_PurchaseSub.NUnit) AS SumOfNUnit
FROM Tbl_PurchaseMain, Tbl_PurchaseSub WHERE Tbl_PurchaseMain.GID=Tbl_PurchaseSub.gid
and format(cdate(Tbl_PurchaseMain.idate),'mm-dd-yyyy') between format(cdate('13-Sep-2009'),'mm-dd-yyyy') and
format(cdate('02-Oct-2009'),'mm-dd-yyyy') GROUP BY
Tbl_PurchaseMain.idate, Tbl_PurchaseSub.Proid]. AS purchase on (Tbl_Inventory.CrDate = purchase.p_idate)
left join
[SELECT Tbl_SalesMain.idate AS s_idate, Tbl_SalesSub.Proid, sum(Tbl_SalesSub.Qty) AS SumOfQty
FROM Tbl_SalesMain, Tbl_SalesSub
WHERE Tbl_SalesMain.SAID=Tbl_SalesSub.SAID And
format(cdate(Tbl_SalesMain.idate),'mm-dd-yyyy') Between format(cdate('13-Sep-2009'),'mm-dd-yyyy') And
format(cdate('02-Oct-2009'),'mm-dd-yyyy')
GROUP BY Tbl_SalesMain.idate, Tbl_SalesSub.Proid]. AS sales on (Tbl_Inventory.CrDate = sales.s_idate)
WHERE
Tbl_ProductGroupMaster.PROID=Tbl_Inventory.proid AND
Tbl_Inventory.PROID=purchase.proid and
Tbl_Inventory.PROID=sales.proid and
Tbl_Inventory.CrDate = '13-Sep-2009';
thanks,
VinodhCompletely unstested as you haven't given much information but do you mean something like this?
WITH purchase
AS ( SELECT Tbl_PurchaseMain.idate AS p_idate,
Tbl_PurchaseSub.Proid AS proid,
SUM (Tbl_PurchaseSub.NUnit) AS SumOfNUnit
FROM Tbl_PurchaseMain, Tbl_PurchaseSub
WHERE Tbl_PurchaseMain.GID = Tbl_PurchaseSub.gid
AND format (cdate (Tbl_PurchaseMain.idate), 'mm-dd-yyyy') BETWEEN format (
cdate('13-Sep-2009'),
'mm-dd-yyyy'
AND format (
cdate('02-Oct-2009'),
'mm-dd-yyyy'
GROUP BY Tbl_PurchaseMain.idate, Tbl_PurchaseSub.Proid),
sales
AS ( SELECT Tbl_SalesMain.idate AS s_idate,
Tbl_SalesSub.Proid,
SUM (Tbl_SalesSub.Qty) AS SumOfQty
FROM Tbl_SalesMain, Tbl_SalesSub
WHERE Tbl_SalesMain.SAID = Tbl_SalesSub.SAID
AND format (cdate (Tbl_SalesMain.idate), 'mm-dd-yyyy') BETWEEN format (
cdate('13-Sep-2009'),
'mm-dd-yyyy'
AND format (
cdate('02-Oct-2009'),
'mm-dd-yyyy'
GROUP BY Tbl_SalesMain.idate, Tbl_SalesSub.Proid)
SELECT Tbl_ProductGroupMaster.ProdName,
Tbl_ProductGroupMaster.UnitNam,
Tbl_Inventory.CrDate,
Tbl_Inventory.QtyOpStk,
Tbl_Inventory.QtyClStk,
Tbl_Inventory.ExcShortage,
purchase.SumOfNUnit,
sales.SumOfQty
FROM Tbl_ProductGroupMaster,
Tbl_Inventory LEFT OUTER JOIN purchase
ON Tbl_Inventory.CrDate = purchase.p_idate
LEFT OUTER JOIN sales
ON Tbl_Inventory.CrDate = sales.s_idate
WHERE Tbl_ProductGroupMaster.PROID = Tbl_Inventory.proid
AND Tbl_Inventory.PROID = purchase.proid
AND Tbl_Inventory.PROID = sales.proid
AND Tbl_Inventory.CrDate = '13-Sep-2009';Cheers
Ben
http://www.munkyben.wordpress.com -
How to deal with pipe in the Java system call?
Hi, all,
I tried to use a system call in java. The command contains a "|" pipe. It works both in perl and C if I do {color:#3366ff}system("ls -l | wc"){color}, but when I do it in Java, I didn't get anything returned. Here is the code
{color:#3366ff}import java.io.*;
class SystemCall{
public static void main(String[] args) throws IOException {
StringBuffer sb = new StringBuffer();
Process p = Runtime.getRuntime().exec("ls -l | wc");
BufferedReader br=new BufferedReader(new InputStreamReader(p.getInputStream()));
String line;
while((line=br.readLine())!=null) {
System.out.println(line);
}{color}
If I use Runtime.getRuntime().exec("ls -l"), the code returns correctly. Does anyone know the solution?
ThanksWhen you exec a process, it doesn't go through the shell. The I/O redirection symbols are interpreted and used by the shell.
You have a few options.
One is to not use Runtime.exec at all. You really don't need it for what you're doing -- the stuff in java.io is fine for that.
Another is to exec multiple processes and do the redirection in Java yourself. I wouldn't recommend that, but it's an option.
Another is to exec a shell, and pass your program to it as a shell script or as a one-line script passed on the command line.
I'd suggest the first one in this case.
By the way, what you're doing isn't really a "system call". You're forking and exec'ing a process (or really, multiple processes). -
I am getting entity ref not referenced..end with ';' delimeter for the below code
<mx:Image click="{navigateToURL(new URLRequest(' http://www.facebook.com/group.php?gid=149134532537&ref=ts'))}">
You need to use XML entities for some characters in MXML. In your case, you can't use '&' directly: use '&' instead.
-
Link between EKBE and EKET for the below scenario
Hi all
We have a requirement to display schedule line number(eket-etenr) for purchase order and for each history of quantities in table EKBE (ekbe-ebeln ,ekbe-ebelp). Please suggest how we can link these two tables,
As i need to display the eket-etenr upto the quantity confirmed on latest date..
The example is below for quantity 81.
If Purshase history is
EKET-menge EKET- etenr
81 --- 0001
5 -
0002
10 --- 0003
date move-typ EKBE-menge ***-sum ETENR
01/26/2004 101 10 10 0001
01/26/2004 101 10 20 0001
01/27/2004 101 20 40 0001
01/27/2004 101 20 60 0001
01/30/2005 101 10 70 0001
03/31/2005 101 1 71 0001
03/31/2005 101 10 81 0001
04/01/2005 101 9 90 0001
11/20/2006 102 -9 81 0001
06/04/2006 101 3 84 0002
06/05/2006 101 1 85 0002
06/06/2006 102 -1 -1 84 0002
06/07/2006 101 3 87 0003
06/08/2006 101 9 96 0003
We need to display EKET-ETENr for each ekbe entry whenever the quantity is delivered til that line.
Pleae suggest possible ways.
Regards,
Latha.Hi,
Pls chk this relations-
EKBE-> EKKO->based on EBELN
EKKO -> EKPO based on EBELN
EKPO->EKET based on EBELN, EBELP
First try to get the Purchase order numbers into EKKO from EKBE based on this get their itmes from EKPO from this we can get the EKET values based on both documnet number and theier items.
To get the history of the PO(EBELN) check this select statement -
SELECT
ebeln "Purchasing Document Number
ebelp "Item Number of Purchasing Document
gjahr "Financial year
vgabe "Transaction/event type, purchase order
belnr "Number of material document
bwart "Movement type
budat "Posting date in the document
menge "Quantity
wrbtr "Amount in document currency
waers "Currency Key
matnr "Material number
werks "plant
charg "Batch
FROM ekbe
INTO TABLE i_ekbe
WHERE gjahr IN s_gjahr AND
budat IN s_budat AND
werks = p_plant.
SORT i_ekbe BY ebeln gjahr matnr vgabe bwart.
if i_ekbe[] is not initial.
SELECT
ebeln "PO
lifnr "VENDOR
FROM ekko
INTO TABLE i_ekko
FOR ALL ENTRIES IN i_ekbe
WHERE ebeln = i_ekbe-ebeln.
endif.
SORT i_ekko BY ebeln.
if i_ekko[] is not intitial.
SELECT
ebeln "Purchasing Document Number
ebelp "Purchasing Document ITEM
matnr "Materail No.
menge "qty
meins "unit
umrez "Conversion factor "MOD-005
umren "conversion factor "MOD-005
FROM ekpo
INTO TABLE i_ekpo
FOR ALL ENTRIES IN i_ekko
WHERE ebeln = i_ekko-ebeln.
endif.
if i_ekpo[] is not initial.
SELECT *
FROM eket
INTO TABLE i_eket
FOR ALL ENTRIES IN i_ekpo
WHERE ebeln = i_ekpo-ebeln
AND ebelp = i_ekpo-ebelp.
endif.
Hope this solves your issue. Chanegethe WHERE conditions wherever necessarry as per your requiremnets.
Regards
Lekha
Maybe you are looking for
-
Why I dont see Pinned Items in Team home page ?
Hello, I am team administrator, however I dont see pinned items on team home page. Also, I don't get "Pin to homepage" option on right click of query as well as on chart !!! Why so ? Would you please tell me the reason and how can I resolve it ? Than
-
Diagnostics not working in web role for Azure SDK 2.5.1
I am working with Azure SDK 2.5.1, mainly on the new designed diagnostics stuffs. However, I found I cannot get it run for my web role. So, I created a cloud service project, added a web role. Then, I appended one Trace message at the end of Applicat
-
I'm trying to figure out the best way to manage my iphone and that of my wife. Our set up is that we share music that is on my imac under my apple store id. We also like to have all of our photos in iphoto on that imac. She has her own macbook and
-
I have just opened what i think is a fake email. It said please see attached copy of the original invoice. It then Had a single zip file beneath the text. I thought it looked a bit odd but I was worried that someone had billed me accidentally for som
-
Unable to resolve stale data error in parent-child page structure.
Hi Experts! I've got a master-detail page which consists of two VOs(EO based), Lets say 1. MasterTableVO 2. DetailTableVO This page contains two page buttons "Cancel" and "Apply" till here it works all fine & perfect[by that i mean creating, retrievi