How to update WBS Element in already posted FI documents

Hi All,
I would like the procedure to update the WBS element in already posted Finance documents. We have Fund center is also activated in our system.
Kindly suggest the procedure for the same please.
Thanks and Regards,
Sarvendra Negi

Hello,
All PS_PSP_PNR fields, as COBL-PS_POSID are dependent on the
project settlement. By posting a document you can enter the fields
independent of the fact, whether the project settlement is active or
not. Only the field status is crucial. As soon as such a document is
changed, the activity of the project settlement is relevant.
If it's active, these fields must not be changed in general.
Otherwise you would get a inconsistency between FI and CO, because
there is no interface updating the project settlement tables
In this case TBAER (transaction OB32) does not play a role anyway.
But if the project settlement is not active, the fields can be filled
informatively by posting the document. And thus there must be a
chance in FB02 to change them again. Therefore the settings of TBAER
are crucial and TCOBX must not be changed like in note 966428.
Furthermore the entries of TCOBX are used in the coding for different
queries. So it would be very critical to change these entries.
The only solution can be, that you adapt TBAER accordingly. In the
standard it is not possible.
BR,
Raquel

Similar Messages

  • How to activate WBS Element in Sales Order

    Dear All,
    How to activate WBS element in sales order?
    Thanks & Regards,
    PM

    Basically in case of Repair and overhaul material is taking inside for repair purpose..for that we create service order in which we r creating component, operation(time. labor, machine) besides we create notification to allow overhead activity for this special activity..
    once this service order r created and notification is set.. we r estimating cost for this process and updating sales price(DP82) which further send to customer for approval.. once v receive approval v issue a goods along with parental serviceable material to Plant for Plant maintenance estimation..
    so all this procedure obey just like project , in this case we have to assign WBS element into sales order level..
    WBS elemet is nothing simply its hierarchy which shows what r the steps followed in project(CJ20N)..
    Correct me if i m wrong..
    thanks
    Mk

  • Need to update WBS element in Additional data tab of an order

    Hi all,
    I have a custom program -> which creates service order against notification. My program uses BAPI_ALM_ORDER_MAINTAIN to create orders.
    When these order are created - i need to update WBS element in Additioal data(CAUFVD-PSPEL) tab of on order. In which paramenter and how should we pass to acheive this.
    Even i could not go for BDC as the order number at this point is not created.
    Please let me know.
    Thanks
    Senthil

    Dear Senthil,
    See the link, How to use the BAPI BAPI_ALM_ORDER_MAINTAIN.
    Maybe your requirement matching.
    Regards,
    Abbas.

  • Updating wbs element relevant data.

    HI abapers,
    Am new to BAPI concept.I searched in sdn and came to know that  BAPI_BUS2054_CHANGE_MULTI can update WBS elements.
    can anybody provide a piece of sample code to update wbs header and details like actual start date,controlling area using this bapi.
    Thank You.

    How did you solve this problem? I am following the given below approach, and I am receiving the same error.
    Error : 1.) Object WBS Element DS-11-1000-0058.01 could not be changed
    2.) No update flags or extensions were set for WBS Element DS-11-1000-0058.01
      gwa_bapi_bus2054_upd-wbs_element = 'X'.
      gwa_bapi_bus2054_upd-description  = 'X'.
      gwa_bapi_bus2054_upd-responsible_no = 'X'.
      gwa_bapi_bus2054_upd-applicant_no = 'X'.
      gwa_bapi_bus2054_upd-company_code = 'X'.
      gwa_bapi_bus2054_upd-business_area  = 'X'.
      gwa_bapi_bus2054_upd-profit_ctr  = 'X'.
      gwa_bapi_bus2054_upd-proj_type = 'X'.
      gwa_bapi_bus2054_upd-wbs_planning_element = 'X'.
      gwa_bapi_bus2054_upd-wbs_account_assignment_element = 'X'.
    (I have marked all fields with 'X')
      APPEND gwa_bapi_bus2054_upd TO git_bapi_bus2054_upd.
      CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
      CALL FUNCTION 'BAPI_BUS2054_CHANGE_MULTI'
        EXPORTING
          i_project_definition  = p_prj
        TABLES
          it_wbs_element        = git_wbs_element_chg (manually populated)
          it_update_wbs_element = git_bapi_bus2054_upd
          et_return             = et_return.
      READ TABLE et_return INTO ev_ret WITH KEY type = 'E'.
      IF sy-subrc NE '0'.
        CALL FUNCTION 'BAPI_PS_PRECOMMIT'
          TABLES
            et_return = et_return2.
        WAIT UP TO 3 SECONDS.
        CLEAR ev_ret.
        READ TABLE et_return2 INTO ev_ret WITH KEY type = 'E'.
        IF sy-subrc NE '0'.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          WAIT UP TO 3 SECONDS.
        ENDIF.
      ENDIF.
    I don't know what I am doing wrong. Please help!

  • How to lock wbs element

    Hi all,
    I would like to seek your help on how to lock wbs element in a report program. Is there any bapi or function module for that? The requirement is to lock the wbs element when the user process/run that particular WBS. If the user exit to the report program, then that is the time that the other user can be able to process the WBS.
    Please help. Thanks in advance.

    There is no BAPI or function module to lock on unlock a WBS element.Goto Tansaction CJ02,put in the WBS element and repsetive project.
    in CJ02, go to EDIT->STATUS->LOCK/UNLOCK.
    Hope this clarifies your query.
    Regards,
    teja

  • How to make WBS element field in Notification a mandatory.

    How to make WBS element field in Notification a mandatory.
    Should I use USer Exit.
    In cutomization I didnt find ant standard customization

    Hi,
         If it is about WBS element field in Maintenance Order then check up user exit ;- IWO10009 PM Order: Customer Check for 'Save' Event
    For Notification i am not sure whether this field is ther , but anything u can perform checkings via 
    QQMA0014 QM/PM/SM: Checks before saving a notification
    Alternatively u can also explore via Transaction variant SHD0 ..
    regards
    pushpa

  • To Make WBS element Mandatory for a particular Document type- Contract

    Hi ,
    I have a requiment where I have to make to Make WBS element Mandatory for a particular Document type of Contract . I don't want to use any User exits or Badis for this .
    Please let me know if there is any configuration that can be done to achieve this .
    Regards,
    Hari.

    Hi ,
    It is already made mandatory in account assignment categories  but My requirment is that it should be mandatory for only one particular document type . In the account assignment categories , there is no where we can specify the document type . It is only at account assignment category level but not at document type level .
    Regards,
    Hari.

  • How to change WBS Element in FI Entry for Asset

    Hi all,
    I have a scenario where an asset has been capitalized with  WBS element 1. After several months we realized that it has to go to WBS element 2.
    We update the Asset Master Data with a new WBS Element 2.
    Depreciation from this date onwards is posted to WBS Element 2 (this is expected), but in FI the asset acquisition cost is still in WBS element 1.
    Does anyone know how to rectify the FI document with correct WBS element i.e  WBS Element 2
    Any advice would be greatly appreciated
    Regards
    Pramod Saraswat

    Hi Pramod,
    In posted document you cant change the WBS element.
    In order to post on WBS 2 , you have to reverse the acquisation entry posted on WBS1. Then update correct one in  asset master then post acquisation.
    Ravi

  • How to display WBS element while parking FI document from an excel??

    I'm using BAPI_ACC_DOCUMENT_POST to park/post FI document from an excel file. Accounting Document Numbers are generated that triggered the posting. When i'm viewing the generated document in transaction FBV0/FB03 it's found that the WBS element is appearing blank when the document is parked. But it's appearing fine when the document is posted. I'm unable to find the difference.

    Can you let us know how were you able to PARK documents using BAPI_ACC_DOCUMENT_POST?  Is there an exit provision in this BAPI?  Thanks in advance.

  • How to update multiple elements in xml?

    Hi!
    I've a input xml containing Sales Order information.
    The xml-file has a Header and multiple detail records
    e.g.
    <NS3:header>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    + <NS3:detail>
    </NS3:header>
    In each detail node, I want to control if requestedDate is a working day and change date if it's not correct
    e.g.
    <NS3:detail>
    -<NS3:product>
    -<NS3:item>
    <NS3:itemProduct>222288
    </NS3:itemProduct>
    </NS3:item>
    </NS3:product>
    <NS3:quantityOrdered>2
    </NS3:quantityOrdered>
    -<NS3:processing>
    <NS3:actionType>A
    </NS3:actionType>
    </NS3:processing>
    <NS3:dateRequested>2012-03-03T13:17:48.439+01:00
    </NS3:dateRequested>
    </NS3:detail>
    In this example is <NS3:dateRequested>2012-03-03T13:17:48.439+01:00</NS3:dateRequested> a Saturday and this element should be updated with the new date for Monday <NS3:dateRequested>2012-03-05T13:17:48.439+01:00</NS3:dateRequested>
    The new date is fetched from a Web Service I invoke for each detail record.
    I can read each node and get the element for each dateRequested in a while loop by using XPATH as following:
    <scope name="Scope_1">
    <sequence name="Sequence_2">
    <assign name="Assign_3">
    <copy>
    <from expression="ora:countNodes('inputVariable','payload','/ns1:processSalesOrderElement/ns1:header/ns1:detail')"/>
    <to variable="Count"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="varindex"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('varindex')&lt;bpws:getVariableData('Count')">
    <sequence name="Sequence_1">
    <assign name="Assign_6">
    <copy>
    <from expression="ora:getElement('inputVariable','payload','/ns1:processSalesOrderElement/ns1:header/ns1:detail',bpws:getVariableData('varindex'))"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:detail"/>
    </copy>
    </assign>
    <assign name="Assign_4">
    <copy>
    <from expression="ora:getElement('inputVariable','payload','/ns1:processSalesOrderElement/ns1:header/ns1:detail/ns1:dateRequested',bpws:getVariableData('varindex'))"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:detail/ns1:dateRequested"/>
    </copy>
    </assign>
    <assign name="Assign_1">
    <copy>
    <from expression="bpws:getVariableData('varindex') + 1"/>
    <to variable="varindex"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:businessUnit"/>
    <to variable="Invoke_1_startSecureCustomerRequestDate_InputVariable"
    part="parameters"
    query="/ns5:startSecureCustomerRequestDateElement/ns5:businessUnit"/>
    </copy>
    <copy>
    <from variable="outputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:detail/ns1:dateRequested"/>
    <to variable="Invoke_1_startSecureCustomerRequestDate_InputVariable"
    part="parameters"
    query="/ns5:startSecureCustomerRequestDateElement/ns5:jdDateRequestedJulian_DRQJ"/>
    </copy>
    </assign>
    <invoke name="Invoke_1"
    partnerLink="BT_SecureCustomerRequestDateManager"
    portType="ns4:Oracle_E1_SBF_SEI_PkgBldFile_BT_SecureCustomerRequestDateManager"
    operation="startSecureCustomerRequestDate"
    inputVariable="Invoke_1_startSecureCustomerRequestDate_InputVariable"
    outputVariable="Invoke_1_startSecureCustomerRequestDate_OutputVariable"/>
    <scope name="Scope_2">
    <sequence name="Sequence_3">
    <assign name="Assign_5">
    <copy>
    <from variable="Invoke_1_startSecureCustomerRequestDate_OutputVariable"
    part="result"
    query="/ns5:startSecureCustomerRequestDateResponseElement/ns5:jdDateRequestedJulian_DRQJ"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:processSalesOrderElement/ns1:header/ns1:dateRequested"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    </sequence>
    </while>
    My problem is how to update the date for each detail record back to my InputVariable.
    There is no XPATH function like updateElement or changeElement?!?
    I will use the information from InputVariable with the manipulated dateRequested later on to Invoke WS to create Sales Order in a target system.
    Thanks,
    Niklas

    Hi Niklas,
    have you considered also moving from assign activities to transformations?
    e.g. (in a loop)
    1. using an XSLT to prepare data for the 'BT_SecureCustomerRequestDateManager'
    -- input document ... from 'inputVariable'
    -- input parameter ... from 'varindex'
    -- output ................ to 'Invoke_1_startSecureCustomerRequestDate_InputVariable'
    2. invoking 'BT_SecureCustomerRequestDateManager'
    3. using an XSLT to modify 'inputVariable'
    -- input document ... from 'inputVariable'
    -- input parameter ... from 'varindex'
    -- input parameter ... output from 'BT_SecureCustomerRequestDateManager'
    -- output ................ to 'inputVariable'
    Then you will not need to create custom Java program (code). It is easy to do the logic/modification inside of an XSLT.
    Also BPEL process code will be easier to read.
    Regards,
    Martin.

  • Updating WBS element in a sales order

    There is application in Project System (PS) module where I am creating the Project using bapi BAPI_PROJECT_MANTAIN and then uploading the budget for the same using bapi KBPP_EXTERN_UPDATE_CO. After this when I am trying to update the sales order to update its WBS element using bapi BAPI_SALESORDER_CHANGE it’s going into short dump. Dump description as follows :
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLBPFC
    Application Component  FI-FM
    Date and Time          17.07.2014 15:11:07
    Short text of error message:
    System error in : LBPFCFE2 Table:   Report:   Routine: DETERMINE_OBJ_ENQ
    _MODE
    Long text of error message:
    Diagnosis
         An internal error has occurred.
    System Response
         Processing will be discontinued.
    Procedure
         Contact your system manager.
    Technical information about the message:
    Message class....... "BP"
    Number.............. 005
    Variable 1.......... "LBPFCFE2"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... "DETERMINE_OBJ_ENQ_MODE"
    Whereas when I am running the bapi BAPI_SALESORDER_CHANGE standalone using se37 with same test data its updating sales order properly.
    After debugging the standard bapi I have found out that there is a subroutine determine_obj_enq_mode which is setting the variable u_enq_mode.In our case this variable is blank that’s y its going into dump.I tried hardcoding this variable to 2 then it updates the bapi properly.So will you suggest for the enhancement where we can hardcode this variable or is there any other solution you will suggest.
    Thank you

    There is application in Project System (PS) module where I am creating the Project using bapi BAPI_PROJECT_MANTAIN and then uploading the budget for the same using bapi KBPP_EXTERN_UPDATE_CO. After this when I am trying to update the sales order to update its WBS element using bapi BAPI_SALESORDER_CHANGE it’s going into short dump. Dump description as follows :
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLBPFC
    Application Component  FI-FM
    Date and Time          17.07.2014 15:11:07
    Short text of error message:
    System error in : LBPFCFE2 Table:   Report:   Routine: DETERMINE_OBJ_ENQ
    _MODE
    Long text of error message:
    Diagnosis
         An internal error has occurred.
    System Response
         Processing will be discontinued.
    Procedure
         Contact your system manager.
    Technical information about the message:
    Message class....... "BP"
    Number.............. 005
    Variable 1.......... "LBPFCFE2"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... "DETERMINE_OBJ_ENQ_MODE"
    Whereas when I am running the bapi BAPI_SALESORDER_CHANGE standalone using se37 with same test data its updating sales order properly.
    After debugging the standard bapi I have found out that there is a subroutine determine_obj_enq_mode which is setting the variable u_enq_mode.In our case this variable is blank that’s y its going into dump.I tried hardcoding this variable to 2 then it updates the bapi properly.So will you suggest for the enhancement where we can hardcode this variable or is there any other solution you will suggest.
    Thank you

  • How to populate WBS element and Project definition in Additional Tab

    Hi,
    I have a 2 requirements
    1) we need to populate WBS element and Project definition of an order in PM
    IW 32 trasnaction (Additional data tab).
    2)Also i need to program settlement rules in CJ02 for WBS elements .
    How do i approach ?  when i do manually it is taking the values in IW 32 when the status is released.
    So i think first we need to chnage the Status from Created to released and then start working on step 1 and Step 2
    Kindly suggest.
    Thanks,
    Pradeep.

    Problem one solved ......
    Basically we need to put the status of WBS elememnts and then write a BDC for additional data tab.
    Looking into issue 2......

  • How to use WBS element in Asset master data upload

    Dear All
    Does any body know how to treat field WBS element in Asset master during upload.
    Field POSNR in table ANLA is of 8 characters, but WBS element which is entered in asst master is more than 8 char.
    I vaguely remember tht with wbs system internally assign a different number.
    Has anybody come across this issue?
    Please help
    Thanks
    Sanjeev

    There are in the asset 2 fields for PS
    One is filled when you do an settlement from an WBS (is not possible to fill in)
    The other one you found in the the tab time dependend like cost center.
    This field is available when you have assign the possibilety to do depreciation to an WBS.
    Paul

  • How to select WBS element of Level2 on Report Painter

    Dear PS Masters.
    I made project which has 3 levels.
    I want to see the result of only level 2
    on the report of report painter.
    However, when I select WBS element of level 2,
    the report shows level2 and level3 together.
    So, I want to exclude the result of level3 from the report.
    In order to solve it,
    I tried to uncheck the checkbox of "INCL.HIERARCHY" on Database Profile.
    But, even though I uncheck it on IMG, SAP check the checkbox automatically again.
    Pls give your advice.
    BR
    Y.Kaneko

    Raghu,
    Thanx for your info.
    On the report of CJE0, I could find the hierarchy button.
    This is the one what I want!!
    But, I'm wondering that how can I show this button on the
    report which I made by report painter GRR2.
    Pls give advice.
    BR
    Y.Kaneko

  • How to keep wbs element  field in display mode in me22n?

    Hi all,
    Can somebody please guide me how i can keep wbs element field available at account assignment Tab at item level in transaction me22n as display mode?

    Hi Dhruv,
    You can implement BADI ME_PROCESS_PO_CUST  and implement the method FIELDSELECTION_ITEM.
    I have pasted the SAP documentation available below. Please try this.
    Field selection (FIELDSELECTION_HEADER_REFKEYS, FIELDSELECTION_ITEM_REFKEYS, FIELDSELECTION_HEADER, FIELDSELECTION_ITEM methods)
    In the following methods, you can change the display properties of fields by supplementing or switching the field selection reference keys:
    At header level FIELDSELECTION_HEADER_REFKEYS
    Documentation for BAdI method FIELDSELECTION_HEADER_REFKEYS
    At item level FIELDSELECTION_ITEM_REFKEYS
    Documentation for BAdI method FIELDSELECTION_ITEM_REFKEYS
    You can implement special rules using the methods FIELDSELECTION_HEADER (at header level) and FIELDSELECTION_ITEM (at item level).
    Documentation for BAdI method FIELDSELECTION_HEADER
    Documentation for BAdI method FIELDSELECTION_ITEM
    Special Field Selection Item
    Functionality
    The FIELDSELECTION_ITEM method enables you to influence the field selection properties for a field.
    Parameters
    The following parameters are available:
    IM_HEADER - Document header
    The interface reference is of the type IF_PURCHASE_ORDER_MM.
    IM_ITEM - Document item
    The interface reference is of the type IF_PURCHASE_ORDER_ITEM_MM.
    CH_FIELDSELECTION - Fiele selection table
    By making changes to this table, you can influence the display properties of a field.
    This table consists of value pairs <METAFIELD|FIELDSTATUS>.
    The Metafield represents a business content (e.g. the PO quantity). Thus, for example, the database field EKPO-MENGE is linked to a certain metafield value just like the field MEPO1211-MENGE on the item overview screen in the purchase order.
    Through this abstraction, reference can be made to business contents on a uniform basis.
    Standard metafields are defined in the type group MMMFD.
    The field selection status has four possible instances:
    '-' Field is suppressed
    '*' Field is purely a display field
    '.' Input field
    '+' Mandatory field
    Notes
    Under no circumstances make any changes to the database within this method. On no account use Commits.
    For WBS element the meta filed no is 512.
    mmmfd_wbs_element     TYPE mmpur_metafield VALUE 512.
    In IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM method you can write the code as follows:
    field-SYMBOLS : <FIELDSEL> like line of ch_fieldselection.
    DATA: l_persistent TYPE mmpur_bool.
    l_persistent = im_ITEM->is_persistent( ).
    READ TABLE ch_fieldselection ASSIGNING <FIELDSEL> WITH TABLE KEY metafield = '512'.
    IF sy-subrc IS INITIAL.
      <FIELDSEL>-fieldstatus = '*'. " Field is purely a display field
    ENDIF.
    Try this, it should work.
    Regards,
    Savitha
    Edited by: Savitha Madhavagiri on Jan 8, 2010 4:20 AM

Maybe you are looking for

  • Some apps no longer work with Facebook on my 5s

    Some of my apps no longer work with Facebook. They work fine on my iPod Touch but not on my 5s. Anyone know how to fix this issue?

  • When i try to update RAW i get this error message Photoshop Camera Raw 6.7 Update Installation failed. Error Code: U44M1P7  ?

    When I try to update camera raw files in CS6   I get the following error message Photoshop Camera Raw 6.7 Update Installation failed. Error Code: U44M1P7 What do I do?

  • FBCJ  Service Tax Problem

    Hi ,   I  have posted a document in FBCJ, i have given the service tax code in FBCJC2, but service tax is not clculated. EXpense A/C DR Cash A/C CR. Regards Balajeee

  • Displaying classpath in WLS 7.0 JSP

              In WLS 6.1 I had a JSP that listed System.getProperties("java.class.path"). Since           we were not using EAR and WAR files, this listed the entire classpath. In WLS           7.0 we are now using EAR and WAR files. As a result, I don't

  • Wireless network?

    Okay, I had this problem with my first iMac and now I'm having it again with my mini G4. I am on a windows PC which connects to our wireless network (service provided by SBC Yahoo! DSL) with out any problems. The macs, however, hate connecting! My iM