Validation for Document Type

Hi,
I want make a validation for document type wise posting for particular users like user ABC only post JV doc.type document. Please suggest me how I will make it.
Thanks & Regards,
Hemant Kumar Maurya

Hello Hemant,
You can manage this with authorization or validation (T Code OB28 or GGB0), for validation:
1 - Create a validation at document header level.
2 - You can create a set (table BKPF and filed - user name) with T code u2013 GS01 wherein you can give list of users for which you want to restrict posting only with document type u201CJVu201D. Attached this set or a single user in u201CPrerequisiteu201D section of validation.
3 - In u201CChecku201D section of validation validate the document type u201CJVu201D syntax u201CBKPF-BLART <> JVu2019
4 - Create and attach error message for above validation.
5 - Attach this validation to your company code in OB28
Since i donu2019t have SAP log on credential therefore cannot give you exact validation code syntax.
Please try, hopefully this would help.
Regards,
Parag

Similar Messages

  • Validation for Document type in Vendor Invoice.

    Dear All,
    I need to restrict the user from posting vendor invoice other than document type KR. I thought of using validation with account type and posting key , but looking at more refined solution. Please suggest.
    Thanks & Regards

    Hi,
    Yes, this can be acheived using an validation at accounting document level.
    Validation must be like
    If posting key is 31---Prerequisite: BSEG-BSCHL = '31'
    then the doc type type should be KR---Check: BKPF-BLART = 'KR'
    Else put one error message.
    This will resolve your issue.
    Thanks,
    Srinu

  • Validation for doc type for f-43

    Hi,
    I Have created a validation for document type sk for t.code f-43, while creating validation i have taken fb01 it is working fine for f-43 at the same time which is working for f-02 also it should not work for f-02.what to do please help me
    Thanks and Regards
      Radha

    Hi,
    Almost all FI transactions other than the clearing transactions, may apparently have different names like F-02, F-43 etc, but at the backend there is only one mother transaction code FB01.  So any validation on FB01 will impact all FI t-codes.
    I would suggest that you use document type in the validation, if you can have clear demarcation between the doc type used for different transactions.
    Cheers.

  • Restrictions to Postings between GLs for Document type SK/KD/SD/DD

    Hello Friends,
    In our SAP system we have encountered an issue where we see that our SAP system allows to post between GL accounts for document types SK/KD/SD/DD. We are trying to implement a validation rule such that it stops postings between GL account. But it does not work completely.
    Please help me with this issue.
    Refer the Screenshot attached showing the validation rule that we have created in OB28.
    Thanks and regards,
    Jeetendar

    Hello,
    Try this,
    LOOP AT bool_data-bseg INTO bseg.
         IF bseg-koart EQ 'K' OR bseg-koart EQ 'D'  .
            b_result = b_true.
           EXIT.
         ELSE.
           b_result = b_false.
         ENDIF.
       ENDLOOP.
    Thanks,
    V V

  • Where to change posting key for Document type RG?

    Hi ,
    May I know where is IMG path to change posting key for Document type RG?
    Thanks.

    Hi,
    Posting key is not assigned to the document types.
    Posting key can be assigned to a particular trnsaction event etc., for example in OB40 for each transaction key in tax area, you can ddefine the posting key for bedit and credit.
    However you have the option to create a validation to check that this particular document type is allowed to be posted with certain posting keys. Validation can be created in OB28, GGB0. The details are available in SDN. Please search that.
    Regards,
    Gaurav

  • Error M8-688 - Creation of several vendor line items is not possible for document type RN.

    Hello All,
    We are using the Net Invoice Posting with document type RN(Invoice- Net). We are generating different vendor line items in the accounting document based on the withholding tax codes involved in the invoice posting. When it comes to net invoice posting system is giving an error message M8-688 - Creation of vendor line items is not possible for document type RN. Is there is any way to create multiple vendor items with net invoice posting? Please suggest.
    Thanks,
    Chandu.

    I dont think that there is any way because it is a hardcoded error message.
          IF NOT t003-xnetb IS INITIAL.
            MESSAGE e688 WITH pi_rbkpv-blart.
          ENDIF.
    SAP is checking the customizing for net/gross posting per document type in table T003
    And if it is set up as net, then it is a hard error.

  • In fbl1n report for document type RE  withholding tax amount is not showing

    in fbl1n report for document type RE  withholding tax amount is not showing
    in sap note 363309 determines
    Solution
    Remove the field which contains the withholding tax information (field BSEG-QSSHB) from your display
    variant.
    If you want to display the withholding tax information, double-click on the document number and
    subsequently choose 'Withholding tax'.
    my doubt is we remove the field BSEG-QSSHB in layout how can show the withholding tax amount in FBLIN report
    how to remove from the layout
    please clarefy
    bhayyapu   

    Hi,
    If you want to check amounts of withholding tax for the vendors, you have some options to view it. You can access the WITH_ITEM, LFC1 tables by SE16. You have too the S_P00_07000134 report. This report is developed for the Colombia but I already used for the another country with the ABAP development for this country.
    Also you can use table join BSIK and WITH_ITEM by SQVI for the open items and BSAK and WITH_ITEM for cleared items. It is more simple and fast.
    JPA

  • How to change number range for document type ?

    Dear All
    Experts
    How to change the number range for document types for entry view? I am trying to change the number range for all document type as per defined ranges in FBN1, but at the time of saving document type and number range the system is throwing error message as 
    Doc. type C1: Number range 07 is used for ledger L6 with doc. type AE
    Message no. FAGL_LEDGER_CUST093
    I have defined a leading ledger in system too with these settings
    1)     Define ledger for accounting.
    2)     Defining currencies for it.
    3)     Defining ledger group for the same.
    4)     Defining accounting principles
    5)     Assignment of principles to leading ledger.  
    Are there any extra settings required for leading ledger settings?
    I have some doubts those are :-
    How document types defined at ledger level?
    How to define them at leading ledger level?  (Like my case)
    Focus on this will be appreciable.
    Regards,
    Sharvari Joshi.

    hi ,
    The document numbers in the leading ledger and the non leading ledgers should be in sync, they should not have any differences, so incase you are trying to change the number range for C1, the  number range 07 is already been assigned to doc type AE. i guess you have cant use 07 for C1. may be you can try out with an other number range. check this and let me know if you are able to do this.
    coming to
    1.How document types defined at ledger level?
    2.How to define them at leading ledger level? (Like my case)
    Ans 1. please try defining document types for entry view in a ledger.
    path : SPRO- financial accounting new -financial accounting global settings new - document -document types -define document types for entry view in ledger.
    upon prompt enter the ledger and go ahead creating the number ranges for the document types.
    Hope this helps.
    Regards
    amrutha

  • Automatic PO for document type

    Hi..
    i have a requirement where i need to generate automatic PO from PR for a unique document type.
    I have created PR document type ZNB from NB, and also PO document type ZNB from standard doc type NB..
    i am able to create automatic PO from PR for PR doc type ZNB to PO document type ZNB BY ME59
    but when i have PR for document typeNB am not able to create automatic PO.
    is there any settings where i can specify that for PR document ZNB only PO for document type ZNB will be created.

    YOU JUST NEED TO GO TO TCODE OLME>PO>DEFINE DOCUMENT TYPE >SELCT YOUR DOCUMENT TYPE AND CLIK ON THE FOLDER   LINK WITH DOCUMENTS
    here u ca maintian the zb pr as u r source document thenm only with refrence to this document type u will be able to create the po
    do the above activity for pr also
    in pr document type maintain the target document type as znb (po)

  • Down Payments Error: Account type K is not defined for document type DZ T

    I am getting the error message: Transaction code: F-29
    Account type K is not defined for document type DZ
         Message no. F5243
    In this case i am trying to post a customer down payment in t.code:  F-29.
    In the document type DZ in OBA7 we tick only G.L and Customer tab as this is not a vendor document.
    Also the settings in T. Code : OBXR where we maintain configuration for customers has been maintained with a special G/L reconciliation account.
    any help will be really appreciated,
    Regards
    Satish

    I have checked all the settings
    OBXR for Customer Down Payments. It is with indicator A and a Special G/L Account has been configured.
    The special G.L Account is of the Recon account type Customers with FSG as Recon accounts
    The document type DZ in OBA7 is ticked for G.L and Customer and this is how i think it should be as i am not paying a vendor downpayment
    but it still gives me the same error.
    Regards
    Satish

  • Error:Account type D is not defined for document type RE

    Hi! I encountered this error msg: "Account type D is not defined for document type RE"  while posting IR in mir6.  What does this error msg mean? Thanks!

    hi,
    RE stands for Gross postings...
    When you block the document for payments...its never possible to the post the payments for such documents...
    The invoice seems to get posted, but is internally blocked for payment and later you need to delete the payment block indicator and process the invoice further for payments...
    check OMBA as well for the settings...
    Regards
    Priyanka.P

  • Account type D is not defined for document type RE - Credit Memo

    I tried to key in credit memo of fixed asset at MIRO but prompt out this errors "Account type D is not defined for document type RE". I checked OMBA - account type for vendor is selected. Any advise to resolve this problem?

    Hi Sanil,
    It is just a debit Vendor and Cerdit Fixed Asset. Is anything wrong here?

  • Table for document type Number Range interval

    Hi,
    I want to know the number range interval for document type in the production system but I do not have authorisation for SPRO in the prd system.
    Kindly let me know the table name to check this number range interval for the document type.
    Table T003 stores only the number range and not the interval.
    Thanks
    Suresh

    Hi,
    The table which has document types is T003 but the number ranges are stored in a Structure IRDP. The number ranges are maintained directly in the production system.
    regards,
    radhika
    Edited by: kolipara radhika on Aug 25, 2008 6:01 AM

  • Error - Account type D is not defined for document type WL

    I am getting error while doing PGI (Post Goods Issue).
    Error - Account type D is not defined for document type WL

    As we had the same problem for a document in our system, I was also browsing for the answer. I saw this thread and now we have found the solution, so could not resist sharing, although it is an old posting.
    In these cases it can be that a user wants to create a purchase order of the type UB. But if you have stock transport between two companies, you should not use this order type. You have to use order type NB.
    If the user creates the PO with NB then probably they will not get the message.

  • Regarding invoice address for document type

    Hi friends,
    I want to know how to print the INVOICE ADDRESS for a perticular document type if user-id  is not exist.
    Please suggest me the suitable code for the above requirement.
    Regards
    Kumar

    Hi,
    Check Table RBKP & Field name RMWWR for Gross invoice amount & BLART for document type.
    Regards,
    Biju K

Maybe you are looking for