Skip to Content
-1

Change G/L Account could not be effected

Hi All,

Using the BADI IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM , I am trying to change the GL Account value. But it is giving me the below error.

Change G/L Account could not be effected

Can anyone please help me to resolve this.....

Attached the code below.

              ls_acc_data-sakto = lv_tvarvc-low.
              CALL METHOD ls_accounts->set_data
                EXPORTING
                  im_data = ls_acc_data.

Thanks in Advance...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 30 at 04:55 AM

    Does it work in ME22N? I mean can it be changed manually in ME22N if you do not use the BADI?

    Does the PO already have history like a goods receipt?

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jurgen,

      Thank for your reply...

      No Idea about Manually changing the GL account. And I am from Technical background.

      Regards,

      Humrish..

  • Apr 30 at 05:36 AM

    Hi raj,

    its not possible to change the gl account value , can you tell which transaction you posted, which transaction value you want delete, bsase on that i can help you .

    Regards,

    srilatha

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Srilatha,

      Thanks for your reply.

      I am using the t-code Me59n and passing the input PR number. While PR is converted to PO, I want to replace the GL account value.

      Regards,

      Humrish.

  • May 01 at 02:22 PM

    you revised several times the question but did not really add any further information. You get of course quicker and better answers based on the quality of information given in the question, which means you should describe the situation in more detail, what item category does the PR have, is it normal goods purchasing or is it about service?

    As we could read now in a comment to another user you said you have this BAdI in ME59N, which is automatic PO creation.

    Let us just try do the same in ME21N . Drag the purchase requisition into the shopping cart and then go to the item detail accounting tab and try to change the account assignment. Is this possible?

    If it is grayed out, inactive for maintenance, then you can't change the account. You may check this wiki created by SAP employee: https://wiki.scn.sap.com/wiki/display/ERPSCM/Error+ME664+%27Change+Acct+Assgt+Cat.+could+not+be+effected%27+in+service+documents

    Or eventually you could try to change the field selection and make the fields optional and try then again.

    If the change is possible in ME21N then we might have to look into different areas, there are 27 OSS notes on this error message


    Add comment
    10|10000 characters needed characters exceeded