PR Rejection Mystery

Alon Raskin araskin at 3i-consulting.com
Mon Jul 3 13:40:38 EDT 2006


Hi Sue,

Thanks but we do not have this FM. 
 


Alon Raskin
e: araskin at 3i-consulting.com
p: +1 207 409 4983
f:  +1 806 403-4983
 
The easiest way to integrate SAP with any mobile device
http://www.themobileworkplace.com
 

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Susan R. Keohan
Sent: Monday, July 03, 2006 8:17 AM
To: SAP Workflow Users' Group
Subject: Re: PR Rejection Mystery

Hi Alon,

Not sure what release you are on, but in SRM, we have the ability to set the
Status of the PO to rejected...
CALL FUNCTION 'BBP_PD_PO_STATUS_CHANGE_WF'
  EXPORTING
    iv_guid                         = lv_guid
    iv_status                         = '2'
    iv_wfl_started_by              = lv_changer
* IMPORTING
*   OBJECT_STATUS                  =
  TABLES
    et_messages                     = lt_messages
  EXCEPTIONS
   invalid_value_for_status       = 1001
   error_in_status_change         = 1002
   OTHERS                         = 01.

Hope this helps,
Sue
Alon Raskin wrote:

> I have been asking around some fairly knowledgeable people and no one 
> seems to have the answer to this.
> 
>  
> 
> Therefore I throw down this challenge to the good people of the WUG 
> (that means you).
> 
>  
> 
> As every school child knows, if you want to release a Purchase 
> Requisition *in the background* you call BAPI_REQUISITION_RELEASE_GEN
> 
> But what do you do if you want to REJECT a Purchase Requisition? There 
> does not seem to be a reject FM anywhere.
> 
>  
> 
> Alon
> 
>  
> 
>  
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug

--
Susan R. Keohan
SAP Workflow Developer
MIT Lincoln Laboratory
244 Wood Street
LI-200
Lexington, MA. 02420
781-981-3561
keohan at ll.mit.edu
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug




More information about the SAP-WUG mailing list