Relation field between table VBRK/VBRP and BSEG
Can any body guide on the common fields between VBRK/ VBRP and BSEG, except field "assignment".
Hi,
If you know the accounting document number, Goto SE16. enter BSEG table and enter.
Enter the accounting document number in selection screen. E.g 90000498.
You will get multiple lines. E.g normal billing document(Not credit memo /debit memo)
Customer information will be available in posting key 01 line (Header). And Item information will be avilable in Posting key 50 line.
List of fields available in Header.
Billing document number
Customer
Payment terms
Amount.
Company code
Controlling area
Reconciliation account number
Assignment
Item level information in Posting key 50.
Material
Plant
Amount
Tax amount
Tax code
As per my knowledge for reporting purpose we don't use BSEG bcoz of performance issue.
BKPF - Accounting document Header
BSID
BSIS
Regards,
Chandra
Similar Messages
-
How to Join VBRK, VBRP and BSEG
Dear Guys
I have Billing No from VBRP/VBRK and want to join these tables with BSEG to pick Accounting Doc No.
How to Join these tables.
ThanksHi,
What you can do is to use FM AC_DOCUMENT_RECORD. Please check my example below:
MOVE: 'VBRK' TO lv_awtyp,
wa_vbrk-vbeln TO lv_awref,
'2007' TO lv_aworg.
CALL FUNCTION 'AC_DOCUMENT_RECORD'
EXPORTING
i_awtyp = lv_awtyp
i_awref = lv_awref
i_aworg = lv_aworg
* I_AWSYS = ' '
* I_AWTYP_INCL = ' '
* I_AWTYP_EXCL = ' '
* I_BUKRS = ' '
* I_VALUTYP = '0'
x_dialog = ''
TABLES
t_documents = lt_documents
EXCEPTIONS
no_reference = 1
no_document = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Hope it helps...
P.S. Please award points if it helps... -
How to create analytic view with tables VBRK VBRP KONV ?
Hi Gurus,
What is the best way to combine in a analytic view tables VBRK VBRP and KONV for better optimization or
how to make the relationship tables VBRK VBRP KONV with better performance in Hana Studio ?
This analytic view should be used in a calculation view to the final calculations.
Thanks !Hi Rogerio,
Greetings.
Basically , when you design your analytic views , while designing your data foundation , you can directly join the tables with the corresponding key attributes . Analytic views are capable of optimizing the join operation when we access the view.Logic of joining is purely depends on your business requirement
Sreehari. -
Relation and field ( or relational field) between VBRP + VBAP
hi all,
can anyone pls tell me the relation and field ( or relational field)between VBRP + VBAPHi,
U can make use of VBFA (Sales document flow)table for this.
If you have the billing document number and item then provide them in the subsequent document (VBELN) and item(POSNN) fields of VBFA table and provide the preceding doc category as 'C' to get the sales order information.
Similarly if u have the sales order number and item then pass them to the preceding doc and item fields of VBFA and pass the subsequent doc category as 'M' so that u will get the billing doc number.
thasnks and regard -
I want to join the table vbrk,vbrp,konv and fields are vbeln, knumv.
i want to join the table vbrk,vbrp,konv and fields are vbeln, knumv is possible .
if it isn't possible. what is the another method output is doc. no.(vbrp-vbeln) condition doc. no.(vbrk-knumv) , condition(konv-kschl), tax rate(konv-mwsk1), quantitty(vbrp-fkimg) .reply pls... as soon as possible..Hi..
This is the Join :
SELECT VBAKVBELN VBRKKNUMV
VBRP~FKIMG
KONV-KSCHL KONV~MWSK`
FROM VBRK
INNER JOIN VBRP
ON VBRKVBELN = VBRPVBELN
INNER JOIN KONV
ON KONVKNUMV = VBRKKNUMV
INTO TABLE <ITAB>
WHERE <CONDITION>.
REWARD IF HELPFUL. -
Link between KONA and VBRK/VBRP and KONP and VBRK/VBRP
Hi
please suggest me the link between KONA and VBRK/VBRP and
KONP and VBRK/VBRP
I want to give link of rebate agreement and invoice no/Inv Qty
My requirement is I want a report where i can see Under one Rebate agreement ,how many Commercial Invoice use
e.g. Rebate Agreement no -125 ( for 10 Rs / unit)
I have created 10 Invoice for 10 qty each so accrual Amount is 10* 10= 100
I want such report where for agreement No 125- 10 Invoice No should be reflected.
I don't want to go into VBO2 and go to verification level that concept i know
i want one report where i will see all
Regards
HemantHi
In my case i want commercial invoice no (billing type F2) but if i try to find link between KONA and VBRK for field KNUMA i can only see credit Memo No(Billing type-B3-rebate billing type) ,
I want to display commericial invoice and not rebate credit memo
Pls advice
Regards
Hemant Gaikwad -
I want to join the table vbrk,vbrp,konv but konv is cluster table .
Hi
konv is the cluster table . so I want to join the table vbrk,vbrp,konv and fields are vbeln, knumv is possible .
if it isn't possible. what is the another method output is doc. no.(vbrp-vbeln) condition doc. no.(vbrk-knumv) , condition(konv-kschl), tax rate(konv-mwsk1), quantitty(vbrp-fkimg) .reply pls... as soon as possible..hi
good
1) Open
Select
Mard~matnr
Makt~maktx
From Makt
Inner Join Mard
on Maktmatnr = Mardmatnr
Where Makt~Spras = SY-LANGU
2) Native Oracle
SELECT Mard.matnr,
Makt.maktx
From Makt, Mard
Where Makt.mandt = Mard.mandt
And Makt.matnr = Mard.matnr
And Makt.mandt = :SY-MANDT
And Makt.spras = :SY-LANGU
3) KONV is Cluster - BAD LUCK!
Select VBRK~VBELN
VBRP~POSNR
KONV~KSCHL
KONV~KWERT
From ( VBRK Inner Join VBRP
On VBRKVBELN = VBRPVBELN )
Inner Join KONV
On VBRKKNUMV = KONVKNUMV
And VBRPPOSNR = KONVKPOSN
4) KONV is Cluster - BAD LUCK!
Select KONV~KNUMV
KONV~KPOSN
KONV~KSCHL
KONV~KWERT
From KONV
Where KONV~KNUMV in (
Select VBRK~KNUMV
From VBRK Inner Join VBRP
On VBRKVBELN = VBRPVBELN
Where VBRKKNUMV = KONVKNUMV
And VBRPPOSNR = KONVKPOSN
5) Open
Select VBRP~MATNR
Sum( VBRP~NETWR )
From VBRP
Group By VBRP~MATNR
6) Native Oracle
Select VBRP.MATNR ,
Sum( VBRP.NETWR )
From VBRP
Where mandt = :sy-mandt
Group By VBRP.MATNR
7) Native Oracle
Select VBRP.MATNR ,
Count( VBRP.NETWR ),
Sum( VBRP.NETWR )
From VBRP
Where mandt = :sy-mandt
Group By VBRP.MATNR
8) Open
Select VBRP~MATNR
makt~maktx
Sum( VBRP~NETWR )
From VBRP inner Join MAKT
On VBRPMATNR = MAKTMATNR
Where MAKT~SPRAS = SY-LANGU
Group By VBRPMATNR maktmaktx
9) Native Oracle
Select VBRP.MANDT,
VBRP.MATNR,
MAKT.MAKTX,
Sum( VBRP.NETWR )
From VBRP , MAKT
Where VBRP.MANDT = MAKT.MANDT
And VBRP.MATNR = MAKT.MATNR
And MAKT.SPRAS = :SY-LANGU
Group By VBRP.MANDT, VBRP.MATNR, MAKT.MAKTX
10) Open
SELECT EKET~EBELN
EKET~EINDT
EKET~WAMNG
EKET~WEMNG
From ( ekko INNER JOIN ekpo
ON ekkomandt = ekpomandt
AND ekkoebeln = ekpoebeln
INNER JOIN eket
ON ekpomandt = eketmandt
AND ekpoebeln = eketebeln
AND ekpoebelp = eketebelp
AND EKET~WAMNG > 0
AND EKETWAMNG <> EKETWEMNG
Where EKPO~MATNR = 'NB220'
And EKPO~WERKS In ('P001', 'P004', 'L004')
And EKKO~BSTYP = 'F'
And EKKO~BSART = 'UB'
And EKPO~ELIKZ <> 'X'
And EKKO~LOEKZ <> 'X'
11) Native Oracle
SELECT EKET.EBELN,
EKET.EINDT,
EKET.WAMNG,
EKET.WEMNG
FROM ( ekko INNER JOIN ekpo
ON ekko.mandt = ekpo.mandt
AND ekko.ebeln = ekpo.ebeln
INNER JOIN eket
ON ekpo.mandt = eket.mandt
AND ekpo.ebeln = eket.ebeln
AND ekpo.ebelp = eket.ebelp
AND EKET.WAMNG > 0
AND EKET.WAMNG <> EKET.WEMNG
Where EKPO.MATNR = 'NB220'
And EKPO.WERKS In ('P001', 'P004', 'L004')
And EKKO.BSTYP = 'F'
And EKKO.BSART = 'UB'
And EKPO.ELIKZ <> 'X'
And EKKO.LOEKZ <> 'X'
thanks
mrutyun^ -
Query with tables of BKPF and BSEG and Structures COBL, RF05A
hi experts,
I want to create query with the tables of BKPF and BSEG and Structures COBL, RF05A
How can i proceed?
Please give me complete points
Edited by: Alvaro Tejada Galindo on Feb 14, 2008 2:52 PMcheck the common fields and required fields and the write SELECT query useing Inner Joins or For all entries
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 14, 2008 2:52 PM -
Relation ship between table USR02 and ADRP
Hi all,
My requirement is to dispaly the userid , username, address and email id.
iam unable to find the realtionship between table USR02 ( which maintains userid's) and ADRP( which has user name, etcs).
Please tell the how to fetch the name , address and email id data for perticular userid
urgent.
thanks in advance
ramprasadUsing userid U can get the personnel number from PA0105 ..
pass this PERSNUMBER to ADRP and get other details.
select pernr from pa0105 .....
where USRID = USR02-USRID. -
Relative linking between tables no longer supported?
With the Numbers 3.1 update, relative linking between cells in different tables no longer seems to work. That means that if I want to pull the value of one cell into a cell in another table, now if I reorder either table, the value that gets passed changes. Up to this 3.1 update, Numbers was able to keep it straight if you sorted one (or both) of the tables.
This is bad (for me, anyway). Am I missing something? Thanks.
DougI'm not even using a formula. I'm simply saying take the value of a cell from one table and pull it into another table.
I have two tables (Grades and Participation). In the Grades table, I'm pulling the summed participation score for each student from the Participation table. So, for Student A, in the Grades table, I have a cell in their row of scores:
=Participation::All Sections::R3
This makes the cell equal to the cell R3 on the table "All Sections" on the sheet "Participation" (yes, the tables are on different sheets; this shouldn't matter).
This works, but if I resort the table "Participation," say by last name only instead of by section number/last name or by student number, the student who lands on Row 3 is different, and R3 is the number for a different student. But on the Grades table, the student in Row 3 has stayed the same. And the number for that student is now wrong.
In Numbers 3.01, I think this worked correctly. So, if you resorted, Numbers was able to keep it straight in the other table. In Number 2.3 it surely worked correctly, because I can test it, and here's how Numbers 2.3 references that same cell. Instead of simply referencing the cell R3, it uses a unique identifer that references the email field in each row - like so:
=Participation::All Sections::Participation [email protected]
That way, if I resort, everything stayes aligned across tables. Numbers 3.1 is no longer doing this.
Anyway, that's the problem. I hope it makes sense. Thanks.
Doug -
Adjusting Space between table - cell border and cell content ?
Hi all,
Need a quick help.
I am using a static table. By default, I have some space between the cell content and the text (yes, the cell margins).
I wanted to reduce this space to '0'.
Is there any option to adjust the cell margins? Thanks in advance !!
1 more Q:-
There are no options to merge 2 cells, are there ?
Thanks,
Navin.
Edited by: 890074 on Mar 4, 2012 10:17 PMHi Naveen,
Until Documaker 11.5, there are no options to reduce the cell margin and no options to merge cells as well.
Thanks. -
Tracing an ECC/ERP/R3 field to tables in R3 and BI
Hi kind colleagues,
I am quite new to ECC/ERP/R3 and what I am trying to do is to take a field in ECC/ERP/R3 that I can see from the sapgui (ex. Value Contract from va41) and then just by looking at the field name in the gui to find
(a) the ECC/ERP/R3 table name
(b) the BI extractor details for this field (how do I know if they are standard or customized?)
(c) the BI info packages, update rules, transfer rules, info cube and ods names for this field.
Any help will be much appreciated.
Thanks,
MikeHi,
To find the respective object in BI to the R/3 Field you can
Goto SE16.
Give Table name as RSOSFIELDMAP
Give the R/3 field in the provided column and Execute
You will find the corresponding Infoobject to it and also the Info about in which extractor it is mapped to. Etc.........
Hope this Helps
Regards
Karthik
Message was edited by:
Moderator -
Table link between KONA, VBAK, VBRP and S060?
Hi Experts,
How can i link the below tables to prepare 1 single report??
Agrment Type ECC KONA-BOART
Agreement ECC KONA-KNUMA
Status ECC KONA-BOSTA
Description of agreement ECC KONA-BOTEXT
Reb.recip. ECC KONA-BONEM
Matl f. settl. ECC KONP-BOMAT
Amount ECC KONP-KBETR
Unit ECC KONP-KONWA
per ECC KONP-KPEIN
UoM ECC KONP-KMEIN
Accruals ECC S060-RUWRT_K
CdCur ECC ??
Rebate payments ECC S060-AUWRT_K
CdCur ECC ??
Accruals reversed ECC S060-RRWRT_K
Sales Doc. ECC VBAK-VBELN
SaTy ECC VBAK-AUART
Net value ECC VBAK-NETWR
Bill.Doc. ECC VBRK-VBELN
Billing Date ECC VBRK-FKDAT
Net Value ECC VBRK-NETWR
regards
venuscmhi,
please check SQVI.
if you are not able to link it with SQVI then,
you can find intermediate table between the two tables and link it in sqvi.
regards,
balajia. -
I have raise a question about this, but I can't find it. My problem is that I found this a document number missing in both VBRK and VBRP. i.e. there are document 10001 and 10003,but I can't found the document 10002. Unfortunately, there is a FI document related to this document 10002. I would like to know if anyone met the similiar problem. Could you please help me? Thank you very much in advance!
Hi Christina,
Goto transaction FB03 and put your accounting document no, company code and fiscal year.Press enter.
You will get to see the various accounts related to this accounting document.
Click on the environment in the blue menu bar at the top of the screen ,select document environment and then original document,you will see your billing document for this.
You can also goto se16 and put VBFA as table and then put your sales document no. in preeceding document you will find your billing document no.
U can also check table BKPF in SE16.
Reward points if it helps.
Regards
Karan
Message was edited by:
Karan Bhatia -
Link between table EKKO-EBELN and DMS - Document Management System
Hi to all,
I wanted to know the form to connect or link the Document Info Record (inside "Define Object Link") to object DRAW (DMS) with table EKKO-EBELN (order head). In standard form it is possible to do it with EKPO (Purchase order item) This is in transaction DC10 Define Object Link.
Thanks!
Greetings
MartinHi Martin,
Within table DRAD you can see all linked objects to a specific document info record (DIR).
To be able to link objects to DIRs you have to maintain the correct objects in customizing.
First of it is necessary to maintain the correct screen numbers for all needed objects within the customizing. Therefore go to transaction SPRO and select
Cross-Application Components
> Document Management
> Control Data
> Maintain Screen for Object Link
Here you can enter all needed SAP objects with the name and
the related screen number. If you do not know the object or the screen number you can display a list of all SAP standard objects in transaction SE80 under function group CV130 ("Screens").
So for material master you maintain the following entry:
SAP object Screen Description Auth.
MARA 201 material master 1
Please note that the system automatically adds the leading "1" which is displayed in function group CV130 under
"Screens". So for object MARA you just have to enter 201 instead of 1201.
The value "1" in the column "Auth." is necessary to grant that always the latest dynpros and authorizations were used when linking this object to an document info record. This will avoid different problems by displaying linked documents from the object side.
The next step is to decide which objects should be used in the different document types. Therefore please go to transaction DC10 and choose the relevant document type. Afterwards please select "Define object links". Here you can
add all needed objects only by entering the object. The correct screen number is taken automatically. Also note the blue information buttons in the upper right corner which contain further necessary information about the possible settings of the current screen.
After doing these settings in customizing you should be able to link the maintained objects to document info records and oppositely by using the DMS transaction CV02N (tab "object links") or the object related transactions.
Important notes regarding the object link functionalities are:
Note 880077: Performance problem using object links
Note 885977: Extension to note 867241 on object links
Note 926060: Extension of note 885977 for object link Purchase Order
Note 960202: Object Links Deleted While Adding New Objects
Note 1002648: Wrong behavior while using RFC_CHANGE_DOCUMENT_MASTER
Maybe you are looking for
-
hallow i have two tables that i wont to move the data((price) to third table itab i wont to now how i can do that? <b>i reward kindly</b> i give the tabls. INTAB_A132[] resrc date knumh 0000123456 20070101 <b>0000014834</
-
Export Data- csv Extremely Slow
I am using SQL Developer 1.5.1 Build MAIN-5440 on Mac OS X 10.5.5 and the Export Data=>csv command is taking 20 minutes to show the file dialogue window. The query takes the expected amount of time and once I choose to save the file the remaining rec
-
Adobe CS5 Design Premium programs crash on opening
I dowloaded the suite and set it up for a 30-day trial. I got the programs to open initially, but soon after, they started to crash. By the end of day one, every program crashed as soon as I tried to open it. I am running on a MacBookPro, 2.16 GHz In
-
Playing a subsection of a video
Say I have a video clip that is about 1 minute long. I would like to click on a button and only play a certain subsection of the video; for example from start+10 seconds to start+20 seconds. Does anyone have an idea on how to do this without embedd
-
Real Application Cluster Instalation
I'm doing an install of RAC on Linux AS 2.1 using OCFS. I am following the directions from the 'Step by Step RAC Linux Installation'. I got the cluster manager to install correctly and started cluster manager on both nodes. However, when I run the in