cancel
Showing results for 
Search instead for 
Did you mean: 

Pass custom fields from quotation to purchase order

Former Member
0 Kudos

Hi all,

I've added some custom fields in the Quotation and PO. (Also in SC; RFx and Contract...) The fields has the same name in all the structures INCL_EEW_PD_ITEM_CSF_PO, INCL_EEW_PD_ITEM_CSF_QUOT, INCL_EEW_PD_ITEM_CSF...

The problem is that only the value of two fields are passing from quotation to purchase order, the rest of custom fields are empty in the PO.

I don't understand why...

If i try to do the same thing, creating a Contract from Quotation its works fine, all the custom fields are transmited. But creating a PO from this contract also don't works.

Any idea?

I work with SRM 7.0.

Thanks in advance.

EDIT: I have an implementation of badi BBP_DOC_CHANGE_BADI for PO. I've put a break point there and i can see in the table IT_ITEM these fields are empty. Only two of my custom fields are filled with the values of the quotation...

Edited by: Husalban RM on Dec 15, 2010 5:27 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

debuggin the standard i solved it.

In the class CL_BBP_SC_TRANSFER in the method CREATE_LOCAL_PO is the call to the FM BBP_PD_PO_CREATE.

In this method the parameter IS_OBJECT has the structure of the SC. I don't know why...

In my project these fields aren't necessary in the SC, only in the Quotation, PO and Contract... then i didn't add these fields in the structure of SC.

In my case I don't create any SC, i've created directly an RFx -> Quotation -> PO.

I don't know why is using the structure of SC for creating a PO without SC...

The solution is add these fields in the structure INCL_EEW_PD_ITEM_CSF_SC also.