Making a field mandatory in purchase order wrt account assignment

Hi,
   I want to make a field mandatory in purchase order wrt a patricular account assignment category.Can any one of u help me?

Hi
Using a BAdi  you can acheive this.
Create a New Field selction key with Order Acknowledgement as mandatory field
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.
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
Change in field selection
Use one of the the methods
Field selection At item level method FIELDSELECTION_ITEM_REFKEYS
Special rules at item level method FIELDSELECTION_ITEM
This method enables you to change the display properties of fields at item level by supplementing or swapping the field selection reference key. You can thus restrict the processing options for certain groups of users, for example.
The following parameters are available:
IM_ITEM
This import parameter contains the item data of the outline agreement.
The interface reference is of the category IF_PURCHASE_OUT_ITEM.
CH_KEY0 to CH_KEY6
These change parameters contain the field selection reference keys.
Please go through the BAdi Document tation for more details
Please take hepl of ABAP er in implementing the BAdi
Thanks & Regards
Kishore

Similar Messages

  • How to link Purchase Order using account assignment category "F"* to asset

    Hello,
    I'd like to know how to link Purchase Order, using account assignment category "F" to asset .
    When I enter asset no. in my ANEK table, po no(ebeln) and po item(ebelp) field is blank.
    whether every line item in a Purchase order have differrent asset.
    can anybody give me the link between asset and materal no?
    Regards,
    Rachel

    Hi Rachel,
    Your message is a little bit confusing. There is no link between the asset and material number. If you want to post your purchase order, using account assignment F - that is internal order - you may do it. Futher, you can settle the postings from this order to asset.
    You can read more here:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/71e7cd448011d189f00000e81ddfac/frameset.htm
    Regards,
    Eli

  • 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

  • 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

  • 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

  • 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

  • "Free of Charge" field mandatory on Purchase order document

    Hello,
    Where can I set and de-select the "free of charge" field as mandatory in SAP MM for Purchase orders?
    I am working around SPRO -> Material Managment -> Purchasing -> Purchase Order -> Define screen Layout at document level, but there I cannot find any fields like that.
    Also in the account assignment layout or in the Item type layout I cannot find anything useful.
    Do you know how this field is set as mandatory?
    In particular I have a document type that have that flag mandatory when I post a standard item (either with a stock or non-stock material). When I use a different document type or even the same with item category = services, the system is not requiring the "free of charge" as mandatory.
    Thanks
    Marco

    Hello,
    As I described, I am using a standard Item category (PSTYP = 0), either with a stock material or with a material group code + account assignment (Cost center).
    Either way (stock or non stock) the message is raised.
    Working around it, I noticed that the error is showing for that particular layout only (assigned to the document type, but it is not showing if I select the same document type (same layout at document level), but with PSTYP = 9 (services).
    It is showing both when creating (ME21N or ME21) and when changing (ME22N).
    Hence there must be something wrong at SPRO -> Material Managment -> Purchasing -> Purchase Order -> define document layout at document level with the match of ME21N, AKTH, ZM (my layout) and PT0F, becouse for ME21N, AKTH, ZM and PT9F or ME21N, AKTH, XX (any other user defined layout) and PT0F evertything is correct.
    I even tryed to remove and recreate all over again the ZM user defined layout, but the same error is showing.
    The problem is that I am not able to indentify where is actually this "free of charge" field in this customizing path, since I don't see it in the list of selectable fields.
    Thanks
    Marco

  • The reference field between purchase order and account assignment tables

    i need to reterieve the account assignemnt category (G_L_ACCT) which is in the table bbp_pdacc for an the purchase order item, i am not able to find the reference field. I am working on the SRM system.
    promise to reward points
    regards,
    anitha

    Well, the account assignment category in SRM table BBP_PDACC is ACC_CAT. If this isn't what you are looking for, could you please elaborate your requirements?
    Rob

  • 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

  • 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

  • A rlist of purchase orders with Account assign.category  "A" and .....

    Hi All,
    Could anyone show me a transaction code which shows
    the list of purchase orders
    - without good receipt and
    - with Account assignment category  "A".
    Tnaks
    A lot
    G.ROssi

    hi,
    Go to ME2N >> use selection parameter field >> here assign the value ie. NO gr done >> come out...
    then maintain the dynamic selection and in the PO item details maintain the acc. assgn catagory and then execute..
    System will show all PO's for which no GR is done...
    Regards
    Priyanka.P

  • 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

  • Purchase order and Account assignement category- Change

    hi.,
    We are trying to receive the Purchase order of High value components into INVENTORY.
    However, most of these Purchase Orders were created with account assignments.
    Because of that, if we receives these PO’s, they will be consumed against the object identified in the account assignment.
    Additionally, some of these have been invoiced already and would need to be backed out from the finance side.
    Question: How can we receive these STO Purchase orders and then make changes through Movement type ( or any other way ) so that the HIgh Value Components that are consumed against that AC assignment can be subsequently moved into Invenotory.
    Also, what are the other options ( FI will not open Previous period) so that the PO's which have been invoiced  can be reversed against that AC assignment.
    Thanks All

    hi Rajesh.,
    As mentioned earlier, these  Purchase orders are STO's which have been already created and we are waiting to do the GR for the same. Items in the STO PO are of  High value which we need to bring into  INVENTORY.
    But, because these STO PO's were created with account assignments, if we do GR now, they will be consumed against the object identified in the account assignment.
    Some of these STO PO's have been invoiced already and  FI has indicated that they could cancel the invoices for those STO PO's in previous posting period.
    Question again : How can we receive these STO Purchase orders and then make changes through Movement type ( or any other way ) so that the HIgh Value Components that are consumed against that AC assignment can be subsequently moved into Inventory and not to a cost Center (202)
    Step (1) Can we cancel the Invoiced items> reverse the GR for invoiced Items>reverse STO for PO ?
    Step (2) Can we reverse the STO for PO for which GR has not been done? then
    Step (3) Change the PO through ME22N, remove the Account assignment category?
    Or how do we correct this situation for
          (1) PO's already invoiced.
          (2) PO for which GR has not been made. How can we receive them into Stock and not Cost center.
    Anticipating a reply
    Thanks
    Sri

  • Purchase order : get Account assignment into BADI

    Hi,
    i'm using the BADI ME_PROCESS_REQ_CUST method POST ; in this method i need to access to items and it's work (i use im_header->get_items( ) ). But now i need to access to Account assignment, how can i do this ? the only object available is im_header.
    Be careful, i can't read database because when i create a new document, the data are not saved again.
    Thanks for help.
    Cheer

    IM_HEADER->get_items( ) returns the internal table RE_ITEMS type ref to MMPUR_REQUISITION_IITEMS (of line type MMPUR_REQUISITION_ITEM) which gives the list of  line items.
    Loop through the internal table RE_ITEMS, refer to the component RE_ITEMS-ITEM (type ref to IF_PURCHASE_REQUISITION_ITEM) & use the method RE_ITEMS-ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ) to get the account assignment details related to each item.  This method is to be called in the loop for each line item.
    Regards, Vinod
    P.S : Is it purchase order or Purchase requisition ? By going through the post it is PR, your subject line seems to be wrong.
    Edited by: Vinod Kumar on Jul 15, 2011 2:21 PM

  • Purchase order creation - Account assignment group C (Sales Order)

    Hello Gurus
      During the purchase order creation in Me21N, account assignment category C (sales order) is available. In which scenario we will use it. When I assign C system is asking for a GL account. Why system needs a GL account, and how the posting will be at the time of goods receipt. Thanks for your help in advance.

    Hi,
    Creation of Purchase Order with t.code: ME21N  with account assignment category C (sales order) is used for Time and Material Expenses with third party scenario and you need to enter sales order number and respective G/L account . In this scenario 1st a  sales order is created with a material( material created DIEN material type) & then purchase order created with respect to sales order.
    Here you provide service to your customer and this service you procure from your vendor, you just play middle role  for providing and getting service.Standard DIEN material type designed for Sales usage only, so you create sales order  for service material.Service master is used to get service from vendor with item category D with proper account assignment category as C
    Example:
    Material type DIEN is used for when you offer "SERVICE" to your customer.( The steps are (VA01,VF01,VF04,F-28), If u used HR module( you can used with sales order with t.codes are: CAT2,CATS_APPR_LITE,CAT7,PR05,PRRW,PRFI)
    Service Master records(AC01)ESM is used when you procure "SERVICE" from your vendor.( Steps are: ME21N with Item Cat. "D" with Acc. ***. Cat. "C", ML81N,MIRO & F-53).
    Regards,
    Biju K

Maybe you are looking for

  • HT204570 iCloud photo library taking up all available iPhone storage

    Recently upgraded from iPhoto to iCloud Photo library.  It's great, except that it's now taken up all available storage space on my iPhone and I can't even take additional pictures on it.  If I delete any pics from my iPhone (to try and free up space

  • Performance improvements to LR3 features needed in LR4

    There are other threads already in existence which discuss how performance appears to have decreased in the LR4 beta, and I'm sure that's partly explained by the fact that it IS a beta containing unfinished & unoptimized code, and partly because it i

  • Oracle Collaboration Suite

    I can't find on this page: http://www.oracle.com/collabsuite/index.html requirements (software & hardware) for OCS

  • ODI upgrade issue - 10.1.3.5 to 10.1.3.6

    Hi, I have tried to Upgrade to upgrade ODI 10.1.3.5 to version 10.1.3.6 using patch p9377717_101360_Generic. But facing issue while starting the master repository upgrade - the messages are coming as below - "error detected during repository upgrade

  • Migo_gr and badi's

    Hi there, I need to enhance the Migo_gr transaction, a new tabpage in the header has te be included. Badi MB_MIGO_BADI calls my own defined screen with some input fields. When I activite I see my new screen. So far, so good. The problem: The new tabp