User exit to mask a cost center

Hello, i need a specific cost center not to appear while creation of SC + if user manually inserts the cc, he should get an error message 'cost center is going to be blocked.choose another one'. can we use BBP_DOC_CHECK_BADI for this or is it another one?
by the way the cost center will not be blocked so as to permit existing POs to process goods receipt, etc.

Hello,
You can use BADI BBP_UI_CONTROL_BADI to hide specific field on screen using control parameters.
Regards,
Marcin Gajewski

Similar Messages

  • User Exit for Material Plan Costs

    I have an escenario where the client needs another option to calculate the material plan costs, but need to identify the correct user exit.
    In transaction OKYF exist the option "U Valuation Price with User Exit" but need the user exit to use.
    Hope to receive information soon...
    Best Regards...

    Hi
    you can use unit costing for material option for this...
    Automatic netowrk costing for material component
    you need to maintain proper costing variant for material component in config.
    in projects assign material then select material -edit - cost - unit costing.
    which will get reflected in network cost in CJ40.
    Venkatesh

  • Which user exit allows to get cost element derivation in CO-PA after F-op.?

    Dear All,
    According with business requirements we need to get cost elements  used in Sales in CO-PA document after F-operations.
    We've got the answer from SAP that it could not be done by standard way. Cause profit segment we define in Sales order before we had performed outbound delivery  (vl01n )and billing (vf01).
    However, we still need to get this cost elements after F-operation in CO-PA documents.
    Could anyone name user exit which could be used for that purpose?
    With best regards,
    Kamila.

    Hi,
    Thanks for response. But the link doesn't work.
    "System Error
    Sorry, internal server error occurred (500 error).
    What can you do?
    Try selecting Refresh in your browser.
    Check the URL in the browser address bar and make sure it was entered correctly.
    Use our Search feature (in the top right hand section) to locate the correct URL for the page or document you are trying to access.
    If all else fails:
    Please take a screenshot of this page (usually Function + Print Screen), or copy the URL from the browser address bar along with the text of the error message and email it to [email protected] Please include your user ID in all correspondence.
    << Go to the Homepage."
    Could you please, resend this link?
    Thank you,
    With best regards,
    Kamila.

  • Control user access to FBL3N by cost center

    Hi Expert,
    Need your advice.
    Our user wish to control the staffs access to FBL3N by cost center.
    This is due to the FBL3N contains salaries posting for different department. 
    However the FBL3N GL listing report also contain documents without cost center.
    Any ideas how can we perform the control ?  If the FBL3N can amend with include cost center as checking, for the rest of GL without cost center, is it accessible by all users ?
    thanks.
    rgds,
    tee

    Hi Experts,
    Sorry for misleading.  Initiate the request was to retrict the access with cost center object, since it is not possible.  So we will advice the user to restrict the GL access.
    Just need to confirm, can we modify the FBL3N object F_BKFP_BES : Account authorization for G/L accounts from Check to Check/Maintain ?  So that we can assign certain GL only accessible by normal users.
    And any impact on this once the changes is make ?
    thanks.
    rgds,
    tee

  • Cost center in FB01 - User exit or BADI

    Hi,
    I would like to change the cost center field data in transaction FB01 with some other data based upon some conditions.
    Please suggest with user exits or badi.
    thanks.

    Thanks for reply.
    In the user exits mentioned, checking for cost center value in the import parameter DOC_ITEM_TAB and based on some validations i have changed the it to other value. But this new value is not considered by the program still it is creating with the old value.
    The changed value has to be exported from the user exit right? this is not happening as we know dont have cost center field in export or changing parameters
    Please suggest

  • Purchase Requisition - Validate Cost Center

    Hi,
    I need to check the data when creating a Purchase Requisition with reference to an existing Purchase Requisition. Currently, I am using the user exit EXIT_SAPLMEREQ_005 to carry out these checks.
    One of the checks that I need to do is to validate Cost Center. However, in this user exit, there is no cost center found in any of the imported parameters. Hence, I tried to use the function module 'COBL_RECEIVE'. However, the Cost Center retrieved is not refreshed and is incorrect. Are there any other ways where I can retrieve the correct Cost Center that is populated from the reference Purchase Requisition?
    Will appreciate any help in resolving this issue.
    Thanks lots.
    Cheers,
    Liyan

    Hi
    use the BADI in SE18 Tcode
    ME_REQ_POSTED
    implement this and use
    the Method POSTED has the parameter IM_EBKN which has KOSTL field
    this will work
    see the sample code for this BADI
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method :            POSTED
    METHOD if_ex_me_req_posted~posted .
      TYPE-POOLS: pgrt.
      DATA: t_txpdat TYPE STANDARD TABLE OF txpdat.
      DATA: s_txpdat TYPE txpdat.
      DATA: t_ident  TYPE pgrt_t_obj_ident.
      DATA: s_ident  TYPE pgrt_obj_ident.
      DATA: ident_tmp TYPE eketkey.
      DATA: nmrid_init TYPE txpdat-nmrid.
      DATA t_obj_event TYPE pgrt_t_obj_event.
      DATA s_obj_event TYPE pgrt_obj_event.
      DATA t_event     TYPE pgrt_t_event.
      DATA s_event     TYPE pgrt_event.
      DATA change_yes  TYPE c.
        IF l_s_eban-estkz NE 'B'.
          CLEAR v_mtart.
          SELECT SINGLE  mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
          IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
            MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
          ENDIF.
        ENDIF.
        IF  l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
          IF l_s_eban-knttp NE 'A'.
            IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' )  AND l_s_eban-matnr EQ space.
              MESSAGE e000(zm_msg) WITH 'You cannot create' 'a PR without material number'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    reward points if useful
    regards
    Anji

  • Display cost center field under item level when creating sales order

    Hi dear experts,
       during  the sales order creation(tcode VA01),  is it possible to display the cost center field in the tab account assignment under item level??
    currently we are using ECC6,in the tab account assignment, the cost center field was actually already defined in the screen by the system...i used to try to 'activate' the cost center field VBAP-KOSTL in the user exit  MV45AFZZ, but the cost center still not shown.
    I know that there is a config to the sales doc type can be used to open the cost center at header level, how about item level?
    thanks and best rgds
    Mu

    Hi,
    The Cost Center Determination settings is in OVF3 -  but there are some cases where the Cost Center must be exceptionally changed. 
    If the document category for order type in IMG VOV8 is defined to be "I" which belong to order type FD - Deliv.Free of Charge, then the field cost center is active for input during transaction VA01. 
    Alternatively, you can specify an order reason and assign a cost center to an order reason. 
    However the standard SAP works only at the header level though, so it would not work if cost center is needed on the line item. 
    The cost center are assign for such business transactions as :
    - Free deliveries
    - Returns
    - Deliveries of advertising materials
    You can also make cost center allocation dependent on the order reason, for example:
    Order reason: Damage in transit
    Order reason: Free sample
    Both the IMG settings are done in transaction OVF3, either with/without the order reason.
    regards,
    Siddharth.

  • Service master user exit to populate work center description

    Hi experts,
    In IW31 work order, I need a user exit to populate the work center description to PR delivery address for control key PM03 with Service Master.  I have tried and search in vain for other BADI or user exit but none works.
    Is there anyone have solution on this?
    Thanks.
    Regards
    PSK

    My abaper has tried a few IWO1_PREQ_BADI, IW010009 and WORKORDER_UPDATE.
    Operationally, user require the work centre address as the delivery address of the services due to the company has 24 physical workshop locations.
    Anyway, will also try to create the fields in AUFK table as recommended.

  • User Exit or DB-Table for Work Center (CR01)

    Hi!
    I have an external software which must be triggered when the user changes a work center in SAP (transaction CR01,CR02). I was looking for an user exit to do what ever is necessary but I couldn't find one.
    So, does anybody know an user exit or BADI for work center?
    Also possible:
    The database table where work center are stored. So I could poll against this table and check if a work center was changed. I found the table SGOSHIST which log all modified objects in SAP. So this could maybe used to check for modified work center, I think.
    Thanks,
    Konrad

    > You can check the BADI definition from transaction SE18,
    > 'LTRM_WORK_CNTR_DTRM', this might be helpful,
    How can I check this BADI. If I use SE18, it doas not exist, buit if I try to create it, the system tells me that it already exists in the SAP Original System... and asks me if I want to create a copy of it! I don't know what to do at this point!
    > Work center details are avilable in CRHD table, you can
    > look for CR* from SE11 transaction,
    I know, but if you change the description of the work center, it is stored in CRTX. there are a lot of CR* tables. It would be helpful to have a table which is updated every time a work center is modified!
    Thanks,
    Konrad

  • Cost Center 1 is locked by user

    Hi,
    Thank you very much, Im cussessful.
    But, now I have an other problem, Im creating cost centers but it says that: " Cost Center 1 is locked by user "
    Help me.
    Thanks,
    Hangvt

    hi,
    I think the cost center u are creating is already created in the system and is being processed by some user.
    Check whether the cost center is already there in the system or not by the tcode KS02 or KS03.
    Regards

  • User Exit - Create Asset Master Data from MIGO

    Hi Experts,
    I want to create an asset master data from Good Receipt Purchase Order, when the user saves the document, but I didn't find none user exit, BADI or BAPI that I can use.
    Cuold you help me?
    Thank a lot.
    Kind Regards
    Giampaolo

    Hi,
    Why you want to create the Asset master at the time of MIGO.
    Posting MIGO is end user activities and Creation of Asset is of Super User, he have to assign cost center plant etc in master which will not be known by the end user and can create lot of problem in later stage.
    If we create Asset it MIGO or PO level how user know that he have to post to new asset or to existing asset. This decision is of Finance person.
    If it is that important in your business process then give the authorization of Asset Master data creation to User.
    I personally feel this requirement is not feasible.
    Regards,
    Shayam

  • Individual COst center restriction in BI

    My company is also looking for restricting access to cost center specific & we have implemented a solution using Listcube tcode, let me explain the steps.
    1. The Analysis auth obj (AA) contains ZCC_AUTH info object which is given aggregated values.
    2. this AA is inserted into the role & then assigned to the user.
    3. The User assigned to a specific Cost center is inserted into the ODS table.
    4. Then the Listcube tcode is run for the infoprovider, which assigns the costcenter to the user Id.
    5. When User runs the BI query the assigned cost center values only is retrieved from the database.
    But i feel this is has disadvantages
    1.  Every time a new user is created, the ODS table as to be updated with this info & list cube as to be generated or if a user changes the Cost center then we once again have to update the ODS table & regenerate using the List cube.
    Now i would like to know the solution w.r.t user customer Exit with variables
    1. when is the customer exit is trigerred -
           a. when the query executed by the user is run or when the auth check is done for cost center in the AA object?
    2. How to determine inside a query which info object are being checked, i know in RSECADMIN the trace shows which auth objects have been checked - but seeing a query i need to know which auth obejcts have been used for retreiving data.
    your suggestions are really helpfull for me to debug this issue we are facing.
    Thanks a lot in advance.
    regards
    Naveen Murthy

    1. when is the customer exit is trigerred -
    a. when the query executed by the user is run or when the auth check is done for cost center in the AA object?
    Ok here's the thing. You are looking at two things that are in sequence. You opted for the System to check for InfoObject (here CC). In order to get that info the system triggers the Customer Exit. So to your question, the Cus Exit is triggered when the query is excuted. And based on the info in the Customer Exit the system check for the Cost Center Access.
    2. How to determine inside a query which info object are being checked, i know in RSECADMIN the trace shows which auth objects have been checked - but seeing a query i need to know which auth obejcts have been used for retreiving data.
    I doubt if that info is available in the query, since queries are build based on InfoObjects and not auth objects.
    AB

  • Can i use user exits

    Hi,
    Can anybody tell me if i can use user exits for not applying cost centre fields for Assets and liabilites gl a/c when we post transcations in fb60 0r fb50 f-22 etc
    warm regards
    Manjunath

    hi Manjunath,
    you can try to set up a substitution and see if it is working. On the other hand P/L accounts must have a CO object by posting, of course cost center is just one option.
    ec

  • User Exit for Maintenance Order(IW31)

    Dear All
    While Creating Maintenance Order , (IW31) ,,,   It is taking the cost center from the Equipment  Master  , But  my client doesn't want this . I need a user exit for this .
    How to solve this ?
    I have tried with the exits find inSDN , bcoz cost center filed is not in the exporting parameter of the function module.
    Kind Regards
    Karthikeyan.P

    hi karthick ,
    yes it cost center is picked from eqpt master record and it is use for creation of a default settlement rule in IW31 ... if u dont want that then just dont maintain cost center in eqpt master record and if ur requirement is to have default settlement rule for order type then user [ IWO10027 ] User exit: Generate user-defined settlement rule ...
    regrds
    pushpa

  • I have to find out which user exit useing

    Hi All,
    functional consultant useing user exit ,for substitution of profir center.
    can any body plz tell ,which user exit he useing to get profit center value.
    thanks,
    venu.

    For substitution Tx:GGB1 is used. go to the tx, select FI accounting, line item, Step, double click on substitution, u'll find user exit like U100, double click on it, thats the code used for substitution.
    If its different functionla area, select it instead of FI in GGB1
    Tx: GCX2 shows the Z program (like ZGGBS000) used for substitution.
    Regards
    Sridhar
    Message was edited by: Sridhar K

Maybe you are looking for

  • Error while building report

    I need to create a report that have 2 columns, which are sum of sales and count of customer (from 2 difference tables). where i create a caculation-->COUNT_DISTINCT(customer_id) and sum of sales. I hit the below error :- "Invalid Combination of joins

  • Still can't print

    Hi Folks, I'm having problems printing and creating in Acrobat, per the conversation from another thread that I've pasted below.  I pasted it here because that thread seems to have given out.  The fellow with whom I was corresponding gave me some pre

  • How to create a table of contents in a PDF

    I was wondering if anyone knew how to use preview in order to create a table of contents. This would make it easier for me to find my way around my PDF files. Thanks

  • What is better?: Compiling with newest WTK or oldest WTK

    HI: I have installed the WTK 2.5. It's cool but I have a question. The MIDlets compiled with this new WTK are more or less compatible with older/newer phones? If I compile a MIDlet with this WTK instead a older WTK (like WTK 2.0) Executes the code mo

  • Newly created item through personalization not visible

    Hi All, I have added on new item , in a page, Howerver when I clicked apply on that item , once I define the required properties of the item. I am getting this error "Attachment item "%ITEM" has been created successfully, however, it does not have an