on 09-16-2013 2:21 PM
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.
Should work like that (no field name necessary, only length).
ls_ct_req_extension-structure = 'BAPI_TE_REQUISITION_ITEM'.
ls_ct_req_extension-valuepart1+0(5) = ls_req_items-preq_item.
ls_ct_req_extension-valuepart1+5 = lv_email.
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.