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

Similar Messages

  • 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

  • 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

  • Restriction of Purchase Group on PO Document Type

    Hi Experts,
    We have different PO Document Type, and Purchase Group. Now, want to restrict Purchase Group based on PO Document Type.
    For Example:
    For PO RM Document Type only Purchase group P01 - RM allow in PO; for other purchase group system should not allow saving PO.
    Please guide ...
    Thanks in advance
    With Warm Regards,
    Dipen

    Hi Dipen,
                   You can definitely restrict the users via Roles and Authorizations.
    in the role for PO creation, the object for Purchasing Grp is  M_BANF_EKG
    field is EKGRP
    Make sure that he has the value as P01(Only)
    and the object for the Document Type is M_BANF_BSA
    Field is: BSART:
    give the field Value as RM
    Hope it helps you.
    Regards,
    Yawar Khan

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

  • Query for Document Type

    Hi,
    Is there a way via the API to query the database for Document Type data (specifically the ImageUUID in PTDOCUMENTTYPES) for a given file extension or MIME type - whether in one step or multiple, doesn't matter?
    Naturally I'd rather do this via API methods than querying the DB directly for scalability/upgrade reasons.
    We have a custom crawler which crawls manifest files containing meta data about the end documents. The click through url is overwritten to be the document to which the manifest file refers but we'd also like to overwrite the ImageUUID to represent the real end document's type rather than the manifest's.
    thanks
    Ani

    Yeah it is clear visible that, the same combination might have available in different plants.
    So to avoid the duplicate entries, always select all the primary key fields available in all the tables in the output.
    If not atleast try restricting based on plant in the selection screen or any possible duplicate entreis.
    So add the key fields at Infoset level in SQ02

  • Number Range For Document Type "AB"

    I tried posting in F-01 and got this error: "Number range not maintained for document type AB for the year 2008".Even though i have maintain the number range for AB why it is showing error like this?
    Please Help me to solve this issue..
    Thanks
    Sap Guru
    **Points will be assigned

    Hi,
    Here you are trying to post "Sample documents" for sample document you need to give the no "X2" then Fiscal year, from no and to no..
    No     year      from no           to no
    X2     2008      1                        1000000
    from and to numbers can be given based on availability in system...
    Sample documents are not actual accounting document and they will not have any impact on your financial position, they are just templates and you can use the temletes for actual postings..
    Hope understood.and reward me if you get through..
    Thanks,
    Vasu..

  • 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

  • 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

  • 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

  • How do I remove whole CDs at a time off my iphone 5?

    I know about swiping but I hate having to delete songs one at a time! Is there a way to delete whole CDs at a time or even everything in music?

  • Inspection type 03 - PP/PI not creating auto inspection lot

    Hello Experts, I've read the Best Practices for PP and QM master data, as well as the BPs for Creating and Completing inspection lots. I have 03 activated for my inspection type usage. When the PO is released, I am not seeing an auto inspection lot.

  • Accounting view is not maintained, costing should not be saved

    Dear All, Please let me know if material's accounting view is not maintained, in that case costing should not be saved. What should be setting for it. regards

  • Server with same Profile cannot access same networking

    Hi, I have a lab running 1 x Nexus 5010, 2 x FIC 6120'XP's, UCS 5108 and 2 x B200 M2 Blades. I have configured everything per flexpod guidelines (except I have only 1 Nexus). I boot from SAN over Fibre and zoning everything is working 100% My firmwar

  • Can not make network user accounts

    After upgrading from 10.6.8 Server to 10.8 and installing server tools, I can not make network user accounts.  All of my old network user accounts migrated to the new OS and work properly, I just can not seem to make new accounts under 10.8. Under 10