cancel
Showing results for 
Search instead for 
Did you mean: 

Change G/L Account could not be effected

former_member90438
Discoverer
0 Kudos

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...

Accepted Solutions (0)

Answers (3)

Answers (3)

JL23
Active Contributor
0 Kudos

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+effe...

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


former_member210574
Participant
0 Kudos

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

former_member90438
Discoverer
0 Kudos

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.

JL23
Active Contributor
0 Kudos

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?

former_member90438
Discoverer
0 Kudos

Hi Jurgen,

Thank for your reply...

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

Regards,

Humrish..