REG : link between Komv table - Konv Table
hai,
I have one problem in CIN.
In Purchase Order for
ED - JM01 or JEXC
CESS -ZECS or JEC1
CSTLST - JIP1 or JIP2
stored in KOMV Structure,
other than KOMV where this values are stored..
(In KONV no values found for that one)
how can i move it internal table.
thanks,
SN
Hi
The link is the field EKKO-KNUMV:
SELECT * FROM EKKO .....
SELECT * FROM KONV WHERE KNUMV = EKKO-KNUMV
but you should consider not all conditions are stored in table KONV, because some conditions (generally subtotals) are calculated at runtime.
Max
Similar Messages
-
Can anybody provide me the link between these tables
Hello,
Can anybody provide me with the link between these tables.
Is there any link for the CTSNUMC and PNTPR
1) /SAPSLL/CTSNUMC
Fields: STCTS
CCNGN
2) /SAPSLL/PRGEN
Fields : ATTR20A
ATTR05A
ATTR10A
ATTR05B
Common field -
GUID PR
3) /SAPSLL/PNTPR
Fields : PRVSY
: GRVSY
Common field -
GUID PR
4) /SAPSLL/PRODUCT_SELECT_UI_S "This is Structure
Fields : QUAL_STA " Product Status
Common field : CCNGN, STCTS
5) /SAPSLL/PR
Fields : CRTSP " Product Created on
: CHTSP " Product Changed on
Common field -
GUID PR
6) /SAPSLL/PRT
Fields : PRTXT " Materail Desc
Common field -
GUID PR
I have common fileds for all the tables to join them except for the tables /SAPSLL/CTSNUMC and
SAPSLL/PRGEN.
Any suggestions will be apprecaited.
Regards,
KittuHi,
Thank you every body for your time...
I am closing this thread as there was no response and I think I solved it.
Regards,
Kittu -
Link Between OINV Table And OBTN Table
I want to create relationship b/w A/R Invoice and Batch Number transaction Reports table.
sap point out two tables of Batch Number Transaction Report RBTN and OBTN,Problem is that i never found any table with name of RBTN.
plz tell me what is RBTN table???why its not in sql database and how i can create link b/w A/R invoice and Issue for production .Hi Vinu.........
Welcome to SAP Business One Forum............
Please check the link between these tables........
SELECT Distinct T1.BatchNum
FROM IBT1 T0
Inner Join OIBT T1 On T0.BatchNum=T1.BatchNum AND T1.ItemCode=T0.ItemCode
INNER JOIN DLN1 T2 ON T2.DocEntry=T0.BaseEntry AND T2.ItemCode=T0.ItemCode
inner join ODLN T3 on T2.DocEntry = T3.DocEntry LEFT JOIN INV1 T4 On T4.BaseEntry=T2.DocEntry Left Outer Join OINV T5 On T5.DocEntry=T4.DocEntry
WHERE T0.BaseType = 15
Hope this will help you........
Regards,
Rahul -
hello,
any idea for the link between VBRP and KONV tables ?
I am fetching vbeln from vbak and based on that i am getting matnr and quantity details from vbrp now i want to get condition type and tax code details from konv.how to link it?
regards
Soniya.KONV (condition table) is linked to VBRK (Billing: Header data) by the following
VBRK-KNUMV = KONV-KNUMV
and VBRK (Billing: Header data) is linked to VBRP (Billing: Item data) by the following
VBRK-VBELN = VBRP-VBELN
I believe you can can fetch data from VBRP using for all entries.
Then fetch the data from KNOV table using the above given link and then modify the required internal table to retrieve the required result.
Hope it helps -
Link between Komv structure and related table
hai,
I have one problem in CIN.
In Purchase Order for
ED - JM01 or JEXC
CESS -ZECS or JEC1
CSTLST - JIP1 or JIP2
stored in KOMV Structure,
other than KOMV TABLE where this values are stored..
(In KONV no values found for that one)
pLEASE, tell me Table name .....in which i get above condition value
thank you
Manoj..Hi,
1)GOTO>SE11>Open the table.
2)Just beside the CONTENTS & DISPLAY BUTTON-->Click on Graphics Button
3)New Graphics window ill popup.
4)check for the forign key and check table button.
you will find all the related tables,and Relations.
This will be very helpful for future reference also.
Hope it resolves the query.
Regards,
Gurpreet -
Tcode to find link between 2 tables
Is there any Transaction code to find the link between two tables
hi
just go to transaction se11,put the table name then press the graphic button.you will get the list of related tables.
hope this helps
regards
Aakash Banga
Edited by: aakash banga on Jan 22, 2009 7:37 PM -
hye!
i want to know how to make a link between datatable in sap R/3.
For exemple: i'm loocking to the table MARC in this table there is a lot of area: MAXLZ,EISBE... and for the table MARA there is the following areas: MTART,MEINS...;
i want to find the link between that 2 tables ( my project is to extract data from sap )Hi!
The common field of MARA and MARC is MATNR - you can join the two tables by this field.
<a href="http://www.sapgenie.com/abap/tables_mm.htm">This</a> english site has some very nice overview pictures of tables connections, here e.g. for master data and purchasing.
Regards,
Christian -
What is the link between the tables DRAW and MARA
Hi,
Can you tell What is the link field between the tables DRAW and MARA
NageshHi,
There is no direct relationship. But you can find the materials attached as object liink to the document in table DRAD.
Hope it helps,
Rajat -
Hi all.
i wish to know the common table between tables eban,ekko,ekpo and eket.
As their is no common key field although ebeln and ebelp are there but their check tables are different,
please guide me how to link these tables.
As my select query is showing the data available and read table is also showing the data coming but may be because the ebeln can be differnet for diffrent table thats why iam not geting any display.
please guideHi,
Iam kiran posanapalli, just try out this by linking up table with the common fields provided.
**************EBAN---Purchase Requisition*****************************
BANFN BANFN CHAR 10 0 Purchase Requisition Number
BNFPO BNFPO NUMC 5 0 Item Number of Purchase Requisition
********************EKKO-------Purchasing Document Header**************
EBELN EBELN CHAR 10 0 Purchasing Document Number
**********************EKPO-------Purchasing Document Item*********
EBELN EBELN CHAR 10 0 Purchasing Document Number
EBELP EBELP NUMC 5 0 Item Number of Purchasing Document
BANFN BANFN CHAR 10 0 Purchase Requisition Number
BNFPO BNFPO NUMC 5 0 Item Number of Purchase Requisition
***************EKET----Scheduling Agreement Schedule Lines*************
EBELN EBELN CHAR 10 0 Purchasing Document Number
EBELP EBELP NUMC 5 0 Item Number of Purchasing Document
ETENR EETEN NUMC 4 0 Delivery Schedule Line Counter
BANFN BANFN CHAR 10 0 Purchase Requisition Number
BNFPO BNFPO NUMC 5 0 Item Number of Purchase Requisition
Regards,
Kiran Posanapalli -
Link between technical table and datasource - SE16
Hi,
I'm looking for the table in SE16 that gives me the association between my technical tables and my datasources/infosources:
for example:
I have table /BIC/B0000161000 and I want to know for which datasource this is the PSA table...
Kind regards
Jokealready found the link: rstsods
-
How to get the 'link' between two tables
hi pple
i need to find out HOW two tables are related.
sample tables:
SHIPS ( HULL_ID [PK] , VESSEL_NAME, GROSS_TONNAGE )
EQUIPMENT ( E_ID [PK] , HULL_ID [FK frm SHIPS], DESC )
PARTS ( PART_ID [PK] , E_ID [PK, FK frm EQUIPMENT], MANUFACTURER_ID)
--> SHIPS and PARTS are some how related thro' EQUIPMENT.
i need to get this relationship:
Ships --> Equipment (E_ID) --> PARTS
currently, i can get the direct parent and child tables of a given table using:
SELECT lpad ( ' ', 2 * ( LEVEL - 1 ) ) || table_name as Child_Tables
FROM ALL_CONSTRAINTS
START WITH R_CONSTRAINT_NAME in
select constraint_name
from all_constraints
where table_name = '%table_name%'
and constraint_type = 'P'
CONNECT BY PRIOR CONSTRAINT_NAME = R_CONSTRAINT_NAME ;
To get ALL parents:
SELECT lpad ( ' ', 2 * ( LEVEL - 1 ) ) || table_name as Parent_Tables
FROM ALL_CONSTRAINTS
where owner = 'CHARTUSER'
START WITH CONSTRAINT_NAME in
select constraint_name
from all_constraints
where table_name = '%table_name%'
and constraint_type = 'R'
CONNECT BY PRIOR R_CONSTRAINT_NAME = CONSTRAINT_NAME ;
what i need to do is:
1) get children & parents of SHIPS
2) for each element of (1), get children, parents till i get PARTS
3) so, i will get EQUIPMENT and then, PARTS.
this wud be very expensive. my appln is in Java and i will need to call these functions - that makes it more complex. is there any simpler way out?
and my main problem is to find out WHAT attributes line two tables. this wudnt be a big deal if it were just simple parent-child tables. but, how do i find out the attributes that link PARTS and SHIPS table?
any ideas? -please help.
thanks in advance
--$uDhADear Srikanth,
This tables can be used once we come to know whether its a customer or vendor line item but in our case we using the GL account as reference have to knock off the entries.How we come to know that aginst the GL whether its a customer or vendor line item.. Then it should route to this table.
Suggest me if any options are there.
Regards,
Balaji.c -
Link between alocation table(WA01) and purchase order PO/STO
HI,
I have on doubt regarding allocation table which we create in WA01.
During the creation of allocation table, when we select line item and goes into taxts tab and enter some text like "abcd". I just to know does this text hav any relation with PO. or does allocation table and PO/STO have a link .hi,
I hope you can use the EKBE for fetching the good reciept data for those purchase orders.
regards,
Veeresh -
Link between COMM_PRODUCT table and Pricing Reference Material
Hello
In CRM we have in transaction COMMPR01 the material, and in the Sales and Distribution tab, the field Pricing Ref. Prod. fille with a reference material. We are looking in the tables for this link, but have not found it. We have table CRMM_PRODUCT for the 1st material, and have looked in others, such as CRMV_PROD_SALESG, CRMM_PR_SALESA, but have been unable so far to find the link. Any answers on this?
Thanks,
GeorgeHello George,
Check PRICE_PRODUCT field of table CRMM_PR_SALESA .
Also you can refer to table CRMM_PR_SALESG.
Hope this helps!
Best Regards,
Shanthala Kudva. -
Link between XML table and a resource
I have registered an XML Schema in Oracle and the tables were automatically generated. I can access the data in these tables via "SELECT extractValue(value(i),'/factureExterne/codeTypeFacturation')
FROM <xml_table> i". I use WebDAV + ftp to upload my XML-files.
How can I retrieve the name of the file in the WebDAV folder that corresponds with the row in my table?
Regards,
Vincent BottemanVincent:
I found a way to get de conexion using the undocumented funcion sys_op_r2o.
sys_op_r2o transforms an XMLRef to the object_id of the target row, then its possible to join the XML Schema based table to the resource_view or path_view information.
The XDB$RESOURCE, store an XMLRef to the target row of the table and is available using extractValue(res,'/Resource/XMLRef') function.
Here the example:
SELECT r.path,extractValue(value(i),'/factureExterne/codeTypeFacturation')
FROM <xml_table> i,path_view r
where ref(i)=extractValue(res,'/Resource/XMLRef');
If you need to do this inside a trigger of the target table look at the example of the thread:
Undocumented function sys_op_r2o
Best reagards, Marcelo. -
How to link between these tables and get the bom explosion
tables : mast,stpo,makt
SELECT AMATNR BMAKTX CIDNRK CMENGE C~MEINS INTO CORRESPONDING FIELDS OF TABLE IT_COMP_IDEL FROM
MAST AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR
INNER JOIN STPO AS C ON ASTLNR = CSTLNR
WHERE AMATNR IN S_MATNR AND AWERKS IN S_WERKS.
using cs13 to get the bom summary
using these table to but i got only few materials only,
but cs13 got more materials
how can i solve that one
Regards
dsHi,
Just go through this program i think it will help u out.
TABLES: MARA, MARC.
TYPE-POOLS : fibs,stree.
TYPES: BEGIN OF STRUCT_BOM,
MATNR TYPE MATNR, " Material Number
WERKS TYPE WERKS_D, " Plant
IDNRK TYPE IDNRK, " BOM Item
STLAL TYPE STLAL, " Alternative BOM
STUFE TYPE HISTU, " BOM Level
OJTXB TYPE OJTXB, " Object description (assembly)
END OF STRUCT_BOM.
*- table types
types: t_bom type table of struct_bom.
*Internal Tables to hold the BOM data.
DATA: ITAB_BOM type table of STRUCT_BOM.
DATA: WA_BOM TYPE STRUCT_BOM,
wa_stb type stpox,
wa_matcat type stpox.
DATA: IT_STB type standard table of STPOX,
IT_STBC type standard table of STPOX,
IT_MATCAT type standard table of CSCMAT.
*-- to enter BOM DATA
*Selection Options
select-options: s_matnr for V_matnr, "BOM Material
s_plant for V_werks. "BOM Plant
*Input Parameters
parameters: p_alter type stko-stlal, "Alternate BOM
p_usage type stzu-stlan, "BOM usage
p_appli type tc04-capid, "BOM Application
P_CATE TYPE STKO-STLTY DEFAULT 'M'. "BOM Category
INITIALIZATION.
REFRESH ITAB_BOM.
CLEAR WA_BOM.
REFRESH IT_STB.
REFRESH IT_MATCAT.
START-OF-SELECTION.
SELECT matnr
werks
stlal
INTO CORRESPONDING FIELDS OF TABLE itab_bom
FROM mast
WHERE matnr IN s_matnr
AND werks IN s_plant
AND stlan = p_usage
AND stlal = p_alter.
CLEAR V_MATNR.
CLEAR V_WERKS.
DATA: WA_STB TYPE STPOX,
WA_MATCAT TYPE CSCMAT.
v_matnr = wa_bom-matnr.
v_werks = wa_bom-werks.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
capid = p_appli
datuv = sy-datum
mktls = 'X'
mehrs = 'X'
mtnrv = v_matnr
stlal = p_alter
stlan = p_usage
werks = v_werks
TABLES
stb = it_stb
matcat = it_matcat
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Then just print whatever data u want it_stb, it_matcat tables.
reward points if u find my answer helpfull.
Maybe you are looking for
-
Overcharged and cannot seem to get it sorted
Hi, I hope somebody can help me! In July 2010 I was overcharged on my BT Bill so I called to cancel my account and was told that I could have BT Broadband option 1 and BT anytime call package for £19 per month for 12 months if I stay with BT, I was a
-
I'm on a PC, so I'm downloading from iTunes to my iTunes folder, then burning a cd, and then then ripping the contents of the cd into my Library on Windows Media Player. Seems to work, but one fly in the ointment. One single track in the middle of th
-
Microsoft Office for MAC 2011 - Useless or OK?
I have read various comments about Office on the MAC that are very negative...not worth the money, Outlook does NOT sync etc. However to be fair these comments seem to relate to Office 2010 early versions and hopefully these are now sorted.......Is t
-
Going back to selection screen from Change mode in ALV.
Hello Gurus, I am working on a issue related to ALV where ALV becomes editable when user clicks on change button. The Change button is a custom button defined in application toolbar of ALV display. case ucomm. WHEN 'TBACK'. leave to screen 0. w
-
Hi I need to transfer alerts from RWB to CCMS. I user the MTE class SXI_RWBAlertCateg. In my development environment everything work fine, the ccms monitor displays the list of categories and the related alerts. In production the ccms monitor display