Doc. condition in EKBE table
Hi ALL,
Can i know what is document condition refers to in EKBE table , from were it picks up ?
Thanks and Regards
Arun
Hi,
It is from EKKO table KNUMV, if you know this number , you can pass this number to KONV table to get all your pricing condition details.
Regards,
R. Dillibabu.
Similar Messages
-
Reference Doc (Field - LFBNR) against IV cancellation - EKBE table
Hi,
We want to refer to table - EKBE, for getting a link between the original IV (Material Doc) with the cancellation (Material) IV Doc.
At my earlier site, our cancellation (Material) IV Doc was getting updated as a "Reference Doc" against the Original (Material Doc) IV doc. which was a easy way to identify a link between Original IV (Material) Doc. & Cancelled (Material) IV doc for ABAP development logic. Was that becuase of any user exit or development to update the "Reference Doc." field in Table - EKBE ?
Right now at our client, GR Doc (Material Doc) is getting updated as a "Reference Doc (Field - EKBE-LFBNR)" against all the material doc. pertaining to a particular P.O. in table - EKBE which require to give a different logic to identify the relationship between these 2 documents for ABAP development.
No question of giving a different logic but that was a easy way to identify the relatioship.
If possible, please confirm to me as which doc, system is referring as a "Reference Doc."
Is there any setting we do for updating the particular document as a "Reference Doc." in EKBE Table.
There is a SAP note about leaving the field "Reference Doc." as a blank field or updated with the Material doc.
But my point is that we want cancelled (Material Doc) IV as a "Reference Doc." against the original IV doc. to set a logic for ABAP development ?
Regards,
ShridharHi,
No body is there who has handled in past such a requirement?
I want to substitute the Reference Doc. - (Field - LFBNR) of Table - EKBE with the cancelled IV doc (MIRO cancelled doc).
Purpose of this development is to identify the relation between Original IV (Material) Doc. with the Cancelled IV (Material) Doc.
This logic will help us in one of our ABAP development.
Regards,
Shridhar -
2LIS_02_SCL - need Doc Currency Amount (WRBTR) from EKBE table
Problem: We are using the 2LIS_02_SCL to get our purchasing order data. The problem is that instead of sending over the Doc Value Amounts found in the EKBE table, SAP is doing a calculation based on the the local currency. They are then using the Exchange rate from the PO Header. Our users are complaining, because they expect it to match up with what is in the purchase order history.
I was planning to create a new amount field and and in my transfer rules write ABAP code to take the following fields from 2LIS_02_SCL:
BW:CValLC(BWGEO), Local cur.(HWAER), Posting Date, Currency(WAERS)
Use this Date to go back to TCURR to get the correct exchange rate that is used and do my calculation to doc currency (basically replicating the data as viewed in PO History).
I ran into an issue however. The Currency (WAERS) field is being filled with the value from EKKO. I have a below example where in EKBE, the PO was invoiced in a currency other than the DOC Currency.
Data in R/3 from EKBE (History per PO)
PO: 1
Amount in Local Currency(DMBTR): 250,01
Local Currency (HSWAE): USD
Amount in Doc Currency(WRBTR): 250,01
Doc Currency (WAERS): USD
Data in R/3 from EKKO (Purchase Order Header)
PO: 1
WAERS: DKK
In this scenario, I am unable to populate the correct value (as seen in purchase order history).
I dont see of a way that I can get around this. Does anyone have any ideas?
ThanksHi Jiri,
You can suggest the RRI from cube built on SCL report to cube built on EKBE based on PO.
Also check if this can be solved by using a multi-cube on these 2 cubes.
I have done a RRI when I was facing the same issue.
Regards,
Niraj -
Hi Experts,
I want to prepare a new custom report in which the PO number should appear. I was advised to use EKBE table. On checking I found that I can pass only Material doc# and Fiscal Year and No company code field is found. Is it reliable to use only to input values and try to fetch the PO number? I am not sure if there could be more documents across company codes since the number range is set as company code level. Can you suggest any alternative?
I have already searched for similar topic but could not find the correct answer.
Please help.
Thanks in advance.
SunilHi Both,
If I use MSEG table, I must use GR-MM document. As per my knowledge, IR document (MM/FI) won't reflect in MSEG table.
If GR entry is done first, then I can fetch the AWKEY field from IR-FI doc to get the MM doc#. If the IR entry is done first, (without GR entry posted on PO line) then it is not very easy to fetch the GR-MM document number at a later point of time also.
If the PO# is unique, independent from company code and year, then there are no issues, the below logic will work.
Pass the IR-FI Document number to BKPF with BUKRS&GJAHR and take get IR-MM document (AWKEY - 10 +4). Then pass this to EKBE table with BELNR and GJAHR then pick the EBELN (PO#) and EBELP (line item).
Please correct if I am not right.
Thanks in advance! -
Purchase order EKKN/EKBE tables
Hi,
I m creating a report based on purchase order. I'm getting sequence number from EKKN table and then getting the invoice details from EKBE table using where clause on EBELN, EBELP and ZEKKN(Seq number) fields.
My question is in some cases in EKBE table, 00 seq number is populated, mostly for VGABE = 1 (Mat doc number) or VGABE= 9(Service entry sheet). But this 00 is not in EKKN table. So in that case i miss these invoices in my internal table, bcoz i'm querying based on seq number, and 00 is not there.
Bcoz you cann't use 00 seq number at the time of PO creation.
Can any body tell me how and in which senarios seq no (EKBE-ZEKKN) field is being populated, so that i can write the code accordingly....
Thanks,Start your selection query from EKBE first and then go to EKKN based on the EBELN, EBELP & ZEKKN.
Regards,
Naimesh Patel -
Qty field addtion based on item no. for ekbe table
Hi experts,
below is my code..
LOOP AT IT_EKKO.
READ TABLE IT_LFA1 WITH KEY LIFNR = IT_EKKO-LIFNR.
MOVE: IT_LFA1-NAME1 TO IT_DISPLAY-NAME1.
MOVE: IT_EKKO-LIFNR TO IT_DISPLAY-LIFNR,
IT_EKKO-AEDAT TO IT_DISPLAY-AEDAT,
IT_EKKO-ERNAM TO IT_DISPLAY-ERNAM,
IT_EKKO-EKGRP TO IT_DISPLAY-EKGRP.
READ TABLE IT_EKPO WITH KEY EBELN = IT_EKKO-EBELN.
MOVE: IT_EKPO-EBELN TO IT_DISPLAY-EBELN,
IT_EKPO-MATNR TO IT_DISPLAY-MATNR,
IT_EKPO-MENGE TO IT_DISPLAY-MENGE.
LOOP AT IT_EKBE where ebeln eq it_ekko-ebeln.
loop at it_ekbe." WHERE ebelp eq it_ekbe-ebelp.
IT_DISPLAY-QTY = IT_DISPLAY-QTY + IT_EKBE-MENGE.
AT END OF EBELP.
APPEND IT_DISPLAY.
CONTINUE.
ENDAT.
ENDLOOP.
endloop.
APPEND IT_DISPLAY.
CLEAR IT_EKKO.
ENDLOOP.
my requirement is to display lifnr,ernam,ekgrp.....etc....
but the condition is in ekbe table i hav to take purachse document no. from ekko table..based on this ebeln if suppose
the item no. ebelp in ekbe has value say 10,10, den 20,20..for a single ebeln...then for same item no(10). the qty field should be added
and for (20) item no. the qty field should be added.
plz help...
hw can i acheive this requirement.
thanks n regards,
Ashmita Singh.Hi Ashmita,
Do the following changes in your program.
Define it_lfa1 table as Hashed table with unique key on lifnr.
Sort table it_ekpo before the loop start on ebeln and used binary search to read data from table.
Define it_ekbe as sorted table with non-unique key on ebeln and EBELP use single loop.
Write the following statement before main loop start. (ie it_ekko)
delete ADJACENT DUPLICATES FROM it_ekbe COMPARING eblen EBELP.
LOOP AT it_ekko.
* Define it_lfa1 table as Hashed table with unique key
READ TABLE it_lfa1 WITH KEY lifnr = it_ekko-lifnr.
MOVE: it_lfa1-name1 TO it_display-name1.
MOVE: it_ekko-lifnr TO it_display-lifnr,
it_ekko-aedat TO it_display-aedat,
it_ekko-ernam TO it_display-ernam,
it_ekko-ekgrp TO it_display-ekgrp.
* Sort table it_ekpo on ebeln and used binary search
READ TABLE it_ekpo WITH KEY ebeln = it_ekko-ebeln.
MOVE: it_ekpo-ebeln TO it_display-ebeln,
it_ekpo-matnr TO it_display-matnr,
it_ekpo-menge TO it_display-menge.
* Define it_ekbe as sorted table with non unique key on ebeln and use single loop.
LOOP AT it_ekbe WHERE ebeln EQ it_ekko-ebeln.
it_display-qty = it_display-qty + it_ekbe-menge.
ENDLOOP.
APPEND it_display.
CLEAR it_ekko.
ENDLOOP.
Kind Rgds
Ravi Lanjewar -
More than one join condition for 2 tables in obiee
Hello,
I am using obiee 11g.
There are 2 tables tableA and tableB where the join condition is like (tableA.col1=tableB.col1) or (tableA.col1 is null and tableB.col1 is null)
where should i do these type of joins.
I tried putting in physcial layer->f(x) but giving error like here only columns an d opertaors are allowed.
Thanksok here it goes.
I have a tableA with columns col1(pk),col2 and other columns
I have tableB with columns col1(pk),col2..Only these 2 columns.
Now distinct tableA.col2 values are put in tableB.col2. For those distinct values i have put the tableB.col1 values.
Now tableA.col2 as well as tableB.col2 can be null beacuse there may be null values in tableA.col2.
Now in tableB i have added one more row which has col1 as value and col2 as null.
Now when in physical layer when i do tableA.col2=tableB.col2 i dont get the null values.
What i want is whenever the tableA.col2 and tableB.col2 is null then take tableB.col1 for those vales.
So when i query i do
select * from tableA,tableB where
((tableA.col2=tableB.col2) or (tableA.col2 is null and tableB.col2 is null))
What i want is when i do a join i should be able to give this OR condition in rpd thats it.
because when i do in where clause of content tab it goes like a AND condition and not OR.
Thanks
Edited by: user123 on Jul 5, 2011 1:57 PM -
Function Module for creating condition record (XKOMV table record)
Hi,
I have a requirement as like below,
In the repair order i need to sum the GRWR condition type's conditional values for all the line items (Except deliverable line item) and then i need to create an condition type GRWR under the deliverable line item with the above calculated conditional values,
the table XKOMV will be having details about all the line item's condition types, in this table i need to add one more new record with the condition type of GRWR and the above calculated conditional values under the deliverable line item.
for the above logic i am using the user exit
USEREXIT_SAVE_DOCUMENT_PREPARE
All the above things need to be done when the user click the save button in the transaction (VA01/VA02).
Problem here is table XKOMV contains somany fields so manually we can't create xkomv record, is there any Function module to create condition type record?
Regards,
Manikumar
Edited by: Manikumar Shanmugam on Mar 8, 2008 3:53 PMHi,
You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
Regards
Kiran Sure -
Conversion with Conditional Text in Table
I'm taking the first steps in converting Unstructured Frame to Structure. One document is pretty clean except for one issue: my structure breaks around conditional text in tables. (The tables have a f3ew issues oftheir own, but the conditional text seems to compound the problem) I'm not sure how this should be dealt with. The structure tags are shown in the view below.
And here is the Structure View:
Is this something that can be set up with a qualifier, and if so, How? Also, in the conversion map table, Is there any order dependency, as well, concerning where the Conditional Text element appears?Jane,
As far as I am concerned I do not see anything unexpected. You get dotted lines in the Structure View apparently because the element <B1_Body1> seems not to be allowed in the Element <CELL>. It looks like you worked with the defaults of the Conversion Table. Have you created your own EDD and imported the Element Definitions? Is <B1_Body1> a legal element inside <CELL>?
From my experience the Conditional Text feature works very much in parallel to the element structure. It comes from the format-based world and the structure has no means to handle text conditions. If you want to work with text conditions in the future, you would use »attribute-based condition management« as made possible through the plug-in AXCM or FrameMaker’s built-in feature »Filter by attribute«. There is no built-in method to change text conditions into certain attribute values – but it is possible to automate this move via the FDK or FrameScript or ExtendScript (from FM10).
- Michael -
Condition type value table ????
I want the value of the Condition type of taxes in the Purchase Order
When we open the PO , Click on Invoice and then on Taxes, the screen shows Condition types and there values.
From which table i can get these values on the basis of the Purchase Order.Hi,
KONV tablefor conditions.
EKBZ Table .
KONV-KSCHL for condition type.
KONV-KWERT Condition value
KONV-KBETR Rate Percentage.
Reward if useful.
Regards,
Narasimha
Edited by: narasimha marella on May 15, 2008 9:00 AM
Edited by: narasimha marella on May 15, 2008 9:14 AM -
Generic DataSource by View on EKBE table.
Hi All
I am also trying to create View based on EKBE table . I am getting some errors even through I have included at reference table ( EKBE,EKKO and T001) with respective fields.
View is Ok, only when I try to activate DataSource in RSO2 , I am getting error like this
Invalid extract structure template ZEKBE of DataSource ZPU_EKBE_FLEX1
Message no. R8359
Diagnosis
You tried to generate an extract structure with the template structure ZEKBE. This operation failed, because the template structure quantity fields or currency fields, for example, field MENGE refer to a different table.
Anybody had same issue ?
Regards.
EHi Ram,
Again Thanks for your reply.
Like you said I have created everything from RSO2, except View .
I am not lucky yet. getting same error.
Invalid extract structure template ZEKBE of DataSource ZEKBE
Message no. R8359
Diagnosis
You tried to generate an extract structure with the template structure ZEKBE. This operation failed, because the template structure quantity fields or currency fields, for example, field MENGE refer to a different table.
Kind regards.
E -
Delivery Number and EKBE table
I have a requirement to find out and print Delivery number all I have is PO number.
and I was told that In EKBE if the PO history cat is "L" then fetch the Delivery Number.
My question is from which table and which field i need to pull if the PO history category is L in EKBE table.
Thanks in advance,,Here is the Link
Get all the PO's From EKBE-BEWTP " PO history cat is "L"
Equal to 'L'.
select * from ekbe
into table it_ekbe
where BEWTP = 'L'.
if sy-subrc eq 0.
select * from LIPS
into table it_lip
for all entries in it_ekbe
where vgbel = it_ekbe-ebeln and
vgpos = it_ekbe-ebelp.
"This will give all the Deliveries realted to PO histort cat " L"
endif. -
PROBLEM to give condition in ADF table column and on pressing enter
Hi,
1st problem:
========
I have 1 ADF input text ,
<af:inputText id="testinp"
contentStyle="width:200px"
value="#{adfobj.input1}"
/>
say user is trying to enter any value , immediately if user presses "ENTER KEY" inside input text only i should invoke managed bean method
say,
Test.java
======
public void getData(){
2) im trying to display an ADF table,
ADFStandardsLeftMenu=in faces config this name points to "ADFStandardsLeftMenu.java" bean
mostCommonAgencySelectedList=of type arraylist which is present inside this bean
this list obj holds 1 "StandardURLData.java" bean object
accreditedagencyStdSelectedList.add(new StandardURLData("test col"));
public class StandardURLData{
private String stdName;
public StandardURLData(String stdName){
this.stdName=stdName;
<af:table value="#{ADFStandardsLeftMenu.mostCommonAgencySelectedList}"
id="t1" width="100%" var="stdURL"
emptyText="<html><b><font color='red'><center>No Records Found</center></font></center></b></html>"
inlineStyle="height:500px;">
<af:column sortable="false" headerText="STANDARD NAME" align="start" id="c1" width="220px"
inlineStyle="font-weight:bold;">
<af:goLink text="#{stdURL.stdName}"
id="sub_pt_gl1"
destination="#{stdURL.viewerLink}"/>
</af:column>
<af:column sortable="false" headerText="FILE NAME" align="start" id="c3" width="220px">
<af:goLink text="#{stdURL.fileName}"
id="sub_pt_gl3"
destination="#{stdURL.viewerLink}"/>
<af:outputText value="#{stdURL.fileName}"/>
</af:column>
</af:table>
im able to print all the values......
but i want to include 1 condition in go link,
like ,
if "fileName" value (2nd column data) is null or "" (string in StandardURLData bean)
i should not give hyperlink in 1st column "stdName" column
i.e.
(text: stdname should not come in hyperlink)
<af:goLink text="#{stdURL.stdName}"
id="sub_pt_gl1"
destination="#{stdURL.viewerLink}"/>
could anyone tell me how to give these conditions in adf table.
in managed bean even if we check it will be prob while generating cols in table
thanks in adv
regards,
sandeepHi,
If u know the employees who can change the values in other boxes, then follow the below procedure,
In PBO,
if employees can change, (EMP = '....')
loop at screen.
if screen-name = 'Name for the input field'.
screen-input = 1 .
modify screen.
endloop.
else.
loop at screen.
if screen-name = 'Name for the input field'.
screen-input = 0 .
modify screen.
endloop.
endif .
If u r not still clear, Mention ur problem with example
Regards,
Prem Karthick -
Hi Gurus,
Good Day to all. I just like to inquire some details for creating generic datasource with delta enabled. I have created a view table with fields from EKBE table, and created generic datasource that reads the view table I have created from EKBE, now it needs delta process with CPUDT as delta specific field name, seeing the data type of CPUDT, it is DATS with 8 length.
I would like to assure if what will be use as marker of delta, timestamp utc, timestamp local, calendar day and numeric pointer?
And if I use one of the above, what settings that needs to be use for the safety interval upper and lower limit?
Thank you for your inputs and really appreciate it.Hi,
use the CALDAY as a generic delta pointer.
i would like to recommend as: Safety Interval for Upper Limit as 1 and Safety Interval for lower Limit as ZERO
i think your are using the DSO as a staging layer no worry about duplicates.
Thanks,
Phani. -
Writing 2 conditions on a table
Hi all
I need to impose one codition on the table
The following are the details
Tables
Classes(class, type, country, numguns, bore, displacement)_
Condition:
If a class of ships has more than 9 guns, then their bore must be no larger than 14 inches_
Could you please give me hint writing the above condition on a table using check constraint.....Dont put duplicate post your question has been answered here
Re: how to write constraints
Maybe you are looking for
-
Please Help Me ! I just bougth a new I phone and I did made the start up procedure and I did registered on I store but every time I do the sincronoization an error massage come up saing that i can not do that becouse there it has been not possible do
-
I have a Pioneer DEH-P5000UB head unit in my car with a USB connection on it that was made for the iPod's of the time (head unit is a couple of years old and it apparently has a 12v interface) I have read mixed results on this head unit connecting to
-
Hi Experts, In the report I am using LDB pnp and outputting results with ALV, I am using the FM REUSE_ALV_GRID_DISPLAY, And I am getting the dump GETWA_NOT_ASSIGNED. The dump I am getting when the FM is executed. Thanks in Advance. Regards, IFF
-
Hi all, I need to know about two dimensional structure in pl/sql? And how many level of sub queries are optimum for a query?
-
Hello, I have created a subvi that searches through a main folder for specific files and adds them to a compressed folder. I have 4 folders I need to create for different types of collected files (.csv and .txt). The naming convention of the files in