on 01-08-2007 10:40 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.