on 03-06-2009 10:30 AM
Hallo,
I want to preallocate a field with more than 130 characters in the SC basic data. I do that in the BaDI BBP_CATALOG_TRANSFER. When it is longer, it will be cut. Is it possible to preallocate a field with more than 130 characters?
pls help! Thanks.
Hi,
How about using NEW_ITEM-LONGTEXT_n:132[] OCI field? It is unlimited length.
Regards,
Masa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can you please cahnge the type of h_enriched_item_data to
h_enriched_item_data type BBP_OCI_ENRITEM.
this doesnt make any big difference,but change it. as u have defined field ZZLINK of type CHAR and Length 250 , it should come .. can you please debudg and look into it where it is getting truncated.....can you also try once by changing the data type of the field ZZLINK to LCHR(long character)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please look whether there is any type casting or if there is any type mismatch between the fields which you are using for data population.
can you please tell me which field you are looking into in the BBP_CATLOG_TRANSFER badi,can you put that code over here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the BaDI BBP_CATALOG_TRANS, Methode: ENRICH_ITEM_DATA the code is:
Data: h_enriched_item_data like line of enriched_item_data.
LOOP AT enriched_item_data INTO h_enriched_item_data.
h_enriched_item_data-zzlink = '<ahref="https://www.one-intra.net/C17/IT-ORM/Document%
20Library%20eMail%20Access/DSG%20Verpflichtung%20EXTERNER%20MA%20englisch%
20NEU.PDF" target="_blank"> Dokument </a>.
"many code is following, put the field is never changed after that.
MODIFY enriched_item_data FROM h_enriched_item_data.
ENDLOOP,
I have debugged it, but the characters are never cut. in the field are always the same characters. I don't know where the problem is
Edited by: chsp111 on Mar 11, 2009 1:28 PM
Hi,
if you are looking for a custom field then please change it in the structures
INCL_EEW_PD_ITEM_CSF_SC
INCL_EEW_PD_ITEM_CSF
there the lenght can be changed ..... and if you want the data changes in the basic data based on your requirement select the badi which u want to change.......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, but I have changed the structure CI_BBP_ITEM_SC and my field is type CHAR, length 250. That is not the problem!
When I prellocate the field in the BaDI BBP_CATALOG_TRANSFER with more then 132 characters, the string will be cut at character 132 and the rest of it is not displayed in the basic data in the SC!
My question is: Why is it cut?? And how can I change it to display more than 132 characters???
Thanks to everyone who can help me!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.