Account Assignment in cProjects

Hi Experts,
Need Help!!
Currently In cProjects, we are using Accounting Tab in cProjects to assign a WBS Element at the top level of the project
I want to check whether WBS element has been assigned to correct Project.If the assignment is wrong then it should not allow to save and give error message.
Can this be possible with BAdi "DPR_FIN_GECCO_MANUAL" or is there any other way to check this.
If possible, may you provide me with Sample Code.That would be a great help.
Thanks,

Hi Mishra ,
Yes, the method  CHECK_ACCOUNT_ASSIGNMENT should fulfill your requirment.  And there is an example implementation of this method. Please see example codes in class CL_EXM_IM_DPR_FIN_GECCO_MANUAL.
Kind regards,
Zhenbo

Similar Messages

  • Automate Account Assignment in cProjects

    Hi Experts,
    Is there a sample code available which can tell me how to populate the parameters for this Class=> method -
    cl_dpr_fin_gecco_iaom_services=>replicate2
    Scenario - I have a dpr_project-project_id and I need to do an account assignment using a WBS element as my inputs
    Regards,

    Hi Mishra ,
    Yes, the method  CHECK_ACCOUNT_ASSIGNMENT should fulfill your requirment.  And there is an example implementation of this method. Please see example codes in class CL_EXM_IM_DPR_FIN_GECCO_MANUAL.
    Kind regards,
    Zhenbo

  • Accounting - Account Assignment - How to Undo

    Is there a way to undo the Account Assignment in cProjects (Accounting Tab)
    Currently the cProject - cPR1 is with Transferred, Released Status and a WBS - WBS1 has been assigned at  cProject level.
    Now, we need to assign this WBS1 to another cProject - cPR2 - but in the Accounting tab WBS1 is greyed out.
    And When we try to Delete the Assignment from the cPR1, the system status does not allow this
    Any help, ideas are welcome
    rohit

    Rohit,
    As Mattias said, not possible to delete assignment once Project is released.
    You can check by assigning other WBS say WBS 2 of same PS Project instead of WBS 1
    Thus WBS 1 will be available for your cProjects Project CPR2
    Niranjan
    Let me know if it help!

  • CProject Phase - Account assignment element

    Hi All,
              I am able to assign account assignment element for CProject phase manually.
    I want to do it through program,
    Could you please provide me the BAPI/FM to assign an account assignment element for each phase in XRPM .
    I am assigning WBS as account assignment element.
    Thanks and Regards,
    Ashok Kumar
    Moderator message: please (re)search yourself before asking, show what you have done yourself so far if posting again.
    Edited by: Thomas Zloch on Jul 15, 2010 12:49 PM

    If cost has been posted onto the subject WBS then the account assignment element cannot be unchecked i.e. it remains greyed out. You wont be able to change it even via CNMASS. The only option left could be to cancel the transactions that led to the cost assignment (please note a reversal means another transaction that only reverses the effect but does not remove the line items altogether, therefore a reversal does not remove the AA indicator).
    Also note that the cost can be both actual or statistical in nature. Even settlement from lower level WBS to higher level WBS leads to greying of the indicator.
    Regards,
    Ammar

  • Setting flag account assignment element in PS within BADI doesn't work

    Hello,
    I would like to set the flag for account assignement element and billing element in PS depending on some fields of cProjects. Hint 993642 says that can be done in GCC_PS_PROJECT_LABEL. Unfortunately I don't know how to pass some parameters from cProjects to the relevant method.
    For transfering the standard fields I am using (thanks to Matthias) the BADI DPR_FIN_GECCO_ATTR.
    There are several blocks with fields I set. Each block looks similar to (except the field and the value)    
    ls_attribute-data_element     = space.
          ls_attribute-value            = space.
          ls_attribute-field_name_orext = 'WBS_ACCOUNT_ASSIGNMENT_ELEMENT'.
          ls_attribute-fldname_receiver = space.
          ls_attribute-struc_name_copa  = space.
          ls_attribute-field_name_copa  = space.
          ls_attribute-ext_attr_name    = space.
          ls_attribute-ext_attr_value   = space.
          INSERT ls_attribute INTO TABLE ct_attributes.
    In the default method the WBS_ACCOUNT_ASSIGNMENT_ELEMENT and WBS_BILLING_ELEMENT are overridden constant to 'X' like hint 993642 describes. But at least I have no glue how to pass my relevant parameters to the method to be able to set the values in my own implementation of this method.
    So, does someone knows how to pass values to this method?
    Thx,
      Vanessa
    Edited by: Vanessa Martinez on Oct 28, 2008 9:23 AM

    Hi Vanessa,
    I tested the proposal I told you today, and when I came into debug mode in BADI F_EX_GCC_PS_PROJECT_LABEL~GET_WBS_ELEMENT, here is what I obtain in structure ATTRIBUTES_OF_EXT_OBJ.
    Line  | Data_element |    value       |        field_name_orext
    1        |                     |    TEST      |         USER_FIELD_CHAR20_1
    2        |                     |    TEST2    |         USER_FIELD_CHAR20_2
    3        |                     |    TEST3    |         USER_FIELD_CHAR10_1
    4        |                     |    TEST4    |         USER_FIELD_CHAR10_2
    So if you build an enhancement at the end of the method (don't hesitate to copy standard code if it helps), you should be able to retrieve your values, and set the flags as wanted.
    read table ATTRIBUTES_OF_EXT_OBJ
    into ls_attribute
    with key field_name_orext = 'USER_FIELD_CHAR10_2' (actually the name you set on cProjects side, so you might be able to do it as well for WBS_ACCOUNT_ASSIGNMENT).
    Matthias
    Edited by: Matthias BRISSEAU on Oct 28, 2008 2:21 PM

  • Open and Close Posting Periods According to G/L Account Assignment Objects

    Hi,
    Can anybody please explain me how configurations related to " Open and Close Posting Periods According to G/L Account Assignment Objects " works in SAP FICO? I am confused about this config.
    Regards,
    Mandeep

    Hi Mandeep ,
    First i would like to tell about fiscal year
    fiscal year is nothing but a financial year of company in sap . it contain 12 normal periods and 4 special periods.In genaral we will call like month but that is sap that is a period. so 12 period for 12 months ok next special period will use in all companies for audit and tax adjustment purpose of previous year.
    coming to the open and close periods.in sap for security purpose we have to open one period like this month july so i opened july period only we cant post the pervious month (june)and we cant post future month lik in (Auguest)ok
    You can close and open periods by transaction ob52.
    In transaction ob52 there are account types
    + Valid for all account types
    A Assets
    D Customers
    K Vendors
    M Materials
    S G/L accounts
    V Contract accounts
    + means all types. if you want to open vendor then enter period from and to according to your fiscal year.
    you cant adjust items in closed period. if you want to then you have to open the period
    For your information.....
    posting periods also open user level tc S_ALR_87003642.
    customization levael OB52.
    Regards
    Kumar

  • Error while creating  a PO with Account assignment

    HI MM Gurus
    In our case, we need to create the STO for account assignment cat `Unknown`.
    In SPRO I maintained combination of account assign cat and item cat.
    Now, while creating  a PO with Account assign U we get Error message -  ME069 :Unknown account assignment not defined for use here.
    Please advise how to resolve this issue.

    Hi
    When you are posting actuals, you need to give true account assignment object. With U (unknown), system cannot identify which account to be posted. Change account assignment in PO to another.
    In standard SAP Unknown account assignment is not allowed in PO's. Only exception is Blanket PO.
    Unknown is allowed only in PR and Blanket PO.
    The reason is logically you are releasing the PO to the external vendor or Plant in this case you must know the account assignment.
    Regards,
    Ninad Kshirsagar

  • BAPI Error: No account assignment exists for service line 0000000000

    I am using BAPI : BAPI_PO_CREATE1 to create a PO.
    I am getting this error while creating PO  "No account assignment exists for service line 0000000000"
    Please help.

    Yes...
    for each item i am creating one parent service record and one child service record with REQUISITION_SERVICES.
    the Package no for parent is the subpackage no for child.
    also for each item, I fill REQUISITION_ACCOUNT_ASSIGNMENT and REQUISITION_SRV_ACCASS_VALUES
    Still I get the Error.
    Thanks to help me resolve.

  • Extension of input fileds in Sales order for account assignment

    Dear Gurus,
    Can anyone tell me how to extend input fields like Statistical order(COBL-AUFNR)  and cost center(COBL-KOSTL) in sales order for accounting assignment and these fields have to be ready for manual entries. The order types are ZHGA and ZHV.
    Which program has to be modified and how it can be modified?
    Thanks a lot for help and advice.
    Cheers,
    Ricky
    Edited by: Ricky.Martin on Apr 23, 2010 10:45 AM

    Dear Rajendra,
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Definitely material Tax classification will influence to determine the Tax code.
    -->So Make sure that customer and material master having proper tax classification indicator.
    -->Have you Update the price after changing the tax classification in the sales order.by going to item dat -->condition tab then click on Update push button bottom of the conditions screen.
    -->Once again the check the condition record maintanence also for your MWST access sequence.
    I hope this will help you,
    Regards,
    Murali.

  • Goods Receipt against account assigned Purchase Order

    Respected members,
      I am doing the good receipt with movement type 101 and special stock E with ref to po.
    In my purchase order in account assignment there is everything like sales order,internal order and profit centre and inventory gl account.
    The inventory gl account made as a cost element 90.Account assigment category i am usingis M.
    My problem is when i am doing good receipt it is generating only accounting document and in that value of profit centre and internal order is not coming for inventory gl account.It is not generating the profit centre document and co document.
    But in Material Document everything is getting , I am able to have the all the values for the respective field.
    I am not understanding where the values getting cleared off when it is generating a accounting document and why it is not geneating a controlling document.
    The accounting document is posted to both balance sheet accounts
    that is debit and credit entry.
    I have checked the all configurations in obyc and omjj. but i am notgetting any clue.
    And interesting thing is previously it is picking the values but now settings have been disturbed and now it is not picking ,why it so.
    Please help me out as soon as possible.
    Thanks a lot.

    dear,
    kindly ckeck in omjj in "gbb" account whether your g/l acc..has been assigned or not..
    kindly also check whether you have maintained profit center and cost center in"okb9" ..
    also see in mm03 costing views 1 you have entered correct profit center...
    or create a new g/l acc in fr00 and see its postings..
    regards
    rewa

  • How to add entries in possible fields in Account assignment model/Note 2596

    Hi Friends,
             I want to know How to apply OSS Note 2596, The basic requirement is to to add entries in the list of possible fields in Account assignment model( Exactly in program SAPDFKA6 in screen 120).
    I found the note 2596 to achieve this, and the field that I want to add is KMZEI-PAOBJNR.
    I gone through the note and it is very confusing for me .. If any one knows how to achieve this or how to apply this note, please let me know.
    Thanks,
    Rk

    I got this myself.
    Thanks,
    Rk

  • Look up account assignment via BAPI/RFC

    Hello,
    I would like to look up Account Assignment data from an external application to post the a similar invoice every month using the bapi BAPI_INCOMINGINVOICE_CREATE. I cannot find a RFC FM or BAPI available. Can someone suggest an example FM or method so I can retrieve this information? Which tables are used?
    Thanks,
    Aaron

    HI,
    Try to find some enhancement for BAPI_INCOMINGINVOICE_CREATE1 to achieve your requirement.
    Regards,
    Sid

  • Unable to change account assignment field in PO

    Hi Experts!
    We are using SRM 7.0 with extended classic scenario.
    We are facing an issue with account assignment category field in a PO.Here is our scenario.
    User created a PO with costcenter account assignment field and this PO transffered to backend system i.e R/3.
    When the user again tried to edit the PO in SRM and change the account assignment field from costcenter to Internal order that is not possible because the
    account assignment field is grayed out .Then the user has to create a new PO with Internal order as the old PO didn't allowed him to change.
    Can any one help me in this regard with  some OSS note or any other possible solution and what might be the reason for the same?
    Thanks in advance!
    Regards,
    Kalyani.

    Hello Kalyani,
    Just to understand, Is your PO has Good Receipt or Invoice receipt processed? If so then PO do not allow to change the account assignment as charges are booked already.
    If not i would recommend to check if your BBP_GETSTATUS_2 job is running with proper interval? Sometime old PO's do not get refresh status if BBP_GETSTATUS_2 variant is set based on SAP recommendation (i.e. 7 days or so). In that case please execute manually BBP_GETSTATUS_2 and validate.
    Thank you
    Ritesh

  • Purchase order and Account assignement category- Change

    hi.,
    We are trying to receive the Purchase order of High value components into INVENTORY.
    However, most of these Purchase Orders were created with account assignments.
    Because of that, if we receives these PO’s, they will be consumed against the object identified in the account assignment.
    Additionally, some of these have been invoiced already and would need to be backed out from the finance side.
    Question: How can we receive these STO Purchase orders and then make changes through Movement type ( or any other way ) so that the HIgh Value Components that are consumed against that AC assignment can be subsequently moved into Invenotory.
    Also, what are the other options ( FI will not open Previous period) so that the PO's which have been invoiced  can be reversed against that AC assignment.
    Thanks All

    hi Rajesh.,
    As mentioned earlier, these  Purchase orders are STO's which have been already created and we are waiting to do the GR for the same. Items in the STO PO are of  High value which we need to bring into  INVENTORY.
    But, because these STO PO's were created with account assignments, if we do GR now, they will be consumed against the object identified in the account assignment.
    Some of these STO PO's have been invoiced already and  FI has indicated that they could cancel the invoices for those STO PO's in previous posting period.
    Question again : How can we receive these STO Purchase orders and then make changes through Movement type ( or any other way ) so that the HIgh Value Components that are consumed against that AC assignment can be subsequently moved into Inventory and not to a cost Center (202)
    Step (1) Can we cancel the Invoiced items> reverse the GR for invoiced Items>reverse STO for PO ?
    Step (2) Can we reverse the STO for PO for which GR has not been done? then
    Step (3) Change the PO through ME22N, remove the Account assignment category?
    Or how do we correct this situation for
          (1) PO's already invoiced.
          (2) PO for which GR has not been made. How can we receive them into Stock and not Cost center.
    Anticipating a reply
    Thanks
    Sri

  • Down payment with multiple account assignment PO

    Dear Experts,
    While posting down payment request through transaction F -47 with
    reference to purchase order we are getting below given error.
    In that purchase order we have given
    multiple account assignment i.e. multiple cost centers (e.g. Cost center A  50% cost center B 10% Cost Center  C 40% i.e. distribution by %)
    but
    system is flagging message
    Item 00010 of purch. document 4500024875 contains no suitable account
    assignment
    Message no. ME717
    What will be the possible cause?
    regards,
    Abhijit

    Hi,
    In the request f-27 tr.code give the purchase order which item you want to give ie., for above said example 10 is a line item of 4500024875 - purchase order and beside you have to mention
    10(lineitem) 4500024875 (purchase order) 2009 (year)
    and system will take that request against the above purchase order.
    Regards,
    satish

Maybe you are looking for