on 10-04-2010 4:26 PM
Hi experts,
In SAP Standart there is a notes assignment block which leads to a sperate window for entering note texts.
I have enhanced component cpg_main with NotesWindow from component GSText to make direct notes (text) field available for campaigns directly in an assignment block on the campaign overviewpage.
So far the window gets displayed in cpg_main/opoverview. However, I still have problem with retriving data entered in the text window. When saving the data gets displayed but when reopening the campaign, the data is lost.
Binding of the GSText/NotesWindow is done over context:
Custom Controller:
TEXT - UCGSText Text
ATTR - UCGSText ATTR
does anyone know what further settings / code needs to be done?
Thanks
Michael
Hi,
I think you must read the related obejct BTText or data is getting lost when you save. Try to set a default text when you create the entity.
Best regards,
Caíque Escaler
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Caíque,
Once I specify a text type in regular notes assignment block the text gets also displayed in my NotesWindow. However, where can I set default text types for campaigns. I reduced the text types for campgains to one but still this needs to be selected. I think once this is default I will have solved this.
What do you mean with "read the related obejct BTText". Do you mean binding from my CPG_Main custom controller to GSText via context BTText?
Many thanks for your hints...
thx
Michael
Hi,
lr_entity->set_property( iv_attr_name = 'TDOBJECT'
iv_value = 'CRM_ORDERH' ).
lr_entity->set_property( iv_attr_name = 'TDNAME'
iv_value = w_guid ).
lr_entity->set_property( iv_attr_name = 'TDID'
iv_value = l_tdid ).
lr_entity->set_property( iv_attr_name = 'TDSPRAS'
iv_value = sy-langu ).
Hope this helps!
Best regards,
Caíque Escaler
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
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.