cancel
Showing results for 
Search instead for 
Did you mean: 

"Document XXYYZZ does not exist" - Validate contract during PO creation?

Former Member
0 Kudos
528

Hi there,

We are using SRM 5.0 and ECC 6.0. We are using the CLASSIC scenario only.

We are using function module BBP_PD_SC_UPDATE and BBP_PD_SC_SAVE to obvioulsy create the shopping cart in SRM but more importantly create a PO in the ECC 6.0 backend system.

The problem is we are creating a shopping cart where each shopping cart item has a reference to a corresponding contract item BUT the contract exists in SRM ONLY, not is ECC 6.0.....once again we are using the CLASSIC scenario and not the extended classic scenario.

The fields that I am populating in the SC item that actually end up in table BBP_PDIGP are the following:

ctr_log_sys

ctr_guid

ctr_item_number

ctr_hdr_number

ctr_hdr_guid

The problem I am having is is I go to the "shopping cart monitor" in transaction RZ20 in SRM after I make a shopping cart I get the following message:

"Document XXYYZZ does not exist" (Message class "06", message number "019" in ECC 6.0)

It is complaining about the CONTRACT not exists in ECC 6.0 which is understandable......but is there any way to turn off that contract VALIDATION when using the Classic scenario? ECC should just let the PO / PO items be created without any validation on the agreement / contract entered. (I think field EKPO-KONNR) .

Any ideas on how I can create the PO in the ECC backend without the entered contract having to exist in the ECC backend?

You help would be GREATLY appreciated

Kind regards

Lynton

Accepted Solutions (0)

Answers (1)

Answers (1)

pvanhoove
Product and Topic Expert
Product and Topic Expert
0 Kudos

hello,

You can use a badi (BBP_CREATE_BE_PO_NEW) to delete any contract information from PO before transferring it to the backend.

Rgds,

Pierre

Former Member
0 Kudos

Hi there,

The problem with that is that I WANT the contract data to exist with the newly created PO in ECC......even though the contract itself will not exist there.

So essentially I was wondering if there is any "flag" of sorts that lets one turn off validation of the contract having to exist in ECC.

I will keep on looking and debugging

Thanks for the advise though, we have actually implemented the Badi you mentioned.....

Lynton