Create a shopping cart with reference

Dart, Jocelyn jocelyn.dart at sap.com
Thu Jan 20 19:31:46 EST 2005


Raju, 
Better to just use the DOC CHECK badi to prevent users mixing
auto-approve items with approval required items up front. 
That's a business solution which is much more robust and has been done
before on several sites. 
Regards,
Jocelyn 

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Raju Omkaram
Sent: Thursday,20 January 2005 2:01 AM
To: SAP Workflow Users' Group
Subject: Re: Create a shopping cart with reference

Dart,

Business case is as follows: 
A professional buyer must be able to send few line items of the
approved shopping cart to the backend to create a PO and leave the
remaining line items for future processing.

What I did to make the business case working:
1. Created a custom workflow which prevents the shopping cart status
from changing to 'released' so that cart is not converted to PO upon
final approval.

2. Modified 'BBP_MON_SC'  for a buyer to see all the approved carts
3. Provided the ability to select few line items for PO conversion.
4. I realised that SAP does not allow partial conversion of shopping
cart so
   Plan B - Split the cart. What it means that I will  create a new
cart with unselected lines and delete these line items from the
original cart. I am able to convert the original cart into a PO.
Problem is in creating a new cart with reference to original cart.
This is where I am trying to use BBP_PD_SC_CREATE.
5. In a FM, I copied original cart header and items and cleared GUID
and objectid
6. When I debugged the FM, it is creating a new GUID but looking for
an external number range for the cart and causing some interface
errors.
7. I did create an OSS note and it has been escalated to SAP development
team.

This is all happening in EBP3.5/SRM2.0.  

Once again, I sincerely thank you for your prompt repsonses.

Raju

On Wed, 19 Jan 2005 08:51:50 +0800, Dart, Jocelyn <jocelyn.dart at sap.com>
wrote:
> Raju,
> BBP_PD_SC_CREATE is really not intended to be used by customers - it
is
> in fact in "not released for customer" status. There is a PHENOMENAL
> amount of pre-work to do in creating a shopping cart - which is why
you
> have the shopping cart transactions.
> 
> You don't mention what your business case is, but I would ***VERY
> STRONGLY*** suggest that you put your business case - i.e. why you are
> trying to copy the shopping cart in background - into an OSS message
as
> a query and ask for the developers to comment on what you are trying
to
> do and whether there is a better way to do it.
> Regards,
> Jocelyn
> 
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On
Behalf
> Of Raju Omkaram
> Sent: Wednesday,19 January 2005 9:52 AM
> To: SAP Workflow Users' Group
> Subject: Create a shopping cart with reference
> 
> Hi all,
> 
> I would like to create a new shopping cart with reference to an
> existing cart. I have tried creating using 'BBP_PD_SC_CREATE' with
> header and item information from old one. However, I am having
> interface errors. Also tried to clear GUID from old one when passing
> to the new one but no luck.
> 
> Any help is highly appreciated.
> 
> Thanks
> Raju
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
_______________________________________________
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