Quantcast
Channel: SCN: Message List - SAP SRM: Shopping Cart & Catalog
Viewing all articles
Browse latest Browse all 2860

Transferring SRM fields to PR custom fields.

$
0
0

Hello Gurus,

 

We are on SRM 5.0. We have a requeriment to transfer certain information from SC to PR custom fields. To do it we have implemented the BADI BBP_CREATE_BE_RQ_NEW and fill out the table EXTENSIONIN but unfortunately it doesn't work.

 

My code is the following:

 

        ls_extensionin-structure  = 'BAPI_TE_REQUISITION_ITEM'.      ls_extensionin-valuepart1 = <wa_cs_rq_document>-preq_item. " Item number      ls_extensionin-valuepart2 = 'ZZCREATOR'.                   " Custom field in PR.      ls_extensionin-valuepart3 = lv_pernr.       " Value      APPEND ls_extensionin TO cs_rq_document-it_extensionin.

 

What is wrong?

 

Any code example to understand the right logic?

 

The fields from PR are not creted into SC.

 

Thanks,

David.


Viewing all articles
Browse latest Browse all 2860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>