cancel
Showing results for 
Search instead for 
Did you mean: 

Custom fields from Shopping cart not getting transferred

Former Member
0 Kudos

We have added a few custom fields in both Shopping cart and PO screens.

Somehow when a cart is getting converted to a PO, the values maintained in the shopping cart are not flowing in to the PO.

Please advice as to what needs to be done to take care of this issue.

Thanks.

Anuradha SenGupta.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Sahil.

In method DETERMINE_LOCAL_OBJECTS of class CL_BBP_SC_TRANSFER i see the field but the value is not coming as populated.

However, if I pull up the cart in the monitor SC transaction, i can see the custom field populated - just that its not going over to the Sourcing and hence not making it to the PO.

Is there any specific reason as to why this can happen? Do I need to maintain any specific config to enable this?

Please advice.

Thanks.

Anuradha.

Former Member
0 Kudos

Hello santosh.

the problem is not with the custom fields getting moved over to the backend. But when i try to create a PO from the cart, the custom field in the cart doesnt move over to the PO.

Please advice.

Thanks.

Anuradha.

Former Member
0 Kudos

Hi Neelima.

The fields show up correctly in all the structures that you have mentioned.

Thanks.

Anuradha.

Former Member
0 Kudos

Hey anuradha,

go to class CL_BBP_SC_TRANSFER.

Place external BP for following methods

1) BADI_GROUP_PO_LOC

2) SPLIT_LOCAL_PO

3) SPLIT_LOCAL_OBJECTS

4) DETERMINE_LOCAL_OBJECTS

5) TRANSFER

chech weather the newly added custom fields value's appear in any of the methods before it get tranfer to PO.

regards

sahil purushan

Former Member
0 Kudos

Hello Anuradha,

Please go thru the link .

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969...

Also in your badi BBP_CREATE_BE_PO_NEW, try to implement the code in the similar way which I did for creating PR in Backend.

DATA : ls_req_item TYPE bapi_te_requisition_item.

LOOP AT is_sc_document-item INTO wa_sc_item.

wa_extension-structure = 'BAPI_TE_REQUISITION_ITEM'.

ls_req_item-preq_item = wa_sc_item-number_int.

ls_req_item-z_req_type_db = wa_sc_item-z_req_type_db.

wa_extension-valuepart1 = ls_req_item.

APPEND wa_extension TO cs_rq_document-it_extensionin.

CLEAR wa_extension.

ls_req_item-preq_item = wa_sc_item-number_int.

ls_req_item-z_asset_sub_cat = wa_sc_item-z_asset_sub_cat.

wa_extension-valuepart1 = ls_req_item.

wa_extension-valuepart2 = ls_req_item.

APPEND wa_extension TO cs_rq_document-it_extensionin.

CLEAR wa_extension.

ENDLOOP.

Hope this will help you.

Former Member
0 Kudos

Hello Pradeep.

I do not see the field in BBP_PD transaction.

The custom field has been added in the Item level section.

Thanks.

Anuradha.

Former Member
0 Kudos

Hello,

Check whether the custom field exist in Table BBP_PDISC.

If not please follow step and add the fields correctly.

Add a append to the following structure

INCL_EEW_PD_ITEM_CSF

INCL_EEW_PD_ITEM_CSF_SC

INCL_EEW_PD_ITEM_CSF_PO

Regards

Neelima

Edited by: S Neelima on Dec 14, 2011 9:52 AM

Former Member
0 Kudos

Hi Anuradha Sen Gupta ,

In shopping cart custom fields are getting save or not , and check BBP_PD t code whether the custom fields are displaying are not .

Thanks & Regards

Pradeep Kumar Dondeti