Populating cost center automatically by Ts code WVFB - Which user exit ?

Hi experts,
I want to populate cost center and to do 'k' assignment automatically using WVFB for Sotre Order creation.
Which user-exit should be activate? thanks a lot in advance.
( the purpose is when user create a  store order by transaction code WVFB ,  the fields of  'k' assingment and cost  center don't need to be filled out, an user exit should make 'k' assignment &  fill out cost center KOSTL. I just need to know this user exit).
EXIT_SAPLWVFB_002  will be good for my problem? please advice. thanks.

Yes. I solved my problem.
EXIT_SAPLWVFB_002 was used to do it.

Similar Messages

  • Cost Center Data in Company Code Currency

    Hi All,
    We have a requirement to develop a Cost Center Report with Company Code, Account Number and Amount in Company Code Curreny.
    I have checked table COEP, we can get data of CCode, Account Number. But Amount will be in Object Currency/Transaction  Currency / COArea Curreny and not in Company Code Currency.
    Is there a way to get Cost Center data in Company Code curreny.
    Please advice.
    Thanks
    Satish

    Hi,
       In CO, you specify in the year-dependent settings for the controlling area (Transaction OKKP) whether you want to use one or more currencies (flag "All currencies", TKA00-ALLEW).
    If you decided to use one currency only, all documents are only managed in CO area currency.
    If you decided to use several currencies, the following three currencies are managed in CO:
        1. Controlling area currency
           The controlling area currency can be:
           -  10 company code currency (only if all company codes assigned to CO area have the same currency)
           -  20 free controlling area currency
           -  30 group currency
        2. Object currency (defined per object)
    As a rule, the object currency is the company code currency. Only in one case the object currency can be freely chosen, that is, if flag "different company code currencies allowed" is not active.  This flag is set automatically if CO area currency is not 10 and cross-company code accounting is set.
        3. Transaction currency (could be different in every posting).
    regards
    Waman

  • Shipment cost-G/L Acc and cost center automatically

    Hi gurus,
    I want to get G/L account and Cost center automatically during shipment cost creation I mentioned account assignment category as "U" in the purchase order.currently it is manually entered at the time of shipment cost creation.
    How can i determine the G/Laccount and cost center automatically at the time of shipment cost creation?
    Is it possible or not.
    Thanks in advance

    Dear Sameer,
    Reqd. settings are reqd. o maintain under
    *1*. T. Code: OBYC
    maintain the G/L accounts against the vaild combination, i.e.
    Chart of accounts
    Transaction
    General modifier
    Val Class
    GL Account
    Note: T. Code: OMWD - Assign Val. Grp. Code to Avl Area, if not.
    *2*. T. Code: OKB9 - GL Account / Cost Element & Cost Center Linking
    Maintain entries for default account assignment i.e. maintain entry for combination:
    Company Code -- Cost Element (G/L), and assign Cost Center in "Detail per Profit Cener" from Dialog structure.
    Once done, check setting in
    T. Code: T_56
    (SPRO --> IMG --> Logisitcs-Execution --> Transporation --> Shipment Costs --> Shipment Cost Document --> Shipment Cost Type and Item Category)
    From left-hand side Dialog structure, Click: Assign shipment cost types and item category
    Check, Column: Automatic Propsal, is maintained as "Automatc" or "Manual" for valid Item Category.
    Best Regards,
    Amit

  • Cost center belongs to company code 1000, not 2000

    Hi,
       When i am entering cost center in sales order, I am getting  an error "Cost center belongs to company code 1000, not 2000"
    Does anyone know which transaction i can use to extend this cost center to a different company code?

    I think you are creating sales rder for plant 1000. While the cost center you are providing is attched to plant 2000. Either you can change the cost center for plant 1000 or you can change the customiztion so that cost center is attached to plant 1000.

  • Problem in triggering the code for CO02 User Exit

    Hi,
    I am using the code for the Tcode CO02 (User Exit) and i am facing a problem that when i am using the code as a normal program it is executing fine and displaying the pop up window and showing the data in it.
    But when i am using that code in the USER EXIT code it is not trigerring that pop up window.
    I am using the enhancement:-
    *PPCO0007 * - Exit when saving production order
    And the include in which i am writing the code is :-
    INCLUDE ZXCO1U06
    plzz provide me guidelines for solving this problem.

    hi ,
    i am using the following: -
    Enhancement No.  ->  PPCO0007 (Exit when saving production order)
    When i click on the enhancement the following is displayed:-
    Function exit  ->   *EXIT_SAPLCOZV_001 *
    When i double click the function exit  the code i had written in the following include:-
    INCLUDE ZXCO1U06
    plzz tell me whether i am doing it right or worng?

  • T.codes for MM User exit

    Hi Alll,
    Could any body tell me the transaction available to check the user exits for PR,PO and so on
    thanks in advance
    regards
    sapmm

    Sapmm,
    I am not sure what you mean by check.  I will assume you want to know which user exits are available.  From here you can discover which ones, if any, are actually being used, and what they actually do, by reviewing the developed code using one of the ABAP editors.
    You can use SMOD to review all enhancements, but I find it a little less confusing to use the following method. Try this:
    SPRO > IMG > Search (binoculars)  for "Enhancements".  In the search results, they will be ordered by functional area (the right hand pane) Scroll down to the functional area of interest (You will get BADIs as well using this technique).  Select the item of interest and go there.
    You will be taken to the config section for that enhancement.  Select the 'IMG actitivy documentation' icon (paper to the left).  It will give a brief description of the standard enhancements.  You can review these in detail using SMOD.
    If any userexits have actually been implemented in your system, it will be via a project.  You can review existing projects using CMOD.  Select any active projects and review to see which enhancements have been assigned to the projects.
    Normally, the above tasks are performed by an ABAPer.  Most functional consultants don't get into the nasty details of Userexits.
    Rgds,
    DB49

  • HOW TO FIND TRANSACTION CODE BASED ON uSER eXIT.

    HI FRIENDS,
    I WOULD LIKE TO KNOW HOW WE CAN FIND OUT A TRANSACTION CODE OF AN USER EXIT.
    MY USER EXIT IS : EXIT_SAPLV60B_002 .
    PLEASE LET ME KNOW .
    THANS IN ADVANCE,
    REGARDS,
    ROBERTS.K

    FUNCTION EXIT_SAPLV60B_002.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(XACCIT) LIKE  ACCIT STRUCTURE  ACCIT
    *"     VALUE(VBRK) LIKE  VBRK STRUCTURE  VBRK
    *"     REFERENCE(DOC_NUMBER) LIKE  VBRK-VBELN OPTIONAL
    *"  EXPORTING
    *"     VALUE(XACCIT) LIKE  ACCIT STRUCTURE  ACCIT
    *"  TABLES
    *"      CVBRP STRUCTURE  VBRPVB OPTIONAL
    *"      CKOMV STRUCTURE  KOMV
      INCLUDE ZXVVFU02.
    ENDFUNCTION.
    Above is the interface of the function module stated by you, create the include zxvvfu02 by double clicking on it,
    put a break point in it and activate and in the debugging mode you can see that the structure XACCIT has EBELN i.e.
    purchase order no. assign it to the reqd field.

  • Automatically populating cost center for 551 posting

    Hi MM Experts,
    Is there any way the cost center for the 551 movement type can be automatically populated into the field without the user entering it? We are posting a 551 posting from a legacy system and jsut want to find out if I can do any OBYC settings to make the cost center come up automatically?

    I believe the above answer is best approach, assuming you are always scrapping to the same Cost Centre. You can default a Cost Centre indirectly, by linking it to the defauled GL (if it's valuated stock then technically I believe it is a General Ledger code, rather than a Cost Element).
    If you're going to do this for 551 you preumably want to do it for the other scrapping movement types 552, 553 etc. too.

  • Cost Center -- Automatic Cost Allocation

    Hi at all,
    1. We receive a monthly invoice for electricity etc.
    2. We put the hole amount in one Cost Center.
    3. At the end we allocate the amount manually to each relevant Cost Center/Department.
    From A $100.000
    To S $50.000
    To T $40.000
    To Z $10.000
    To ...
    Is there a way to automate this?
    It can be really annoying.
    Markus

    Hi Markus,
    If i understand you correctly,you will book energy cost to one cost center and end of the month you will allocate to other cost centers.
    two ways you can allocate costs in.
    1. Assessment
    2. Distribution
    Assessment:
    Assessment is an activity that you perform periodically, during the period-end closing in Overhead Cost Controlling (CO-OM), in which primary and secondary overhead costs are assessed from one or more sender objects to one or more receiver objects.
    Assessment means that the sending cost center is credited and the receiving cost center is charged under a freely definable secondary cost element. The original cost elements that were charged by the sender cost center are lost, and are converted to one or more assessment cost elements (secondary cost elements).
    Assessment groups together the posted primary and secondary costs and allocates them to the receiving cost center(s) in an assessment cost element. The cost centers for assessment are the quality lab, IT, cafeteria, housekeeping and plant security.
    For example, you could assess the cost from the Reception cost center to the other cost centers based on the headcount managed in those cost centers.
    T.code : KSU1,KSU2 and KSU3,
    To Execute :KSU5
    Distribution:
    Distribution is an activity that you perform periodically, during the period-end closing in Overhead Cost Controlling (CO-OM), in which primary overhead costs are distributed from one or more sender objects to one or more receiver objects.
    Many documents in Financial Accounting involve overhead costs. A clear allocation to one or more cost centers is not possible, or only with a major effort. You can use the allocation cost centers and internal orders as auxiliary constructs in such cases. During distribution, these costs are allocated (distributed) from their allocation cost centers to the actual receivers according to freely definable rules. The sender cost center is credited, and the receiving cost center charged, under the original cost element. In contrast to periodic reposting, however, the accounting information is lost in the process.
    T.code : KSV1,KSV2 and KSV3
    To Execute :KSV5
    if you want to allocate costs by head count or fixed percentage etc.when your creating cycles you can choose these options.
    Thanks,
    Rau

  • Checking requesting cost center to a company code

    Hi All,
    How to check a requesting cost centre which is belong to a company code ?
    Thank you.
    Nies

    You need to use validation along with a user exit.
    User Exit is some where you write the logic that the company code (BUKRS) of the requesting cost center (AKSTL) should be same as the company code on the WBS (PBUKR)
    Take help of ABAPer in writing the logic of the user exit.
    Regards
    Sreenivas
    Pls close the post if satisfied.

  • Help on fox used to one/all profit center/cost center of one company code

    Hi experts,
    I have a fox formula witch is to be applied in diferent situations:
    1. To one cost center
    2. To all cost centers of one company code
    3. To one profit center
    4. To all profit centers of one company code
    I'm using the following variables:
    ZIPROFCE (1st profit center selected in query)
    ZIPROFC2 (number of profit centers selected in query)
    ZICOSTCE (1st cost center selected in query)
    ZICOSTC2 (number of profit centers selected in query)
    The formula is actually like below, guess it is not worrking because I can't have an integer number accepted by chars 0profit_ctr and 0costcentr. I am thinking of adding another char in the infocube witch is integer (without master data), and it would do the job. Is there other way out, so I can mantain actual aggregation levels and filters?
    DATA PERIOD TYPE 0FISCPER3.
    DATA PER_P TYPE 0FISCPER3.
    DATA PCENTER TYPE 0PROFIT_CTR.
    DATA PCENTER1 TYPE 0PROFIT_CTR.
    DATA PCENTER2 TYPE 0PROFIT_CTR.
    DATA CCENTER TYPE 0COSTCENTER.
    DATA CCENTER1 TYPE 0COSTCENTER.
    DATA CCENTER2 TYPE 0COSTCENTER.
    DATA PLANPER TYPE F.
    PCENTER1 = VARV (ZIPROFCE).
    PCENTER2 = VARV (ZIPROFC2).
    CCENTER1 = VARV (ZICOSTCE).
    CCENTER2 = VARV (ZICOSTC2).
    PLANPER = VARV (ZEPLANPE).
    PER_P = VARV (ZEPLAPER).
    *IF CCENTER2 = 1.
    CCENTER = CCENTER1.
    *ENDIF.
    IF PCENTER2 = 1.
    CCENTER = #.
    PCENTER = PCENTER1.
    ELSEIF PCENTER2 > 1.
    CCENTER = #.
    ENDIF.
    FOREACH CCENTER, PCENTER.
    PERIOD = PER_P.
    DO.
    IF  { ZCOMPROM, CCENTER,  013, PCENTER } <> 0.
      { 0AMOUNT,  CCENTER, PERIOD, PCENTER} = { ZCOMPROM,  CCENTER, 013, PCENTER } / PLANPER.
    ENDIF.
    PERIOD = PERIOD + 001.
    IF PERIOD = 013.
    EXIT.
    ENDIF.
    ENDDO.
    ENDFOR.
    Tanks in Advance,
    João Anastácio

    Hello João,
    you are making it more complicated than it is:
    Fields to be changed: Key figure, period
    DATA PERIOD TYPE 0FISCPER3.
    DATA PLANPER TYPE F.
    PLANPER = VARV (ZEPLANPE).
    PERIOD = VARV (ZEPLAPER).
    IF { ZCOMPROM, 013 } > 0.
    { 0AMOUNT, PERIOD} = { ZCOMPROM, 013 } / PLANPER.
    ENDIF.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Populating cost center(kostl) field in ME51/Me21n tcode

    Hi All,
    I've to populate the cost center (cobl-kostl) whenever we enter the data for account assignment category in the line item level data in me51n & me21n.,
    I've done couple of analyis on existing exits & badis  ME_PROCESS_REQ_CUST ,,but I could'nt able to populate the kostl field in me51n.
    My strucking point:- is there any badi/exit where i can populate the kostl field gettig account assignment category information as input.
    all helpful solns are highly appreciated
    thanks in advance
    suresh

    I am having same requirement could you please suggest the solution?

  • Integration regarding cost center between OM, Infotype 0105 and the user

    Hello,
    we are just implementing OM, where the cost center for an organizational unit is maintained. Within a OU
    exist positions to which persons are assigned.
    In the HR Master data Infotype 0105 "Communication" the system user name for this person is maintained.
    My request:
    In SU01 on "Logon data" tab is a field "Cost center". What do I need to fill it with the value from the assigned position in OM?
    Thanks in advance,
    Thomas

    The connection from user-id via IT 105 to pers nr and from there to OU and cost centre is clear.
    What I want to know is wether the field cost center in TA SU01 can be automatically populated with the corresponding value from the OU for this user. I don't want to change the value via SU01 so it is sufficient when the field in SU01 is in status ReadOnly. But as the information is in the system I want it to be automatically displayed in the User-id-context.
    Regards,
    Thomas

  • To Populate the profit center field in the sales order by user Exit.

    Hi All,
    Please let me know :
    How the user exit is used to populate the Profit center field in the Sales order?
    Please gurus answer  as quickly as possible as I require this urgently.

    If you want to overwrite the profit center in sale order (determined from the materail master) with a different profit center based some other criterion you can use profit center substitution rules. Check the wiki:
    [Profit Center Substitution in Sales Orders|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/profitCenterSubstitutioninSales+Orders]
    Regards,
    GSL.

  • Checking code for SAP USER EXIT

    we have enhanced SAP given data-source 2LIS_XX_XXXXX, there are hard coded user exits for this extractor. How to debug the code for enhancements?
    I know we enhance data-source in CMOD....SAPLRSAP001 (transactional data)....SAPLRSAP002(attributes)

    Hi Monica,
    There are many ways to debug the code if you wish to enhance the DataSource. In RSA3 you can do that by clicking Debug mode option. This is already been suggested by Srini.
    I would like to give you another way to do so.
    If you want to enhance the Transcational data then you need to choose EXIT_SAPLRSAP_001 component of RSAP001 enhancement. It has 4 component for master data( Text, hierarchy...etc).
    This is a function module enhancement. If you goto the source code of the function module, you will find an include program i.e. ZXRSAU01. double click on this program which will take you to the body of the program. This is the place where you need to write code.
    here you need to write the code as follows.
    case i_datasource.
    when '2LIS_XX_XXXXX'.
    Now here you can set a break point. This can be soft or hardcoded break point if you need to debug.
    Better Hardcode it. Write
    BREAK-POINT or BREAK username.
    Now when you execute the DS through RSA3, The program will stop here. The data extracted from DS will be available in an internal table C_T_DATA. Now you can enhance this by writing code. Again you can debug by pressing F5 or F6. This is as usual the way you debug an ABAP program.
    Hope this helps. If you need any further help contact at [email protected]
    Give reward point if you're satisfied.
    Happy debugging....
    cheers,
    Message was edited by: tapan tripathy

Maybe you are looking for

  • Address Book and Mail - Using Groups for e-mail

    I've noticed something strange about Mail and Address Book in Tiger: I created a new Group in Address Book. The Group contains people who are involved in a project. I have names, home addresses and phone numbers for eveyone, but a few people do not h

  • Blackberry Bridge version 2.1 is available for Blackberry OS 5.0 - 7.1 devices

    Hi, I received a Playbook OS 2.1 for Xmas and I am looking to install the Bridge app.  My phone is a Bold 9790 OS 7.1. I have downloaded the Bridge app but it appears that it is only valid for OS 10.  Where can I download V2.1 which is compatible wit

  • Deploying to a web server

    We have a web server/BOXI server with 11.5.3300 runtimes installed. I was not involved in the install. I was instructed by support to install BOE XI R2 SDK for development with VS 2005. After doing the samples (which run great on my dev pc), publishe

  • Can't sign into Hub Manager

    My PC clearly knows it's a UK holiday weekend. It's thrown many problems at me during the last few days that I'm struggling to remember on which forum I posted which problem. A friend suggested I check my BT hub manager to ensure that my SSID was sho

  • Is their any function module for deleting condition record i am trying

    Hi Experts, Is their any function module for deleting condition record i am trying  this way....... DATA: TABLE (4) TYPE C. DATA: KNUM LIKE KONH-KNUMH DATA: K_VEWE LIKE T681-KVEWE VALUE 'A'. DATA: T681_STR LIKE T681. DATA: LV_NUM TYPE I. GET PARAMETE