Document type restriction in GL posting.

Dear All,
How can i restrict a GL account to have only one specific document type documents. I mean only one document type should be posted to that GL.
It should not contain any other document type other than specified one.
I know this is possible through validation. But it is not checking if i write validation in OB28. If possible can any one guide me in writing the validationIs there any other way to restrict
a GL for only one document type.
Please reply...thanks in advance.
sapuser.

Hi,
To make the GL account specific to a particular document type, you can write the validation as below:-
Step 1:-
Create a message ID via transaction code SE91 for message class /EACC/MSG/ACC_COMP as you want to display to user.
Step 2:-
Go to transaction GGB0 and create the validation step at complete document level in Financial Accounting as below:-
Pre Requisits:-
BKPF-BLART = 'KR'. (example KR doument type)
Check:-
BSEG-HKONT <> '1234567890' (the account no. you want to get posted only with the document type given above.)
Message:-
Message created in step 1 as error message.
Step 3:-
Please also check that this validation has active status (Status=1) at line line item level (level 2) for your company code in transaction OB28.
Regards,
Gaurav

Similar Messages

  • Sales document type restriction to create sales order

    Hi Frinds,
    My client has one requirement ...they have different sales document type. For sales document type  free of charge delivery they want only some authorised person should be able to create sales order. Is it possible to set the authorisation to create sales order according to sales document type.
    Regards
    SV

    Yes, 
           As already suggested, it is very well possible to restrict the user for the use of certain sales document type from basis.
    & to add to the above,
    Create Z* table with Sales Org + Doc type = UserID.
    call this table in VA01 transaction & write piece of coding , if current USerID have entry in this table with the said combination - should not allow to proceed further.
    without any basis involvement also you can ahieve your requirement.
    Note: Sales Org is used for validation purpose only.
    Regards,
    Reazuddin MD

  • Document type restriction

    To restrict access to specific document type (BLART) on  transactions FBL5N and FB03, we applied the following settings:
    - Assign authorization groups (BRGRU) to document types in OBA7
    - Assign authorization groups (BRGRU) to roles in PFCG
    - Assigning users to the appropriate roles
    but all users can view all types of documents!
    how I should proceed to restrict access to particular types of documents for users?
    Many thanks in advance!
    Ismail

    Hi,
    Please do to the following steps :
    1. Go to SE16
    2. Enter table name as TBRG
    3. Click on Create
    4. Enter Object F_BKPF_BLA
    5. Enter Value - this will be yours authorization object value.
    6. Enter Description
    7. Save
    8. Go to transaction code PFCG
    9. Create a new role
    10. Click on
    11. Enter Object F_BKPF_BLA
    12. Enter Value - this  value is the value created by you in table TBRG.
    13. Enter Activities
    14. Generate .
    15. Assign role to users.
    Please remove authorization object F_BKPF_BLA from all the existing roles before assigning newly created role to users.
    We hope your problem gets resolved by following this steps else revert.
    Regards,
    Tejas

  • Document Type Restriction in cFolders

    Hi all,
    We have implemented cFolders 4.0 in our project as a document repository. We have a requirement to allow users to upload certain document types only (e.g. .doc, .xls). Is this configuration available out of the box? Otherwise, how do we customize the standard cFolders configuration to enable this restriction?
    Thanks in advance.
    Regards,
    Alvin

    Hi ,
    Iam learning DMS,CProjects now.Can you send me some study material for CFolders,DMS & CProjects.Pls send it to [email protected]
    Thanks & regards,
    Sudhakar

  • Document Type with a later posting date

    Hi,
    We are on SAP B1 2005 PL50.
    We occasionally get the message " There is a document of this type with a later posting date" while posting AP invoices. It happens to some AP invoices only because other invoices get added even though the document is posted with a prior posting date then what is in existence
    Please advice, what could be causing this.
    Thanks
    Asif

    Hi Mohamed,
    If there is a document existing in the database with a posting date later       
    than the current one, this system message will pop up.                                                                               
    This system message works based on the following setting:                                                                               
    Under Administration -> System Initialisation -> Document Settings ->         
    Tab 'General' is a tickbox 'Block Documents with Earlier Date'.                                                                               
    If this box is ticked, the error message 'There is a document of this         
    type  with a later posting date.' is received and the document                
    cannot be added. This affects the following documents:                                                                               
    - AR and AP Invoice                                                           
    - AR and AP Credit Memo                                                       
    - AR and AP Reserve Invoice                                                                               
    If the box is unticked, the system displays the message: 'There is a          
    document of this type with a later posting date. CONTINUE or                  
    CANCEL.' If 'Continue' is chosen, the document can be added.
    It is not possible to turn this off message.       
    Hope it helps.                                  
    Jesper

  • FB08 document type restriction

    Dear Expert,
    Please advice any steps i have missed out or what is other alternative solutions to solve below issue.
    My client would like to have restriction to access and reverse only document type DZ in FB08.
    I have created an authorization group (for example DZZZ) in SE54 and then assigned DZZZ in both DZ (Customer Payment) and DO (Cust reversal doc).
    In PFCG, I have assigned autho group "DZZZ"  and activity "85 - Reverse" in authorization object "F_BKPF_BLA". I have also assigned Table Authorization Group with "DZZZ" and activity 2 and 3.
    Somehow, it still can reverse other document type such DA, DR and etc...
    Thanks and have a nice day.

    Hi
    BTE is a kind of enhancement for FI module. You can read this [article|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7] by Lakshman Tandra. Also, you can try with validations. For this last option see this other [article|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0bc693c-76d8-2910-fd81-e891248a02c5?quicklink=index&overridelayout=true] by the same author, as other colleagues suggest.
    I hope this helps you
    Regards
    Eduardo

  • Authorisation to post to document type n authorisation to post to cost cent

    Hi
    I have two questions-
    1. I want that to a particular document type some user group should not have authorisation to post. I know in document type we have one field called authorisation group, but i dont know how to create such group.
    2. one user working at a particular plant say plant A should have authorisation to use certain cost centers only.
    Please guide.
    Thanks
    Sweta

    HI,
    1: you can use authorization groups for that purpose, see F1-help for this field in T-Code OBA7 (doc.type maintenance in customizing. See also the link to "authorization objects" in this F1-help. Nevertheless you need the knowledge of somebody who is familair with the SAP authorization concept, role creation,...
    2: see SAPNET-note 370082 how to create user authorization for cost center (groups).
    Best regards, Christian

  • Document type restriction in MD04

    Hello,
    How can we restrcit few purchasing document types from MD04 display view.
    Requirement is, we have a document type i.e. ZTR (Copy of NB) for purchasing activities of trial materials. This is not required to be considered in MRP planning. So we have activate a storage location which is MRP excluded. All POs for this document type are created for this storage location, which is not affecting any process in MRP planning.
    Now planning users' requirement is to "REMOVE THESE DOCUMENT TYPES" from MD04 view.
    How can we achieve this requirement ??????
    Thanks
    Dinabandhu.

    Anyway, you only see them under the storage location (not planned) section, jsut for info.
    You could try playing with the display filter of MD04, I think it should be possible to define such a filter.

  • Document type should always post to specific account type

    Hello experts,
    I have 1 question,  Depeneding on the Document type definition I can post to different account types (S, K, D , M ,A). Assume I created a doc type ZA and checked all the account types then it allows me post to all the account types.
    Here I want the document type ZA to validate one of the line in the document should always be type K (vendor). In short in the combinaton of account types posted to under this document type should always have one specified account type.
    All contributions welcome.
    Thanks,
    KKR

    Hi Eli,
    I am not sure how to do that in this case, I have worked on validations before and I always worked with 'Constants'. If I write
    If Doc type is ZA
    then account type should be 'K'
    But the problem is it wont allow me to post as the other line will always be different, that means a combination K and other than K.
    And we are not sure how many lines going to be there in a GL document.
    Do I nee to look at user exits in validations? If yes, please let me know how can I do that.
    Thanks,
    KKR
    Edited by: KK Rao on Sep 24, 2010 11:07 AM

  • Alternative Accounting Document Type during Invoice Posting

    Hi,
    I have two queries which could resolve our clients specific requirement. It is required that for a specific customer we need to have 8 digits invoice number. We have attended this through SD user exit. However the Accounting document number range is external and hence same billing number gets generated for Accounting Document. This is conflicting with previous num range which is 10 digit. We have two alternatives to solve this as given below. Pls advise.
    1) Please let us know if we can determine different Accounting Document Type when posting Invoice to  Accounts. This has to be different from what is maintained in VOFA.
    2) Is there any user exit or BADI which can determine separate number range for Accounting Document Type determined during Invoice Posting to Accounts. Probably this query is more relevant in FI Forum , but please suggest if anybody has ideas on this.
    Regards
    Sasikanth

    Try to see if the user exit USEREXIT_ACCOUNT_PREP_KOMKCV  in the include RV60AFZZ can be of some help to you..

  • Validation at Document Type level

    Dear Seniors,
    We have a requirement to have a validation for posing various documents by different users.
    Document type  JV should be posted by only a set of users USERS1.
    Document type GB should be posted by only a set of users USERS2.
    Document type CV should be posted by both the sets of user viz., USERS1 and USERS2.
    How to put this validation.
    Regards
    KVKR

    Hi,
    Apart from the above given solutions, there is an alternative and easy solution available, which can be done without the help of ABAP / BASIS members.
    Create a set in GS01. (Table name: USR01 and field name BNAME)
    in GS01, create set IDs like GROUP1, GROUP2, (create one by one, using above said table and field names and by choosing BASIC SET selection.
    Then in the next screen,  assign the users to each set ID. and SAVE.
    Now in GGB0, create a validation rule (in FA ->header level), under that create 3 steps like
    STEP1:
    Prerequisite: IF BKPF-BLART = 'JV'
    Check:          BKPF-USNAM IN GROUP1
    Message: Put Error message according to your requirement.
    STEP2:
    Prerequisite: IF BKPF-BLART = 'GB'
    Check:          BKPF-USNAM IN GROUP2
    Message: Put Error message according to your requirement.
    STEP3:
    Prerequisite: IF BKPF-BLART = 'CV'
    Check:         BKPF-USNAM IN GROUP1 OR BKPF-USNAM IN GROUP2
    Message: Put Error message according to your requirement.
    And activate the validation rule in OB28 to your company codes.
    I really hope that your requirement can be fulfilled with this.
    Regards,
    Srinu
    DOCTYPE_VALIDATION_SRB

  • Document type issue

    Hi,
    We use document type SA for multipuspose,customer  to customer balance transfer,adjustment in AR,GL postings e.t.c. Now its requirment to use different document type for customer tranfer posting and related adjustments. I want to know the impacts if we change document types and what would be proper document type that should be used for customer related ajustments.

    Hi
    you should have different document type for different scenarios, more so if you are on new gl, in which document type is the first setting for splitting. Further, ideally, DG is the document type mostly used as std for transfer posting of customers. You can also choose to define your own document types for customer txn.
    regards
    Sanil Bhandari
    <a href="http://www.frostwire.name">isohunt</a>, <a href="http://www.utorrent.name/">utorrent</a>Hi

  • Other document type for credit memos in MIRO

    Dear,
    i would like to use a seperate document type for credit memos posted with MIR0 compared to RE for invoices. I created a new Z transaction. And now I thought that I could enter this new transaction code in OMR4 (tablle V_169F), but I can not add a new customised transaction in this list. What can I do?
    Or is there an other way to have another document type for credit memos?
    Thank you.
    Leen

    Hi
    You can create a new document type for credit memo through t code OBA7. Once the T code is created with all necessary parameters you can assign this to MIRO transaction.
    You cannot create a customised transaction through OMR4. This is meant for assigning the Doc type to Invoice verification
    Regards
    Jaswanth

  • PCA balancing - A0  document type in period 14

    Hi
    We are on 4.7 and trying to create a PCA document with document type A0 in special posting period 14. However, the system does not accept this period.  Period 14 is open for + and S in OB52.
    Any help with this is greatlly appreciated.
    Thanks
    NW

    Is the special period 14 open in the controlling are check OKKP.
    Assign points if helpful

  • ASKB(N): document type do not defined

    Hello all!
    When I start ASKBN befor  AFAB (sistem 6.0) I got a message "Document type  for periodic APC posting does not exist". Message no. AC197
    But when I went to OBA7 and look through the type AN with Net asset posting and tried to define the interval for it in FBN1, this interval was already exist and 4 document was posted. I set this interval for aquisition postings (abso). What to do with ASKBN? Or what document type should be defined for ASKBN?

    Hi,
           Go to IMG and assign the document type in the Path:
    Asset Accounting - Integration with General Ledger - Post APC values periodically to the General Ledger - Specify Document type for peridical Posting of Asset Values.
    Thanks,
    Raja.

Maybe you are looking for

  • Error while uploading a file via GS_CM

    Dear experts, When we try to upload some files to CRM incident via GS_CM we gen a following error: "operation is not allowed (crm_p_ord)" We noticed that the error usually arrears when we upload files with long file names ( 30> chars) It's important

  • Linked images "jump" when rolled over

    When rolling over an image being viewed on a page in IE/Mozilla, it seems to "jump" if it is linked to a larger version of the same image.  Am guessing it is a setting in Page Properties, but I believe I've changed just about everything with no luck.

  • Logic will not open with out external soundcard after Mavericks upgrade

    Hi Recently upgraded my Mac to Mavericks and my Logic 9.1.8 (32 Bit) worked fine. I have a Digidesign 002 rack which I was using as an external soundcard. These all worked fine until I updated my Digi drivers. Now Logic will not open unless the Digi

  • White bars instead of black?

    If anyone can help me, I'd appreciate it. I'm not sure how/why this started happening, but when I watch movies online I now see WHITE bars above and below the film instead of BLACK ones as I did before. White ones are a bit blinding and highly annoyi

  • How To Install Patch in BI Publisher Server

    Hi Experts, Can any one please guide me how to apply patch in BI Publisher server. Any reference would be appreciated. P.S : I have gone through the "read me" file but it is not making much sense to me. Regards, Andy