Skip to Content
author's profile photo Former Member
Former Member

Change of Account Assignment in PO while adopting released PR.

Is it possible to change account assignment from Q to K in PO while adoptiong a relaesed PR with Q Acc assignment) into a PO with account assignment K.

I tried in SPRO(-MM-Purchasing-Account assignment-maintain Account Assignment categories-) and account assignment changable ckeck was made on for account assignment Category "Q" but it did not allow me to change account assignment in PO with error Message no. 06251

.

Can anybody suggest solution.

Regards,

Abdullah

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on May 09, 2011 at 10:16 AM

    Hi,

    Try to make error message "06 251" as warning in option SPRO > MM > Purchasing > Environment Data > Define Attributes of System Messages > System messages and then check.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 10, 2011 at 09:56 AM

    Hi,

    Kindly check following attached note which explains why message 06251

    is raised

    632573 ME2xN: 06251 if different account assignment in PReq

    The message is Hardcoded, this means that customizing changes have no effect.

    Please see the code below

    The error is issued in program:

    SAPLMEREQS / LMEREQSF01

    METHOD / COMPATIBILITY_CHECK

    IF l_eban-sobkz EQ sobkz-kdein OR l_eban-sobkz EQ sobkz-prein.

    • Banfen mussen auf gleichen Auftrag kontiert sein *

    lt_ebkn = l_req_item->get_accountings( ).

    READ TABLE lt_ebkn INTO l_ebkn INDEX 1.

    IF ( ( im_creqs-vbeln NE l_ebkn-vbeln OR

    im_creqs-vbelp NE l_ebkn-vbelp ) AND

    l_eban-sobkz EQ sobkz-kdein )

    OR

    ( im_creqs-ps_psp_pnr NE l_ebkn-ps_psp_pnr AND

    *CCP no error for OOK po

    ( l_eban-beswk EQ space OR

    ( l_eban-beswk NE space AND

    l_eban-werks EQ im_creqs-werks ) ) AND

    l_eban-sobkz EQ sobkz-prein ).

    MESSAGE e251(06) WITH l_eban-banfn l_eban-bnfpo INTO gl_dummy

    mmpur_message_forced 'E' '06' '251'

    I hope this explains

    BR

    Nadia Orlandi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.