Skip to Content
-1

Change G/L Account could not be effected

Apr 28 at 12:06 PM

62

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jürgen L Apr 30 at 04:55 AM
0

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?

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Jurgen,

Thank for your reply...

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

Regards,

Humrish..

0
srilatha o Apr 30 at 05:36 AM
0

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

Show 1 Share
10 |10000 characters needed characters left 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.

0
Jürgen L May 01 at 02:22 PM
0

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


Share
10 |10000 characters needed characters left characters exceeded