SRM PO error-Account assignment cannot be changed after goods/invoice receipt

Hi,
The SRM PO throws account assignment error in system (SRM7.2).
Scenario: Shopping cart is created and SRM PO is sent to backend system and GR is also posted.The purchaser is now trying to change any data like,value,currency etc and the system throws account assignment error.
The issue is system throws account assignment error for any change in other parameters but actually nothing is changed in account assignement part.This error is the backend error but not sure what can be done to stop this error.
Need guidance from experts whomever came across this type of issue.
Thank you
swathi

Hi,
We started experiencing the ME 458 error last year when SAP introduced some new edits in BAPI_PO_CHANGE.
It's triggered when the SRM account assignment (CO and FM) fields do not match the ERP PO account fields.
SRM function B470_ACCSERV_CHECKACCASSIGNMT calls ERP function BBP4X_CODINGBLOCK_CHECK_47A. 
In our case this only happened for material POs, services do not have this problem.
There are numerous OSS notes out there for this problem, some are for MM and others for SRM.
Hope this helps.
Jerry

Similar Messages

  • SRM 7.0 Account assignment adding new field Profit_ctr

    Hello All
    I am hoping that someone has done this in SRM 7.0 and can help me out.
    I have added PROFIT_CTR field to Account Assignment tab for SC.
    We have already followed the instructions in OSS note 1082243 and added PROFIT_CTR field to the 2 tables BBP_C_ACCF and BBP_C_ACCFD. The field is available in configuration for creating a new account assignment category using PROFIT_CTR field.
    In WDC, implicit enhancement was created and layout changed to make the field available in the view. The field already exists in the context so no other development was done.
    The PROFIT_CTR field is now available in Assignment tab for input SC is created.
    Also, configuration is done in PPOMA to default u201CProfit Centeru201D as the account assignment category.
    The problem is that during the SC creation , in the Account Assignment line, field  u201CAssign Numberu201D is still pointing at GL account (it is defaulted to GL Account) and not Profit Center value.  I would have expected u201CAssign Numberu201D field to contain profit center value and not GL Account.
    What further changes are needed?
    Looking forward to any suggestions..
    Thank you

    Hi Raj,
    Here is the documentation on how we did this when we were in 7.01.
    Version 20.0 - :
        The new requirement needs Profit center as one of the Account assignment category.
                      In order to get the profit center an implicit enhancement is required as SAP suggested.
                                        Please see SAP’s response at the bottom of this version.
    Enable Profit Center Field:
          1.) Enhance the class /SAPSRM/CL_PDO_ACCT_ASSGT_HLPR by creating a new post-exit for method GET_ACCCAT_TECHFIELDS.
       2.) Within the post-exit modify the field (ACC_FIELD) with new value
    ‘PROFIT_CTR’ of internal table ET_ACCCAT_TECHFIELD where ACC_CAT = ‘PR’.
          3.) This enables Profit center as one of the Account assignment Category.
    Version 22.0 - :
    Enable Profit Center F4 in UI:
    4.)  Enhance view V_DO_ACCOUNTING of component /SAPSRM/WDC_UI_DO_ACC.
    5.) Create a post-exit for method WDDOINIT of view V_DO_ACCOUNTING.
                                        6.) Within the post-exit set the value help to Application Defined. See below code.
                                                    CALL METHOD lo_nd_info->set_attribute_value_help
    EXPORTING
    name = 'PROFIT_CTR' " ContextAttribute Name                                 
    value_help_mode = '141' " value help mode–Application Defined.
    value_help = 'USAGE_SH_F4'. " Search help component usage.
       This enables the F4 input help for field Profit Center. Since it’s a search help in ECC and wanted to be displayed in SRM, additional development is required to bring in the F4 Popup screen.
    Enable Profit Center F4 Pop-up Screen:
    7.) Enhance the component controller of component /SAPSRM/WDC_UI_BACKEND_SH.
    8.) Create a post-exit for method SET_BAPI_PARAMETER of the component controller.
    9.) Within the post-exit set the Business objects parameters as follow
    DATA ls_bapi_parameter TYPE if_componentcontroller=>element_bapi_parameter.
    DATA lr_node           TYPE REF TO if_wd_context_node.
    lr_node = wd_context->get_child_node( 'BAPI_PARAMETER' ).
    IF iv_field EQ 'PROFIT_CTR'.                                       
    ls_bapi_parameter-objtype   = 'BUS0015'.
    ls_bapi_parameter-objname   = 'BUS0015'.
    ls_bapi_parameter-param     = 'PROFITCENTER'.
    ls_bapi_parameter-method    = 'GETLIST'.
    ls_bapi_parameter-field     = 'PROFITCENTER'.
    ls_bapi_parameter-shlpname  = 'PRCTR_EMPTY'.
    ls_bapi_parameter-shlpparam = 'PRCTR'.
    ls_bapi_parameter-FIELD_DESC = 'TXT50'.
    ENDIF.
    IF ls_bapi_parameter IS NOT INITIAL.
    lr_node->bind_structure( new_item = ls_bapi_parameter ).
    ENDIF.
    Setting these values enables the F4 Popup screen.
    Move Selected Value from Pop-up to profit center field in screen.
    10.) Once value is selected from the pop-up it should be moved to the
    profit center screen field.
    11.) In order to do that read the context Node ‘SELECTION’. This node contains
    the selected value.
    12.) Now move the selected value to the profit center field in context node
           ‘COMP_CONTEXT.’     
      lr_node = wd_context->get_child_node( 'SELECTION' ).
    lr_node->get_static_attributes( IMPORTING static_attributes = ls_selection ).
    lr_node = wd_context->get_child_node( 'COMP_CONTEXT' ).
    lr_node = lr_node->get_child_node( ls_selection-node_name ).
    lr_node->get_static_attributes( EXPORTING index = ls_selection-index
    IMPORTING static_attributes = ls_content ).
    Version 23.0 - :
            1.) Need to raise a warning message in Shopping cart whenever the profit center is
    Set to “PCDUMMY”.
    2.) Edit BAdI Implementation ZCL_IM__SRM_SEI_ITEM_CHECK. Add the warning message in method IF_EX_BBP_ITEM_CHECK_BADI~BBP_ITEM_CHECK by appending a new line with error message to export table ET_MESSAGES.
    Version 23.0 -
      1.) Create a customer field called ZPR_DESCRIPTION for accommodating profit center description. This is done by appending the field to structure INCL_EEW_PD_ACC_CSF.
    2.)  Create a RFC in ECC which would read table CEPCT to read profit center text. This Function module is called Z_FI_GET_PROFIT_CENTER_TEXT.
            SELECT SINGLE MCTXT FROM cepct
    INTO EV_PROFIT_CTR_TEXT WHERE spras = sy-langu
    AND   prctr = IV_profit_ctr
    AND   datbi >= sy-datum
    AND   kokrs = IV_controlling_area.
    IF sy-subrc NE 0.
    RAISE PROFIT_CTR_NOT_FOUND.
    ENDIF.
    3.) Within BAdI  ZCL_IM__SRM_DOC_CHANGE_BAD call the function module
          Z_FI_GET_PROFIT_CENTER_TEXT. Read profit center text and fill the
    Customer field ZPR_DESCRIPTION.
    SAP's Response for when I raised a message about profit center.  This is what helped us to start.
    Dear Customer,
    In the account overview screen, for custom account assignment
    categories, the GL account field would be shown in the 'Assigned to'
    column by default. However, if you go to the account assignment detail,
    you are able to use the search help for the profit_ctr field.
    As the fields are binded dynamically, only through a modification you
    would populate profit_ctr automatically.
    From the SRM 6.0 release onwards, the account assignment overview screenwas changed such that for the custom account leading fields, always the
    GL account would be shown. This was changed because, earlier when the
    leading field was a customer field, it was not possible to show the
    account description in the overview screen and it remained empty. This
    was creating confusion for the users.
    For the new releases, it was decided that when the leading field is a
    customer field, the GL account and its description would be shown in theoverview screen. The coding for the same has been implemented in the
    method /SAPSRM/IF_PDO_ACCT_ASSGT_HLPR~GET_ACCCAT_TECHFIELDS(class
    /SAPSRM/CL_PDO_ACCT_ASSGT_HLPR).
    WHEN OTHERS.
    ls_accf-acc_field =
    /sapsrm/if_pdo_action_c=>gc_acc_obj_gl_account.
    ls_acc_cat_techfield-desc_field =
    /sapsrm/if_pdo_action_c=>gc_acc_cat_gl_desc.
    ENDCASE.

  • Error message: iMovie cannot save changes to the library!?!

    iMovie crashed my computer and now I can't creat a new movie.
    Here's the full error message:
    iMovie cannot save changes to the library.
    The hard disk where your library is located may be full or unavailable or permissions may have changed. To avoid losing your work, quit iMovie.
    What's up with this? I tried trashing the preferences, but got the same message. I have a 27-inch late 2013 iMac running Mavericks with 445.55 GB free space.
    Please let me know if you have any suggestions.

    You've already tried trashing iMovie preferences (By the way think in Mavericks you have to reboot as well after this for the new preferences to take effect) .  One other thing to try is creating a new user account, logging in and seeing if you can create a new project in iMovie (of course you won't see your exisitng projects).  If you can then iMovie itself is OK.  If not  then the only other thing I can think of is re-installing iMovie  (see http://macs.about.com/od/usingyourmac/qt/How-To-Re-Download-Apps-From-The-Mac-Ap p-Store.htm)
    Is everthing else working OK after your computer crash?  Maybe you should also run Verify disk in Disk Utility.
    Maybe someone-else has some other suggestions (I have not heard of this problem before)?
    Geoff

  • Account assignment cannot be carried out because of different origin no

    Hie Guru's
    While saving excise invoice (J1iiN) iam getting the below error
    Detailed Error Diagnosis :-
    Account assignment cannot be carried out because of different origin no.
    Message no. V1134
    Diagnosis
    The sales document to which you want to refer is based on sales document 10000003 and item 000010. Therefore, the settlement and possibly inventory management are carried out using the number of the preceding document.
    System Response
    This entry is not allowed.
    Procedure
    Enter the document and the item number of the preceding sales document.
    NOTE :- IT'S MTO SCENARIO. WITH REQ CLASS 040 (Consumption :- E)
    Thanks in advance,
    Denish

    Hie JP,
    This is not related to project at all. The stock is purely reseved for my sales order (and since my sales order is created with reference to quotation the stock is reserved for my quotation). While debug I found the route cause for this, if we see the function module "SD_DOCUMENT_ACCOUNT_ASSIGNMENT" (this FM is called at the time of quotation, sales order, stock taking, billing and excise invoice). Now in this FM :-
      CALL FUNCTION 'SD_VBAK_SELECT'
        EXPORTING
          i_document_number  = i_document_number 
      IF ( vbap-vbeln NE vbap-vbelv OR
           vbap-posnr NE vbap-posnv ) AND
           NOT vbap-vbelv IS INITIAL.
    The i_document_number found in my excise invoice is sales order nmbr. Thus vbap-vbeln NE vbap-vbelv condition in my IF loop gets satisfied (because vbap-vbeln = sales order numbr & vbap-vbelv = quotation numbr) and it goes further. THIS SHOULD NOT GO FURTHER.
    Like I said this FM is called at the time of billing also, so at that time the i_document_number  is quotation number thus
    vbap-vbeln NE vbap-vbelv codition does not satisfy (because vbap-vbeln = Quotation numbr & vbap-vbelv = Quotation numbr) and it doesnt fo further.
    I hope I am able to convay my message. Please do let me know if you find something regarding the same because this is a Std. FM which will be same for everybody.
    Regards,
    Denish Patel
    Edited by: denish__01 on Oct 12, 2011 9:59 AM
    Edited by: denish__01 on Oct 12, 2011 10:01 AM

  • IN SALES ORDER PLANT IS CHANGED BUT FM ACCOUNT ASSIGNMENT IS NOT CHANGED

    HI ALL
    while changing the plant in sales order  LINE ITEM FM  accounting assignment is not changing accordingly FOR THE PARTICULAR LINE ITEM.
    FOR THIS REASON NO ACCOUNTING DOCUMENT IS GENERATING.
    THANKS & REGARDS
    MALA

    solution found.
    Mala k reddy

  • Error "Account assignment 00 for  purchase document does not exist " when u

    Hai,
    I am encountering the following problem when posting a PO based Invoice using BAPI_INCOMINGINVOICE_CREATE.
    The error says " account assignment 00 for purchasing document does not exist".
    The scenario is very simple.  I need to raise an Invoice against a PO. the PO has a single line item of quantity 10 net price 10.  Tax code is U2 ( 7% tax).
    I am passing the following at header level.
    Invoice_indicator ( as 'X'),company code,doc date , posting date, gross amount (107, currency USD, calc tax indicator as 'X'.
    At line item i am passing Invoice document item 000001, po number , po item number, tax code(U2) item amount (100),
    Does this error has got any thing to relate configuration matters?
    Regards,
    Upender

    Hi Upender,
    In some cases, depending on the type of PO / Posting,
    you might have to populate the accounting data itab and pass in the BAPI parameter.
    you can select the accounting data from EKKN for the PO.
    Again it depends on the PO category, wether you need to populate Qty & Unit in accounting data.
    Further, the accounting data should be exactly the same as there in EKKN ( all the fields except Qty & Unit ).
    Thanks,
    Ram

  • Error in Account Assignment from Material Master to Sale Invoice.

    Dear Gurus,
    Pls guide me to resolve this problem:
    When i am generating Sales Invoice through vf01, system taking Material Assignment Group as 04, but in material Master assignment Group is 03. Due to this system unable to post accounting document.
    Every time user changing that material assignment group through VF02 and saving to post account document ( after changing system posting FI doc).
    How system take Material Assignment Group in Sale Invoice. Till now i am checking only Material master. Wht are the other parameters to define Material Assignment group in Sales invoice. <b>This is happending to particular one material only</b>
    Pls guide me.
    Regards,
    Venkat

    Hi
    While you define account assignment in TCode VKOA, you have a provision for defining the gl accounts in the combination of the following:
    1. Cust.Grp/MaterialGrp/AcctKey
    2. Cust.Grp/Account Key
    3. Material Grp/Acct Key
    4. General
    5. Acct Key
    When you save an invoice it searches in the above order to find a GL account.
    May be your setting would have been done only in 1st or 3rd ie., assining the GL account in the combination of Cust.Grp/MaterialGrp/AcctKey and GL Account. Hence if the combination doesn't, it would not generate the accounting document.
    If your business process agrees you can define gl account in Account key (4) or General (5) also, by which it would generate an accounting document even if it finds a wrong material group.
    Regards,
    Suraj

  • Error The field cannot be changed

    Hello Friends,
    I have code as below where name1 and LIFNR are the paramenters in WD I am sending it out to FM. But, when I compile I get the error as "The field "LIFNR" cannot be changed" LIFNR is CHAR size 10. I think normally a CHAR data type should hold the numbers. Incase not, then can any one show me how to do type casting or what is the correct way to code so that it holds the value that could be passed to LIFNR.
    lv_zvendorlist = name1.
    DATA vendnamenum type string.
    DATA: vendname type string, vendnum type string.
    vendnamenum = lv_zvendorlist.
    SPLIT vendnamenum at '-' INTO vendname vendnum.
    IF vendnum is NOT INITIAL.
    write: vendnum+0(1).
    ENDIF.
    lv_zlifnr = vendnum.
    LIFNR = lv_zlifnr.
    Thks & Rgds,
    Hemal

    I have fixed the code by passing the value directly to the field of a context node. the fix is as below for future reference.
    lv_zvendorlist = name1.
    get single attribute
      lo_el_inv_input_values->get_attribute(
        EXPORTING
          name =  `ZVENDORLIST`
        IMPORTING
          value = lv_zvendorlist ).
    DATA vendnamenum type string.
    DATA: vendname type string, vendnum type string.
    vendnamenum = lv_zvendorlist.
    SPLIT vendnamenum at '-' INTO vendname vendnum.
    lv_zlifnr = vendnum.
    set single attribute
      lo_el_inv_input_values->set_attribute(
        EXPORTING
          name =  `ZLIFNR`
          value = lv_zlifnr ).
    Thks & Rgds,
    Hemal

  • SRM 7.0 - Account Assignment

    Hi,
    Do any one know how to add the custom fields in the Account assignment section of the shopping cart in SRM 7.0

    Hi lokesh,
    Try below steps.
    1. Add field to the structure INCL_EEW_PD_ACC_CSF(appending structure)
    2. Goto to sm30 maintain /SAPSRM/V_MDFSBC and add a new entry.
    3. while adding new entry
    set type  : 31
    structure field name :choose the new field name from f4 help.
    Business object type : BUS2121
    Set level:Item level
    Fill other fields according to requirment.
    Regards,
    Neelima

  • Sales Order account assignment profit center change - Table?

    Hello,
    I am working on a project where it is necessary to convert the profit center on any open sales orders.  There are a huge number of line items to change(contracts mostly ), and the BDC process we have is taking too long (around 24 hours) for comfort, so I've been asked to develop a contingency solution utilizing direct table updates.  For the sales orders themselves, I am updating field PRCTR in table VBAP.  However, in the sales order item detail, on the tab for account assignment there is an input area for profitability segment (we are using CO-PA).  There is a field there, profit center, and I need to update that field as well.  Does anyone know what table this data item lives on? 
    Your help is very much appreciated!
    Thanks,
    Greg

    Hi,
    You should <b><u> NEVER EVER </b></u> update the tables directly. This will lead to the inconsistency of the database and the integrity of the same is lost.
    In your case If BDC is not a option take a look at this BAPI for changing the sales order - BAPI_PO_CHANGE.
    You can find the sample code here for the same.
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    Regards,
    Ravi
    Note :Please mark the helpful answers and close the thread if this resolves the issue.

  • Transport error - Data type cannot be changed

    I have an infoobject whose data type was changed from NUMC2 to CHAR2.  Everything is fine in Dev system.  However, when I transport to Q, I get method execution with error message "Data type cannot be changed".
    Start of the after-import method RS_IOBJ_AFTER_IMPORT for object type(s) IOBJ (Activation Mode)
    InfoO. YHRSGB01 is used in compounding of YHRAUS01: Data type cannot be changed
    Characteristic YHRSGB01: The method for SID entry has changed
    Characteristic YHRSGB01: The data type has changed from NUMC to CHAR
    SID Table /BIC/SYHRSGB01 contains data: Characteristic YHRSGB01 cannot be activated
    Text Table /BIC/TYHRSGB01 contains data: Characteristic YHRSGB01 cannot be activated
    InfoO. YHRSGB02 is used in compounding of YHRAUS02: Data type cannot be changed
    Any ideas please?
    -Sonny

    Hi,
    1. It will be better if you delete all the data in Development & Quality system for this Objects - Re Activate -collect objects and then transport .
    2. InfoO. YHRSGB01 is used in compounding of YHRAUS01
        InfoO. YHRSGB02 is used in compounding of YHRAUS02
        this two objects are compounded
       check weather this Componded Info objects are available in   Quality System, if not transport them prior
    Regards
    Hari

  • ERROR MESSAGE AMT : CANNOT DELETE TOKEN AFTER IT WAS ASSIGNED TO A ROLE

    We are working on the setup in our sandbox environment and we have noticed that we are unable to delete tokens and remove the protection on BO's.
    the following message appears : "CANNOT DELETE TOKEN AFTER IT WAS ASSIGNED TO A ROLE"
    There is no Token assigned to any role anymore and we have also removed all rules and so on, Still it remains impossioble to remove the token on a protected BO or to remove the protection of a BO.
    Thanks for your help

    Hi Wim,
    Ive replied to your support message, requesting a remote connection so I can
    investigate further.
    Regards,
    Gervase

  • Validations in srm for the account assignment category

    here is the requirement.
    After selecting the account assignment category i want to make some fields as mandatory like GL account. how can i do that.
    thanks
    kishore

    Hi Kishore,
    First of all let me tell you that I don't know the answer of this query. But I too had same problem in one of my previous project.
    Frankly speaking, If we think over this issue from FiCo (specifically controlling)  point of view- allowing users to choose G/L account would not enforce any hard control over G/L account selection which could cause terrible issues in reporting within Controlling. In order to exercise hard controls to ensure accurate reporting, I guess this selection of G/L account by user should be refrained.
    Functionally, best possible solution would be to devide that particular product category into sub-categories (new prd categories) which would then have 1-1 relation with G/L accounts. Probably you can have a word with your Finance guy and let him know the consequences.
    Please let me know your views.
    Regards,
    Amit

  • Incorrect account assignment for service PR after IW32 save

    One service PR was created thourgh Tcode IW32 by BDC program (recorded through SHDB). Account assignment data of Service PR is absolutly correct and remains the same for the further PR & PO processing.
    In case of any changes in the service PR through IW32 (again BDC program), GL account of Service PR is not getting derived and Gl account becomes null subsequently commitment item is not getting derived.
    IW32 save is getting failed by error message 'No commitment item is derived/entered for item.......'.
    By searching SAP OSS Notes, found 2 nos. similar notes 802965 & 956751 but both are alreay corrected through support package ECC6.0 - 006. our support package is 013.
    This nature of problem is facing through IW32 transaction (without BDC program). Unable to find any errors in IW32 change BDC.
    Unable to understand the problem. Please help.

    Hello,
    during this Run of BDC what Information your changing at PR afte calling it Via Iw32.
    Regards,
    Rakesh

  • Account assignment defaulting to U after MRP run

    hello,
    i have got one ticket
    the material is non valuated (UNBW)- when MRP is run - purchase requisitions are getting generated  as having default acount assignment category "U". This is creating problem in automatic creation of PO as U category is not accepted in PO.
    can somebody tell me from where is this acct assignme getting defaulted? is ti config or setting in material master

    Hi
    this settings is copied from plant parameters settings
    OPPQ - Plant Parameters for MRP  select "External procurement" button,
    here u can see  Assign Account assignment unknown as "U" for Non-valuated materials
    This is copied to PR for non valuated MRP materials
    This is std given by SAP
    IF required u can change same
    Vishal...

Maybe you are looking for

  • Show Custom Attributes of GP Tasks in the Universal Worklist

    Hello, I have created a GP Process and i can see and execute its task in the universal worklist. But it only shows standart propertys like : Process,From, Sent, Due, Status. I want to add Custom specific task propertys, but i couldn`t find the way. R

  • My call reject can't work in iPhone 5

    Hi, My call reject can't work in iPhone 5..!! I can't even c the icon( to swap up) when incoming call.

  • Problem using Starbucks WiFi (Fibertel) in Argentina

    I have a newer (Bought withing the last year) Macbook Pro, and i am currently living in Buenos Aires, Argentina. Whenever i go to Starbucks, i connect to the local Fibertel connection they offer. Everything works fine, except that every 30 min it kic

  • Possible Bug in Report Builder 3.0

    Doing a report to find sources of Fine and Coarse Aggregate, it was noted we were getting mismatches between suppliers of each.  Somehow, incorrect suppliers of each were being matched.  Looking further, we found that where there was one vendor with

  • Windows 8.1 fault bucket

    Keep getting this event 1001, windows error reporting fault bucket.  No idea what driver or app is causing this problem. Thank you for any help you can provide! Fault bucket -824565334, type 5 Event Name: AEAPPINVW8 Response: Not available Cab Id: 0