How to define certain document type (BKPF-BLART) for certain movement (101)

Sometimes ( I think it is becuase of the tcode)  certain purchase 101 movements create a WA type FI document and some other times purchase 101 movements create WE type FI documents. I have seen a table ( accessing from omba transaction) in which for diffenent tcode´s we have either WE or WA. If we always use migo transaction why sometimes in bkpf we have migo_tr, migo_gi, ....;....
How should I do in order to create always WE FI documents for purchase 101 movements?
Thanks in advance.

Check the settings in SPRO-MM-Inventory Management-Number assignemnt-Define number ranges for accounting documents.
Here you assign accounting document type to tcodes.
Normally , WA is used in receipts for MB1C/MIGO_GI tcode - for e.g for 561 mvmt type.
SAP recomends keeping this setting as it is.
SAP help text copied here for reference:
Define Number Assignment for Accounting Documents
In this step, you set the number ranges for the accounting documents which are created when goods movements or inventory differences are posted.
Accounting documents in inventory management
For accounting-relevant goods movements, the system creates two different documents:
material document
accounting document
Both the material documents and the accounting documents have their own document numbers. When inventory differences are posted, the system also creates an accounting document for the physical inventory document.
In this step, you only maintain the number assignment for accounting documents.
Document types
Accounting documents are split into document types to allow differentiated document number assignment, which is the basis for distinguishing between the various accounting operations. A number range is assigned to each document type. In a company code, you have to define number intervals for each number range and fiscal year.
In inventory management, the transaction determines which document type is used.
Example: Goods receipt for purchase order
Requirements
You have already defined the company code.
Default Settings
In the standard SAP System, the following document types are predefined for inventory management:
WA  for goods issues, transfer postings, other goods receipts
WE  for goods receipts with reference to purchase orders
WF  for goods receipts with reference to production orders
WI  for inventory differences
WL  for goods issues with reference to deliveries (SD)
WN  for net posting of goods receipts
PR  for revaluation documents
Each document type is already assigned a number range. In company code 0001, number intervals are defined for each number range both for the current and the previous fiscal year.
Number range 49 with the year-related interval 4900000000 to 4999999999 is assigned to the document types for all goods movements, except goods movements with reference to purchase/production orders.
Document type WE is used for goods receipts with reference to purchase orders and production orders. This document type is assigned number range 50 with the year-related interval 5000000000 to 5099999999.
Please note that net postings of goods receipts (document type WN) are not active in the standard SAP System. If you want to post goods receipts net, you have to assign document type WN (instead of WE) to the transaction MB01.
Document type WI is used for posting inventory differences. This document type is assigned the number range 01 with the year-related interval 0100000000 to 019999999999.
SAP Recommendation
Activities
1. Check whether you can use the standard settings.
2. If not, you have to add new document types to satisfy your requirements:
a) Define a new document type under Financial accounting document
b) types.
c) Assign a number range to the document type.
d) Under Financial accounting number ranges, define the year-related number intervals for the given number range in your company code. If you do not want to use the year-related number assignment method, enter 9999 in the Year field.
e) Under Allocate document type to transaction, assign the relevant document type to the transaction codes of inventory management.
Document type PR (revaluation documents) is already assigned.
Notes on transport
You transport number range objects as follows:
Choose Interval -> Transport in the accounting document Number Range screen.
All intervals for the selected number range object are deleted in the target system first. After the import, only the intervals you export are present. The number statuses are imported with their values at the time of export.
Dependent tables are not transported or converted.
All other activities are linked to the automatic transport.
Edited by: Saurav on Jan 24, 2011 6:03 PM

Similar Messages

  • Change document type (BKPF-BLART)

    Hello,
    I have the following problem:
    One of our customers has established a new process. for an invoice which was posted with MIRO he wants to change the accounting document type (bkpf-blart)  depending on the purchase order type.
    My first idea was to use the <i>BTE 00001120 DOCUMENT POSTING:  Field substitution header/items</i>.
    There I have acces to all fields I need for my condition check. Unfortunately I have detect, that the strucutre for the substitutable fields (BKPF_SUBST) doesn't contain the field BLART.
    Is there another way to change the document type?
    Regards,
    Sven

    Hi Sven,
    You can actually create your own substitutable fields by fiddling with table GB01. If there is a record already existing for BLART you have to make the field BEXCLUDE blank. If not add the record with BLART (you can check some other substitutable field as reference). Use SE16 or create a Z program. Once this is done it can be substituted.
    Note however there is an SAP  note stating that the customer is responsible for such changes. However I have seen companies use this for BLART (and sometimes even HKONT!) and there has been no problems.
    Rgds
    Shivram.

  • How to change the document type while creating a PO by ME59N

    Hi,
    I  have 2 groups of PR's, for group one the document type is picked as NB and PO is created and for the group 2 it should pick as XYZ and PO should be created using ME59N tcode.
    How to change the document type for group 2 in ME59N? Which user exists to use to change the document type while creating PO in ME59N? 
    Can any one suggest me.

    Hi,
    There a config area, where you can define default PO doc types for a particular Pr doc type. If you maintain the settings properly there, then your requirement can be fulfilled.
    SPRO->IMG->MM->Purchasing->Purchase requisation->Define doc types.
    This will serve your purpose.
    Thanks,
    Srinu

  • Prevent cross-company code postings for certain document type

    Hi all!
    I am looking for a possibility to prevent users from posting a "cross-company code posting" just for a certain document type.
    I checked validation rules and BTEs but without success. Do you have an idea?
    Thanks for any support.
    Michael

    Thanks for your reply. I have already tried to use a validation rule, but without success.
    It did not work as the relevant field "New company code" (NEWBK) in not part of BKPF or BSEG, but (only) of structure RF05A. Thus, I cannot use the field in a validation rule.
    Or is there a way to make RF05A fields available for use in validation rules?
    Regards, Michael

  • How to Customize a document type to use on CV01N transaction in SAP

    I am trying to create a attach document in CV01N but I want to set up a new document type and don't want to use existing ones, so can some one help me in how to configure new document type and also please tell everything in step by step in order to xcomplete this process successfully.

    HI,
    1. Define Number Ranges for Document Numbers
    T code OD00
    SPRO / IMG -> Cross - Application Component -> Document Management System -> Control Data -> Define Number Ranges for Document Numbers
    2. Define Document Type
    T code DC10
    SPRO / IMG -> Cross - Application Component -> Document Management System -> Control Data -> Define Document Types.
    In this step, you create Document Type for categorize documents according to the organizational procedures.
    Supppose u define ZAD
    Document Type The document type is used to categorize documents according to the organizational procedures. E.g. in company, there exists many departments for which separate document types have been created. For example, ZAD,ZCB,ZCD etc Document type is a three digit alphanumeric field.
    Document Type Description  Description appears in the screen heading when document info record is being processed.
    Use Kpro  Indicator controls that the original files are stored in defined content repository via Knowledge Provider.
    Assignment of Revision Level This indicator shows that a revision level is automatically assigned to a document the first time the document is released with reference to a change number.
    CM Relevance u2018  u2018 u2013 Not Relevant for Configuration Management
    u20181u2019 u2013 Relevant for Configuration Management
    Determines whether Configuration Management controls the object.
    Number Exit   MCDOKZNR  Program that controls number assignment and version numbering for documents.
    Regards,
    Pardeep Malik

  • How to define a Sub Type in IT0717

    Hi Experts,
    Currently working on Benefit point account.
    could some one tell me how to define a Sub Type for IT717.
    how do i configure.
    Appreciate your response.
    Regards
    Raj

    Hi,
    I have created the subtype in the table you specified.
    But unable to see the created subtypes for IT552 in PA30.
    Appreciate your further inputs.
    Regards
    Rajesh.N.S

  • EasyDMS : Function module to define allowed document types

    Hello together,
    I am working on EasyDMS 6.00 and have implemented the function module "Z_EASYDMS_GETDOCTYPES" to have a filtered list of allowed document types for creating folders and documents in EasyDMS.
    But this FM does not seem to work, the list still contains all document types that are customized in R3.
    Here is my implementation:
    FUNCTION z_easydms_getdoctypes.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(FOLDERDOCUMENT) TYPE  BAPI_DOC_KEYS OPTIONAL
    *"     VALUE(ISFOLDER) LIKE  BAPI_DOC_DRAW2-CADINDICATOR OPTIONAL
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRET2
    *"  TABLES
    *"      DOCUMENTTYPES STRUCTURE  TDWAI OPTIONAL
    * default implementation: define some document types
    * for documents and folders
      DATA: ls_tdwai TYPE tdwai.
      REFRESH: documenttypes.
      IF isfolder IS INITIAL.
        ls_tdwai-dokar = 'IMP'.APPEND ls_tdwai TO documenttypes.
        ls_tdwai-dokar = 'TST'.APPEND ls_tdwai TO documenttypes.
        ls_tdwai-dokar = 'DMO'.APPEND ls_tdwai TO documenttypes.
        ls_tdwai-dokar = 'DRW'.APPEND ls_tdwai TO documenttypes.
      ELSE.
        ls_tdwai-dokar = 'IMP'.APPEND ls_tdwai TO documenttypes.
        ls_tdwai-dokar = 'DMO'.APPEND ls_tdwai TO documenttypes.
      ENDIF.
    ENDFUNCTION.
    Any help would be great!
    Thanks in advice,
    Andreas

    Hi Andreas,
    concerning the used function module I can tell you that it is called in Easy DMS. Before Easy DMS calls this module an availability check is made if it is activated too. So please check if the mentioned function module is activated in your system.
    Further I can recommend you to delete the RFC Cache in Easy DMS and check again if the desired functionality is available now.
    If this doesn't help the problem may be caused by the implementation of the function module.
    Best regards,
    Christoph

  • How to add a document type for the residence status GB in infotype 48

    Hi Team,
    How to add a document type for the residence status GB in infotype 48.
    Please answer this  at the earliest.PFA screnshot.
    Thanks
    chris

    I believe there is a PDF doc which comes with the component (it should be at your harddrive when you install it), which describes everything you will need.
    In a nutshell, there are two types of relationship: sibling - sibling, parent - child (there are some more nuances, but it follows the same logic).
    A relationship is created between two existing items (not sure, if you can also create a relationship for a new checked in item, but it would be just a usability). You select the type of relationship and the item - I believe depending on the relationship you may start from either item. The dialog to start is INFO (display metadata) or UPDATE (update metadata).
    When a relationship is created you may watch it also from either end (again INFO is the starting point).
    It is quite self-explanatory, so if you have the component installed you may just play around with it for a while and that is it.

  • How to configure add document types in pr

    how to configure add document types in pr

    Hi
    Just check out the following document for Configuring PO doc tpe , PR config is similar to that just need to do selection form PR
    [Po doc configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/703cdc83-d604-2c10-c79c-c30eab6c56a8?QuickLink=index&overridelayout=true ]

  • How do I enter Document Type for Purchase requisition IDOC

    Hello,
    File - IDOC (PREQCR.PREQCR02)
    The file is getting picked up and shows up a checkered flag in Moni..
    but in WE05, on R3 side, i see an error message
    "Enter Document Type"
    How do I enter document type for Purchase requisition IDOC?
    will that solve this issue?
    thanks and regards
    Nikhil.

    Hi,
    For error 51, you need to set the default document type in the inbound processing FM of the IDOC
    Standard type - NB
    Subcontrator type
    Blank PO
    Service PO
    Stock transport PO.
    Document types is used for below things,
    1. It controls the no. range of the document i.e. the doc no.
    2. It controls whether doc no. is auto assigned or manually entered
    3. It controls the field status of the doc header fields i.e. whether input is mandatory or optional
    4. It controls the physical doc filing
    Thanks
    Swarup

  • New document alert: How to get PDF documents into Adobe Reader for iOS

    Opening PDF Files in Reader for iOS (iPhone and iPad) has been very helpful to many users of Adobe Reader for iOS.  However, Apple has drastically changed the user interface in iOS 7, which made the original document obsolete. 
    According to Apple Developer Support's App Store Distribution page, 89% of devices connected to the App Store are using iOS 7 during a 7‑day period ending June 29, 2014.
    Because of the exceptionally high iOS 7 adoption rate, Adobe Reader for iOS version 11.3 now supports iOS 7 only.
    Here are the new How-To documents for iOS 7.
    How to get PDF documents into Adobe Reader for iOS (iPad on iOS 7 version)
    How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)
    (It had to be split into two separate documents because each contains way too many screenshots.)
    Hope these documents are as helpful as the original one.
    Please let us know if you have any feedback or suggestions on the topics for other help documents/tutorials.

    Dennis (or any Adobe rep),
    Any updates to the OP's question? I'm with a large government agency, and we're moving away from GoodReader for reasons I can't go into here, and the ability to add user-defined bookmarks within the app is a mandatory feature for the document reader we select. I have the latest version of Adobe Reader (11.6.1) installed on my government iPad, and the ability to add user-defined bookmarks still seems to be missing. Does Adobe have any plans to add this feature, or is it already present and I'm simply overlooking it?
    Thanks,
    Cam

  • How to create external content type in sharepoint for salesforce account

    Can anybody help me on How to create external content type in sharepoint for salesforce account.
    I wanto upload documents to a document library which should sync with accounts in saleforce.
    thanks in advance

    Hi,
    The following materials would be helpful:
    Tutorial: Access Salesforce Leads in SharePoint through an External List
    http://geekswithblogs.net/dataintegration/archive/2014/02/03/tutorial-access-salesforce-leads-in-sharepoint-through-an-external-list.aspx
    Salesforce SharePoint Integration – Best Practices
    http://rainforce.walkme.com/salesforce-sharepoint-integration-best-practices/#.VFxra3mKAeE
    If you want to upload documents to SharePoint document library from the Saleforce, we can also customize your own web service using SharePont .Net Client Object Model or REST to achieve it.
    Best Regards 
    Dennis Guo
    TechNet Community Support

  • How to use same Data Type and Length for two fields

    How to use same data type and length for two fields when using 'FOR ALL ENTRIES IN' in a select statement? For instance the select queries are :
    SELECT bukrs gjahr belnr lifnr budat bldat zlspr dmbtr waers shkzg
    FROM bsik
    INTO TABLE it_bsik
    WHERE bukrs = p_bukrs
    AND lifnr IN s_lifnr.
    IF it_bsik IS NOT INITIAL.
    SELECT belnr gjahr awkey awtyp
    FROM bkpf
    INTO TABLE it_bkpf
    FOR ALL ENTRIES IN it_bsik
    WHERE belnr = it_bsik-belnr
    AND gjahr = it_bsik-gjahr.
    IF it_bkpf IS NOT INITIAL.
    SELECT belnr gjahr lifnr xblnr
    FROM rbkp
    INTO TABLE it_rbkp
    FOR ALL ENTRIES IN it_bkpf
    WHERE belnr = it_bkpf-awkey+0(10)
    AND gjahr = it_bkpf-awkey+10(4).
    ENDIF.
    ENDIF.
    Here it gives an error in the 3rd select query that 'When you use the addition "FOR ALL ENTRIES IN itab", the fields "GJAHR" and "IT_BKPF2-AWKEY+10(4)" must have the same type and the same length.'
    Kindly clarify.

    Hi Saurabh,
    Please see the example code that I have developed for you. It will help you solve the problem.
    REPORT ZTEST_3 .
    tables : BKPF.
    data : begin of it_bkpf occurs 1,
             belnr type RE_BELNR,
             awkey type awkey,
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf.
    data : begin of it_bkpf1 occurs 1,
             belnr type RE_BELNR,
             awkey type gjahr,              " change the data type
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf1.
    data : begin of it_rbkp occurs 1,
             belnr type BELNR_D,
             gjahr type gjahr,
             lifnr type LIFRE,
             xblnr type XBLNR,
           end of it_rbkp.
    select belnr
           awkey
           awtyp
           gjahr
           from bkpf
           into table it_bkpf
           where BUKRS = 'TELH'.
    loop at it_bkpf.
    it_bkpf1-belnr = it_bkpf-belnr.
    it_bkpf1-awkey = it_bkpf-awkey+10(4).           "Here only append the required length.
    it_bkpf1-awtyp = it_bkpf-awtyp.
    it_bkpf1-gjahr = it_bkpf-gjahr.
    append it_bkpf1.
    clear it_bkpf1.
    endloop.
    select  belnr
            gjahr
            lifnr
            xblnr
            from RBKP
            into table it_rbkp
            for all entries in it_bkpf1
            where belnr = it_bkpf1-belnr
    This is just an example. Change the fields according to your requirement.
    Regards
    Abhii
    Edited by: Abhii on Mar 9, 2011 9:08 AM

  • How to pause while document printing and wait for user actions.

    How to pause while document printing and wait for user actions. (for sample: pressed button). Pause after each printed pages.

    Print page by page after considering the user actions!

  • Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Neil from bristol wrote:
    … How do you make an image … move across the screen …
    by setting KEYFRAMES
    (read, what FC/e's built-in Help-feature tells about it)
    resize and set pic to start position
    set keyframe
    move playhead in timeline to desired length
    set pic to end position
    set keyframe …

Maybe you are looking for