cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_CATALOG_TRANSFER want to change the VENDOR TEXT to Internal Note

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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