Po Doc Type & Vendor Type

Dear All,
As per Company requiremnt we have created different document Types for Material & Service Po.What my requiremnt is that u201CIf Raw Material Doc type is selcted then user shouldnu2019t be able to selct Service vendor.If thsy select service vendor then sysyetm shouldnu2019t allow to create a PO.How can I achieve it??
Biswajit

Dear,
Actually doc. type & the vendor code ar now where interlinked in system.
You can create a user exit where in system will first the check the document type of PO.If it Raw material doc. type & if the user enters Service vendor system will fire the exit & ive the message that "You cannot use Service vendor for material PO" or someting similar to this.
For this,
The service & material vendor must be having different number range which means that they have different account groups.
So in the exit you can define that first check the docu type say (Raw material) & after the vendor code is entered system will check the table LFA1 & field KTOKK(Account group).Define in exit thet for raw material doc type only material vendo account group is permitted.If the field is of service vendor system will fire the exit.
This will prevent the user from entering wrong vendor code.
Regards,
Nandan.

Similar Messages

  • KR doc type posted without vendor line item a mandatory item category

    Hello Gurus,
    We have SPL document splitter activated in our ECC system. We have the business transaction variant 0300 / Z001 assigned to doc type KR. The vendor line is obligatory in the above business transaction variant (BTV). THe splitting rule is also assigned for this BTV.
    THe problem is that despite having the vendor as obligatory for this BTV, we are able to post the doc type KR (vendor invoice) without the vendor line item e.g.. doc with doc type KR and debit and credit to expense a/c.
    Please share your experience if anyone has come across this issue,
    Prakash

    Hi,
    To make the vendor line mandatory for KR document type, you can write the validation as below:-
    Step 1:-
    Create a message ID via transaction code SE91 for message class /EACC/MSG/ACC_COMP as you want to display to user.
    Step 2:-
    Go to transaction GGB0 and create the validation step at complete document level in Financial Accounting as below:-
    Pre Requisits:-
    BKPF-BLART = 'KR'.
    Check:-
    Create a exit code using user exit and check that line items have at least one vendor line item.
    For this take the help of ABAPer and create a copy of the program RGGBR000 and code your check here and assign to the application area GBLR in view V_T80D via transaction code SM30.
    Message:-
    Message created in step 1 as error message.
    Step 3:-
    Please also check that this validation has active status (Status=1) at line complete document level (level 3) for your company code in transaction OB28.
    Regards,
    Gaurav

  • How to set Goods Receipt Indicator in PO based on Vendor or PO doc type

    Hi.
    Can someone suggest any solution to automatically set the Goods Receipt Indicator in PO (ME21N) to "blank" (untick) based on either a vendor or a PO doc type.
    Thanks.
    Tess

    You can untick it from vendor master and info record.
    1. Using MK02 - Go to purchasing data and the untick the GR-based Iv
    2. In info record for the vendor and particular material - purchasing organization data1

  • Vendor payment doc type KZ looking for account type A which is not defined

    Hi Experts
    We are processing a Vendor payment where discount is received, howeve,  the message "For document type KZ, account type A is not defined'  in the job log.
    Can anyone please put some light on this error.
    Many thanks
    Kind regards
    Dawn

    Hi,
    T-code OBA7: there it is defined which doc. type is allowed to use which acount types.
    SAP standard for KZ is to use vendor + GL account types.
    So check your document that you are going tro post or, if you think its ok, post the same document in a test client and enable doc. type KZ in OBA7 to be used with asset account types to view the result of your posting.
    Best regards, Christian

  • Very urgent, vendor down payment clearing - ka doc type

    hello gurus,
    while clearing vendor down payment, some down payment entries are posted as ka doc type. now i have to clear the invoice down payment with the ka doc type. how to do this.
    for retention account we booked in special G now that retention money also paid but that doc is not showing as cleared. still it showing in red colour. but balance is nill.  what to do for this..
    can anybody help me very urgent friends
    thanks
    jaya

    HI ,
    CHECK THI SPROCEDURE ,
    DOWN PAYMENT;
    Vendor A/C--a DR1
      TO Bank
    Invoice;
    Expence a/c  dr
    to Vendor----
    2
    down payment clear:
    Vendor A/C-----Adr   -
    3
    to Vendor a/c----4.
    Hi once you do the Down payment clearing only 1 & 3 line items will be cleared.
    but 2&4 line items will show as open items .
    This line items you have to clear  .Clear this in F-44.
    CHANDRA

  • BAPI to park Debit Note (Vendor credit memo) Doc Type: 'KG'

    Hi All,
    A friend of mine desperately needs to know any BAPI for parking Debit Note (Doc.type : KG Vendor credit memo)... Please let me know if you know about any BAPI / Funcation module to do it and a little chunk of sample code will surely help me a lot....
    Thanks in Advance,
    Regards,

    Hi Savitha,
    Well, we have experiemented with this BAPI "BAPI_INCOMINGINVOICE_PARK" earlier, but we found out that it dose not work properly for Service Orders; also it dose not seem to post proper debit note. Anyways, we have used another BAPI "BAPI_ACC_GL_POSTING_POST", it worked but it posts the debit note (Vendor Credit Memo) but we only want to park the debit note and let the user review it and then the user can post it manually or so afterwards...
    Regards,
    Athar

  • ERS functionality for vendor at PO doc type level

    Hi All,
    If i select ERS settlement for vendor in vendor master record, for all the POs for that vendor , ERS functionality is checked by default. I dont need this ERS defaulting for POs with specific doc type. Its not practical to uncheck for each items in PO where there are more than 1000 line items. Please provide me a solution?
    regards,
    NBanu

    Hi Banu ,
    For specific material it is possible through Inforecord but not for specific document type.
    Regards
    Ramesh Ch

  • Posting of cross company transaction with different doc types

    Hi,
    The scenario is:-
    We have two companies X and Y.
    X makes a payment to Y with the following FI entries:-
    Company Code X
    Dr Vendor Y
    Cr Bank HDFC
    Company Code Y
    Dr Bank ICICI
    Cr Customer X
    Now this needs to be a cross company transaction where the doc type for CC X should be vendor Payment 'KZ' while the doc type for CC Y should be a customer reciept with doc type 'DZ'.
    Although I am able to map the accounts in cross company code config I am not able to split the transaction of different company codes with different document types.
    Is there any way we can do this in standard SAP?
    Thanks in advance,
    Nitish

    Hi
    As per your issue ...There are no possibilities to post   in sap with different document types.
    If you want you can post cross company code transactions with one document types
    Regards
    vamsi

  • FB05 - trans to be processed and first line item PK for doc type

    Hi all,
    Me quite confused of the entry for the following document type in FB05
    DG - cust credit memo
    DR - cust invoice
    SA- gl acc doc
    SB - gl acc posting
    KG - vdr credit memo
    DZ - customer payment
    Need the help to let me know for document type above, what radio button to choose in transaction to be processed and also what posting key use at first line item.
    Also if i choose the wrong transaction to be processed radio button, any impact?
    thanks
    rgds

    Document type is primarily used to distinguish different various types of transactions. Ultimately, there are only two effects in accouting - debit and credit. Thus, doc type helps distinguish btw various types of accounting entries. It also controls certain field status while document posting and also drives the number range for the accounting document.
    Posting keys determine whether a transaction will be a credit or a debit. They also have an influence over the field status of the document entry screen. Posting keys are broadly divided into those belonging to
    Customer                             - Acct type C
    Vendors                               - Acct type V
    GL                                       - Acct type G
    Fixed Assets                        - Acct type A and
    Material Mgmt. transactions   - Acct type M
    For each account type there are both debit and credit posting keys. You can clik on F4 on the posting key field and see the various entries. You will understand.
    Thus, which posting key to enter depends on the transaction you want to enter.
    Regards,

  • Scheduling agreement with relase - doc type LPA with JIT

    Hi
    can any one give the steps for Scheduling agreement with relase - doc type LPA with JIT process.. and explain how the JIT will work in SA.
    Pls advise what are config required and what the user tcode needed to perform the SA with JIT concept.

    Dear Friend,
    Without release documentation(Document type LP)
    The delivery schedule lines have official character-that is to say,they are transmitted to the vendor as they are saved in the system.The system does not document in detail releases aganist the scheduling agreement that have been sent to the vendor.Therefore,in the case of the document type without release documentation,the message control facility should be set up in such a way that a message is immediately sent to vendor if any changes are made to the delivey schedule stored in the system.
    With release documnetation(Document type LPA)
    If you use scheduling agreement with release documentation,the delivery schedule lines are not transmitted directly to the vendor.Intially ,the lines of the delivery schedule stored in the system for an LPA scheduling agreement for an internal information only.A message informing the vendor of your material requirements cannot be transmitted to the vendor until you explicitly create an SA release,that is forecast (FRC) or Just in Time(JIT) delivey schedule.Through this process,you can change the way schedule lines are represented.With release documentation,you can disply the SA releases(delivery schedules) transmitted to a vendor over a certain period of any time.This enables you to trace precisely when you sent which information to vendor.
    Regards
    Pramod

  • Change the backend doc type from PR to PO in BADI BBP_TARGET_OBJECTS.

    Hi,
    We have followed below approach for backend document type determination.
    1. A custom function module contains the logic to determine the backend document type of a Shopping cart line item. THis function module, performs many checks and hence cannot be called in any BADI that is executed in Foreground.
    2. I am using BADI BBP_TARGET_OBJECTS to change the follow document type by calling the custom function module.
    Issue here is, if the backend document type of a line item is Purchase requisition (2) by SAP standard, and if I try to change it to Purchase order, it gives run time error and ends up in creation of Purchase order.
    After further investigation I found that this line item (with default backend doc type as 2) has a desired vendor. If we change the desired vendor of this line item to fixed(To Partner function 19 from partner function 39), it allows us to change the doc type from Purchase requisition to purcahse order in BADI BBP_TARGET_OBJECTS.
    But changing the partner function is possible only in BBP_DOC_CHANGE BADI, and I cannot call the custom function module there, as it may impact the performance.
    Is there any other way, I can change the partner function in any of the BADIs called in background?
    Or Is there any way by which I can change the backend document type from PR to PO in BBP_TARGET_OBJECTS?

    Hi Parab
    if you swaping 39 to 19 viadoc change badi
    REQUESTER has a control on Purchase ORDER Vendor and BUYER lost a control so your business has to decide.In this case procurement department lost their control.
    Fixed vendors are like inforecord and contract negotiated for best price ..
    Muthu

  • Assinment of pricing procedure to doc type

    Hi friends,
    I am new to MM , how the pricing procedure is assigned to doc type, or how the pp is triggered in PO.
    Thanks
    madhu

    Hi Madhu Sudan,
    Pricing Procedure as you know is one and the same as calculation schema.
    To administer the PP i.e. Determination of Calculation Schema for PO you will have to go to the transaction SPRO---SAP Reference IMG
    Follow the node
    Materials Management-Purchasing-Conditions-Define Price Determination Process-Define Calculation Schema.
    Once you are there In the calculation schema (pricing procedure), you specify which condition types are to be taken into account in which sequence
    Now coming to your query,
    1) Assignment a Calculation Schema (PP) to Doc type
    -- Remember It is not possible to assign PP to Doc type
    2) Trigerring of PP in PO
    -- Follow these underwritten simple steps:
    i.  Define a schema group for vendor under the node> Materials Management-Purchasing-Conditions-Define Price Determination Process-Define Schema group. You will have to assign this same schema group in the relevant vendor master record.
    ii. Define a schema group for Purchasing organisation under the node> Materials Management-Purchasing-Conditions-Define Price Determination Process-Define Schema group. & assign it to the relevant Purchasing Organisation in the same step.
    iii. Once this is done you have to Determine Calculation Schema for Standard Purchase Order under the node>Materials Management-Purchasing-Conditions-Define Price Determination Process-Define Schema Determination. In this step you assign Calculation Schema to a combination of Schema Group (Purchasing Organisation) & Schema Group (Vendor).
    iv. Conclusion: During the time of making a PO; Shema Group of Vendor is picked from the relevant Vendor Master Record, Schema Group of Purchasing Organisation is picked from Customisation (where you assigned it) & A Calculation Schema is triggered for the combination of these two Schema Groups (PP that you defined in step iii)
    Hope this explains it, for better understanding please read the IMG activity documentation for each activity.
    For any further doubts please reply.
    Regards,
    Prithviraj

  • Restrict the payments according to Doc types while F110 PAYMENT RUN

    dears
    While doing F110 (Automatic payment run) we want  restrict the payment as - the sytem should  pick only  a particular document type (WE  type)  sitting as open item  or  a particular document type for a particular vendor sitting as as open item?
    For example KR DOC types  only need to  pick for a vendor code "XXXXX"
    For this what setting is required at FBZP (Automatic payment ment Programme settng) and / or at any other area like XK02 (vendor master data) ?

    Hello,
    You dont need to make any changes in FBZP or vendor master.In F110, in the "Free selection" tab, in the Field selection do F4, choose Document type & in the values field give the Document type you want to include in the Proposal.
    In the next line you can again choose the Field name as "Document type" with exclude tick, you can give the document type you dont require.
    Save the proposal & run the payment run.
    Hope this helps.
    Regards,
    WNR

  • STO UB doc type

    HI Gurus,
    Can anybody please help me with this? When we are procuring the materials from a different plant using STO.(The config is all setup). Do we need to maintain a source list in the procuring plant with the supplyinh plant as the vendor and also do we need to maintain inforecord. Please help and clarify. Also in the STO config can we have these at the same time
    Supplying plant  plant (receiving plant)  doc type
    XXXXX                    yyyy                         NB
    XXXXX                     yyyy                         UB
    Thanks
    Anusha

    You will want to have the supplying plant tied to the vendor (shipping) plant in the vendor master data under the vendor purchasing data screen, and menu path Extras -> Add purchasing data.  You need the information record as well.  Be sure to have the STO config for the plant and customer plant in the IMG path:  Materials Management -> Purchasing -> Purchase Order -> Set up Stock Transport Order -> Define Shipping Data for Plants.
    If you have ECC 6, you wish to go even further with "Set Up Stock Transfer Between Storage Locations".  This is set up with more integration with the LE/SD modules with shipping points in these areas (Set Up Stock Transfer Between Storage Locations and  Define Shipping Data for Stock Transfers Between Storage Locations).
    Regards

  • Requisition has different doc. type NB and item cat

    hi all,
    i got one PR from project system account assignment category N  item category standard
    but i am converting that pr to subcontracting PO  i am getting following error" _Requisition has different doc. type NB and item cat"_

    Hi, I came across an alternative solution to do subcontracting with project stock. From the online documentation:
    Subcontracting for Sales Order Stock and Project Stock
    Purpose
    Subcontracting is also possible in conjunction with sales order stocks and project stocks. The subcontracting orders are account-assigned to a sales order or a WBS element. Thus, the components are not transferred (using a transfer posting) to the "stock of material provided to vendor" but are directly withdrawn from the sales order stock or the project stock at the time of the goods receipt. The material manufactured is also posted to the sales order stock or to the project stock. The cost of subcontracting is then debited to the sales order or WBS element.
    Since the components are not transferred to the "stock of material provided to vendor", we recommend that you use a transfer posting to transfer the provided components to a new storage location (for example, 9999). This enables you to obtain an overview of those stocks that are physically located at the subcontractor. This information is particularly important when you carry out a physical inventory of the sales order stocks and project stocks.
    Features
    Withdrawal from Stock of Mat. Provided or Sales Order/Project Stock
    For components that are managed in sales order stock or project stock, you can define whether the components are to be withdrawn directly from each sales order/project stock or from the stock of material provided to vendor. You manage this via the dependent requirements indicator for individual customer requirements and collective requirements (MARC-SBDKZ).
    You can maintain this indicator in the following places:
    in the MRP view of the material master record (MRP 4)
    in the explosion types for the BOM item (in Customizing for Production in the step Basic Data -> Bill of Material -> Item Data -> Define explosion types)
    Configuring the explosion types has priority over the configuration in Inventory Management.
    If the indicator is set at Collective requirements only (2), the materials are withdrawn from the stock of material provided to vendor. If this indicator is set any other way, the system withdraws materials from sales order stock or project stock
    Regards,
    Mario

Maybe you are looking for

  • How can I stop Calendar from formatting the location of an event?

    When I enter the event's location (e.g. Concert Hall, 123 Main Street) Calendar breaks it up into multiple fields and sorts them alphabetically (e.g. "123 Main Street" and"Concert Hall"). It also tags each field with "!", meaning presumably that the

  • HELP! (Please) How can I get my playlists previously created on my iPhone 4 back?

    Hi there. I have an iPhone 4, equipped with all of my music from my iTunes library on my MacBook Pro laptop. I often create playlists on my phone (when it is not plugged into the computer). When I went to plug my phone into the laptop to sync some ne

  • Write / store xml data in Xe and retrieve stored data using pl/sql

    Hi to all, i'm searching a tutorial on: A - how to write / store xml data in Xe and retrieve stored data using pl/sql I don't want to use other technologies, because i use htmldb and my best practice is with pl/sql. I was reading an ebook (quite old

  • PLEASE HELP Can't run my servlet url-pattern with Tomcat

    Hi I'm trying to run servlet with Tomcat. I have don the servlet with tomcat ide abd its runnig ok with Forte with the internal Tomcat When I'm runing it with external Tomacat its not running at the url that I have given in the web.xml web.xml file:

  • Flash Player 14 error

    Using Firefox, Windows 7 64 bit. Just downloaded and installed(clean) Flash Player, 14_0_0_179 exe. Now get the following error: "The exception unknown software exception(0xc0000710) occurred in the application at location 0x77aca389. Click OK to ter