cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping Cart - Internal Note

Former Member
0 Kudos

Hi All

I have a scenario, when the shopping cart is created using a third pary Catalog, I want to populate the Internal Note (Item level) in SRM, where the long text will come from the cataolog. I will be using the CUST_FIELD5 from the OCI structure as the LONG_TEXT is already used to populate the Vendor text (which also comes from third part catalog as a long text).

I tried BBP_CATALOG_TRANSFER badi. When i try to push the text to the Internal Note with the id 'NOTE' it goes and sits in the Vendor text!!

Please give your comments as I feel that SAP puts a refresh each time the catalog hits SRM. (I dont want to touch SAP code for now)

Thanks in advance.

Regards

Ananth

Accepted Solutions (0)

Answers (2)

Answers (2)

phanir_mullapudi
Active Participant
0 Kudos

I did the text transfer to the Internal Note with the id 'NOTE' in the Doc. Change BADI & it works fine.

Former Member
0 Kudos

Hi,

Can you paste the code written in the BADi for further analysis.

BR,

Disha.

Former Member
0 Kudos

Hi Disha

The code is quiet simple.

lv_longtext-GUID = lv_sc_item_data-guid.

lv_longtext-TDID = c_item_note_id. ('NOTE')

lv_longtext-TDSPRAS = sy-langu

lv_longtext-COUNTER = itab_wa-LINE. (Which will be 1)

lv_longtext-TDFORMAT = '='.

lv_longtext-TDLINE = ITAB_WA-CUST_FIELD5.

append lv_longtext to ET_SC_LONGTEXT.

I even tried to loop the long text and put a modify syntax. But the results are the same. Also I tried to update the Long text directly using SAVE_TEXT funx. Same result.

Please suggest any other solutuon. Thanks for your reply.

Regards

Ananth