Validation of a reference field when posting accounting document using FB50

Hi all,
We hada requirement to restrict the users from entering japanese caharaceters in the reference field of a accounting document. The validation for this was done using the transaction OB28. when the user posts the accounting document using transaction FB01 or changes the accounting document using transaction FB02, the validation provided in OB28 does work(it throws an error restricting the user from entering japanese characters if he has done so). But whenthe user pots the accounting document using the transaction FB50, the same error message comes as information message although the coding is for giving an error message.
This however does not happen when the user logs on in English. In English logon the error mesage does appear.
When the user logs on in Japanese the message comes as an information message but at the same time does not allow posting of the document.
Debugging this revealed that the OSS note 197329 has been applied to the standard SAP program SAPMF05A.
Any pointers to how this can be rectifiied would be appreciated.
Thanks in advance.

I think it would be best if you opened an OSS message on this.
Rob

Similar Messages

  • Reference field in SA accounting document

    Hi Friends,
    Got a requirement, to avoid populating the reference field in accounting field only for type SA (G/L account document). So, while creating through VBOF,   I am debugging to findout the place where the field is getting populated.
    Can anyone help me to understand on how it is getting copied from invoice? Is there any userexits to achieve the same?
    Thanks in advance.

    Hi,
    yes it is possible to change the refernce field in teh accounting document once posted.
    You ahve to mantain Rules for Changing Documents in SPRO.
    The path is ING--Financial Accounting (New)Financial Accounting Global Settings (New)DocumentRules for Changing Documents--Document Change Rules, Document Header
    Here amke a new entry as below
    Field NAme BKPF-BKTXT
    Account type blank
    Tarnsaction Type blank
    Company code Blank
    Check the box for "Field can be changed"
    Hoe this helps
    Reagrds
    Pratiksha
    *Assign Points if useful

  • Validation when posting a document using T. Code FB50 or F-02

    Dear Experts
    Please let me know on how to validate when posting a Cross Company Transaction using T. Codes FB50 or F-02.  The requirement is to restrict Branches (each Branch is a Company Code in SAP) to post any Cross Company documents by selecting HO Company Code in Line Item, system has to stop the User by giving Error Message.
    We can't control this using User level Authorizations because, here the Authorization is provided to the Users to post the Transactions using T. Codes FB50 and F-02.
    To restrict this, I created a Validation as below:
    Prerequisite:
    BKPF-TCODE = 'FB50' OR BKPF-TCODE = 'F-02' AND
    BKPF-BUKRS = 'Br. Company Code' AND
    BSEG-BUKRS = 'HO Company Code'
    Check:
    FALSE
    Message:
    You Can't post Cross Company Transactions using T.Code FB50 or F-02
    And I activated the above Validation in OB28 for HO and Branch Company Codes.  But the Validation is not working properly.  Can anybody help me on how to proceed further in this regard please.

    Hi,
    I haven't tried to use a transaction code for Validation purpose. Instead, I have used document type as prerequisite and then check:
    BKPF-BUKRS = 'Br. Company Code' AND
    BSEG-BUKRS = 'HO Company Code'
    If the condition is met, it displays an error (per the message in validation) while completing the line item details on posting a document.
    Please let me know if that helps. If not, I can try to replicate your scenario and let you know if there is anything missing.
    Thanks,
    Ashish

  • Unable to update XBLNR field on BKPF when posting a document using BAPI_ACC_GL_POSTING_POST

    Hi,
    I'm trying to post a clearing document using BAPI_ACC_GL_POSTING_POST, but after posting i'm unable to see the data in the reference field on header (BKPF-XBLNR). I'm passing the data in the header structure of the BAPI  (DOCUMENTHEADER-REF_DOC_NO).
    Thanks in advance.
    Regards,
    Sandeep

    We restricted our entry to five decimals and solved the issue.

  • Substitute G/L Account when posting Accounting Document

    Hello Everyone,
    I am an ABAP consultant.
    I want to know if there is any way to substitute a G/L account which is already determined by the system.
    When we post MIRO, when there is a price variance with GR, then a material price variance account will be determined and the variance gets posted to the material price variance account. Something like below.
    Credit  Vendor Account
    Debit   GR/IR  Clearing Account
    Debit   Material Price Variance Account
    I want to replace the Material Price Variance Account for certain scenario.
    I tried with
    1. BADI AC_DOCUMENT - But G/L account cannot be replaced with this
    2. BTE - Able to change the G/L account, but it gives error "Internal error: Entry in COKA-Buffer not found". I found a SAP note for this. It seems G/L account and Fiscal year data gets transferred to COKA buffer and if there are any changes it does not allow to proceed.
    I also found enhancement spots where i can make changes, but i want to know if this can be achieved in a standard way (Either Exits, BADI or FI Substitutions)
    Regards
    Rajvansh

    Hi:
       Why don't you change your MM config , it would be better to have this defaulted by MM account determination. but if you still want to do this, then you can try MM exit that instead of changing the account, reduce the amount to zero in the "wrong" account, and insert a line with the "right" account.
    Substitution GBB1 might not work here which can also induce MM/FI consistency issues. Hence find an MM exit and refer to the BADI's in note 1156325.
    I hope it will help you.
    Regards

  • Incorrect SLED when posting Material Document using BAPI_GOODSMVT_CREATE

    Hi,
    I have an upload program that performs goods movement and creates material document for a given PO using BAPI_GOODSMVT_CREATE.
    the program passes the data from input file (through the parameter GOODSMVT_ITEM) including SLED, however, once the material document is posted, the SLED is still derived from batch input master and the BAPI does not use the one passed to it via GOODSMVT_ITEM.
    The requirement is that, the SLED provided in the input file should be the SLED of the Matdoc created, and not the SLED maintained in the Batch input master.
    Please advise.
    thanks,
    NC

    sorry to say that, but you should learn about the application, you cannot make the field empty, it is SAP design that the valuation type goes to the batch field in case of split valuation active wihtout having batch managment active.
    your wish is not possible with enhancements, and if , you would create inconsistencies and bigger problems in subsecuent processes.

  • After post accounting document user cannot change Reference Field

    Hi,
    I have a issue. After post accounting document user cannot change Reference field value. Please suggest .     
    Thanks & Regards,
    Hemant Maurya

    Hi Hemanth,
    Mr. ajay's solution solve your issue.
    If you activate it will applicable to entaire client (it is not comp code specific)
    For Activation USe T.Code: OB32 maintain Field (BKPF-XBLNR), Account Type & Transaction Type Blank
    Remove Field Can be change Check Box
    Regards
    Viswa

  • Problems in Posting an Accounting Document using BAPI_ACC_DOCUMENT_POST

    Hi All,
    I am facing a problem when I try to post an accounting document using the BAPI "BAPI_ACC_DOCUMENT_POST".
    While passing data to the structure "ACCOUNTTAX", I get the errors "Required field AMT_BASE was not transferred in parameter CURRENCYAMOUNT" and "Required field TAX_CODE was not transferred in parameter ACCOUNTTAX".
    Till now I was not passing the ACCOUNTTAX structure to the BAPI and posting was happening fine.
    Any pointers / solutions in this direction will be most helpful.
    Thanks in advance.
    Regards,
    Keerthi

    Hi
      As u told earlier it was fine , so it may there is some config. change done by func. so this error is coming.
      For minimum required fields fo BAPI , u can go to SE37 and click on Function Module Documentation on Application tool bar.
    here u will find good help.
    Regards
    Sachin

  • Not able to post accounting document from CRM to ECC.

    I am tring to post accounting document through BDOC but it is not posting . Can any one have idea how we can post accounting document to ECC from CRM with out use of Bdoc .  Thanks

    Hi,
    Check if any of the condition types which has the account is having a tax code.. That tax code shouldn't have defined as EC tax code.
    When you double click on the line item condition type which will be posted to accounts, you could see the G/L account and tax code. Ask you FI consultant to check how that tax code has been defined.
    Btw, it is always good if you open a new thread.. But you can refer the old thread inside your post.
    Regards, Sai Krishna.

  • Table for picking PURCHASE ORDER field corresponding to accounting document

    Dear All
    Table for picking PURCHASE ORDER field corresponding to accounting document.
    Thanks
    Rahul Jain

    Dear Jayram
    I know that Purchase order field can be picked from BSEG table but i am not able to capture the data into it. Whenever i book a invoice through FB60 or MIRO i give the reference PO number which is not getting updated in BSEG, BSAK and other relevant tables.
    Thanks
    Rahul Jain

  • BTE while posting accounting document through MIRO

    Hi All,
    I am doing MIRO posting with PO,while MIRO posting accounting document is getting created for it.  I need a BTE while posting accounting document through MIRO to trigger workflow(through event).
    For direct accounting document posting I found the BTE 1030 to trigger workflow.
    Thanks
    Sree

    Hello !
          The BTE required is "00001120     DOCUMENT POSTING:  Field substitution header/items".
          Double click on this entry at FIBF transaction and you will find the function module SAMPLE_PROCESS_00001120
          Take a copy of this function module and go ahead.It is not possible to change the tables T_BKPF and T_BSEG. So, use the tables T_BKPFSUB and T_BSEGSUB.
    Regards,
    S.Suresh

  • Posting accounting documents into G/L accounts

    HI friends,
    what are the tables involved in posting accounting documents in G/L accounts.
    Please let me know.
    Thanks in advance.
    Roberts.K

    <b>Do check this out</b>
    http://www.erpgenie.com/abap/tables_fi.htm

  • Posting accounting documents in G/L accounts.

    HI friends,
    what are the tables involved in posting accounting documents in G/L accounts.
    Please let me know.
    Thanks in advance.
    Roberts.K

    Hi Roberts,
    BKPF and BSEG are your tables for the accounting documents.
    Regards,
    Srinivas

  • Blocking Billing Doc.when the accounting document do not created

    Hi Dear all,
    Someone knows to tell me how can I block a Billing Document when the Accounting Document not generate? I tried to find some customizing, but I didn´t find it.
    I´m asking because sometimes the user don´t realize the "warning message"- No accounting document Generate. If I have some option to block this billing, will be perfect for my process.
    Thanks
    Melissa

    Hi ,
    Till accounting document is  not generated Billing will have status Open, I am not clear what do you mean by Blocking .
    In tablw VBRK , you can get data for billing document for which accounting document is not generated.
    Rajesh

  • Profit center change in posted accounting document

    Hello,
    please, is it possible to change the profit center in already posted accounting document?
    We DTO'd open customer balance with wrong profit center. PC document has been created as well. Please, what is the proper way to change the PC?? Or how to proceed?
    Thanks a lot
    Kind regards
    Marcela

    It is not possible to change profit center, for that matter any other CO assignment cannot be changed. You can try transfering to correct profit center through 9ke0

Maybe you are looking for

  • Tutorial: Flash Builder 4 beta 2 and PHP Data/Services for beginners

    Hi fellas, I've written this tutorial for total beginners to get quickly to FB4 and PHP. Comments welcome Flash Builder 4 and PHP Data/Services for beginners http://www.flashrealtime.com/flash-builder-4-and-php-data-services/

  • C++ compiler aborting

    I just installed WS6U2. I have a simple program. When I build, I get: "SunWS_cache: Error: Error occurred in invoked compiler, terminated with signal 4(2). Aborting..." It seems to be during the link phase. Even running dmake on the WS generated make

  • Editing multiple takes

    Does anyone know of a tutorial on working with multiple takes? I can't seem to find anything in the manual or here in the discussion group. I have several takes that I would like to pick and choose from, but I can only get one of them to play at a ti

  • LP00 on ITS standalone

    Hello, we have SAP 4.7 and ITS standalone. We have not ITSMobile. Anybody knows if It is possible create custom template on ITS standalone for the transaction LP00 ? We would like customize the screen of standard transaction LP00, in order to give cu

  • Unable to update to iOS5

    Hi, I received my iPad 2 yesterday, after going through the setup and registration i was prompted by iTunes to update to iOS 5. The current OS is version is 4.3.5 After clicking update, i get this message box: http://i43.tinypic.com/28lgfvb.jpg After