User exist for purchase order with account assingment

As our org has gone with Project specific stocks. we are maintaing seprate "Z" table which conatisn datas like WBS element, material code & material price. And when we raise a P.O for a particular project with WBS element and when we enter material code first it should check whether the material code exist in "z" table. If material code exist it should allow or else it hould display a message that material dose not exist.
Regards]
Dinesh

Hi,
I would recommend you to test BAdI ME_PROCESS_PO_CUST.
Regards,
Edit

Similar Messages

  • Goods receipt for purchase order with account assignment 'K'

    Hello All,
    There are couple of purchase orders with acc.*** "K". On doing the GR for these PO's they have been done with mvt type 103 & mvt typ 105.
    I understand that material has been directly consumed to the respective cost center.
    How do track the internal movement for these materials??
    I need to view the stock for these materials at the cost center as in MMBE the stock is seen as ZERO.
    All these materials are with QM proc ACTIVE. So a goods receipt is done 105, then the inspection lot is cleared. However, in this case as the material is directly consumed, it is NOT displayed in QA32.
    Is the above procedure correct??? Is it better to receive stock against mvt type 101 & then do a 201 mvt ??
    Request your inputs.....
    Regards,
    Manoj Reddy

    Account assignment inventories are not maintained. To maintain a report for cost center receiving/issuing you need to make a customized report with help of ABAP.
    Other way is to pull report in MB51, with selection criteria COST CENTER and it will give you result of stocks available on cost center. For stocks received on cost center, you can pull report with cost center and movement 101.
    201 is used for goods issue to cost center from warehouse, the stock you receive from PO against 101 is directly charged to cost center, so no need to issue later to cost center.
    Edited by: Afshad Irani on May 17, 2010 2:17 PM

  • GR for purchase order with Account assignment E

    Hello All
    I am having a scenario where in the BOM structure is as under: A->B->C--->D, D is the raw material, C is the component produced in-house, B is the material which we procure through subcontracting, in the material master of C SPK:30 is used for subcontracting, & A is in-house produced material with purely MTO scenario (20 - strategy).
    Once the sales order of A is there we run MRP for it, as per the master data settings described above we get purchase requisition for D & when I convert it to purchase order it is having account assignment as E.
    This is all well but the moment I try to save it, system throws an error stating: 'G/L account 20500100 cannot be used (please correct)". This G/L account is of raw material itself.
    Can you please guide me to overcome this problem.
    I am looking forward to listen from you soon.
    Regards,
    J K Tharwani

    Hi
    Check the OBYC settings for this transaction, assign the correct G/L for this transaction. Try to get the help from MM consultant to resolve this.
    Check in BSX Transaction for the invetroy posting.
    Check the G/L account it is exist for your company code.
    Take the G/L account which is coming in the error message and go to FS00 t code select tab Create/blank/interest , there you will have field status group just double click on that . It will take you to field status group display in that check the combination of the selection.
    Thanks
    S.Murali
    Edited by: S. Murali on Jun 26, 2009 5:07 PM
    Edited by: S. Murali on Jun 26, 2009 5:19 PM

  • LIV for Purchase Orders with Account Assignment

    Hi SAP Gurus,
    I would like to get your expert advice on this...
    I enabled total based invoice acceptance and reduction by performing the required configuration steps (define vendor tolerance group, set up the auto invoice reduction tolerance checks, assigned the tolerance group to the vendor). I was assuming that this would work for my purchase order which contains an account assignment. However, when I tested it out, instead of behaving as expected (create invoice and credit memo for the excess value), the system generated only 1 accounting document. The price variance was posted back to the account assignment assigned to the PO item.
    Did I miss out on any steps? or is this the way SAP treats account assigned (non-stock) PO items (i.e. no invoice reduction occurs). If so, can you explain to me why?
    Best regards,
    RiVeR
    Edited by: delo celo on Jul 14, 2010 6:16 PM

    Hi Delo,
    Please find answers to your queries below in bold.
    1. I was just wondering why would SAP allow such transaction/s to happen? Wouldn't it compromise the integrity of the whole document trail (PO account assignment is different from the LIV)?  -
    There could be some business scenarios in some organisations, where in Procurement team uses generic cost centre (header), which is specific to particular department or group, to procure. But at the time of Invoice Receipt, AP team knows exact cost centre or order, etc  to post the amounts. To cover these kind of scenarios, SAP probably has provided the option to change acount assignment.
    2. Is there a way to edit the Account Assignment for a Purchase Order line item even if that item has been fully received and invoiced? -
    These field changes at various levels can be configured via t-code OME9.
    a) IR Changeable - This field if selected will allow to change the account assignment of a purchase order item at the time of invoice receipt.
    b) Acct. assg. changeable - This field is selected will allow to change account assignment for an item following goods receipt or invoice receipt.         
    Hope this clarifies your queries.
    -Ravi

  • BAPI for purchase requisition with account assingment

    Dear all,
    We have third party scenario, so while creating sales order it has to create purchase requisition.our functional consultant they configured for service po .
    If any body help me

    Hi,
    Hope this link will help you http://help.sap.com/saphelp_46c/helpdata/en/7c/3ce3b765ba11d395fe00a0c94260a5/content.htm
    Regards,
    Pravin

  • User Exit for Purchase Order Release Strategy

    Hi,
    I am a little new to this, how do I search for a user exit for purchase order release strategy (TCode ME29N).
    Thanks in advance.
    Mick

    Hi
    Check the following Exits and BADI for Pur Requisition
    Enhancement
    MEVME001 WE default quantity calc. and over/ underdelivery tolerance
    MM06E001 User exits for EDI inbound and outbound purchasing documents
    MM06E003 Number range and document number
    MM06E004 Control import data screens in purchase order
    MM06E005 Customer fields in purchasing document
    MM06E007 Change document for requisitions upon conversion into PO
    MM06E008 Monitoring of contr. target value in case of release orders
    MM06E009 Relevant texts for "Texts exist" indicator
    MM06E010 Field selection for vendor address
    MM06E011 Activate PReq Block
    MMAL0001 ALE source list distribution: Outbound processing
    MMAL0002 ALE source list distribution: Inbound processing
    MMAL0003 ALE purcasing info record distribution: Outbound processing
    MMAL0004 ALE purchasing info record distribution: Inbound processing
    MMDA0001 Default delivery addresses
    MMFAB001 User exit for generation of release order
    MRFLB001 Control Items for Contract Release Order
    AMPL0001 User subscreen for additional data on AMPL
    LMEDR001 Enhancements to print program
    LMELA002 Adopt batch no. from shipping notification when posting a GR
    LMELA010 Inbound shipping notification: Transfer item data from IDOC
    LMEQR001 User exit for source determination
    LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001 Customer-Specific Source Determination in Retail
    M06B0001 Role determination for purchase requisition release
    M06B0002 Changes to comm. structure for purchase requisition release
    M06B0003 Number range and document number
    MEQUERY1 Enhancement to Document Overview ME21N/ME51N
    MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
    MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
    MEETA001 Define schedule line type (backlog, immed. req., preview)
    ME590001 Grouping of requsitions for PO split in ME59
    M06E0005 Role determination for release of purchasing documents
    M06E0004 Changes to communication structure for release purch. doc.
    M06B0005 Changes to comm. structure for overall release of requisn.
    M06B0004 Number range and document number
    Business Add-in
    ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
    ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
    ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
    ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Custome
    ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
    ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
    ME_PO_PRICING Enhancements to Price Determination: Internal
    ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
    ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
    ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
    ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
    ME_PURCHDOC_POSTED Purchasing Document Posted
    SMOD_MRFLB001 Control Items for Contract Release Order
    EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
    ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
    MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
    MM_DELIVERY_ADDR_SAP Determination of Delivery Address
    ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
    ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
    ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
    ME_REQ_POSTED Purchase Requisition Posted
    ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
    ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
    ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
    ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
    ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
    ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
    ME_BSART_DET Change document type for automatically generated POs
    ME_BAPI_PR_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PO_CREATE_01
    ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
    ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
    MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
    ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
    ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
    ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
    ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
    ME_COMMITMENT_RETURN Commitment for return item
    ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
    ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
    ME_CIN_MM06EFKO Copy PO data for use by Country version India
    ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
    ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
    ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
    ME_CHECK_OA Check BAdI for Contracts
    Reward points if useful
    Rgds,
    Naren

  • Default a gl account in account in a purchase order with account assignment

    Hi all
    I need default a gl account in account in a purchase order with account assignment P. can somebody help me. They have used a gl account which is not correct.
    Thanks

    Hi,
    Please refer posted tread in the forum
    default G/L account for purchasing documents
    Regards,
    Santosh

  • G/L Account default in purchase order with account assignment category K

    Hello gurus,
    when creating a new position in a purchase order with account assignment category K "Cost Center", the G/L Account No. is always filled with a default account.
    Where and how can I define, what account is used as default GL Account?
    The version is sap ecc 6.0.
    I will reward points all answer!!
    Thank you!

    Hi
    check the valaution class assigned to the material or the material group (if no material is being used)
    Now goto OBYC, Click on the transaction key GBB, for the account modifier VBR, & for the valuation clqass combination - check the G/L account.
    Based on this combination the G/L is determined auitomatically in the PO. if you chnage it here ... it will reflect in PO at the time of creation.
    Thanks & Regards
    Kishore

  • Archieve does not exist for purchase order

    Hello Gururs,
    When i tried to change the delivery date for the PO and when i trying to save the PO
    then it throws the error messages-'Archieve does not exist for purchase order'.
    PO was created in feb.
    Please help me how can i solve this issue.
    BR
    Ashish

    Can you give a more detailed information.
    What transaction you actually use, what you enter step by step until you get to the error: 'Archieve does not exist for purchase order'
    This message sounds like you want change a PO which is already archived.
    A change to an archived PO is not really logical,  as you can only archive closed business cases. and if the business case is closed, then why would you change the delivery date.
    A PO from February should not really be archived already in June. I never saw it in practice, as you could not do any anual reporting
    I would assume further that SAP found the entered PO number in the archive index but did not find the way to the archive itself. This can happen if the archive file was deleted or moved manually.
    I am not sure if the next messae has really anything to do with your purchase order, thats why I ask you to post the exact steps until the messages come up:
    Le fichier archieve 000524-002SD_COND n'existe pas is the message discription
    But even this message explains more or less the same, that the physical archive is no longer in the same place where it is expected to be found according to the info in records of table ADMI_FILES.

  • Error while creating purchase order with account assignment category "A"

    Dear All,
                      At the time of creating purchase order with account assignment category A - Asset its throwing error as " GL Account 123400 can not be used"
    how to resolve this  issue"
    Edited by: Matt on Sep 16, 2010 10:09 AM - removed bold tags

    HI,
    Assign all assets GL to Asset Class
    spro --> financial accounting new -->assets accounting --> assets accounting (lean Implementation) --> organization structures --> Assign GL
    Hope Help U !
    Regards,
    Pardeep Malik

  • User Exit for Purchase Order Line Items.

    I have been trying to search for a User Exit for Purchase Order Line Items and have been unable to do find anything.  I need to overwrite the Net Price and Pricing Condition on a certain type of material based upon the Pricing Condition for that Line Item which is on the Sales Document.  Any direction you can point me into would be greatly appreciated.  Thanks.

    Thanks for pointing me in the right direction.  I was able to create my first BADI using the PROCESS_ITEM method.  The following link was also very helpful: Re: BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM

  • No delivery costs exist for purchase order

    Dear Friends,
    While doing MIRO, i am getting an error message as mentioned below----
    "No delivery costs exist for purchase order xxxxxxxxx"
    Message no. M8014.
    Kindly guide me in resolving the error.
    Thanks & Regards,

    hi
    >"No delivery costs exist for purchase order xxxxxxxxx"
    itself says that there is no delivery cost,
    firstly check ur PO ,Did u entere the delivery cost conditions like for freight or octoi in the PO
    or if u have entered the condition then check if it is not already invoiced
    if u dont have delivery cost in po and wanna do IV for material then in miro
    change the option of delivery cost to goods/service
    (at right side of the po no field)
    regards
    kunal

  • BADI / User exit for Purchase order(ME21N) after saving the document

    Hi expert,
    I need the BADI / User exit for Purchase order(ME21N) after saving the document
    This is for email sending after create the purchase order so PO document number will be the import parameter
    pls help me
    point will be reward
    Regards,
    Ganesh

    Hi Ganesh,
    Could you please share your solution?
    Thanks.
    Hoops
    Edited by: Hoops on Jun 13, 2011 10:51 PM

  • User Exist for Sales Order

    Hi All,
    When the Route changes in the Sales Order, I want to add the Forwarding agent to the Partfner function atutomatically. So I written the code in the User-Exist "userexit_check_vbap" with the following logic.
    IF sales order is creating with VA01, Add an entry
    and Changing the Sales order with VA02, modifiy an exisiting entry as follow.
    But at the time of Creating with VA01, it is sucessfully adding an entry, but
    whenever you the change Route for sales order with va02, Modify statement is working fine and showing the correct Partner function in the Partner Tab.
    If you save the document and open it again then Changed Route is sucessfully saved but not the partner function. It always having the partner function which you given at the time of creation.
    Can we write the modify statement in the "Userexist_check_vbap"
    READ TABLE xvbpa WITH KEY parvw = 'ZR'
                                posnr = xvbap-posnr.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM lfa1 INTO CORRESPONDING FIELDS OF xvbpa
            WHERE lifnr = tdlnr.
        xvbpa-mandt  = xvbap-mandt.
        xvbpa-vbeln  = xvbap-vbeln.
        xvbpa-posnr  = xvbap-posnr.
        xvbpa-fehgr  = '08'.
        xvbpa-nrart  = 'LI'.
        xvbpa-lifnr  = tdlnr.
        xvbpa-updkz  = 'I'.
        CLEAR: xvbpa-kunnr, xvbpa-stceg.
        xvbpa-parvw  = 'ZR'.
        APPEND xvbpa.
      ELSE.
        xvbpa-lifnr  = tdlnr.
        MODIFY xvbpa TRANSPORTING lifnr WHERE parvw = 'ZR'
                                          AND posnr = xvbap-posnr.
      ENDIF.
    Please suggest me , how can i solve this problem.
    Thanks and Warm Regards,
    Vijay

    I solved the problem by pass the following value
    xvbpa-updkz  = 'U'.
    It solved my problem.

  • Profit center for purchase order without account assignment

    I've requirement to include profit centers in purchase orders without account assignment category.
    The trouble is when there is no profit center maintained in material master.
    Is there a way to determine profit center in purchase order for such cases?

    Dear Abinash,
    Define substitution in GGB1 at line item level as shown below:
    Prerequisite : BSEG-WERKS = Maintain plant
    Substitution : BSEG-PRCTR = maintain profit centre as constant value
    After define it, assign to the co.code.
    Regards,
    Mukthar

Maybe you are looking for