Validation of document type in VA01

23.12.2008
Hi Gurus,
We create a Sales Order (eg. ZXXX) through a Z-development. My requirement is that this particular document type should not be created using t.code VA01. Need a validation for VA01 in the first screen itself  ( where the document type, Sales Org, Dist Channel and Divn is entered) to restrict creation of document type ZXXX thru t.code VA01
Regards

Dear Sanjay,
If your requirement is - To restrict Creation of Sales Document Type "ZXXX" with Transaction Code: VA01
which, I have understood from your query:
My requirement is that this particular document type should not be created using t.code VA01.
...the same could be achieved by changing/ modifying the Transaction Group in to Sales Document type.
Path: T. Code: VOV8 --> Key-in Sales Doc. Type --> Go in to Detail-page --> Tab: Transaction Flow --> Field: Transaction Group
If, we maintain entry as "0", the sale doc.will be created with VA01
If, we maintain entry as "1", the sales doc. will be created with VA11.
Note: If, you change Transaction Group to "1" for Standard Sales Doc. Type - OR; it will be created with VA11 and not with VA01.
So, change the Transaction Group from "0" to "as reqd." for Sales Document Type "ZXXX" in VOV8
Best Regards,
Amit

Similar Messages

  • 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

  • Field Exit for Sales Document Type in VA01

    hi
       i want to do field exit for Sales Document Type in VA01.
    but i dont know to find the correct exit.
    pls tell the exit name and the steps to find it.
    thank u

    Hi,
    Goto this link u will get the information u required....
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
    Check the numerous threads that already exist in SDN :
    CMOD and SMOD
    http://www.sap-img.com/abap/what-is-user-exits.htm
    Regards,
    Manish

  • 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

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

  • Regarding Document type CS

    Hi Friends,
    If The ADDRESS maintained in one table is taking only for the import of PO s.If we want the ADDREss is valid for
    DOCUMENT TYPE  'CS'     Wha is the suggestion to be done in output program.
    Could u pleasae suggest it.
    Regards
    Kumar

    Your question is not clear, please describe in more detail what you are trying to do and where the problem is.
    Thomas

  • Validation Rule for Accounting Document type

    Hello Experts
       I have an requirement  to block certain accounting doc type to get vendor line item post in that. For that I tried to block direct through OBA7 but not be able to also can't delete number range as it is shared by another doc type. My last option is Validation rule but i never work on this ,so any suggest how to create validation rule " To Block Accounting Doc type SO THAT THERE WILL NOT BE ANY line item posting occur in that doc type.
    Regards.

    ok sure.  OB28 callpoint 1.  Create a step under this callpoint.
    1)  Prerequisite is as follows:  note XXXX is your company code and ZZ is your doc type.
    BKPF-BUKRS = 'XXXX' AND
    BKPF-BLART = 'ZZ'
    2)  Then you need to enter the check.  Here you can just put FALSE.
    3)  The last part is to create your message.  Message type E so they get an error and then create a message number in the class that you choose and give it a description:
    Document Type 'ZZ' is not allowed
    Save it and wah lah! 
    Let me know how it goes.
    Thanks,
    Jes

  • VA01 F4 selection screen do not need CR document type in list of doc.type

    Hi
    My requirement is following
    step 1: execute T.code VA01
    step 2: Press F4 on Order type: you will get list of all Order doument type, (like, OR,KE,KB,KR,CR,DR and etc..)
    step 3: Now i don't want CR document type in list of order document type through F4 selection screen , .
    Kindly please help where i need to do configuration to achieve my requirement
    regards
    pinal

    Hi Pinal,
    Goto VOV8
    Position on CR
    Keep Block Status X or A
    Now check in VA01 and F4 on Document Type CR will not be there...
    Hope it will help..
    Regards,
    HP

  • Validation foe blocking document types in FY 2009

    Hi All,
    Please help me to set the validation for the document types used in FY 2009.
    We want to block document type DG, KZ , Z3 & ZK for posting in FY 2009 for all the users. But the same document types would be continued to use for posting the entries related to FY 2008 We have already created one validation as follows -
    Application Area - FI
    Call up point - 1
    Perquisite-
    User Name = '1010FIN' OR User Name = 'CONSULTANTS' OR User Name = 'BASIS'
    Check -
    Document Type <> 'DG' AND Document Type <> 'KZ' AND Document Type <> 'Z3' AND
    Document Type <> 'ZK' AND ( Fiscal Year <> '2009' )
    Message - Document type blocked for posting.
    But with the above validation it is giving me the same error message whenever i m trying to post the documents in FY 2008 with the above document types.
    Please guide me in setting the logic so that system will allow me to use same document types in FY 2008 & not in FY 2009
    Thanks
    Sonal

    Hi Sonal,
    The other approach will be to not authorize the users to the document type (which u require)
    The following is the object for document type:
    F_BKPF_BLA -
    Accounting Document: Authorization for Document Types
    Instead of *, include all the docs which u require the authorization for.
    And for year...
    Only open the year for the users u desire
    Regards,
    Kiran

  • Customization + SD + Add a Document Type as Valid

    Hi Experts
    This is related to Customization in SAP.
    I have the requirement that under Sales Document types, I need to remove a Blocked status of a document type and add this type as Valid document.
    I followed the below path:
    SPRO-> Sales & Distribution -> Sales -> Sales Documents -> Define & Assign Reason for Blocking.
    But, I could not make out where and what to do?
    Plz help.

    No response. Closed!

  • Asking to maintain a valid document type for inter company

    Hi friends
    We have created a purchase order. It is STO inter-Co
    There is no issue for a normal vendor when posting in MIGO; the error is just for inter-company vendors.
    When doing MIGO the document shows OK. When posting or saving the document it is showing an error as Use a valid document type for inter company.
    As per the error we have maintained the document types in OBA7 and the inter company posting are checked for the document types.
    Can anyone help me on this issue how to proceed?

    hI SUKANYA
    PLS EXPLAIN ME WHILE GL A/C CREATION FOR WE ASSIGNED G067 AND READY FOR A/C INPUT IS FOR WHAT
    CAN U PLS EXPLAIN ITS USES . MEE ANSWER KOSAM WAIT CHESTUNTAA
    THANKS
    MALLIKARJUNA

  • Asking to use a valid document type for inter company

    Hi friends
    We have created a purchase order. It is STO inter-Co
    There is no issue for a normal vendor when posting; the error is just for inter-company vendors.
    When doing MIGO the document shows OK. When posting or saving the document it is showing an error as Use a valid document type for inter company.
    Can anyone help me on this issue?

    Hi
    This problem raised If the trading partner assigned in the Vendor master in Control data and that trading partner is different fromt the trading partner assigned to particualr Co code.
    Goto TCODE:OBA7 , selec the document type for which this error is coming - in the document type screen in control postings sections select the inter-company postings check box.
    VVR

  • Validation document type

    Hi All,
    Please help me to set the validation for the following validation.
    We want to block postings with document type ZA unless company-ID is assigned to the account. We have already created one validation as follows -
    Application Area - FI
    Call up point - 1
    Perquisite-
    BKPF-BLART = 'ZA'
    Check -
    BSEG-VBUND = ''
    Message - Error. You must post to a company-ID
    But with the above validation no error message is given when trying to post with doc.type ZA in FB50 and not entering anything in field VBUND.
    Please guide me in setting the logic so that system won't allow me to post without company-ID when using document type ZA.
    Thanks
    Åsa

    Thanks!
    But what should I change to?
    I have never used validations before, so it's a bit tricky!

  • User exit for VA01 - No range for sales document type

    Dear Experts,
    In our project, we have 8 sales organizations and these are assigned to 8 different company codes. Actually our client doesnt want to maintain different document types for each Sales Organization. We need to maintain one document type for all the sales organizations and different No ranges for each sales organization. So can any one guide me on User exit available for this purpose.
    Thanks & Regards,
    Rahul

    hi,
    pls refer to the following user exit.
    Include prog : MV45AFZZ
    USEREXIT_NUMBER_RANGE
    Use this user exit to define the number ranges for internal document number assignment depending on the required fields. For example, if you want to define the number range depending on the sales organization (VKORG) or on the selling company (VKBUR), use this user exit.
    The user exit is called up in the FORM routine BELEG_SICHERN.
    reg
    Deepak

Maybe you are looking for

  • Email Address Change -- error message rec'd

    I just changed my email address and now I'm having difficulty accessing iTunes.  The error message says to be sure my computer allows cookies from iTunes.  Sounds basic, but I don't know how to do this.  Can anyone shed some light for me?  Thanks.

  • New front end editor problem

    I'm quite new on this forum, so don't be so angry if I'm asking about something that someone else was asking for, by i didn't found answer on my question. So... In my company, administrator made some updates in 4.7, after that updates new front end e

  • ICloud question!

    My cousins phone got stolen, so we got on icloud and  clicked "Erease iPhone" so his stuff will get deleted, but then after that we also clicked "Remove iCloud" or something like that...well my question is would everything still get deleted?! even th

  • Naming a BootCamp Partition

    I just partitioned my hard drive for WIndows and have finished the setup. Now I'm back in OS X and the hard drive image for Windows is named "Untitled." I cannot figure out how to rename the hard drive partition to Windows HD. How can I do this? Than

  • Could not parse package

    When trying to install kdebase, pacman gives me 2 errors: 1. Error: could not parse package description file 'patch-2.6.1-3/depends' from db 'core' 2. Error: target could not be found: kdebase anyone know how to fix this? It seems like due to this er