Skip to Content
author's profile photo Former Member
Former Member

BBP_CATALOG_TRANSFER want to change the VENDOR TEXT to Internal Note

Hi all,

I have a requirement where in i have to change the NEW_ITEM-LONGTEXT_n:132[] which presently appears as Vendor text to Internal note.

I found out that we have to use the BADI BBP_CATALOG_TRANSFER for this purpose.

Here the text is coming in parameter <b>et_sc_longtext</b>

I tried changing the tdid of parameter <b>et_sc_longtext</b> to 'NOTE', but same is not working for me

Can anyone please suggest which parameter of the BADI I have to change to achive my purpose.

Thanks in advance,

kaushal

Message was edited by:

Kaushal Bhavsar

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 02:21 PM

    Hi

    Here is the sample code.. Hope it might help..

    -


    Here is the sample code.. Hope it might help..

    field-symbols: <waData> type BBP_OCI_ENRITEM,

    <waText> type BBP_PDS_LONGTEXT.

    loop at enriched_item_data assigning <waData>.

    loop at et_Sc_longtext into <waText>

    where <waText>-GUID = <WaData>-PRODUCT.

    if subrc eq 0.

    <waText>-tdid = 'NOTE' .

    *--- update longtext data

    modify et_Sc_longtext from <waText>.

    endif.

    endloop.

    endloop.

    -


    Regards

    - Atul

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 05:12 AM

    Hi All,

    I have tried with the suggested code, but as I mentioned earlier(when i was using workarea instead of FIELD SYMBOLS) the longtext still appears as VENDOR TEXT.

    Through the same BAdi I am able to change the Longtext and put some hardcoded Values, and the same is reflected in the SC as Vendor text.

    But when I change TDID of the parameter et_sc_longtext to <b>NOTE</b>, it is not reflected as the TEXT still appears as VENDOR TEXT.

    Also when I tried to check the value of TDID of et_sc_longtext(as i am not able to debug the BAdi I tried passing et_sc_longtext-tdid to et_sc_longtext-tdline) the VENDOR TEXT appears as blank. But when i checked other fields of et_sc_longtext, e.g. COUNTER, in the same manner I am getting the values in VENDOR TEXT.

    Is the FIELD <b>TDID</b> of <b>et_sc_longtext</b> blank.

    To appear as vendor text according to me the field TDID should have value ITXT.

    Please proivde some pointers for whether the above statement is correct and also

    <b>Some help regarding how to change the VENDOR TEXT to Internal Note</b>

    Rgds,

    Kaushal

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.