User Exit to Copy Account Assignment of PR items

Hi All,
Currently i have a requirement to copy the G/L account and Cost centers entered in the 1st line item of PR to other items automatically.Kindly suggets me a User exit or Badi where i can get get all the account assignment details for each item of the PR.
Thanks in Advance.
Regards,
KB

Dear All,
My requirement is to Copy the G/L account and Costcenters from the 1st line item of the PR to all other line items of PR.
We can do it manually by clicking on the Repeat on button available on the Account assignment screen.But i'm not sure how can we tick that button automatically.
Or is there any other way to do it?Kindly guide.
Thanks in advance.
Regards,
KB

Similar Messages

  • User exit / Badi for Account Assigned Sales Order billing

    We are planning to collect the royalty in the condition type.We want to accumulate the condition  in the Internal Order.After certain period we want to close the orders .Can any one suggest the Userexit / Badi for this type of Billing / Pricing
    Thanks
    Jeevan

    Hello,
    please have a look in the customizing transaction SPRO:
    >  SPRO
        > Sales and Distribution
           > System Modifications
              > User Exits
    Here you can find the documentation of all Userexits for SD.
    I hope that the information are helpful.
    Regards
    Claudia
    If you are satisfied with the answer, please give Reward Points

  • What is the user exit for automatic account determination in PO

    Hi Experts
       I ned to know  what is the user exit for automatic account determination in PO
    my client needs the document type to defines Account Assignment Category.
    choosen a document type Account Assignment Category is defined automatically.  you can't choose
    a wrong  Account Assignment Category from the drop down list.
    thanks form you help.

    If this is the case than why don't you use the Transaction variant
    SHD0: http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm
    If you have knowledge of Transaction variant then you can use SHD0 tcode and generate the transaction using default type and give that transaction to user instead of ME21N so they will not have the issue.
    The exact solution for your problem is as follows
    Go to Tcode SHD0 and enter the transaction variant
    In T code field enter ME21N and then enter the ZXXXX or the name you want to keep in transaction variant field and hit create button
    This will take you to ME21N transaction and here you just enter the data but make sure you enter the A/c which you want to default.
    Once you finish system will save this one as a variant
    Every time you hit or enter the pop up screen comes here you just hit enter and whichever data you want to default that you have to select in the Popup by checking the Box
    W content and output only for your case the field XXXXXXXX should be selected for W content and output only
    Make sure you have value 1 in contents field
    If not then restart the variant again and on the ME21Nscreen reselect the invoice field
    Later exit and save (save in the object which you can transport)
    Then from SHD0 transaction select GOTO create variant transaction and here you careate the tcode and use that tcode for ME21N (e.g ZTRAN - For specifix sto)

  • User exit to copy the data from sales order to billing document

    hi everyone,
    Is there an user exit to copy the data from sales order to billing document?
    Regards
    Prabudh

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • User Exit to copy Sales order data to Billing Doc

    Hi,
    I want a User Exit to copy a particular field value from sales order to Invoice.
    The field which I am copying is STCEG(VAT Reg number)..
    I am using the exit
    USEREXIT_FILL_VBRK_VBRP but I am not able to acheive my solution.
    Is there any other way other than copy croutines with USER EXITS.
    Thanks.

    That's strange. SAP documentation says:
    "This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data."
    Check you code. In debugger, set a watchpoint on VBRK-STCEG and check why the value gets lost.
    Regards
    Clemens

  • User exit - for ME21N, 22N, 23N - at line item level

    Hi,
    I want to add new text field to display the description of the MPM(material) in it.
    That filed I want to add to the Account Assignment tab at item level.
    How to add that field on the screen, I mean any screen exit for this?
    and function module to pass the data to that field.
    If anybody worked on such problem then pls. let me know.
    Thanks in advance.
    -- Umesh

    Hi,
    These are the user exits for me21n.                
    AMPL0001          
    LMEDR001          
    LMELA002          
    LMELA010          
    LMEQR001          
    M06B0001          
    M06B0002          
    M06B0003          
    M06B0004          
    M06B0005          
    M06E0004          
    M06E0005          
    ME590001          
    MEETA001          
    MEFLD004          
    MELAB001          
    MEVME001          
    MM06E001          
    MM06E003          
    MM06E004          
    MM06E005          
    MM06E007          
    MM06E008          
    MM06E009          
    MM06E010          
    MMAL0001          
    MMAL0002          
    MMAL0003          
    MMAL0004          
    MMDA0001          
    MMFAB001     
    Regards
    praveen

  • Account assignment not possible - item not yet calculated

    Dear SAP Gurus,
    While creating the Shipment Cost Document I am receiving following error.
    Account assignment not possible - item not yet calculated
    Message no. VY081
    When I double click on the Item to enter the conditions the screen goes blank at the item level. Kindly let me know if there is anything missing.
    Thanks and Rgards,
    Shehryar

    Hi,
    Please check below config.
    LETransportationShipment CostsShipment Cost DocumentShipment Cost Types and Item Categories.
    Hope it helps you
    Rgds,
    Kris.

  • MD04 for account assignment E and item cat L

    Hi
    I have created PR for perticular material X by running MRP. PR is created with account assignment catagory E and item catagory L. now i converted this PR into PO. my problem is PO is not visible in MD04 for x material. only PR is visible.
    what is the problem

    Hi,
    Please can you explaing the scenarion you arew orking on? I didn't observe the combination of Sales oder with Subcontracting??.
    For creating PO,it is not supporting PR document with account assignment E and Item categorty L.For this you may need to change config settings.(If try to change config settings...first you have think are changes really align with the business)
    Thanks,
    Sateesh.

  • User-Exit to Modify Accounting Document of Incoming Invoice

    Hello,
    My requirement is to add two new Line Items (One Debit One Credit - with net value 0) in the Accounting Document of the Incoming Invoice.
    Is there any User-Exit available for modification of the Accounting Document?
    P.S. - The Incoming Invoice is being Posted using BAPI - BAPI_INCOMINGINVOICE_CREATE
    Thanks & Regards,
    Abhishek

    Hi Abhishek,
    Try this exits. You go through the flow and put a break point on the selected exits, and check it whether it triggering or not?
    I too not aware of this invoice flow, so I am listing all the relevant exits. I think this may help you.
    Enhancement
    LMR1M001                                User exits in Logistics Invoice Verification
    LMR1M002                                Account grouping for GR/IR account maintenance
    LMR1M003                                Number assignment in Logistics Invoice Verification
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice
    MRMH0001                                Logistics Invoice Verification: ERS procedure
    MRMH0002                                Logistics Invoice Verification: EDI inbound
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP
    MRMN0001                                Message output and creation: Logistics Invoice Verification
    Business Add-in
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification
    Reward points if it helps you.
    Cheers,
    Swamy Kunche

  • Vendor master user exit for copying  NAME1 - NAME3

    Hi Gurus,
    I am looking for a user exit in Vendor master for FK01. User enters data in NAME1 and NAME2 field.
    When the user saves the data, the data from Name1 field should be copied to NAME3 and data from NAME2 field should be copied to NAME4.
    Please help...
    Regards,
    Tushar.

    u can find BADI's or Enhancement in Foloowing Ways.... Hope u will find one
    1>First go to any transaction->iN THE menu bar SYSTEM->STATUS->Get the program name ->double click->u will go to the program attached to the tcode.Now search term will be CALL CL_EXITHANDLER.Now u will get list of BADI'S available..
    2>Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.Now go to any transaction code and pass dat..U will see that it will be stopped on the break point which u set on the cl_exithandler...In the exit name u can find list of badi's attached to the tcode..
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    The simplese way for finding BADI is
    1. chooes Tcode Program & package for that Tcode.
    2. Go to Tcode se18
    3. Press F4
    4. search by package or by program.
    Regards,
    Usman Malik

  • User Exit to flip Account key  based on incoterm

    HI,
    For a particular condtion type ZCN1 and Incoterm INC1,  account key AC1 has been assigned and this will hit a GL1 account respectively.
    When incoterm changes to INC2, Account key AC2 should be assigned to the same condtion type ZCN1 and as a result this should hit a different GL account GL2.
    Please let me know the user exit in which this can be accomodated.

    instead of changing the account key - you can avail the condition technique for the access sequences in the account determination.
    Use the field incoterms to determine which G/L account should be posted.
    Add incoterms to allowed fields in structure KOMPCV
    Create a new table sales area / incoterms / account key
    Add this to the acc seq for the account determination
    in VKOA maintain the relevant entries.
    Also add the incoterms field to the user exit for RV60AFZZ under include USEREXIT_ACCOUNT_PREP_KOMPCV  .
    Hope this helps
    Regards
    Sai

  • Issue copying account assignment from SO to PR

    I have one issue : The SO has Internal order and Profit center information. When a PR is created for the SO it only copies PC but not IO for some SO types.
    Our client uses a Z transaction which releases the requirement + automatically updates the PR information in SO schedule lines. I feel that the requirements release is done using the standard user exit but updation of PR information in sales order is developed in the program.
    Is there any standard customization at SO type or some other place where we define which account assignments get copied from SO to PR ?
    Thank you
    Raghu

    Thanks sir, but I still can't get the point. Our problem is when we copy the document from Sales order to delivery, the discount column which can be found below the 'total before discount' of the SO document has an amount, let say 2% and I expect that if I use the copy to Delivery dcument functionality, the same information must appear to the target document. The problem is after it was copied to DR, the discount has been lost.
    Thanks,
    DY

  • User exit to change accounting doc no. range

    Anyone knows if there is a user exit for VF02  - where when releasing to accounting, I can use this exit to assign another number range (starting with '5') to the accounting doc to be generated.
    The requirement here is that for specific invoices (identified by shipping point), we want to assign a different no. series for billing doc and consequently, an accounting doc that has the same no. as the billing doc.  Currently the billing doc and accounting doc is the same no. (starting with '9') for those not affected by the shipping point condition.

    Roberto,
    You can influence the billing document number ranges using the exit mentioned by you. I dont think it will be possible to influence the accounting document number ranges.
    Yeo, your accounting document number ranges should match with the billing document number ranges if you want the accounting document number to be same as the billing document number.
    Regards,
    GSL.

  • Account assignment for service item not copied from PR in PO

    Hi,
    We have a PR created for a service item from SRM. When we run ME59 it automatically creates the PO without issues by copying the account assignment details from the PR. The problem is as follows:
    1. If we try to manually create a PO using ME21N from this PR, the account assignment is not getting copied from the PR but it throws the account assignment pop up screen where we manually have to enter the account assignment.
    2. The client is using a Z transaction of ME59 which is copy of Me59 but with a few validations (nothing to do with Account assignment). This Z Tcode also fails to create the PO with the error 'no account assignment'. Indicating that the PR account assignment details are not getting copied.
    Note: This is happening for all PR's irrespective of whether its created in SRM or created using ME51N.
    Please let me know if someone has faced a similar issue
    Thanks,
    Lakshmi

    Hi,
    Please check first if notes 1085214 and 1102653   
    could solve the issue. 
    Regards,
    Edit

  • User exit to copy Manual pricing conditions with in sales documents

    Hi all,
    I have a situation where i have to copy the manual pricing conditions from inquiry to quotation.
    Problem: From VA21 when I try to do the same using the tab "create with reference" the document is being copied but the manually set pricing condition in the inquiry is not being copied into quotation. This is because in the copy controls the pricing type is set to 'B' which means "carry out new pricing". I can change it to 'C' or 'D' so that it copies manual pricing but i am not allowed to do so because other sales orgs in the company has a problem if i do so. Only our perticular sales org needs this config. I cannot even create another item catogory specific to this plant because it is against the rules of the company. So I am looking for a user exit in which i can change this pricing type during runtime so that i can plug in some code specific to this sales org to copy manual pricing. I have found one from the SAP note 24832 (MV61AFZA). It doesn't work as i think its obsolte. Can anyone suggest me a better way of solving this issue. Any quick response is appreciated.
    Thanks,
    Giridhar.

    Hi
    The following EXITS may help you
    Exit Name              Description                                                                               
    SDTRM001            Reschedule schedule lines without a new ATP check                 
    V45A0002            Predefine sold-to party in sales document                         
    V45A0003            Collector for customer function modulpool MV45A                   
    V45A0004            Copy packing proposal                                             
    V45E0001            Update the purchase order from the sales order                    
    V45E0002            Data transfer in procurement elements (PRreq., assembly)          
    V45L0001            SD component supplier processing (customer enhancements)          
    V45P0001            SD customer function for cross-company code sales                 
    V45S0001            Update sales document from configuration                          
    V45S0003            MRP-relevance for incomplete configuration                        
    V45S0004            Effectivity type in sales order                                   
    V45W0001            SD Service Management: Forward Contract Data to Item              
    V46H0001            SD Customer functions for resource-related billing                
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan      
    V45A0001            Determine alternative materials for product selection
    Regards
    PRabhu

Maybe you are looking for

  • How to connect my macbook to the Airport with the same IP?

    Hi to everybody!Most of the times I want to use amule it is firewalled because the IP changes everytime I connect my macboook to the Airport express: 10.0.1.2 or 10.0.1.3 and so on. Is there a way to say that I want my macbook to be always connected

  • How to make a VR html file autoplay via the Web Content overlay

    Hello, We have created a VR using Object2VR and have loaded the .html file via the Web Content Overlay panel in InDesign CS5.5. We want this VR to play automatically on page load, so we have checked the box 'aut play' in the Web Content overlay panel

  • I messed up my iTunes folder! How do I transfer it to another hard drive?

    Hi, my "C" hard drive is almost full, so I decided I would transfer my "My Music" folder to another internal hard drive I have installed in my computer (the "G" drive). This folder takes up 4.59 GB of space. I use Windows XP Home, SP3, along with iTu

  • My world clock time is incorrect even when i switch it to correct time

    I NEED HELP EVERYTIME MY PHONE NOT ON WIFI OR GOES INTO NO SERVICE OR GET PLUGGED UP WITH THE CHARGER THE TIME CHANGES OR JUS THRU OUT THE DAY FRROM WHEN I FIX THE TIME IT STAYS ON THE SAME HOUR AS HOURS GOES BY ITS IN THE RIGHT TIME ZONE AND STILL N

  • Calculated Key Figures - Result row sum is wrong

    Hello all, Using the example below, I built a calculated key figure for TotalPrice (material amount * material price per unit).  I set TotalPrice to calculate the result as a "total". OrderID OrderLineID MaterialID Quantity PricePerUnit    TotalPrice