Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Set Delivery Text for item while creating PR

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
642

Hello All,

I am trying to set the delivery text for the PR line item using BADI ME_PROCESS_REQ_CUST

I m using method PROCESS_ITEM.

Below is the code that i am using:-


    wa_text-tdobject = ' '.
    wa_text-tdid = 'B03'.

    wa_text-tdformat = '*'.
    wa_text-tdline = 'Text from BAPI'.
    APPEND wa_text TO lt_text.

    DATA: lv_tdid TYPE tdid.
    lv_tdid = 'B03'.

    CALL METHOD im_item->if_longtexts_mm~set_text
      EXPORTING
        im_tdid      = lv_tdid
        im_textlines = lt_text.

But i am not able to set the text.

<<removed_by_moderator>>

Thanks & Regards,

Tarun

Edited by: Vijay Babu Dudla on Jun 26, 2009 1:12 AM

Hello All,

I am trying to set the delivery text for the PR line item using BADI ME_PROCESS_REQ_CUST

I m using method PROCESS_ITEM.

Below is the code that i am using:-


    wa_text-tdobject = ' '.
    wa_text-tdid = 'B03'.

    wa_text-tdformat = '*'.
    wa_text-tdline = 'Text from BAPI'.
    APPEND wa_text TO lt_text.

    DATA: lv_tdid TYPE tdid.
    lv_tdid = 'B03'.

    CALL METHOD im_item->if_longtexts_mm~set_text
      EXPORTING
        im_tdid      = lv_tdid
        im_textlines = lt_text.

But i am not able to set the text.

<<removed_by_moderator>>

Thanks & Regards,

Tarun

Edited by: Vijay Babu Dudla on Jun 26, 2009 1:12 AM

3 REPLIES 3
Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
589

Still waiting for useful pointers....!!

Regards,

Tarun

Read only

0 Likes
589

Hi,

Check if you have activated the BADI implementation.

KR Jaideep,

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
589

Hi,

Yes my BADI is activated...!!

Made some manipulations in d code and it is working now...

Regards,

Tarun