Validate f-22 and f-27 reference field

Hi,
Which user-exit should I use when I want to validate for duplicate reference field value and fire a warning message when the reference entered by the user is already posted? 
Thanks.
Regards,
Vale

Hi,
these are available exits..put break point and try one of them
check it.
F050S001  FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment 
F050S002  FIDCC1: Change IDoc/do not send                        
F050S003  FIDCC2: Change IDoc/do not send                        
F050S004  FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not sen
F050S005  FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006  FI Outgoing IDoc: Reset Clearing in FI Document        
F050S007  FIDCCH Outbound: Influence on IDoc for Document Change 
F180A001  Balance Sheet Adjustment                               
FARC0002  Additional Checks for Archiving MM Vendor Master Data  
RFAVIS01  Customer Exit for Changing Payment Advice Segment Text 
RFEPOS00  Line item display: Checking of selection conditions    
RFKORIEX  Automatic correspondence                               
SAPLF051  Workflow for FI (pre-capture, release for payment)
<b>Reward points</b>
Regards

Similar Messages

  • BAPI_ACC_INVOICE_RECEIPT_POST - BANK Reference Field ?

    Hi All,
    We are using the BAPI BAPI_ACC_INVOICE_RECEIPT_POST to post an Invoice.
    The requirement is to be able to pass the Bank Control Key and the Bank Reference
    field while creating the invoice.
    I am able to find the field to pass the Bank Control Key, but am not able to find a
    field for the Bank Reference field in any of the export parameters or Structures.
    Bank control key is populated in gs_acpa00-ctrl_key field.
    Please advise.
    Thank you
    Lalitha

    Hi. How did you resolve this?
    I am trying to set a different field using a user exit, it is available in the BAPI though, but it is called from a 3rd party application so we can not alter the actual call, we need to find a user exit.
    Any help would be greatly appreciated.
    Regards,
    Dave.

  • How does Reference Field work?

    Hi All,
    I have short of problem knowing how reference field works. I have one field in ABAP query: MBEW-STPRS. The field type is CURR and it have reference field T001-WAERS.
    In query I made, the currency isn't occurs although I have set it to be display. I try to look how this reference field works in any source but can't find any answer. May be some of you can give me a little explanation.
    Thank you so much
    Regards
    Hadi

    Hi,   
          Reference fields work in the following way,
    When you say quantity is 100, what it refers to - 100 pc, 100 bundles or 100 kg or 100 metres??? The unit of qty defines whether it is PC, KG, M etc...
    In the database, SAP stores all amount values with 2 decimal places. But when SAP reads it, it interprets it based on the currency associated with the amount field.
    We require reference fields to Currency/Quantity fields as they are meaningless with out having the units.
    Ex: If we say, i paid 100. How can we figure out if he had paid 100 paise or 100 rupees.
    So, units are must.
    In case of quantity field QUAN, reference field will be always of type UNIT,
    currency field CURR, reference field will be always of type CUKY.
    It is mandatory to specify reference fields when we create fields of quantity/currency type in data base tables.
    Hope this will clear you.
    Thanks & Regards,
    Pavan.

  • Re: XBLNR (reference Field) in MB51

    Hello Friends,
    I would like to know as to how can i Autopopulate the Value of Field : XBLNR which is a reference field in transaction MB51.
    Basically when i run transaction MB51 for a particular movement type , value of XBLNR should come up.
    Pl.help.
    Thanks,
    Julie

    Hi Julie...
    1. Run the report MB51
    2. click on current display variant (Ctrl+F8).
    3. in this click on position and select the reference field from the hidden fileds(right) and bring this to the Position fields(left. and click on copy.
    4. save this layout by going to menu ,  Settings -> layout -> save or (Ctrl+F12)
    5. give the layout name and save.
    6. goto Settings -> layout -> Administration and set this layout as a default.
    Once again run the report. in this automatically the reference field will be populated.
    Regards
    Bapears

  • Reference field and table for AUFK for F4 help in alv.

    Hi All,
       I need to put F4 help on ALV for order no (AUFK) what is the reference field and table for that?
      i tried giving field as aufk and table as ccss but its not working.
       ls_fcat-ref_field = 'AUFNR'.
        ls_fcat-ref_table = 'CCSS'.
    Thanks & Regards,
    Ruchi Tiwari

    Hi,
    Try this.
    Set the f4 help for the field in the fieldcatalog
      ls_fcat-f4availabl = 'X'.
    1. Create a event of ONF4 for the alv grid.
    2. Set the event handler.
    3. Append the field for the F4 help in the internal table and call the below method
        CALL METHOD g_mprn->register_f4_for_fields
        EXPORTING
          it_f4 = i_f4.
    4. create a class definition and implementation
        refer sample pgms (BCALV_F4, BCALV_GRID_EDIT_DELTA and BCALV_GRID_EDIT)
    Hope this may be helpful.
    Regards,
    Sharin.

  • 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

  • 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

  • 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 Regards

    Hi 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

  • 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 advice

    All 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

  • ISA order.jsp; message and validation for "Your reference" field

    Hi Everyone,
    I am new to ISA and working on java program to add message to "Your Reference" field in order.jsp page if this field is empty and clicked on "Check Out" button and user need to remain in the same page until user enters information in this field.
    Message is available in .xlf file.
    Please suggest me where to write this code for both message and validation for this field.
    Thanks in advance
    Prasad

    I fixed the requirement
    thanks
    Prasad

  • 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

  • Reference field 2 and 3 in enjoy transactions

    Hi Gurus,
    Can you let me know how to get the reference fields 2 and 3 to be displayed in the FB50, FV50 FB60,FB70 screens.
    Regards,
    Rishikesh

    hi venkat
    i believe we can change field status for the  GL accounts
    not for T code FB50
    I have already made field optional for all  field status.
    ref fields 2 and 3 still do not appear.
    Can you suggest  what i should do
    regards,

  • 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 Adamski

    Is 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

  • 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 student

    Hi Chintan
    I have written the validation rule and it is working fine.
    Thanks
    kind regards
    sap student

  • The reference field between purchase order and account assignment tables

    i need to reterieve the account assignemnt category (G_L_ACCT) which is in the table bbp_pdacc for an the purchase order item, i am not able to find the reference field. I am working on the SRM system.
    promise to reward points
    regards,
    anitha

    Well, the account assignment category in SRM table BBP_PDACC is ACC_CAT. If this isn't what you are looking for, could you please elaborate your requirements?
    Rob

Maybe you are looking for

  • Help in transformation routine

    I have to put an indicator for delivery block in transformation routine. Logic: if headed delivery block 'LIFSK' is not blank, result is 'X'. Here is my code which is not working: IF SOURCE_FIELDS-LIFSK NE ''.       RESULT = 'X'.     ENDIF. But this

  • HELP! I am having trouble when I try to paste a snap shot into a Word document!

    When I paste the picture into the Word document, the image is blurry.  What can I do to keep this from happening?

  • Integration of ContentDB Dev Kit with JDev

    Hi All, I have downloaded "Oracle Content DB Developer Kit". I have worked with JDeveloper 10g earlier. Can any one suggest how to integrate the CDB Dev Kit with JDeveloper 10g. Thank you

  • Adding to the ContentPane

    Pretty basic question I have... You know how when you add a component, say a JPanel, to the contentPane on the SOUTH. And then you add another component to the EAST. The south component always overrides the east component so the east component does n

  • I can't stop my computer from checking my i cloud email

    I continuously have an popup "internet e mail - [email protected]  It askes for my server, user name, password.  I fill these out and press ok but all it does is disapear and come back.  I can cancel it - it just goes away and comes back.  The server