Changing validity date using BAPI_PROFITCENTER_CHANGE for a profit center.

Hi Friends
I need your help to know if we can use BAPI_PROFITCENTER_CHANGE to change the validity period of a profit center.I am using this BAPI in a LSMW program.
The changes I want to make are something like changing the validity dates from
1) 01/01/2006 - 12/12/9999 to 01/01/2007 - 12/12/9999
2) 01/01/2006 - 12/12/9999 to 01/01/2005 - 12/12/9999
3) 01/01/2006 - 12/12/9999 to 01/01/2006 - 12/12/2010
or should I use BAPI_PROFITCENTER_CREATE?
-Thanks
     Mitesh

change document in profit center change
Bapi - BAPI_ASSET_ACQUISITION_POST
need a function module for profit center
Please give me reward points...

Similar Messages

  • Data level security for 30000 profir centers

    Hello Gurus
    I have a requirement to implement data level security for 30000 profit center . Now I can think of creating the groups and applying security filters ( both on Dimesion & Fact) on the top of that.
    But I cannot do so as I will have to create some 30,000 groups/roles which is not possible. because there are some users who have access to only one or two profit center and it forms a heirarchy.
    As a workaround what I did is created a user-profit center table and joined it with the profit center table which is actually a snowflaked with two more dimensions - gl_account & gl_segment.
    In the BMM layer , in the Content section of teh profit center dimension , I applied a where filter like below :
    "Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_GL_SEGMENT_D_Segment11"."SEGMENT_LOV_ID" in (1000163) and "Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_GL_SEGMENT_D_Segment11"."SEGMENT_LOV_NAME"='Profit_Centre' AND ( "Oracle Data Warehouse"."Catalog"."dbo"."PF_USER_MAPPING"."USER" = VALUEOF(NQ_SESSION.USER) OR 'UNMATCHED'=VALUEOF(NQ_SESSION.USER) )
    All is well if I create a report having Profit center as one of the dimension/component in the analysis (answers) .
    But when I don't take Profit center the roll up is happening with all the Profit center . Reason being I have not applied "security filter " in the fact table and I cannot do so because USER tabel is not directly joined with the fact table.
    Is there any workaround for this.
    Pls. advise.

    Hi,
    Yes, any dimension filters are applied only when you include that dimension in your analysis.
    As a workaround, you could create a filter as "Profit Centre" is not equal to 'Dummy Profit Centre' with "Protect Filter as ON" and add this filter to all of your analysis.
    So what it does is, even though you do not refer to profit centre dimension in your analysis, the filter in each analysis makes sure that the profit centre dimension is always mapped and the data restriction is applied.
    Hope this helps.
    Thank you,
    Dhar

  • Class type 001 - Changing validity date

    I need to change validity date of all classes of type 001.
    There are more than 5000 classes for this type.
    How can I do a mass change for this?
    Please advice.
    Thanks,

    do it with LSMW

  • How to use Quickbooks for non-profit on mac

    I run a non-profit and need to use QUickbooks for non-profit but this version of quickbooks is only made for PC. Is there a way I can run this software on my mac? Does Virtual PC software for macs work well? ANyone run Quickbooks for PC on a mac? Is there any other way to do this?

    Artist --
    Welcome to Apple Discussions !
    I would highly recommend that you get the Mac version.
    You can find more about it here
    http://quickbooks.intuit.com/
    Virtual PC slows everything down tremendously.
    Plus, it opens your Mac to be vulnerable to viruses.
    Get the Mac Version.
    It's worth the investment,
    in my humble opinion.
    Hope this helps,
    and sending you all the best wishes
    for your non-profit.
    I'm a former nonprofit staffer, so I know what you're up against.
    Onwards & upwards !

  • BAPI_MATERIAL_SAVEDATA for updating Profit center giving an error message.

    Hi All,
           I have a requirement to update Profit Center in storage view of Material Master. So for updating Profit Center I used ‘BAPI_MATERIAL_SAVEDATA’. In this BAPI we will pass Material number, Plant and New Profit center. When I used this it is successfully updating the MM view and in the return message it’s showing no authorization for this transaction. For my ID I have authorization for General Plant Data / Storage, Costing and Plant/Storage Location Stock views in Material Master Change (MM02).
    I want to know why it is giving error message. Do I need to have authorization for all views in MM02 if I want to update the profit center through this BAPI?
    Pointers to any other BAPI which can be used for updating Profit center in storage view in such a way that I need to have authorization for any specific view in MM02 will be helpful.

    Hi Shyam,
         Check out the Auth object for which it is saying no authorization or
    Do the changing of Profit center using the transaction and check whether it is asking for Authorization object or not.
    Reward Points if it is helpful.
    Regards,
    Kiran I

  • Vendor Trial Balance for a Profit Center

    Hi
    We are on ECC 6.0 and created plants as a profit center. Now, need to develop a custom report for getting vendor trial balance for a profit center. The standard report FK10N does not provide the balance for a profit center. However, while pulling the data from BSEG, system is pulling all the Line Items, when I filter on GL Account Number (BSEG-HKONT), which i can then filter on Profit Center (PRCTR). However, when i fetch the same data on a combination of GL Account Number (BSEG-HKONT) = 304000 and Profit Center (BSEG-PRCTR) = USUR, system shows only certain line items, even though the Line Items are there in the table BSEG. Pl suggest
    Regards
    Sanil Bhandari

    Hi
    Use TCOD FGI0 for more drilldown report on GL, Vendor, Customer.
    Thanks
    GG

  • Using GR55 T code - Profit center groups Very very urgent

    Hi frds,
    Currently the report provides drill down to specific profit center groups by double clicking on the group. we can also save this into excel worksheets for individual profit center. Instead of displaying individual profit center group we want to have one report whcih gives all the profit centers data.
    Our requirement is to show profit center groups on one sheet with the actual and budget by profit group as columns for the profit centers.
    I am able to modify the report using the T code GRR2 but dont know how to copy that and modify.can you give me step by step process.

    Hi
    Try to explode 'Profit Center Group'
    Assign points if useful
    Sunoj

  • Steps for Enhancing Profit center in FI AP-AR

    Dear All,
    Kindly provide me the steps for enhancing Profit Center in FI AP-AR
    Regards,
    Sahil

    hi sahil,
    Stesp to append the filed
    -- go to-> RSA6 selece ur datasource & click on the push button enhance extract structure
    -- By default the system will propose a extract structure name which starts with ZA accept it.
    -- In the next screen enter the field name & componant type, make sure that the field name will start with ZZ.
    -- Save it and activate the extract structure
    Next goto RSA6 --select the data source that you want to enhance . in order to populate the data to the filed that we had appended to the structure we need to write ABAP code
    to write the ABAP code to populate the data to the filed that are appended follow the below steps
    1) GOTO Tcode: CMOD
    2) Select your project you are working
    3) sap enhancement RSAP0001.its provided by SAP
    4) Choose the exit which is called when the data is extracted.
    EXIT_SAPLRSAP_001 - Transaction data
    EXIT_SAPLRSAP_002 - Attribute
    EXIT_SAPLRSAP_003 - Texts
    EXIT_SAPLRSAP_001 - hierarchies
    5) it will take you to ABAP editor screen where you will find the option include ZXRSAU01--double click on it it will take you to ABAP editor screen.
    6) below is sample code
    data : l_s_ds like your data source extract structure,
    l_vbkum like mbew-vbkum,
    l_meins like mara-meins,
    l_tabix like sy-tabix.
    case i_datasource.
    WHEN '0FI_AP_3'.  "Vendors: Line Items
        LOOP AT C_T_DATA INTO L_0FI_AP_3.
          L_TABIX = SY-TABIX .
          IF NOT L_0FI_AP_3-BSCHL = '25'.
            SELECT SINGLE CHECT FROM PAYR INTO L_CHECT
                    WHERE VBLNR = L_0FI_AP_3-AUGBL
                    AND   ZALDT = L_0FI_AP_3-AUGDT.
            IF SY-SUBRC = 0.
              L_0FI_AP_3-ZZCHECT = L_CHECT.
            ENDIF.
          ENDIF.
          SELECT SEGMENT FROM FAGLFLEXA INTO L_SEGMENT WHERE BELNR = L_0FI_AP_3-BELNR
                                                       AND SEGMENT NE ' '.
          ENDSELECT.
          L_0FI_AP_3-ZZSEGMENT = L_SEGMENT.
          MODIFY C_T_DATA FROM L_0FI_AP_3 INDEX L_TABIX.
          CLEAR : L_CHECT, L_SEGMENT.
        ENDLOOP.
    endcase.
    When ever the data source is used to extract the data the when statement will be executed. so that the appended filed will be populated with data.
    Check the below links
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c035c402-3d1a-2d10-4380-af8f26b5026f?quicklink=index&overridelayout=true
    Hope this helps
    Regards
    KP

  • How to find the profit center group for a profit center?

    How to find the profit center group for a profit center?

    Hi,
    try this also
    In order to pass the setid parameter of the FM, you have to concatenate the following things
    Setid + KOKRS (Controlling area) + Profit Center Group into one variable.
    In my example below, I have declared as constants and concatenating to gv_setid.
    gc_01016 is the set id for profit centers
    gc_kokrs is the controlling area
    gp_pprct is the Profit Center group entered in the selection screen.
    You will get KOKRS value from the cepc-kokrs.
    data :   gc_0106(4)   TYPE c VALUE '0106',
               gc_kokrs      LIKE cepc-kokrs VALUE 'ABCD'.
               gv_setid          LIKE sethier-setid,
               gt_set_values_1   LIKE setvalues OCCURS 0 WITH HEADER LINE.
      CONCATENATE gc_0106  gc_kokrs gp_pprct INTO gv_setid.
      CONDENSE gv_setid.
      CALL FUNCTION 'G_SET_TREE_IMPORT'
        EXPORTING
          client                    = sy-mandt
          fieldname                 = 'RPRCTR'
          langu                     = sy-langu
          setid                     = gv_setid
          tabname                   = 'GLPCT'
          no_table_buffering        = 'X'
        TABLES
          set_values                = gt_set_values_1
        EXCEPTIONS
          set_not_found             = 1
          illegal_field_replacement = 2
          illegal_table_replacement = 3
          OTHERS                    = 4.
    By using the above FM you will get the values into gt_set_values1 once sys-subrc value eq 0, it is internal table which consists of all the profit centers for the proft center group.
    Regards,
    Venkatesh

  • I want validation while creating material master with profit center

    Dear Experts,
                           I want validation while creating material master with profit center.
    If 0001 plant having 100100 profit center
       0002 plant having  200200 profit center
    Material A cant be created for 0001 plant for with wrong profit center 200200.
    Kindly help & provide me solution clearly

    Hi,
    Profit centers are assigned to controlling areas. And controlling areas can have many plants under them. So as long as both the plants and profit centers are in the same controlling area users will be able to extend the materials.
    You should put in your validation control in the material master user exit. One of the exits you can use is
    MGA00001  Material Master (Industry): Checks and Enhancements
    Thanks & regards
    Hameed Parvez

  • New cash journal for new profit center gives error of profit center

    Dear Friends
    I have configured a new Cash G/L for new profit center .But while posting throug T-code FBCJ the entry it gives following error .
    Field Profit Ctr is a required field for G/L account 1000 207001550
    Message no. F5808
    Diagnosis
    The value for field "Profit Ctr" in the interface to Financial Accounting is an initial value but you are required to make an entry in the field selection for G/L account "207001550" in company code "1000" linked to the field selection for posting key "50".
    System Response
    Error
    Procedure
    It might be an error in the configuration of the G/L account field selection. The initial application, used to call up the interface must otherwise define a value for field "Profit Ctr". If this is the case, contact the consultant responsible for the application used to call up the interface or get in contact with SAP directly.
    But its working file with another Cash G/L While the Field Status is same as the field status of another cash G/L.

    through Transaction 3KEH, Default Profit Center can be set against Required GL (i.e Cash account in your case)
    Warm Regards...

  • Display Report for 30 Profit center in 30 sheets in a Workbook

    Hi all
    I have a very unusual requirement .
    Part A.
    I need to display a particular report for a profit center , then I need to display the same report for each inner node of the above Profit center in separate sheets . & all these sheets should be renamed with the name of the Profit Center .
    These then need to sent via a Information Broadcaster to the user.
    e.g if I have a Profit Center A. & within Profit Center A , the inner hierarchy nodes are A.a , A.b , A.c etc
    Then my 1st sheet should contain the report for Profit Center A with the sheet name as Profit Center A . then the next sheet would contain the report for Profit Center A.a & also renamed as Profit Center A.a , then 3rd sheet would contain the report for Profit Center A.b & also renamed as Profit Center A.b
    This is part A. Would this be possible  ?
    I know that I can manually add the report each time in each sheet separately . But can be this done Dynamically ?
    Also the renaming of the sheet , can something be done to pick up the value of the profit center manually ?
    Part B
    I need to send the above prepared report workbook through Broadcaster to the users.
    can the above settings for multiple values of the Variable Profit center be created in the broadcaster setting ?
    When I searched for this , the Broadcaster allows multiple variables selection for some Formats ,but not for Excelsheets.
    Please help me out here.
    Thanks
    Ramesh

    Hi,
    Check SPRO configuration for account assignment settings @
    SRM server->cross application basic settings->account assignment->Define account assignment
    1. Check for your acc assignment category for ex. WBS , what are account assignment fields are maintained.
        if not there maintain profit_ctr from search help.
    2. If you are not able to track profit_ctr in search help then you may need to make respective profit center entry in table BBP_C_ACC_F and then perfom step 1.
    after above steps even you are not able to get profit center on screen then you may need to check
    1. Meta data configuration
    2. WDP component for profit_ctr field
    Regards
    -Vipin

  • Which FM to use while creating a Profit Center using LSMW BAPI

    Which FM to use while creating a Profit Center using LSMW using BAPI: BUS0015

    Hi,
    For creating Profit centre using LSMW bapi method.
    You need to give this values in the 1st step of LSMW.
    Business Object       BUS0015
    Method                    CREATE                                    Create
    Message Type         PROFITCENTER_CREATE          Create profit center
    Basic Type              PROFITCENTER_CREATE01      Create Profit Center
    In We20 port creation use process code as BAPI
    Regards,
    Shan

  • How user exit is used to populate the Profit center field in  Sales order?

    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.

    Hi,
    To derive the correct profit center in the Sales Order, you customize in 0KEM.
    Trust this helps much and do encourage our efforts!
    Cheers!

  • Number Range Creation for Manual profit Center

    Hi all,
    Where do we maintain numbe range creation for manual profit center documents

    Hi,
    Maintain all number ranges for controlling area in KANK.
    Regards,
    Sadashivan

Maybe you are looking for

  • Site fine in Safari, but not in Firefox

    so I made a simple photo page in iWeb. the page works fine in safari, but I actually get a 404, page not found error when I look at it in Firefox. now the even weirder thing is I get this error on my macbook pro, but it works just fine in firefox on

  • Which is better with games, the Pro or Air (both 13')?

    I am debating whether or not to purchase an Air or Pro for myself in March. I will be using it for school, and will hopefully make it last all the way through college (8 years). I also will download music and movies, as well. On top of all that, I wo

  • Price updation for Partial delivered case

    Dear All, I raised an invoice for 5 qty out of 10 nos from the sale order. Now I want to sell the balance qty with updated price. I changed the price through VK12. I changed the pricing date to current date in the sale order to effect the updated pri

  • Second request for help

    Since I loaded v 5: 1) The system hangs if I open multiple internet tabs. 2) The system intermittently hangs when I try to write a message. 3) It takes forever to close when it hangs - sometimes requiring a hard shut down. 4) Often, when I close Mozi

  • Strange files in root directory

    Yesterday I noticed that some strange files (directories, actually) had appeared in the root directory on my MacBook Pro, that is, the directory that contains the standard Finder-viewable Applications and System directories and the Unix bin and usr d