User-exit to fill PO line item G/L account no. and other details

Hi All,
I am looking a customer function or a BADI to fill in the account number when PO is about to be created.
My requirement is that based on some conditions account number in Account assignment tab for PO line item should be filled or overwritted if there is already a one selected, so that when user see the value for account number, it is the desired one.
I tried with exit EXIT_SAPMM06E_006, which has the table TEKKN(account assignment for purchasing document) parameter but when I debugg it and assign some other value to TEKKN-SAKTO for the corresponding line item, I can see that changed value is not coming.
Any clue?
Regards,
Mark

Hi Mark,
You can try implementing follwoing BADI's:
ME_GUI_PO_CUST
ME_PROCESS_PO_CUST
Let me know if it helps.
Gouri.

Similar Messages

  • 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

  • Is there a user exit to modify PO line item level..

    Dear Friends,
    Is there a user exit to modify PO line item level..
    Ravi

    Hi...I'm not sure on any available customer exits for this purpose. However you can use the check function exit 'EXIT_SAPMM06E_012' of customer exit MM06E005 and using memory pointers you can change the item level data.
    The other option is to use BADI ME_PROCESS_PO_CUST's method PROCESS_ITEM to change the item level value. I would prefer the BADI rather than the customer exit.. Hope it works..
    Thanks,
    Jude

  • User Exit / BADI Update new line item in BSEG in MIGO/MB1B Transaction

    Hi All,
    I Require a BADI or user exit in MIGO transaction from which i can add or change the BSEG line item before Posting the FI document.
    Regards,
    Madhukar Shetty

    Hi Asik,
    Thanks for the the reply, but can tell any other badi or exit from where i can add/append a new line item in the accounting document getting posted from MIGO or MB1B.
    Regards,
    Madhukar Shetty

  • Undeleting a PO line item with multiple account assignment and PO history

    I  am getting error message
    PO history already exists (Multiple account assignment not possible)
        Message no. MEPO841
    When attempting to undelete a purchase order line item that has GR (nonvaluated) and Invoice postings.
    Sequence of events.
    PO line item was created with mutlitple account assignments ( 50/50 distribution) and GR nonval flags on.
    Invoice Posted (blocked for payment)
    GR done
    PO line item marked for deletion.
    Now getting MEPO841 when attempting to undelete.
    Tried to Reverse GR and cancel material docuement - unable to do so - message no selectable items in PO
      (even with check zero indicator )

    Hello Dan ,
    Error message MEPO 841 is only issued if you have Multiple account assignment function (MAA) activated. Multiple account assignment function is a new business function developed in Release 604.
    If you have MAA active, you are not allowed to change a single account assigned PO which has GR posted to a multiple accounts assigned PO. If this is tried , MEPO 841 will stop you from doing this change.
    If you want to have your old functionality in the lower release, you should switch off the business function LOG_MM_MAA_1 ( MM Multiple Account Assignment )  in Release 604.
    Please switch the business function LOG_MM_MAA_1 off in test environment  and test the problem again in a productive system.
    I hope this information has been helpful in solving your problem. Please let me know if you have any further questions.
    Thank you.
    Best Regards,
    Frank Farinella

  • User exit - VA01 - Adding new line items while Sales Order Creation

    Hi All ,
    I have a requirement where : in VA01 , i have to add new line items using USER EXIT or BADI.
    The scenario is : we maintain Characteristics for Material. When we select a particular characteristics, Factor and length will be displayed in a Popup. we can specify the Factor and lenght.
    Here , if i specify Factor as 10 and lenght as 1000. the Material has to be cut / split into 10 items of 1000 mts each. and the ITEMs table control should get 10 ITEMS .
    How to add new items using User exit or Badi in VA01 while creating a sales order.
    i have identified the user exit . What code should be used to add new line items.
    kindly help me in solvng this.
    Waiting for your replies.
    Thanks in advance.
    Suki.

    hi
    wich user exit do you take for that ???

  • User-exit for deletion of line item in PO

    hi group
    i want to delete a line item of purchase order.
    and after that i have to make some changes
    so i want to know which user-exit will be used here.
    please help its urgent.

    Hi,
    Please fine the list of user exits for the transaction ME22.
    If it serves your purpsoe , please close the thread and reward suitable points.
    Regards,
    Irfan Hussain
    Transaction Code - ME22                     Change Purchase Order
    Exit Name
    Description
    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
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    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
    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
    LWSUS001
    Customer-Specific Supply Source Determination in Retail
    MRFLB001
    Control Items in Release Creation
    No of Exits:         33

  • User-exit on FBL5 customer line item display

    Hello.
    A customer has a payment term of 5% 10 days, 2% 15 days, net 30 days.
    SAP provides RFPOS-ZALDT as the 1st cash discount date (invoice date + 10 days). However, there is no field that would show the 2nd cash discount date (invoice date + 15 days).
    Is there a user-exit that would allow me to show the 2nd cash discount date in FBL5?
    Thanks in advance.
    Arnold

    hi arnold,
    welcome to sdn.
    i think this wont be possible as coz it may keep on extending like for 15 dayz,30 dayz etc..
    the only thing u could do is you can use the field RFPOS-ZALDT for displaying the values like 15,30 etc based on the condition using some exits.
    Cheers,
    Abdul Hakim
    Mark all useful answers..

  • GL balance/line item by multiple account grouping

    I have around 200 expense accounts, I want to define GL account group or set,
    for example, I want to define fourty such GL group
    in FAGLB03 or FBL3N, we can only retrieve balance or line item by one account grouping and save as variants.
    is there any report or ways we can list down multiple account group balance or line item in one go?
    if I run FAGLB03  account group by group and list down period 1(Jan), period 2(Feb), period 3.....GL line item summarization figures it will take more than two weeks,

    Hi Siva,
    If i understand your requirement correctly, I think you can select multiple account groups from 'GL account line item display (FBL3N)' dynamic selection screen as shown in below screen.
    Regards,
    Prasad

  • Error - Balancing Line Item Profit Center not filled in Line Item 007

    Hi
    I am trying to do a transfer posting from one vendor account to another. However, system is giving an error - Balancing Line Item Profit Center not filled in line Item 001. Pls suggest.
    Regards
    Vaibhav

    hi  vaibhav
    you go through this Tcode  FAGL3KEH  and maintain default profit centre. in the  error message system shown GL accounts
    hope you userstand
    thanks
    dharmendar

  • User exit for calculating Base line due date in VF01

    Hi,
    I need a User Exit for calculating Base line Due date i'e ZFBDT with respect to billing date
    for VF01
    Regards,
    Moderator message: if there is one, you can find it yourself by doing due research.
    Edited by: Thomas Zloch on Nov 23, 2011 1:52 PM

    >
    Rahul Saxena wrote:
    > I have given the condition"BSEG-ZTERM = 'ZTST'" in Prerequisite, and in the Substitutions when I try to assign  constant value '02/16/2009' to the field Baseline Date, I don't see that Baseline date field in Substitute fields for Class '009'.
    >
    > How do I add Baseline date in that popup to select and assign values.
    >
    > Please suggest.
    >
    > Thanks-
    i think your date format and system date format is not suitable.
    give the date format as 20090216 as system format.

  • User needs to delete a line item from old STO

    Hi all,
    User needs to delete a line item from old stock transfer order and would like to be advised what he needs to do to delete the line item from the STO.
    On the STO, Goods Issue done and reversed also. Delivery completed indicator not checked. I aslo found that the payment has been made for the line item 40 for Freight. Carrier charges. It seems that the payment has been made/cleared to the vendor.  I think Due to this reason they are unable to remove this line item from STO. They have attempted to delete or block an item that is not yet closed. All down (advance) payments made to date have been taken into account.
    Can you please advice how to resolve this problem?
    Thanks in advance..
    Regards
    Suresh

    Hi,
    Delivery completed tick is also there for STO PO. If you are not getting it then check settings. Also you can mark deletion indicator for that line item. Or minimise quantity to goods received quantity.
    For STO if delivery is made from delivering plant but Goods receipt not done in receiving plant then that material remains in transit. Can viewed with ME5t. In this case that line item cannot be delted or delivery completed.
    Still your client wants to complete these type also better to leave decision to business if they want to reverse delivery (Stock of issuing plant will increase) or make Gr ( Stock of receiving plant will increase) Although they can adjust later with physical inventry process and make stock in system to real physical stock
    Regs,
    Appie

  • Exit/badi for ME22 line item change

    hi gurus,
    pls mention any exit/badi for ME22 line item changes......

    Hi,
    Check below thread
    BADI in ME21
    Regards,
    Atish

  • FI-SL: create an user exit to get the "name of the group account"

    Hi,
    I'm creating a special ledger and have to add 2 informations:
    - name of the general account
    - name of the group account
    The table I se is ACCIT_GLX. In this table, I can't get the name of the general and group accounts directly.
    I guess I have to use user exits.
    I can find the name of the general account in the table SKA1. But do you know where I can find the name of the group account?
    I'm not a developer at all. But I just need the name of the field and table to indicate them to the IT team.

    Dear Expert,
    In Tcode Fs00 when you create GL account Master there is Group Account number when you maintain group chart of accounts this field automatically becomes mandatory entry , here Press F1 and Select the Technical Details button there you can find the Technical name and the table and other details of it.
    Regards,
    Shankar K B

  • User exit for split of PO items

    Hi all.
    In the creation of purchase orders from SRM shopping carts, we have a requirement to split the service purchase order lines in different items when the tax code in SRM is different. I mean, the requirement is to have only services with the same tax code in SRM in the same PO item. If the SRM tax code is different for a concrete service I have to split it in another PO item.
    In short, what I need is to know any user exit, badi, etc... in the creation of PO for the splitting of PO items. Can anyone of you help me?
    Thanks in advance.

    Hello Manosij.
    I have not much experience in SRM. I think that the difference between scenarios is where the subsequent documents of a shopping cart are created, is that right? In my case, the PO is created in the backend, in R/3.
    In the shopping cart (in SRM) the services are created everyone in a different SC item, with the possibility of having different tax codes for each one. However, in the purchase order (in R/3), the services are grouped all together in a unique PO item, all of them under a unique tax code (EKPO-MWSKZ). What I need to do is to have a PO item for each different tax code from the SC. The services have to be under their correspondent tax code in the PO.
    For example, I am creating a SC with two services, one of them with tax code VP and the other one with tax code V5. The PO must have two items, one with tax code VP and the other one with tax code V5. Currently, the PO is being created with a unique item with tax code VP. If both items in the SC would have tax code VP, it would be correct to have the PO with a unique item with tax code VP.
    I hope this clarify my requirement.
    Thanks.

Maybe you are looking for

  • OpenGL is not working: KDE4.10.5 RadeonHD7870 xf86-video-ati

    Good evening sirs. I am using a fresh installation of KDE 4.10.5, a Radeon HD 7870 graphics card and the xf86-video-ati open source driver. Unfortunately I am not able to use the effects of Kwin which require OpenGL. When I try to set de compositing

  • Error 5006:  can't have more than one externally visible definition

    Hi I'm getting this error: 5006: An ActionScript file can not have more than one externally visible definition: AMReports, playSound. playSound is a function in my main document class The error occured after I added a MovieClip and FLV component to m

  • On iTunes it says My Shuffle has stuff on it that it doesn't?!?

    I plugged my iPod into my computer and started iTunes and I looked at the contents of my iPod and it says a little less than half of it is "other" when I have no podcasts or video, just audio on it! Help!

  • The horizontal scroll bar appears in the middle on Safari.

    Hello. I have a problem of Ipad mini A few user has the same prolem like me T.T when I checked other users is using Ipad mini or related Ipad series on web. and I could not find solution for it, The probelm is : the horizontal scroll bar position is

  • Weblogic 64 bit on windows

    Hi, I am looking to install a 64 bit version of Weblogic Server on Windows and am not able to find one. Where do i get the download file? Thanks!