on 01-09-2013 5:45 PM
Hello All,
In SRM 7,
Created two custom fields on shopping cart under item data and these fields must be mapped to standard fields from ekko table .
These custom fields are mapped using BADI ''BBP_CREATE_BE_PO_NEW'.
METHOD if_ex_bbp_create_be_po_new~fill_po_interface1.
LOOP AT is_sc_document-item INTO l_wa_item.
cs_po1_document-is_poheader-collect_no = l_wa_item-zcolle .
cs_po1_document-is_poheader-our_ref = l_wa_item-zourre.
cs_po1_document-is_poheaderx-collect_no = abap_true .
cs_po1_document-is_poheaderx-our_ref = abap_true.
EXIT.
ENDLOOP.
ENDMETHOD.
but the relevant fields of ekko table wasn't updated when PO created.
Pls advice, how to resolve.
Thanks,
SRM
Hello,
Could you please put break point in this BADI and then execute the Shopping cart push through Function module BBP_PD_SC_TRANSFER and see if you are seeing value of l_wa_item-zcolle correctly populating cs_po1_document-is_poheader-collect_no or not?
Also, i am not sure you will need these two statements;
cs_po1_document-is_poheaderx-collect_no = abap_true .
cs_po1_document-is_poheaderx-our_ref = abap_true.
Please try to comment and also process the fields.
Thank you
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.