Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Debug Help bbp_create_req_back

Hello Friends, I need a little help here. I am trying to populate the trackingno field from SRM to R/3 on the PR/PO.

Here is a snipet of my code which is in a loop. Everything else works except trackingno:

data:

ls_header TYPE bbp_pds_sc_header_d

MOVE ls_header-object_id TO req_items_wa-trackingno.

MODIFY req_items

FROM req_items_wa

TRANSPORTING trackingno

Any ideas? Also, does anyone have step by step instructions on debugging this badi? Thanks in advance.

replied

Hi Jocelyne,

Here is a extract code for ECS badi to move at least (others fields in my project) the catalogue ID into the tracking number field :

if ls_item-catalogid eq c_dummy.

ls_bapi_poitem-TRACKINGNO = c_noncat.

endif.

ls_bapi_poitem-GR_BASEDIV = ' '.

modify ct_bapi_poitem from ls_bapi_poitem index lv_tabix

transporting UNLIMITED_DLV TRACKINGNO GR_BASEDIV.

Kind regards,

Yann

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question