12-14-2011 1:57 PM
Hi,
I am facing an issue while creating PO with items which are blocked ie LOEKZ = 'S', and account assignment category 'Q'.
Though I fill wbs element in POACCOUNT and POACCOUNTX structures, after execution it is being erased and am getting an error: "Enter WBS Element" with an information message "Change G/L Account could not be effected".
Please help.
Thanks in advance.
Regards
Kalyani
12-15-2011 11:43 AM
Hi kalyani,
Can you please place code of what WBS element you are passing, so that i can help you.
Regards,
Ravi
12-15-2011 1:26 PM
Hi Ravi,
Below is the code:
POITEM-PO_ITEM = '00010'
POITEM-DELETE_IND = 'S'
POITEM-ACCTASSCAT = 'Q'
......
POACCOUNT-PO_ITEM = '00010'
POACCOUNT-SERIAL_NO = '01'
POACCOUNT-CO_AREA = '1000'
POACCOUNT-WBS_ELEMENT = 'XXXX'
I filled POITEMX, POACCOUNTX structures too.
When I dont pass POITEM-DELETE_IND = 'S', the PO is being created.
But my requirement is to make the item blocked.
Thanks in advance.
Regards
Kalyani
02-14-2012 3:03 PM
Hi Kalyani,
I am not sure if you have already found a solution for this. I assume you are having this problem in ECC 6.0. We are on 6.0.4.We had a similar problem...as we could not find any relevant OSS notes, we created an OSS note to SAP. They recommended 0001472134,0001559425, 0001596666, 0001598555 to be applied to resolve the issue. After we applied, it worked. Hope you can try these.
Regards
Ganesh