Extractor for Purchasing Conditions for tables EKKO, EKPO and KONV
Hi Experts,
I want to know if there is an Extractor for Purchasing Conditions with fields in tables of Origin: EKKO, EKPO and KONV.
Or, at least an extractor with the table KONV.
Or, how I can look for it.
Any feedback, will be really apreciated.
Thanks in advance
Hi David,
Adding to what said above.
Observe the Fileds in the Datasources and the details.
http://help.sap.com/saphelp_nw2004s/helpdata/en/5c/8ea0e626e442efb109232830faded9/frameset.htm
Regards,
Ram.
Similar Messages
-
How to write SELECT statement using tables ekko,ekpo and eket?
Hi,
I got a problem in performance tuning using below tables?
how to write SELECT statement using tables EKKO,EKPO and EKET and in conditon ( WHERE clause) use only fields
ekko~ebeln IN ebeln
ekko~loekz EQ ' '
ekko~lifnr IN lifnr
ekko~ekorg IN ekorg
ekko~ekgrp IN ekgrp
ekpo~werks IN werks
ekpo~pstyp EQ '3'
ekpo~loekz EQ space
ekpo~elikz EQ space
ekpo~menge NE 0
eket~rsnum NE space.
Thanks in Advance.
bye.Hi,
ekko~ebeln IN ebeln
ekko~loekz EQ ' '
ekko~lifnr IN lifnr
ekko~ekorg IN ekorg
ekko~ekgrp IN ekgrp
ekpo~werks IN werks
ekpo~pstyp EQ '3'
ekpo~loekz EQ space
ekpo~elikz EQ space
ekpo~menge NE 0 " Remove this from where clause
eket~rsnum NE space. " Remove this from where clause
' instead delete the entries after fetching into the table
DELETE it_itab WHERE menge EQ '0' AND rsnum EQ ' '.
Regards
Bala Krishna -
Hi,
I want to link tables EKKO, EKPO and KONP. Actually i checked this tables but i could not find link between EKKO and KNOP. Please help me in this regards. Actually we are maintaining the tax codes in the PO. I want to print different taxes in PO out put like BED, EDUCATION CESS, CST, VAT.
NKHello,
You can link the tables by
EKKO- KNUMV = KONP-KNUMH.
And
EKKO-EBELN = EKPO-EBELN.
Hope it helps.
Regards,
Mansi. -
Link of table EKKO,EKPO,EKET,KONV
Hi Experts,
Now , i am writing a program to print purhchase order, and i met 2 problems.
1.why it is different price between 'net price' and 'condition price'? sometimes, they are different.
2.the net price always is wrong. so i need to get the price in condition tab in item detail.
i sent a OSS to SAP, they told me the talbe KONV is a cluster table, so it can not be join in .
but i need get the exact and correct price from KONV,
would somebody please give me the link of table EKKO,EKPO,EKET and KONV?
our system is AFS SAP. we use me23n to display the purchase order.and there is a request we must group the item by MATNR with the same price and ex factory date (j_3aexfcp).
thanksthanks first,
yes , i fetch the data from EKKO,EKPO,EKET first, and alreayd group by them as our user request,but the problem is i can not get the item number (kposn) exactly, the following are the code. i do not add the item number in it, it will make the wrong result .
after group them, some different items were grouped,so i do not know how to fetch the item number exactly.
SELECT DISTINCT EKKOEBELN EKKOBEDAT EKKOLIFNR EKKOZTERM EKKOWAERS EKKOVERKF EKKOTELF1 EKKOINCO1 EKKOINCO2 EKPOMATNR EKPOTXZ01 EKPOJ_3APGNR
EKPOJ_3AVDAT EKPOj_3aexfcp EKPOBPRME EKPOPEINH EKETEINDT Sum( EKETMENGE ) AS SumOfMENGE EKETMEINS EKETJ_3ASIZE EKPOLOEKZ ekkoknumv
Avg( EKETJ_3ANETP ) AS AvgOfJ_3ANETP Avg( ekponetpr ) as Avgofnetpr Sum( EKETJ_3ANETW ) AS SumOfJ_3ANETW J_3APGENJ_3AKORD1 J_3APGENJ_3AKORD2 J_3APGENJ_3AKORD3 J_3APGEN~J_3AKORDX
INTO (EKKO_EBELN,EKKO_BEDAT,EKKO_LIFNR,EKKO_ZTERM,EKKO_WAERS,EKKO_VERKF,EKKO_TELF1,EKKO_INCO1,EKKO_INCO2,EKPO_MATNR,EKPO_TXZ01,EKPO_J_3APGNR,
EKPO_J_3AVDAT, EKPO_j_3aexfcp, EKPO_BPRME,EKPO_PEINH,EKET_EINDT,SUMOFMENGE,EKET_MEINS,EKET_J_3ASIZE,EKPO_LOEKZ,ekko_knumv,
AVGOFJ_3ANETP,AVGOFNETPR,SUMOFJ_3ANETW,J_3APGEN_J_3AKORD1,J_3APGEN_J_3AKORD2,J_3APGEN_J_3AKORD3,J_3APGEN_J_3AKORDX)
FROM
( ( EKKO INNER JOIN EKPO ON ( EKKOEBELN = EKPOEBELN ) AND ( EKKOMANDT = EKPOMANDT ) ) INNER JOIN EKET ON ( EKPOEBELP = EKETEBELP ) AND ( EKPOEBELN = EKETEBELN ) AND ( EKPOMANDT = EKETMANDT ) ) INNER JOIN J_3APGEN ON ( EKET~J_3ASIZE =
J_3APGENJ_3AKORDX ) AND ( EKPOMANDT = J_3APGENMANDT ) AND ( EKPOJ_3AVDAT = J_3APGENJ_3AVDAT ) AND ( EKPOJ_3APGNR = J_3APGEN~J_3APGNR )
GROUP BY
EKKOEBELN EKKOBEDAT EKKOLIFNR EKKOZTERM EKKOWAERS EKKOVERKF EKKOTELF1 EKKOINCO1 EKKOINCO2 EKPOMATNR EKPOTXZ01 EKPOJ_3APGNR EKPOJ_3AVDAT EKPOj_3aexfcp EKPOBPRME EKPOPEINH EKETEINDT EKETMEINS EKETJ_3ASIZE EKKOMANDT
J_3APGENJ_3AKORD1 J_3APGENJ_3AKORD2 J_3APGENJ_3AKORD3 J_3APGENJ_3AKORDX EKPOLOEKZ ekkoknumv
HAVING
EKKOEBELN = ZEBELN AND EKPOMATNR = IT_EKPO1-MATNR AND EKPOj_3aexfcp = it_ekpo1-j_3aexfcp AND EKPOLOEKZ <> 'L'
ORDER BY EKET~J_3ASIZE.
after fetch the date , i select the KBETR from KONV, the item number is the last important problem.
select single kbetr into kbetr from konv where knumv = ekko_knumv and krech = 'C' and kposn = ?(i can not fetch exact item number) and ZAEHK = eket-etenr .
any further reply? thanks very much for your reply. -
Datasource for the table EKKO,EKPO, EKBE, BKPF, BSEG
Hello Gurus,
I am having a requirement wher i need to create report for the fields coming from the above tables.
pls let me know if der is any such data source from which i can get data for all the tables EKKO,EKPO,EKBE,BKPF,BSEG.
If der is no single data source then how i have to approach for the same using the standard datasource.
and what should be the link info objects between them if iam going with the separate one.
RegardsThanks for ur responses,
Is the Belnr in the EKBE table is same as the BELNR in BKPF table of Data source (0FI_GL_4) ???
When i cross verifed i found multible record in BKPF w.r.t EKBE belnr.
Whats the reason for this ? If i created a infoset by mapping the BELNR AND GJAHR of EKBE and BKPF. Do i get the correct record or i have to handle it by some exception.
Also pls let me know how the MM and FI flow related , I means once the MIRO ie billing document is created what happen in the FI side ??
pls update with ur suggestions.
regards -
Hello Experts,
I am looking for a BC-extractor for table COBRB containingt hese fields:
OBJNR, BUREG, LFDNR, PERBZ, URZUO, GABJA, GABPE, GBISJ, GBISP, PROZS, AVORG, KONTY, KOKRS, BUKRS, HKONT, NLN1, ANLN2, MATNR, REC_OBJNR1.
Any idea?
We need the relation between COORDER and the valid HKONT for a certain moment.
As it is possible to have more than 1 HKONT (with different percentages and in time) I guess it is a different extractor than 0COORDER_ATTR and it can not just added to this ectractor.
Thanks in advance,
UdoHi,
Enter your table name in SE11 in ECC.
Click Where-Used-List
Select Structures, Programs etc., then it will show the entire info.
Regards,
Suman -
Hi ,
I wanted to know the extractor for table BKPF . Where can i know or which is the extratcor
Regards
Ankit VaishHi,
I hope, The datasource 0FI_GL_4 would be useful to you.
http://help.sap.com/saphelp_nw2004s/helpdata/en/8b/02f93abb013b0de10000000a114084/frameset.htm
With rgds,
Anil Kumar Sharma .P -
Can someone help me in finding the sap std extractor for the table EQKT (Equipment short texts table). I need to extract the info from the field EQKTU.
-TagzKrishna,
To the best of my knowledge there is no standard delivered extractor for table EQBS. Try and understand the functionality of the data stored in the table and its relationships to what is specified in requirement. Is the field required in the master data of equipment or some other transaction data? Depending on the scenario you may have to enhance the master data / transaction data extractor or may be if situation warrants you may have to create a generic extractor.
General procedure employed in finding extractors is to know what type of data is requested, which functional area then check the standard extractors in that specific application component to see if any of the extractors delivered provide the data required. Check help documentation of the extractors. -
Finding Sum of grouped lines / Tables EKKO, EKPO
Hi, am using the following tables:
TABLES: ekko,ekpo.
with Inner Join
select ekkobukrs ekkoebeln ekkoaedat ekkobsart ekkoekgrp ekkolifnr ekkowaers ekkowkurs ekkoernam ekpobrtwr
into CORRESPONDING FIELDS OF TABLE itab from ekko
inner join EKPO on ekPOEBELN = ekkoebeln.
end-OF-SELECTION.
Basically i want to group the result of this SQL statement by Purchasing Doc (ekko~ebeln) and display the
sum of Gross value (ekpo~brtwr) for the line items of each Purchasing Doc.
Note: i want the Purchasing Doc to appear one time only in the report
i have tried the following :
select ekkobukrs ekkoebeln ekkoaedat ekkobsart ekkoekgrp ekkolifnr ekkowaers ekkowkurs ekkoernam sum( ekpobrtwr )
into CORRESPONDING FIELDS OF TABLE itab from ekko
inner join EKPO on ekPOEBELN = ekkoebeln
WHERE ekkobukrs IN S_bukrs AND ekkobsart IN s_bsart
Group By ekkoebeln ekkobukrs ekkoaedat ekkobsart ekkoekgrp ekkolifnr ekkowaers ekkowkurs ekko~ernam.
then loop through the ITAB:
LOOP at itab.
write:/ itab-bukrs under 'Company Code',
itab-ebeln UNDER 'PO-Number',
itab-aedat UNDER 'Date' ,
itab-bsart UNDER 'Doc-Type' ,
itab-ekgrp UNDER 'Purchase-Grp' ,
itab-lifnr UNDER 'Vendor' ,
itab-waers UNDER 'Currency',
itab-wkurs UNDER 'Rate' ,
itab-brtwr under 'Gross Value',
itab-ernam UNDER 'Created By'.
ENDLOOP.
but it is not working with me, am not able to show the result of sum( ekpo~brtwr ) am getting 0 in all lines
thanks a lot for your help" My Full Code.
TABLES: ekko,ekpo,ekbe,rbkp.
data: BEGIN OF itab OCCURS 0, "EKKO TABLE"
inco1 like ekko-inco1,
inco2 like ekko-inco2,
bukrs like ekko-bukrs,
ebeln like ekko-ebeln,
aedat like ekko-aedat,
bsart like ekko-bsart,
ekgrp like ekko-ekgrp,
lifnr like ekko-lifnr,
waers like ekko-waers,
wkurs like ekko-wkurs,
ernam like ekko-ernam,
BRTWR LIKE ekpo-brtwr,
end of itab.
SELECT-OPTIONS : s_bukrs FOR itab-bukrs OBLIGATORY,
s_ebeln for itab-ebeln ,
s_aedat FOR itab-aedat ,
s_bsart for itab-bsart ,
s_ekgrp FOR itab-ekgrp ,
s_lifnr FOR itab-lifnr ,
s_budat FOR jtab-budat ,
s_bewtp for jtab-bewtp .
DATA ProceesITAB LIKE SORTED TABLE OF ITAB WITH UNIQUE KEY TABLE LINE.
AT SELECTION-SCREEN on s_bukrs.
START-OF-SELECTION.
select ekkobukrs ekkoebeln ekkoaedat ekkobsart ekkoekgrp ekkolifnr ekkowaers ekkowkurs ekkoernam ekpobrtwr
into CORRESPONDING FIELDS OF TABLE itab from ekko
inner join EKPO on ekPOEBELN = ekkoebeln.
end-OF-SELECTION.
LOOP at itab.
write:/ itab-bukrs under 'Company Code',
itab-ebeln UNDER 'PO-Number',
itab-aedat UNDER 'Date' ,
itab-bsart UNDER 'Doc-Type' ,
itab-ekgrp UNDER 'Purchase-Grp' ,
itab-lifnr UNDER 'Vendor' ,
itab-waers UNDER 'Currency',
itab-wkurs UNDER 'Rate' ,
itab-brtwr under 'Gross Value',
itab-ernam UNDER 'Created By'.
ENDLOOP.
TOP-OF-PAGE.
write:/70 'Company'.
uline.
skip.
write:/5 'Company Code',25 'PO-Number',40 'Date',55 'Doc-Type',70 'Purchase-Grp',85 'Vendor',100 'Currency',115 'Rate',125 'Created By',
140 'Gross Value'.
ULINE.
SKIP.
Edited by: YasinN on Mar 24, 2010 9:45 AM -
How to link tables EKKO, EKPO, EIKP and EIPO
What I'm trying to do is create a view based on these four tables. EKPO contains multiple rows with the same values for EBELN. EKKO contains all distinct values for EBELN. I am trying to pick up all rows from both tables where EBELN in EKPO is the same as in EKKO. This is simple enough for a select statement to handle, without creating a view. The tricky part is linking the relevant rows selected from EKKO and EKPO to EIKP and EIPO. I tried using EXNUM to link EKKO, EIKP and EIPO, but I'm not sure that EXNUM contains distinct values for all 3 tables. In the case of EIKP it doesn't matter because the values for the fields I want (VORNU and VORNA) will be the same for the rows selected from EKKO and EKPO. The problem is with linking EIPO to my selections. If I knew that EXNUM was distinct for all rows in EIPO there would be no problem. However, I have seen some cases where multiple rows in EIPO have the same values for EXNUM. If I am using EXNUM in EIPO as a key field I have no way of being sure that the fields I want to pick up from EIPO (NACNU, BEHOE, NACD2, PRUEL and NACN3) contain the correct values I require. An example of what I am trying to do might make this clearer:
Table EKKO:
EBELN BEDAT WAERS
420000001 10.08.2007 USD
Table EKPO:
EBELN WERKS MATNR MENGE NETWR NETPR TXZ01
420000001 3500 m1 q1 nw1 cnf1 mat1
420000001 3500 m2 q2 nw2 cnf2 mat2
420000001 3000 m3 q3 nw3 cnf3 mat3
Table EIKP:
VORNU VORDA
125/45 12.08.2007
Table EIPO: (Corresponding to the above three rows in EKPO)
NACNU BEHOE NACD2 PRUEL NACN3
1234 1001 30.08.2007 28.08.2007 xx
1235 1002 27.08.2007 29.08.2007 yy
1236 1003 18.08.2007 16.08.2007 zz
So basically, given the above table entries, I want that the result of my selection should be:
| ROW1 | ROW2 | ROW3
EBELN: | 420000001 | 420000001 | 420000001
BEDAT: | 10.08.2007 | 10.08.2007 | 10.08.2007
WAERS: | USD | USD | USD
WERKS: | 3500 | 3500 | 3000
MATNR: | m1 | m2 | m3
MENGE: | q1 | q2 | q3
NETWR: | nw1 | nw2 | nw3
NETPR: | cnf1 | cnf2 | cnf3
TXZ01: | mat1 | mat2 | mat3
VORNU: | 125/45 | 125/45 | 125/45
VORDA: | 12.08.2007 | 12.08.2007 | 12.08.2007
NACNU: | 1234 | 1235 | 1236
BEHOE: | 1001 | 1002 | 1003
NACD2: | 30.08.2007 | 27.08.2007 | 18.08.2007
PRUEL: | 28.08.2007 | 29.08.2007 | 16.08.2007
NACN3: | xx | yy | zz
Sorry for the extremely long post. If anyone can shed some light on this I'd really appreciate it. Thanks.
Kalselect req. fields + a~exnum
from ekko as a
inner join ekpo as b
on aebeln = bebeln
into table gt_ekko_ekpo
where.........if u any conditions...
select req.fields from
eikp
into table gt_eikp
for all entries in gt_ekko_ekpo
where exnum = gt_ekko_ekpo-exnum.
select req.fields
from eipo
into table gt_eipo
for all entries in gt_eikp
where exnum = gt_eikp-exnum.
and also ekpo and eipo are line items tables , so for each exnum, will have multiple lines items in eipo table.
imp. the above and check whether, getting the req. result or not.
next in view , maintain rel. among these 4 tables.
ekko -ekpo, ekko-eikp, eikp-eiko. -
Problem in Selecting the data from EKPO and KONV tables
Hi Experts,
Presently I am working on Report with Comparision-Sheet Between the vendor's Quotations. I have to display the Discount, Freight, Packing and Forwarding, Vat in Item level data based on the conditions made in PO.
As per my Knowledge, Condition Types are stored in KONV Table. But there is no relation between KONV and EKPO tables. So, I am unable to print the data for Discount, Freight, Packing and Forwarding, Vat... How can I get the values from EKPO and KONV tables?
Thanks in Advance.
Thanks n Regards,
Muralikrishna.Don't recall if this is correct, but you may need the condition number from the header (EKKO) combined with EKPO-EBELP or other field as you key to access KONV (KNUMH and KPOSN). My site doesn't run PP, so can't verify if the data is actually stored that, so just a possibility.
-
Link between EKKO, EKPO and KONP
Hi,
can someone help me out to trace the link between EKKO, EKPO and KONP tables?
regards,
ravi.Hi Ravi
KONP is conditions table.
If we need the conditions(prices) of a purchase order, we can get it from EKKO, EKPO & KONV.
1. Extract KNUMV from EKKO.
2. Using EKKO-KNUMV - Extract conditions from KONV where KONV-KNUMV = EKKO-KNUMV.
3. We can find item prices where KONV-KPOSN = EKPO-EBELP.
Hope this helps you.
Kind Regards
Eswar -
Hi,
Im looking for a standar extractor that can obtain the information that i have in the table s115 of R/3; or its necessary to create an extractor generic?
Thanks for the information
MónicaHi
just create a generic extractor for this table.
http://help.sap.com/saphelp_nw04/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
Reg's
Edan -
Hi Folks,
I have a requirement to determine the number of PO's that are transmitted electronically (either FAX or EDI).
I know I use table NAST and Field KAPPL to determine a message type.
Does anyone know if there is a standard BC extractor for this NAST table?
Any advise is appreciated.
Regards,
DavidHi,
I hope, The datasource 0FI_GL_4 would be useful to you.
http://help.sap.com/saphelp_nw2004s/helpdata/en/8b/02f93abb013b0de10000000a114084/frameset.htm
With rgds,
Anil Kumar Sharma .P -
Should we use LOGGING or NOLOGGING for table, lob segment, and indexes?
We have some DML performance issue on cf contention over the tables that also include LOB segments. In this case, should we define LOGGING on tables, lob segments, and/or INDEXES?
Based on the metalink note < Performance Degradation as a Result of 'enq: CF - contention' [ID 1072417.1]> It looks we need to turn on logging for at least table and lob segment. What about the indexes?
Thanks!>
These tables that have nologging are likely from the application team. Yes, we need to turn on the logging from nologging for tables and lob segments. What about the indexes?
>
Indexes only get modified when the underlying table is modified. When you need recovery you don't want to do things that can interfere with Oracle's ability to perform its normal recovery. For indexes there will never be loss of data that can't be recovered by rebuilding the index.
But use of NOLOGGING means that NO RECOVERY is possible. For production objects you should ALWAYS use LOGGING. And even for those use cases where use of NOLOGGING is appropriate for a table (loading a large amount of data into a staging table) the indexes are typically dropped (or at least disabled) before the load and then rebuilt afterward. When they are rebuilt NOLOGGING is used during the rebuild. Normal index operations will be logged anyway so for these 'offline' staging tables the setting for the indexes doesn't really matter. Still, as a rule of thumb you only use NOLOGGING during the specific load (for a table) or rebuild (for an index) and then you would ALTER the setting to LOGGING again.
This is from Tom Kyte in his AskTom blog from over 10 years ago and it still applies today.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5280714813869
>
NO NO NO -- it does not make sense to leave objects in NOLOGGING mode in a production
instance!!!! it should be used CAREFULLY, and only in close coordination with the guys
responsible for doing backups -- every non-logged operation performed makes media
recovery for that segment IMPOSSIBLE until you back it up.
>
Use of NOLOGGING is a special-case operation. It is mainly used in Datawarehouse (OLAP systems) data processing during truncate-and-load operations on staging tables. Those are background or even offline operations and the tables are NOT accessible by end users; they are work tables used to prepare the data that will be merged to the production tables.
1. TRUNCATE a table
2. load the table with data
3. process the data in the table
In those operations the table load is seldom backed up and rarely needs recovery. So use of NOLOGGING enhances the performance of the data load and the data can be recovered, if necessary, from the source it was loaded from to begin with.
Use of NOLOGGING is rarely, if ever, used for OLTP systems since that data needs to be recovered.
Maybe you are looking for
-
Flex with a virtual frame buffer
I have to run an automated version of my flex app on a headless server so I'm using a virtual frame buffer (Xvfb) running on Solaris in an oc4j container. I can get the following command to 'apparently' launch the app: String cmd = "/bin/sh DISPLAY=:
-
Last question for today - how to draw with API circle of N pixels radius
Hi, While I'm bit of exhausted while fighting with those paths movement (see my other thread in this forum) - I'd like to ask maybe someone has code snippet, which shows how to draw a circle of N pixels/N mm/inches radius? There is one helper functio
-
Hi, I like widgets stuff in apple, but I had a problem. At first I couldn't have my widgets in my desktop I had to have them in my dashboard. But then I learned how to have them in my desktop. Then there was another problem. The widgets that are in t
-
Photoshop CS3 - I cannot change file format
This just happened now and I've restarted few times. I open a TIF file, got to "Save As..." and choose JPEG. The extension does not change in the file name on top and if I do try and hit "Save" I am given the JPEG Options and if I hit "OK" the file t
-
Uploading SCO to Connect, .zip file not recognized?
I am working in Articulate Storyline 2, packaging as a swf/html5 compliant SCO using SCORM 2004 v.4. When I test the file at SCORM Cloud, the manifest is good and the project launches without issue. When I take the same file and attempt to load it to