Relation between BKPF and EKBE table for reversing document?
Is there any relation between BKPF and EKBE table for reversing document when STBLG is blank in BKPF.
AND
How to differentiate Old Accounting document / Reverse document / New document when in BKPF-STBLG is blank for all three document and BKPF-XBLNR are same for all.
Hi Varun,
Table Document no (BKPF-BELNR) is link between Material document no (EKBE-BELNR). If you are looking for validating Material reversal document then please use following logic for your requirement.
Material Document (MBLNR) & Material Document Year (MJAHR). Pass material document (MBLNR) to MSEG-SMBLN to read MSEG-MBLNR with MSEG-MJAHR to MSEG-SJAHR, if record found delete both the documents i.e. MSEG-SMBLN & MSEG-MBLNR (donu2019t consider these documents in the logic) and display Material Document No. (MSEG-MBLNR)
Regards,
Santosh
Similar Messages
-
Relation between BKPF and MKPF
I want relation between BKPF and MKPF,
because i want account document number on storage location basis.
if anyone know the solution or any standard report pl. tell me.Hi Omar,
For all tables if you wan to find the table relation shipss...
use the T-Code -->SQVI--> select table join--> enter first the table name--> enetr another tbale name..
it will show the possible relation ship between the tables
Regards,
Prabhduas -
Relation between Eban and Erev tables
Hi,
What is the Relation between Eban and Erev tables?
Thanks and Regards,
Parvatha ReddyHi,
if you have activated version management for purchase requisitions (spro - mm - purchasing - version mgmt - set up ver mgmt for PR), then if any changes are made to the fields as specified in the customizing, then an entry is made in EREV table. EBAN is the pur. reqn table.
Hope it answers your query.
Regards,
Vivek -
Relation between vbuk and vbup tables?
relation between vbuk and vbup tables?
regards phaniDear Phani,
http://help.sap.com/saphelp_erp2005/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
VBUK .... Sales Document: Header Status and Administrative Data
VBUP ....Sales Document: Item Status
VBUK contains header status where as VBUP contains individual item status of the header. Similar to VBAK and ABAP where VBAK contains Sales Document header data and VBAP contains Sales document item data.
Hope this will help.
Regards,
Naveen. -
Relation Between RSEG and BSET Tables
Hi ,
I want to Calculate the the tax for MIRO document Line item wise, i am not able to get the relation between RSEG and BSET from where i can get the taxes. so, any one can help me to resolve this issue on priority.
Regards,
Venugopal.Hi, Mr. fantasy,
I'm not too familar with MIGO - now working in non-logistics environment.
Did you already try RSEG fields
LFBNR LFBNR CHAR 10 0 Document No. of a Reference Document
LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
LFPOS LFPOS NUMC 4 0 Item of a Reference Document
just an idea.
Regards,
Clemens -
Relation between RESB and AUFM tables
can any one tell me how to build the relation between the above two tables
first i am getting the data from resb
now i need to get the data from aufm
but there are no common key fields
while selecting the data from aufm i want to put the where conditon on key fields onlyhi
good
use this process to know the details.
Go to SQVI transaction... Create a qucik view.. ztest.. give desc..etc
Select data source as table join.... enter
now one screen will come with blank data (blue scrren)
in that application toolbar second button .. click that.. enter VBAK..
click that again.. enter VBAP.. now an image will come with links b/w vbak and vbap.. you can use any no. of tables there....
thanks
mrutyun^ -
Optimization of Join statement between MKPF and MSEG table for improving pe
Hi All,
I had a issue where we are executing one custom report and it is getting timed out after 45 minutes. We further executed with trace on and got to the conclusion with the help of BASIS that about 42 minutes of the 45 minutes tracetime are spent by a join over the tables MKPF en MSEG.
This join is done by the abap statement:
SELECT mkpf~mblnr
mkpf~mjahr
mkpf~bldat
mkpf~blart
mseg~matnr
mseg~werks
INTO CORRESPONDING FIELDS OF TABLE i_matdoc_we
FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
AND mkpfmjahr = msegmjahr
FOR ALL entries IN i_list
WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
AND lv_interval-tonumber
AND mkpf~blart = 'WE'
AND mkpf~bldat LE gv_last_day_fisc_period
AND mseg~matnr = i_list-matnr
AND mseg~werks IN s_werks.
Here, I_LIST comprises of stock for specific period as entered in the selection screen for that particular Material and plant
LV_INTERVAL is range of all goods receipts for material and gv_last_day_fisc_period is current date.
During the tracetime this statement was executed more than 20.000 times, until the transaction timed out.
The individual executions of this select stmnt varied (roughly) between 50 and 1200 miliseconds. (depends wheter the requested database block is in the buffercache or must be read from disk).
The acesspath used to execute the query ( see below) is optimal, given the present indexes.
Index MSEG~M is covering al the specified selection criteria for MSEG.
Index MKPF-0 is used to search the specified MBLNR criterium in MKPF.
The remaining selection criteria MKPF-BLART and MKPF-BLDAT are not indexed, and imho this would also not make sense for this query.
BLART has only 3 different values n the MKPF table, and the selected value 'WE' has more than 1 million occurences.
BLDAT is selected with =<20110903, so this is not distinctive as well.
Can any one suggest some better way to write this query.
Regards,
SubhajitActually there are 2 select statements where JOIN have been introduced and especially the time out is occurring in the second JOIN.
Find all goods receipts for material
PERFORM get_number_range_matdoc USING '03'
CHANGING lv_interval.
SELECT mkpf~mblnr
mkpf~mjahr
mkpf~bldat
mkpf~blart
mseg~matnr
mseg~werks
INTO CORRESPONDING FIELDS OF TABLE i_matdoc_we
FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
AND mkpfmjahr = msegmjahr
FOR ALL entries IN i_list
WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
AND lv_interval-tonumber
AND mkpf~blart = 'WE'
AND mkpf~bldat LE gv_last_day_fisc_period
AND mseg~matnr = i_list-matnr
AND mseg~werks IN s_werks.
CLEAR lv_interval.
PERFORM get_number_range_matdoc USING '02'
CHANGING lv_interval.
Find all goods issues for material
SELECT mkpf~mblnr
mkpf~mjahr
mkpf~bldat
mkpf~blart
mseg~matnr
mseg~werks
INTO CORRESPONDING FIELDS OF TABLE i_matdoc_wa
FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
AND mkpfmjahr = msegmjahr
FOR ALL entries IN i_list
WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
AND lv_interval-tonumber
AND ( mkpfblart = 'WA' OR mkpfblart = 'WI' )
AND mkpf~bldat LE gv_last_day_fisc_period
AND mseg~matnr = i_list-matnr
AND mseg~bwart NE '561'
AND mseg~bwart NE '562'
AND mseg~bwart NE '961'
AND mseg~bwart NE '962'
AND mseg~werks IN s_werks.
Mainly the second JOIN is creating the problem... In the backend ORACLE is being used as database.
Please suggest how I can improve the performance of these joins as its taking more than 45 mins.. -
Relation between qRFC and SXMB_Moni tables.
Hello Experts,
I would like to know if there exists any rerference OR any link between the qRFC tables (TRFCQOUT / TRFCQIN) with the backend master tables of SXMB_MONI (SXMSPMAST, SXMSPERR, SXMSPHIST) ETC.
This would give me an idea whether I can fetch out the niche details of the records/messages stuck in qRFC from SXMB_MONI.
Kindly advice.
Thanks in advance,
Elizabeth.Hi Elizabeth,
Check this recent blog..may be useful to you
SAP XI/PI: Alerts for Queue Errors
/people/santhosh.kumarv/blog/2009/05/19/sap-xipi-alerts-for-queue-errors
Regards,
Sunil. -
Relation Between Interest and Risk Categories for Customers
Hi
Can somebody tell me if there is a relationship between interest rates and risk categories. We have not implemented neither treasury nor Hedging.
Would like to link the interest as per the risk categories. As the risk changes, interest should also vary.
Can this be achieved
PrasadHi Prasad,
It is all AR functionality: Dunning/Interest Calculation/Credit Management/Risk Categories; I think it is doable to adjust interest on late payments based on customer risk category; but I doubt you will get detailed answer on this forum. FICO forum may be better.
Manish -
Relation between PLAF and MSEG
Hi
Can anyone provide me with a relation between PLAF and MSEG table
Thanks
VRVHI VRV,
I don't know if you have already got the response to your query. But for your requirement, i believe you should be looking at PLAF & tables like AFKO, AFPO, AFRU.
AFKO is order header, AFPO for the order details & AFRU for the confirmations.
From the PLAF you can get planned order details, from the others you can get the order & qty which has been converted to production order, the qty which has been confirmed.
Have a look at these tables & if you need any further inputs, message back & will try my best to be of some help.
Regards,
Vivek -
Relation between LIKP and VEKP
Hello Friends,
I want to know the relation between LIKP and VEKP tables.
Please help me in this regard.
Regards,
ShreekantHi
LIKP and LIPS are delivery Header and Item tables
<b>VEKP and VEPO</b> are HU header and Item tables linked with Key fields
You can't link LIKP and VEKP directly
Link <b>LIKP-VBELN to VEPO-VBELN </b> and take the HU number and with that link VEPO and VEKP
<b>Reward points for useful Answers</b>
Regards
Anji -
Relation between PLKO and PLPO
Hi Friends ,
What is the relation between PLKO and PLPO table or MAPL and PLPO ? In PLPO table I found operation activity(VORNR) is repeating for same group (PLNNR) , so how can we find out which is the valid one ?
Thanks in Advance ,
JobyHi,
goto transaction c203 give Recipe Group (ur plnnr) and press enter.......
der in operations tab ull hav all the operations(vornr) for that recipe grp(plnnr) ok..............choose the one u want....now find the other details
Task List Type (plnty)
node (plnkn)
counter (zaehl). and pass it to plpo to get unique record..................
Cheers,
jose. -
Relation between computing and gathering statistics
Hi gurus,
What is the relation between computing and gathering statistics for a database object.Are they mutually dependent or one doesn't have anything to do with the other?How they affect performance of a database??
plz dont redirect..just bottom lines are expected(be specific)
Thanks in advance
anirbancomputing term used to collect 100% statistics along with analyze command.
gather stats is a new package provided by the oracle, also recommend to use this instead of analyze. You can also take 100% stats, like compute with analyze command, in gather stats pacakge, parameter estimate_percent=>null.
exec dbms_stats.gather_table_stats('SCHEMA',TABLE',cascade=>true,estimate_percent=>NULL);
Jaffar -
Relation between ser03 and rihequi_list
Hi,
whats the relation between ser03 and rihequi_list tables.can u tell me.Hi Vit,
I used SQL Profiler to extract the query that is used to get the records when the ... button is pressed. I am not sure if this is what you're looking for, but here is the query:
SELECT T0.*
FROM [dbo].[ODPI] T0
WHERE (T0.CardCode = N'CARDCODE '
OR T0.FatherCard = N'CARDCODE '
AND T0.FatherType = N'P' )
AND T0.CANCELED = N'N'
AND T0.DpmStatus = N'O'
AND T0.DocCur = N'GBP'
AND T0.PaidSum <> 0
AND T0.DocStatus = N'C'
AND T0.Posted = N'Y'
Hope it helps,
Adele -
Hi, could someone tell me how to find the relation between PAY_ELEMENT_TYPES_F and GL_CODE_COMBINATION tables
that is because as you could know PAY_ELEMENT_TYPES_F holds the definitions of elements in Oracle HRMS and i need to find the accounting code of each element.
ThanksHi;
Please check e-trm site for table relation,integration,explanation etc..
etrm.oracle.com/
Regard
Helios
Maybe you are looking for
-
Cannot get VPN to work on 10.6
let me start by saying that whilst I have a computer background, and I can follow a simple set of "technical" instructions I am not hugely computer savvy when it comes to networking issues.. I have successfully used a connection to a VPN service, usi
-
OSP resource cost debited in 'Purchase Price Variance'
Hi all Can you help me how to fix the issue of 'OSP resource cost' debited in 'Purchase Price Variance' instead of WIP cost. Please note that the 'Standard Cost' in resource definition is disabled. Note that the costing followed is 'Average'. Thanks
-
Newbie to flash video streaming
Hi, I have a website that would like to stream videos, similar to how youtube does it, but for training purposes. I was wondering what software is most widely used to achieve this? Do you have to have a seperate server where the files reside? Does on
-
Two separate queries in one report
Hi Gurus, Is it possible to make two separate queries in the same worksheet (I need to have a column in my report from a different query from this report). As we can have more than one query in Oracle Reports, similarly, is it possible to have more t
-
Hello all, I stupidly erased my iTunes library. After some work using Data Rescue I was able to recover most of my files, I think. Is there a way to have iTunes automaticaly recover the links to all the missing files? At the moment if I re-import the