[52094] in SAPr3-news
Need a FM to cancel Purchase Order by PO number?
daemon@ATHENA.MIT.EDU (Ivaylo Mutafchiev)
Wed Nov 3 07:33:03 2004
To: sapr3-news@mit.edu
Date: Wed, 3 Nov 2004 14:32:56 +0200
From: "Ivaylo Mutafchiev" <ism_NoSpamPlease@mail.bg>
Message-ID: <2us1fpF2cb3g6U1@uni-berlin.de>
Hi,
I'm in front of this problem:
I have a Purchase Order (up to 100 items, dynamicaly created via BAPI) which
have no flow, with status "ordered", without any release strategy. I need to
cancel (or lock) it, using programming tools (better not transaction
code(s), but FM). I can pass PO number as input parameter, and even a table
of PO items (if nessesary).
I would like to do that programmaticaly, but not manualy.
The question is:
Is there any FM (or automated procedure) which can help me to do this?
We are talking about dozens (up to hundreds) of purchase orders per day
which (under some circumstances) might need to be locked/canceled.
Any hints are wellcome.
Many thanks in advance.
Ivaylo Mutafchiev
(abap-er)