on 08-15-2007 4:29 PM
Hi all,
I am trying to add item text to the PO before it is transferred to R/3 using BADI BBP_ECS_PO_OUT_BADI. See my code below.
loop at it_tem into wa_po_item.
w_po_item_text-po_number = wa_po_item-be_object_id.
w_po_item_text-po_item = wa_po_item-number_int.
w_po_item_text-text_id = 'F06'.
w_po_item_text-text_form = '*'.
w_po_item_text-text_line = 'EBP PO'.
APPEND w_po_item_text TO ct_bapi_poitem_text.
endloop.
But still i am not able to see the item text in the PO in R/3. Please let me know what i am missing.
Regards,
Maria.
Hi
Which SRM version are you using ?
<b>Text ID <u>'F01'</u> is used for Item Text.</b>
<u>Try this sample code ..</u>
loop at it_tem into wa_po_item.
w_po_item_text-po_number = wa_po_item-be_object_id.
w_po_item_text-po_item = wa_po_item-number_int.
w_po_item_text-text_id = 'F01'.
w_po_item_text-text_form = '*'.
w_po_item_text-text_line = 'EBP PO'.
APPEND w_po_item_text TO ct_bapi_poitem_text.
endloop.
Do let me know.
Regards
- Atul
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.