RERAPP and reference field
Hi,
does anyone know how SAP determines the Reference field (XBLNR) when generating vendor open items via Periodic posting run RERAPP?
Is there any possibility to define a certain reference by the user?
Thanks,
Sonja
Hi,
The reference table and reference field are the fields which specify the currency key or Unit of Measure. Suppose if the user specifies a currency amount say 1000$, the currency amount field would indicate the amount 1000 and the currency key indicates that the currency specified is in Dollars.
A reference field is needed for all currency and quantity fields as the figures in this field need a currency or unit. If you have no reference field and table for fields of this kind you will get a syntax error. This syntactic constraint reflects a semantic fact: A figure in a field does not tell you a lot if you do not know to which quantities or currencies the figure is related: It does not suffice to know that you have, for example, five items, but you need to know if you have five meters, five Euros, five pound etc. And this information is provided the reference field and table.
Reference: http://www.sap-abap4.com/abap/qa-sap-abap-dictionary-23/
<REMOVED BY MODERATOR>
regards,
Ramya
Edited by: Alvaro Tejada Galindo on Apr 14, 2008 4:58 PM
Similar Messages
-
Check double invoice with GL account and Reference field
Dear SAP GURU's,
I am very new to SDN. I have one query.
I know we have the option of control double invoice against Vendor/Customer by using reference field. But here my client is asking that control has to be from GL account and reference field, becoz some times he will receive the shipping bills 3 or 4 times agianst one billing document ( i am booking Transporter Vendor invoice by using FB60) with same bill number but expense GL's will be different most of the times. Some times knowingly or unknowingly same GL Expenditure account will be repeated with the same shipping bill number. This was happend most of the times.
So can i know how can i get the GL account and Reference field checking and error message for the same.
Thanks & Regards,
Shobha.Dear Shobha,
I feel that having a check on GL is not a good idea. If your client insists you can go for an exit or BTE.
We used BTE to have the same functionality of Logistics for FI documents also in our office.
Duplicate Invoice check process documentation is given below for your ready reference --
with Regards
Check Flag for Double Invoices or Credit Memos
Indicator which means that incoming invoices and credit memos are checked for double entries at the time of entry.
Use
Checking Logistics documents
Firstly, the system checks whether the invoice documents have already been entered in the Logistics invoice verification; the system checks invoices that are incorrect, or invoices that were entered for invoice verification in the background.
Checking FI documents
The system then checks whether there are FI or Accounting documents that were created with the original invoice verification or the Logistics verification, and where the relevant criteria are the same.
Checking Logistics documents
In checking for duplicate invoices, the system compares the following characteristics by default:
Vendor
Currency
Company code
Gross amount of the invoice
Reference document number
Invoice document date
If all of these characteristics are the same, the system issues a message that you can customize.
When you enter credit memos or subsequent adjustments, the system does not check for duplicate invoices.
Exception: Country-specific solution for Argentina, where invoices and credit memos are checked for duplicate documents.
No message is issued if you enter a document that has previously been reversed.
Dependencies
The system only checks for duplicate invoices in Materials Management if you enter the reference document number upon entering the invoice.
In Customizing for the Logistics invoice verification, you can specify that the following characteristics should not be checked:
Reference document number
Invoice document date
Company code
This means that you can increase the likelihood that the system will find a duplicate invoice, because you can reduce the number of characteristics checked.
Example
The following document has already been entered and posted:
Reference document number: 333
Invoice date: 04/28/00
Gross invoice amount: 100.00
Currency: EUR
Vendor: Spencer
Company code: Munich
You have made the following settings in Customizing:
The field "Reference document number" and "Company code" are deselected, which means that these characteristics will not be checked.
Now you enter the following document:
Reference document number: 334
Invoice date: 04/28/00
Gross invoice amount: 100.00
Currency: EUR
Vendor: Spencer
Company code: Berlin
Result
Because you entered a reference document when you entered the invoice, the system checks for duplicate invoices.
The reference document number and the company code are different from the invoice entered earlier, but these characteristics are not checked due to the settings you have made in Customizing.
All other characteristics are the same. As a result, the system issues a message that a duplicate entry has been made.
If the "Reference document number" had been selected in Customizing, the system would have checked the document and discovered that it was different from the invoice entered earlier, so it would not have issued a message.
Checking FI documents
Depending on the entry in the field "Reference", one of the following checks is carried out:
1. If a reference number was specified in the sequential invoice/credit memo, the system checks whether an invoice/credit memo has been posted where all the following attributes agree:
Company code
Vendor
Currency
Document date
Reference number
2. If no reference number was specified in the sequential invoice/credit memo, the system checks whether an invoice/credit memo has been posted where all the following attributes agree:
Company code
Vendor
Currency
Document date
Amount in document currency -
User Defined Fields and Reference Fields on the B/S
Dear Experts,
On the balance sheet in SAP 9.0/8.82 once you click on the expanded button, there are user defined fields and reference fields which are blank. Could someone assist on how to use them ?
Kind RegardsHi Martin,
If you add any user defined fields (UDF) in Journal Entry (JE) screen, You can use the udf's in the
balance sheet report.
Regards
Neslin -
Mandatory field - Header text and Reference field for company code
Hi
In transaction code FB60, I want to make header text and reference field mandatory at the company code level.
For one company code , the header text and the reference field should be made mandatory but for the other 8 company codes , those fields should not be mandatory.
if I make the fields mandatory via the document type , then it will be applicable for all the company codes using the document type.
thanks in advance
Kind regards
sap studentHi Chintan
I have written the validation rule and it is working fine.
Thanks
kind regards
sap student -
The Document header txt and Reference Field are empty
The BKPF table is not populated with
BKTXT and XBLNR for document type TE
on Posting
Is there any configuration
where i can see the issue
please adviceAll the posting is done via standard SAP programs set up as jobs
RPRTEC00 to settle trips
RPRFIN00_40 to create posting run
RPRPOSTD to post the entry
on checking the OBA7 the reference field and document header text are not checked
in bothe Q and D systems
But in D system the values appear on repeating the same in Q the values are not there
Please advice
Shall i recomment to Check these two entris in OBA7 and then give a try -
Delivery Date And Reference Field
Hi All,
SAP Business One 2007A PL 30.
I just want to know if it is possible whilst in a Sales Order whether the delivery date can by default come in as the same date as the posting date. I know it is simple enough to press a key and then tab but just wanted to know if it was possible.
One more thing I would like to know is, is there a way to block a user from changing the reference field when you say copy from a Sales Order to a A/R Invoice?
Any help will be much appreciated.Hi
Use this FMS and assign to the Delivery Date field. Referesh the field with when ever Posting Date Changes.
SELECT $[$10.1.DATE]
You can make use of the Data Ownership & Exceptions for the second query of urs.
Or u also can use SP for the same to avoid posting of the document in case the value is changed.
Regards
Reno -
Kodo problem and reference field
Hi,
Could you help me in finding a solution ?
I'll give you example - we have two objects - A and B. B object has
reference attribute that points to A. That requires two tables, where in
table B there will be foreign key to table A index.
But why I'm gettin such error when I'm trying to make persistent object A
(it is written to database). After that I'm creating object B, setting a
reference field (using created earlier A). When I try to make persistent
object B it sets a foreign key field to next value in sequence for table A.
This field should point to created earlier A row. Any ideas ?
Thanks for reply,
Krzysztof AdamskiIs the object A created under the same persistence manager? That can give
problems.
Make sure you use the extension metadata tag:
<extension vendor-name="kodo" key="inverse"
value="otherobjectsattributehere"/>
inside of object B's collection element definition of the metadata
Krzysztof Adamski wrote:
Hi,
Could you help me in finding a solution ?
I'll give you example - we have two objects - A and B. B object has
reference attribute that points to A. That requires two tables, where in
table B there will be foreign key to table A index.
But why I'm gettin such error when I'm trying to make persistent object A
(it is written to database). After that I'm creating object B, setting a
reference field (using created earlier A). When I try to make persistent
object B it sets a foreign key field to next value in sequence for table A.
This field should point to created earlier A row. Any ideas ?
Thanks for reply,
Krzysztof Adamski -
Vendor name & Reference field to be copied to payment document
Hi Gurus,
I am doing vendor paymen by t.code F110 . I want to copy vendor name and reference field to be copied from original booked billing document to payment document TEXT Field and Reference respctively. How do i do the same ?? pleae advise.
Regards
AVINASHtHi Avinash,
Were you able to populate the field XBLNR in the payment document with the Vendor invoice number field? Kindly let me know how you were able to successfully do it.
Thanks,
Thameem -
Reference field in the smartform
hello,
can you help me to specify reference field in smartform.
That means,
i had created the structure in which there is a field VEMNG for which the reference field is VEMEH from reference table VEPO.
Then i had written the program and created the internal table of type that structure and call the functional module which is calling the smartform by passing the internal table.
Now after executing it is giving runtime error as VEMNG is not present in the smartform. That means we have to specify the reference field in the smartform for that field.
i had specify in the smartform-global defination-currency/qty field as
VEMNG VEMEH QUAN as field name, reference field and data type.
But the error has come while doing syntaz check in smartform and the error is :- Global Definitions:Field "BRGEW" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . . . . . .
Please help me to resolve this error in the smatform.Hi ,
If you r passing quantity and currency fields to smartforms then in
Globaldefinitions-> currency fields
u have to specify the fields as well as its uniot field .
For example u r using field erfmg or menge then u have to use
fieldname = it_itab-erfmg and reference field as it_mseg-erfme
field name = it_itab-menge and reference field as it_mseg-meins
and change the data type to curr or quan as required .
Regards -
Enhancing datasource for qty and currency fields gives error
Hi Everyone
i need some advice on the following
i am enhancing a datasource which contains some currency and quantity fields
when i check my datasource i get the following error
specify reference table AND reference field
below is more detail on it but i am not sure i know what is means
Diagnosis
You must specify reference tables and reference fields for fields containing currency amounts or quantity data. You have specified either only the reference field or the reference table and have not maintained either entry.
Procedure
Add the missing entry. You can do this with the single field maintenance function of the table.
i have tried ua=sing data element instaed of field name but still no luck
can anyone help?
Thankyou
PGHi,
When you enhace datasource for currency/quantity fields, you have to give reference fields and tables for that.
Please specify the reference field and reference table for the currency/quantity field.
Are you enhancing generic DS?
Thanks,
Praveen Tati -
Can u pls tell what r the currency and quantity fields in detail.
hi to all can u pls teell
can u pls tell what r the currency and quantity fields in detail.
what is reference table .and reference fields .why we r giving theese reference table names while creating the currency fields .Hi,
Currency amount fields and quantity fields are numeric fields which each have a currency or unit field assigned to them. The correct interpretation of the values in these fields depends on its currency or unit of measure. Therefore, you can decide whether you want their corresponding currency/unit of measure to be displayed before or after the field, or not at all. Proceed as follows:
1. Select the field.
2. Choose one of the options from the window on the lower left (before, No currency field/unit, or after).
3. Choose Apply.
For more information check the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/0b/5da4e42cf511d5b692006094192fe3/frameset.htm
Following are system variables of currency:
SY-CCURS
R/2 - exchange rate and result field for CURRENCY CONVERSION. Not filled in R/3.
SY-CCURT
R/2 - table exchange rate for CURRENCY CONVERSION. Not filled in R/3.
SY-CDATE
R/2 - exchange rate date for CURRENCY CONVERSION. Not filled in R/3.
SY-CTABL
R/2 - exchange rate table for CURRENCY CONVERSION. Not filled in R/3.
SY-CTYPE
R/2 - exchange rate type for CURRENCY CONVERSION. Not filled in R/3.
SY-DCSYS
Dialog system of the R/2 System. Not filled in R/3.
SY-WAERS
Formerly the company code currency after reading a posting segment. Not filled in R/3.
Regards,
Bhaskar -
Hi Experts ,
Why do we have to declare the Type of CURR and QUAN field in the smart form declarations.
TIA
AbhishekHi,
Because for those fields there is reference field and table in the database,
why referecnce field and table means:
The reference table and reference field are the fields which specify the currency key or Unit of Measure. Suppose if the user specifies a currency amount say 1000$, the currency amount field would indicate the amount 1000 and the currency key indicates that the currency specified is in Dollars.
seshu. -
Reference table / reference field for currency/quantity field in tables.
Hello Sap Experts ,
Am a newbie and not able to make head or tail of what reference table and reference fields are when related to currency / quantity fields.Someone if could explain to me with a small example it would be great.Hi,
The currency and quantity field always require a reference table and field so that they can be entered in correct format.
Whenever you use currency and quantity field while creating the table you need to provide their respective reference field and table.
whenever you use currency and quantity in scripts or smart forms you again have to receive their value using variables referring to their reference table and reference field.
hope it must have cleared some of your doubts.
Thanks,
Abhi -
How can I find the reference field of components ?
Hi everyone ;
I am a Junior Abap Developer. I am creating a structure that I will use in the report program. When I create a structure , some of the components needs to get reference field.Ex: NETWR,BTGEW,KWMENG. How can i find the reference field of component?Hi,
You have to put entries for currencies and quantity fields for these fields,
Like for NETWR reference table is VBAK and field is WAERK,
for other Quantity field you can use MEINS as reference field.
You can check the reference table and reference fields in the respective tables( i.e. VBAP here).
Thanks,
Anmol. -
Reference field while extending Order Object with custom fields using EEWB
Hi,
I am using EEWB to extend Order. i have to add Quantity fields, while generation it gives the following error:
Diagnosis:
You must specify reference tables and reference fields for fields containing amount or quantity data. You have specified either only the reference field or the reference table and have not maintenance either ready.
Procedure:
Add the missing entry. You can do this with the single field maintenance function of the table.
Can someone explain what will I need to do? Is its a something outside EEWB which I would need to do.
Thanks,
SG.Hi
check the item category table CRMD_ORDERADM_I (Item data) for necessary fields there u can find that
Item No
Item Number in Document
NUMBER_INT
Product ID
Product Name Entered
ORDERED_PROD
Quantity
Unit of Measure
PROCESS_QTY_UNIT
Unit
CRM Schedule Line Quantity
QUANTITY
Hope it helps u
Regards
Manohar
Maybe you are looking for
-
Transferring photos/videos from Mac to PC...while preserving metadata
In short, I need to move my media collection (music, movies, photos, etc) off from my macbook pro and on to my windows server (Win 7) due to hard drive space limitations. I'm afraid that if/when I transfer all of my media over to the NTFS storage dri
-
Close popup window for swf file
The captivate movie plays properly in the popup window. The "Close Movie" command does not automatically close the popup window on some computers. Any sugestions?
-
Does anyone sell software bundle that came wG5
Here's what I'm talking about: Mac OS X, Spotlight, Dashboard, Mail, iChat AV, Safari, Address Book, QuickTime, iLife (includes iTunes, iPhoto, iMovie HD, iDVD, and GarageBand), iCal, DVD Player, Classic environment, Art Directors Toolkit X, FileMake
-
I went to do software update on my Iphone 4s. When it restarted the phone the usb plug, arrow button pointing up and the Itunes app appeared on my screen. It seems my phone crapped out on me. Is there anyway to recover my information. I also plugged
-
Hi friends, i have a little problem with a native method. This method open one text file but it doesn't close this file, so i can't delete the file at the end of the program. There's one way to fix ths problem without change the native method?.....Th