Limit Account Assign to a Specific Doc Type

Hi, is it possible to limit a specific account assignment to a specific doc type?
For instance,  account assign P can only ba used by PO/PR doctype A.

Hi,
There is no setting in standard SAP. You have to use userxit for the same.
Cheers,
Satish Purandare

Similar Messages

  • Restrict GOS attachments in IW32 for specific doc type

    My requirement is we would like to restrict the Services for object
    attachments for specific doc type in IW32 transaction.
    Can blocking be made on doc type level?
    In this case jpg, bmp, and gif should be allowed, but blocking dwg, doc, xls, pdf etc.
    Didn't find any option in SGOS transaction or SGOSATTR table.
    Any suggestions are welcome..

    PARAMETERS: p_key TYPE swo_typeid OBLIGATORY,
    p_type TYPE swo_objtyp OBLIGATORY,
    p_file TYPE c LENGTH 100 OBLIGATORY,
    p_desc TYPE so_obj_des OBLIGATORY.
    data wa_kan1 type kna1.
    DATA: ls_fol_id TYPE soodk,
    ls_obj_id TYPE soodk,
    ls_obj_data TYPE sood1,
    ls_folmem_k TYPE sofmk,
    ls_note TYPE borident,
    ls_object TYPE borident,
    lv_ep_note TYPE borident-objkey,
    lv_offset TYPE i.
    DATA: it_objhead TYPE STANDARD TABLE OF soli,
    it_content LIKE STANDARD TABLE OF soli,
    wa_content LIKE soli.
    ls_object-objkey = p_key.
    ls_object-objtype = p_type.
    **if objtype = kna1 then 
    HERE I CHEK CUSTOMER NO U PUT YOUR OBJ ID AND USING SELECT QUERY U CAN CHECK DOC.TYPE
    select *from kna1 into wa_kna1
    where kunnr = p_key
    if sy-subrc <> 0.
    exit.
    endif.
    TRY.
    OPEN DATASET p_file FOR INPUT IN BINARY MODE.
    WHILE sy-subrc = 0.
    READ DATASET p_file INTO wa_content.
    APPEND wa_content TO it_content.
    ENDWHILE.
    CLOSE DATASET p_file.
    CATCH cx_sy_file_access_error.
    MESSAGE 'Error reading file' TYPE 'E'.
    ENDTRY.
    CALL FUNCTION 'SO_CONVERT_CONTENTS_BIN'
    EXPORTING
    it_contents_bin = it_content[]
    IMPORTING
    et_contents_bin = it_content[].
    Edited by: kk.adhvaryu on Mar 9, 2010 10:54 AM

  • Assign number range to Doc type

    Hi
    I have created a  new doc type - i am not sure for which co code business has to assign it... how can i create a new number rnage without co code specification... I know i can assign new no range thru OBA7, but let me know where to create it without co code specification
    Thnx in adv

    Hi,
    If I understand you correctly, you want to create one number range for a document type that can be used by all company codes. Eg Doc Type ZA created. Number range assigned is 10000  to 20000. You want all company codes (1000, 2000, 9000 - 3 company codes in  your system )to use the same number range.
    Here is my question
    1. When a document is created (irrespective of companycode), system should pick the next document number. Eg co.code 1000 creates document number 10351, then if a document is created in co code 2000, system should pick 10352 as document number. Am I correct?
    These type of continous numbering is not possible for FI postings, but they are possible for Material documents, CO documents.
    I am thinking of a different way to get this. Create all these document number range in each company code and make them as externally assigned. Then while saving a document, based on some abap coding that you write, pick the last number used in all company codes and populate the next document number to save.
    Hope this is what you want.
    Bye
    Vijay

  • PO creation:  PR or item cat. not assigned to PO of doc type NB

    When creating a PO from a PR, client is getting the following error, please help.
    The Error is :--
    Doc. type/item cat. FO/ (requisition) <-> NB/ (purch. order)
        Message no. 06054
    Diagnosis
        Purchase requisitions of document_type FO or item category  may not be
        assigned to purchase orders of document type NB or item category .
    Procedure
        Check your input.
        If the problem cannot be resolved in this way, contact your system
        administrator.
        The latter can make the necessary settings using the Implementation
        Guide (IMG)
    Please let me know what configuration is incorrect or missing.
    thanks in advance.

    Hi sameer ,
    Looking at the error i would suggest to check your IMG settings for the PO document type linkage to PR and allowed Itm Category. IMG > MM> Purchase Order > Document type. In this select the Document type FO and check Item category allowed and Linkage to PR.  FO type PO should have been assigned to FO type  PR with relevant Itm cat. If not exists assign it.
    Hope it answers your query and resolves the issues and don't forget to award the points if it helped you.
    Thanks
    Kiran

  • Display mode for Account assignment category for NB document type

    Dear MM gurus,
    Is it possible to have Account assignment category field in ME21N for document type NB to be display only. Could any one please advised if this is possible?
    Thanks in advance.

    Hi,
    Yes it is possible. But u have to define ur own Field selection for the PO document type and u have to assign it in the document type NB. Go to SPRO>IMG>MM>Purchasing>Purchase Order-->Define Screen Layout at Document Level

  • Account assignment grp as per material type

    Hello,
    Is anyone of you aware of the settings where I can bring the default material account assignment group as per the Material type in material master.
    I think it is not possible by configuration so kindly provide the user exits if any.
    Thanks!!!
    Regards
    Karan

    Hi
    Have you thought of using Transaction variant through transaction code SHD0,
    which is your materrial type is it SAP standard?
    you create a transaction variant with your value of acc *** group and you can make it as default.
    you can also use for e.g MMR1 for raw material , MMH1 for tranding and so on and change this , but this will only be in case of sap standard material type.
    Regards
    Jitesh

  • Material Groups of specific Doc types

    Hi, is it possible to default certain material groups in a specific document type?
    Thanks so much.. Appreciate your help.
    Thanks,
    Paula

    Hi,
    For Service PO,  you can set default material group in item level in ML91.
    For material ( stock or no-stock)PO, The material group  will be from material master.
    Regards,
    Biju K
    Edited by: Bijay Kumar Barik on Aug 26, 2009 10:05 AM

  • MM-Restrict particular Mat type for specific Doc type

    How to restrict particular material type in particular Purcharasing document type...

    Go to OMS2 and Select Material type and in Internal / External Purchase Orders and in External Purchase Order tab Set the Value 0 No External Purchase Orders allowed and Save.
    I dont know how far we can Control this for a Particular Document type.
    Coz if you Set this this will be applicable to all Purchaisng Documents

  • Reg:Account Assignment

    Hi
    I have created PO doc type as ZCAP (for Capital items).whenever we select this doc type we have to select account assignment "A" in Acc.*** Category field in PO line item.As it is manual entry, user (by mistake) is giving "K" instead of "A".
    My question how can i make "A" as default to doc type ZCAP.so that whenever we select ZCAP, automatically acc.assign "A" should come and all other account  assignment categories should be deleted.
    plz suggest me some way.
    Thanks in advance.
    Regards,
    JNRKMM

    Hello
    There is no standard configuration to control the account assignment with Purchase order document type. Purchase order document type is an header level control where as the account assignment is Item level comtrol.
    You need to use Badi to control the account assignemnt category at PO line item level with reference to the PO document type.
    Please consider the Badi ME_PROCESS_PO_CUST
    Application components: MM-PUR-PO, MM-PUR-PO-GUI : Main program: SAPLMEPO
    The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis. You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
    Typical applications for this BAdI include:
    Processing of own objects
    Processing of additional data on standard objects
    Implementation of additional checks and derivations
    Change of data in standard fields
    1. Start of transaction
    Documentation for BADI method INITIALIZE
    2. Opening of a PO
    Documentation for BAdI method OPEN
    3. Checking of data
    Header data of PO
    Documentation for BAdI method PROCESS_HEADER
    Item data of PO
    Documentation for BAdI method PROCESS_ITEM
    Delivery schedule lines of PO
    Documentation for BAdI method PROCESS_SCHEDULE
    Account assignments in PO
    Documentation for BAdI method PROCESS_ACCOUNT
    Processing of Account Assignment Data
    Functionality
    The PROCESS_ACCOUNT method enables you to change the account assignment data and check it for correctness.
    Parameters
    The following parameters are available:
    IM_ACCOUNT - Account assignment
    The interface reference is of the type IF_PURCHASE_ORDER_ACCOUNT_MM. You can use all methods defined there.
    Note
    Please note the general hints on Error Handling.
    If you wish to mark the account assignment data as invalid, use the method INVALIDATE() of the IF_PURCHASE_ORDER_ACCOUNT_MM interface.
    Pleae contact Technical consultant to implement the same
    warm regards
    Ramakrishna

  • Account assignment and plant

    Hi all,
    My problem :
    When I create a PR for a material for one specific plant, SAP asks an account assigment (wich is anormal). For all other plants, no account assigment is asked (which is normal)!
    Someone has an idea to solve this problem ? Where is the link between Account assignment and Plant / Material ?
    Thank all !
    I reward if answers are useful

    Hi,
    Normally we procure material for two things
    Procure to Stock
    Procure to Consumption
    If the procurement is Procure to Stock the Material is needed. Here you may use or may not use account assignments.
    If the procurement is Procure to Consumption Account Assignments become Mandatory since you are not keeping the stock.
    Account assignment is linked with Material type. While creating Material type in OMS2 in the Quantity / Value Updation If you check In all Valuation areas then System will not ask for account assignment for a purchase requisition with a material.
    Where as if it is Checked in In No valuation areas then System will ask acct assgnment.
    Reg,
    Ashok
    Rewards if helpful.

  • Direcrt GL account activation restriction to specific PO's

    Dear All,
    We have activated the direct GL account posting(G/L account tab), which tab appears in MIRO.
    Can we restrict this GL account tab appearence for specific PO types only?
    Please suggest the possibilities.
    Regards

    Hi All,
    even i have the same requirment as my clint need that MIRO is done of specific PO by authorised employee.
    like i have 2 PO type A & B. and two employee respectivly. then Emp 1 can only do MIRO for PO A and Emp 2 can do MIRO for PO B. Strictly...
    what would be the standard setting or some other ...
    thanks in Advance
    Edited by: Sandeep Singh Chauhan on May 8, 2010 9:20 AM

  • SE 518 No account assignment exists for service li ne 0000000000 error

    Hello all,
    We have raised a Shopping cart for a service with reference to a contract with the account assignments item category "D" and account assignment category "P". the product type is 02 for the service. The shopping cart saves fine however when trying to transfer to create the PO in the backend we are getting the error "SE 518 No account assignment exists for service li ne 0000000000"
    we have checked all the notes below:
    1064139 already implemented.
    1222877 already implemented.
    767284 failed to correct the error.
    1140132 should be in our system but has been removed by note 1226132. I have checked all the other notes but they do not seem relevant in our scenario. Does anybody have any idea as to how we should solve this problem?
    Thanks

    Hi Andrew!
    There are other notes related to this issue. Please verify if they can help you.
    1244427    SE518 error in external requirement service shoppin
    1236355    BAPI_PO_CREATE1:Purchase Order created with ref. to
    1226132    SE518 Error message from back-end system for servic
    1030206    BAPI: Multiple service type items cannot be created
    1398742    Error message SE 518 PO transfer to backend
    Best regards,
    Christian Zeuch

  • Asset PO should not be raised in NB Doc type

    Dear All,
    I need to do the settings in such way that user should not use A - Asset as account category while rasing PO by using NB document type. How can I control this?
    Pls provide me the settings.
    Rgds
    Srini

    Hi Srini,
    Standard SAP does not provide functionality to set Account assignment category for the Document Types.
    However, you can restrict the entry of Account assignment category wrt Item category.
    you have to create a new item categories which will have same setting as the existing ones. then Assign the new item categories to the Document type NB.
    Now, go to SPRO/MM/Purchasing/  Define external representation of item categories, then choose 'Not allowed' under Addit Acct Assignment for all new item categories.
    This means there will be set of new item categories which will work in same way as existing are, but restricting use of Account assignment field.
    This will solve your issue.
    Regards,
    Pravin

  • GL A/c & Doc Type

    Hi,
      If I want to know that for a particular GL account what are the different doc types effecting it .... how can I do that ?? which tables needs to be searched ??
    Thank You,
    SB.

    Hi SB,
    Both SAKNR and HKONT are GL accounts and they are populted based on type of dicument.
    Please go through the diagram enclosed . This will provide you some information how the FI tables are populating based on documents .
    <a href="http://www.sapgenie.com/abap/tables_fi.htm">Finance Tables</a>
    Regards,
    Lanka

  • Subcontract GI with account assignment Q

    hi guys,
    I have a problem in subcon GI to vendor with account assignment Q (project specific).if i am raising a PO with item category L and with out any account assignment, i this case i am able to do GI in ME2O.
    But, with account assignment Q, It is not appearing In ME2O.
    thanks in advance
    vikram

    You cannot do hat because subcontacting itself is a special stock(when you do GI), hence you can have two specila stock indicator for the same stock( Q and subcontracting)
    If you want to send it to vendor then you need to release the stock from Q stock to unresticted then go GI-541(o),, then if you Do GI then system will transfer from UN stock to specila stock i.e. subcontactor stock)
    please come back if you need furthur information

Maybe you are looking for

  • Error while creating materialized view which using database link

    Helo! I'm getting error "ORA-00942: table or view does not exist" when I want to create materialized view. Details: 1. On destination database I create a database link: CREATE DATABASE LINK SDATABASE CONNECT TO MYUSER IDENTIFIED BY MYUSERPASS USING '

  • The iPod "iPod" cannot be updated.The required file cannot be found.(again)

    tTunes recognizes my iPod and I can download the SONGS onto my iPod, but it gives me that message="The iPod 'iPod' cannot be updated. The required file cannot be found." and my videos and photos can't get onto my iPod.

  • Freight line item not getting created in Invoice

    Hi, We are using Inbound IDOC to create invoice with freight line items in it, The message type used is INVOIC and the standard inbound function module is IDOC_INPUT_INVOIC_MRM, The invoice which is getting created does not hold the freight line item

  • Error message in Accounting integration with PS

    Hi Gurus, I have created projects in cProjects but I am getting the error message An error occurred when connecting to the accounting system . The error message no. is "DPR_FIN_GECCO001", which states that the RFC connection is not maintained or wron

  • Cant view photos on my pc via start menu in windows 8

    i cant see photos via start menu from the photos tile in windows 8. it says all photo sources are hidden. please change your pc settings. but there is no option I could find in the settings. please help me!!!!!!