How to fill values to custom fields created by EEWB
Hi All,
I am working in CRM 5.0,We have extended the BP transaction with two new fields using EEWB transaction.
ZZABC
ZZDEF
Here goes my problem , i wanted to update data to the new fields using FM.
I tried using BUPA_CENTRAL_CHANGE,where i found the structure of the custom fields .But the FM is working for standard fields but not for Custom fields.
Following are the FM generated in EEWB.
ZZG05_BUPA_EVENT_DINP2
ZZG05_BUPA_EVENT_DLVE1
ZZG05_BUPA_EVENT_DSAVB
ZZG05_BUPA_EVENT_ISDST
ZZG05_BUPA_EVENT_ISSTA
ZZG05_BUPA_EVENT_XCHNG
ZZG05_BUPA_PAI_ZG050100
ZZG05_BUPA_PAI_ZG050101
ZZG05_BUPA_PBO_ZG050100
ZZG05_BUPA_PBO_ZG050101
I have tried using the above FM.But didnt work.
Can you please help me how to proceed just to fill values using FM.
Your suggestions will be highly rewarded.
Thanks,
Gayathri.
Hi Shiva,
Thanks for your response.
I have specified the FM that are generated while creating the fields, where i dnt find any update or delete.
Further can u explain "you can play with screen config in the AREA MENU code BUPT".
My requirement is to upload data to those fields through pgm for one time.
Thanks,
Gayathri.
Similar Messages
-
Displaying Custom fields created by EEWB
Hi,
I would to get advice on how to display fields created by EEWB in a seperate tab.My assignment is to create a new tab in the Business activities transactions.Using the EEWB, I created a project by choosing the Business Object as BUSINESS_ACTIVITY and the extension type as ACTIVITY_H.I chose the business category as business activity. I defined the fields and the object was generated successfully.
Now the new fields are added in the table CRMD_ORDERADM_I.
1.I would like to know if the above process was right towards the creation of fields in the Business Activity transactions.
2. If the above is correct, could you please tell how to get the tab and the fields to be displayed in the activities screen.
Regards
RasheedHi,
For displaying the EEWB fields in a separate TAB following is the procedure:
1. First create the set type for the fields which you want to display in a separate TAB.
2. Now through EEWB create the project and extension for your transaction and add the component at header or item level based on youir requirement.
3. Then create a view/TAB .
4. After this create an enhancement profile for your component.
5. Assign your enhancement profile to the item category.
Let me know if you need furhter details on the same.
Allote pnts if helps.
Cheers. -
How to Fill value in Input fields before displaying ADOBE FORM
Hi to all,
Please can anyone tell me how to fill the entry in ADOBE FORM before displaying?
I have written a program to generate ADOBE FORM, but I need while displaying ADOBE FROM some input field should already be filled by value and can not be changed.
Please can anyone tell me how to do that in program?
Below is the program.
DATA: fm_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_outputparams TYPE sfpoutputparams.
Parameters: p_pdf_form_name type fname.
fp_docparams-langu = 'E'.
fp_docparams-country = 'IN'.
fp_outputparams-preview = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = p_pdf_form_name
IMPORTING
e_funcname = fm_name.
E_INTERFACE_TYPE = E_INTERFACE_TYPE
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
IMPORTING
/1BCDWB/FORMOUTPUT = fp_outputparams
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
I shall be thankful to you for this.
Regards
Pavneet Rana
Edited by: pavneet rana on Jul 25, 2011 2:57 PMHello,
you need to provide the information via the interface, which you create for the Adobe form.
And then pass this values via the following function module inside your generation report.
CALL FUNCTION fm_name
check standard report : FP_EXAMPLE_01 as an example! -
BADI /SAPAPO/AM_ALERTLIST - How to fill values in new field catalogue
Hi,
I need some help for passing values into the field Catalog of an ALERT Monitor.
The requirement is to add new fields in the ALERT Monitor and then populate them with values form the PRODUCT view.
I have implemented method MODIFY_ALERTLIST of BADI /SAPAPO/AM_ALERTLIST. I am able to add the new columns but I am unable to add the values. Actually while debugging i found that even though the NEW values are going into the table T_ALERTS, but the space between the New Added values and the original value is HUGE. Therefore when the Field Catalog is displayed in the Alert Monitor, the NEW Values are not shown.
I am attaching my Code
DATA: l_table_ref TYPE REF TO data,
l_table_ref_1 TYPE REF TO data,
l_fieldcat_str TYPE /sapapo/am_aot_fieldcat_str,
ls_fieldcat TYPE LINE OF lvc_t_fcat,
ls_t_fieldcat LIKE LINE OF t_fieldcat,
l_alert_str TYPE LINE OF /sapapo/alert_tab,
l_str_ref TYPE REF TO data,
l_str_ref_1 TYPE REF TO data.
FIELD-SYMBOLS: <aot_tab> TYPE STANDARD TABLE,
<aot_tab_1> TYPE STANDARD TABLE,
<alert_str> TYPE /sapapo/alert_str,
<aot_str> TYPE ANY,
<alert_str1> TYPE c,
<alert_str_uc> TYPE c.
FIELD-SYMBOLS: <zat103> TYPE c. "ANY.
DATA : l_col_pos TYPE i,
gv_entries TYPE i,
xlength TYPE i.
FIELD-SYMBOLS : <info> TYPE ANY,
<aot_str1> TYPE ANY.
DATA olen1 TYPE i.
DATA: t_pegid TYPE STANDARD TABLE OF /sapapo/amopegid_tab,
t_ordid TYPE STANDARD TABLE OF /sapapo/amoordid_tab.
CLEAR: l_alert_str,
l_table_ref ,
l_table_ref_1 ,
l_fieldcat_str ,
ls_fieldcat ,
ls_t_fieldcat ,
l_str_ref .
*Add new column
READ TABLE t_fieldcat INTO ls_t_fieldcat INDEX 1.
DATA: x1 TYPE lvc_t_fcat,
y1 LIKE LINE OF x1.
x1 = ls_t_fieldcat-fieldcat.
LOOP AT x1 INTO y1 WHERE reptext NE space.
CHECK y1-fieldname NE 'DELIVERY_DATE'.
xlength = xlength + y1-intlen.
ENDLOOP.
DESCRIBE TABLE x1 LINES gv_entries.
Appending Delivery Date
ls_fieldcat-col_pos = gv_entries + 1.
ls_fieldcat-fieldname = 'DELIVERY_DATE'.
ls_fieldcat-ifieldname = 'DELIVERY_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Delivery Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = '/SAPAPO/DELIVERY_DATE' . "'DATS'.
ls_fieldcat-domname = '/SAPAPO/CHAR20'."'/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Delivery Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Start Date
ls_fieldcat-col_pos = gv_entries + 2.
ls_fieldcat-fieldname = 'STARTDAT'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Start Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Start Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Required Shelf Life Date
ls_fieldcat-col_pos = gv_entries + 3.
ls_fieldcat-fieldname = 'SL_MIN_DAT'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Req.SL dte'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Req.SL dte'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Shelf Life Date/Required Maximum Shelf life Date
ls_fieldcat-col_pos = gv_entries + 4.
ls_fieldcat-fieldname = 'SL_MAX_DAT'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'SL Date 2'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'SL Date 2'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending (Availability/Requirements) Date of a Schedule Line
ls_fieldcat-col_pos = gv_entries + 5.
ls_fieldcat-fieldname = 'AVL_REQ_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Schedule Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Schedule Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Req Date/ Shipment end date
ls_fieldcat-col_pos = gv_entries + 6.
ls_fieldcat-fieldname = 'SHIP_MAX_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Req Date/ Shipment end date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Req Date/ Shipment end date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Expected Grading Date
ls_fieldcat-col_pos = gv_entries + 7.
ls_fieldcat-fieldname = 'GRAD_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Expected Grading Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Expected Grading Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Available Date
ls_fieldcat-col_pos = gv_entries + 8.
ls_fieldcat-fieldname = 'AVAIL_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Available Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Available Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
MODIFY TABLE t_fieldcat FROM ls_t_fieldcat.
DATA lvc_t_fcat TYPE lvc_t_fcat.
*CODE FOR ADDING THE NEW VALUES*
ASSIGN Alert Structure to Field Symbols for Unicode
ASSIGN COMPONENT 0 OF STRUCTURE l_alert_str
TO <alert_str> CASTING.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = ls_t_fieldcat-fieldcat
IMPORTING
ep_table = l_table_ref.
*assign dynamic structure
ASSIGN l_table_ref->* TO <aot_tab>.
CREATE DATA l_str_ref LIKE LINE OF <aot_tab>.
ASSIGN l_str_ref->* TO <aot_str>.
ASSIGN l_str_ref->* TO <alert_str_uc> CASTING.
LOOP AT t_alerts INTO l_alert_str.
READ TABLE t_fieldcat WITH KEY aot = l_alert_str-aot
INTO l_fieldcat_str.
CALL FUNCTION '/SAPAPO/ATAB_FIELDCAT_GET'
EXPORTING
aot = l_fieldcat_str-aot
mview = l_fieldcat_str-mview
IMPORTING
table_ref = l_table_ref
t_fieldcat = lvc_t_fcat.
ASSIGN l_alert_str TO <alert_str>.
*copy alert to aot-specific structure
MOVE <alert_str>-info TO <alert_str_uc>.
*Write this code inside the loop
ASSIGN COMPONENT 'DELIVERY_DATE' OF STRUCTURE <aot_str> TO <zat103>. "CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'STARTDAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'SL_MIN_DAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'SL_MAX_DAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'AVL_REQ_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'SHIP_MAX_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'GRAD_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'AVAIL_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
MOVE <alert_str_uc> TO <alert_str>-info.
MODIFY t_alerts FROM l_alert_str INDEX sy-tabix.
CLEAR : <alert_str>, <alert_str_uc>.
ENDLOOP.
I have even tried Concatenating Values, with that method even though the NEW Values are available but they do not fall under the correct Column.
PLEASE help me out cos I am really Stuck.
Regards
Abhishek SahiHi,
I need some help for passing values into the field Catalog of an ALERT Monitor.
The requirement is to add new fields in the ALERT Monitor and then populate them with values form the PRODUCT view.
I have implemented method MODIFY_ALERTLIST of BADI /SAPAPO/AM_ALERTLIST. I am able to add the new columns but I am unable to add the values. Actually while debugging i found that even though the NEW values are going into the table T_ALERTS, but the space between the New Added values and the original value is HUGE. Therefore when the Field Catalog is displayed in the Alert Monitor, the NEW Values are not shown.
I am attaching my Code
DATA: l_table_ref TYPE REF TO data,
l_table_ref_1 TYPE REF TO data,
l_fieldcat_str TYPE /sapapo/am_aot_fieldcat_str,
ls_fieldcat TYPE LINE OF lvc_t_fcat,
ls_t_fieldcat LIKE LINE OF t_fieldcat,
l_alert_str TYPE LINE OF /sapapo/alert_tab,
l_str_ref TYPE REF TO data,
l_str_ref_1 TYPE REF TO data.
FIELD-SYMBOLS: <aot_tab> TYPE STANDARD TABLE,
<aot_tab_1> TYPE STANDARD TABLE,
<alert_str> TYPE /sapapo/alert_str,
<aot_str> TYPE ANY,
<alert_str1> TYPE c,
<alert_str_uc> TYPE c.
FIELD-SYMBOLS: <zat103> TYPE c. "ANY.
DATA : l_col_pos TYPE i,
gv_entries TYPE i,
xlength TYPE i.
FIELD-SYMBOLS : <info> TYPE ANY,
<aot_str1> TYPE ANY.
DATA olen1 TYPE i.
DATA: t_pegid TYPE STANDARD TABLE OF /sapapo/amopegid_tab,
t_ordid TYPE STANDARD TABLE OF /sapapo/amoordid_tab.
CLEAR: l_alert_str,
l_table_ref ,
l_table_ref_1 ,
l_fieldcat_str ,
ls_fieldcat ,
ls_t_fieldcat ,
l_str_ref .
*Add new column
READ TABLE t_fieldcat INTO ls_t_fieldcat INDEX 1.
DATA: x1 TYPE lvc_t_fcat,
y1 LIKE LINE OF x1.
x1 = ls_t_fieldcat-fieldcat.
LOOP AT x1 INTO y1 WHERE reptext NE space.
CHECK y1-fieldname NE 'DELIVERY_DATE'.
xlength = xlength + y1-intlen.
ENDLOOP.
DESCRIBE TABLE x1 LINES gv_entries.
Appending Delivery Date
ls_fieldcat-col_pos = gv_entries + 1.
ls_fieldcat-fieldname = 'DELIVERY_DATE'.
ls_fieldcat-ifieldname = 'DELIVERY_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Delivery Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = '/SAPAPO/DELIVERY_DATE' . "'DATS'.
ls_fieldcat-domname = '/SAPAPO/CHAR20'."'/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Delivery Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Start Date
ls_fieldcat-col_pos = gv_entries + 2.
ls_fieldcat-fieldname = 'STARTDAT'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Start Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Start Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Required Shelf Life Date
ls_fieldcat-col_pos = gv_entries + 3.
ls_fieldcat-fieldname = 'SL_MIN_DAT'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Req.SL dte'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Req.SL dte'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Shelf Life Date/Required Maximum Shelf life Date
ls_fieldcat-col_pos = gv_entries + 4.
ls_fieldcat-fieldname = 'SL_MAX_DAT'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'SL Date 2'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'SL Date 2'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending (Availability/Requirements) Date of a Schedule Line
ls_fieldcat-col_pos = gv_entries + 5.
ls_fieldcat-fieldname = 'AVL_REQ_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Schedule Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Schedule Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Req Date/ Shipment end date
ls_fieldcat-col_pos = gv_entries + 6.
ls_fieldcat-fieldname = 'SHIP_MAX_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Req Date/ Shipment end date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Req Date/ Shipment end date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Expected Grading Date
ls_fieldcat-col_pos = gv_entries + 7.
ls_fieldcat-fieldname = 'GRAD_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Expected Grading Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Expected Grading Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
Appending Available Date
ls_fieldcat-col_pos = gv_entries + 8.
ls_fieldcat-fieldname = 'AVAIL_DATE'.
ls_fieldcat-tabname = '1'.
ls_fieldcat-seltext = 'Available Date'.
ls_fieldcat-outputlen = '10'.
ls_fieldcat-rollname = 'DATS'.
ls_fieldcat-domname = '/SAPAPO/DATUM'.
ls_fieldcat-coltext = 'Available Date'.
APPEND ls_fieldcat TO ls_t_fieldcat-fieldcat.
MODIFY TABLE t_fieldcat FROM ls_t_fieldcat.
DATA lvc_t_fcat TYPE lvc_t_fcat.
*CODE FOR ADDING THE NEW VALUES*
ASSIGN Alert Structure to Field Symbols for Unicode
ASSIGN COMPONENT 0 OF STRUCTURE l_alert_str
TO <alert_str> CASTING.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = ls_t_fieldcat-fieldcat
IMPORTING
ep_table = l_table_ref.
*assign dynamic structure
ASSIGN l_table_ref->* TO <aot_tab>.
CREATE DATA l_str_ref LIKE LINE OF <aot_tab>.
ASSIGN l_str_ref->* TO <aot_str>.
ASSIGN l_str_ref->* TO <alert_str_uc> CASTING.
LOOP AT t_alerts INTO l_alert_str.
READ TABLE t_fieldcat WITH KEY aot = l_alert_str-aot
INTO l_fieldcat_str.
CALL FUNCTION '/SAPAPO/ATAB_FIELDCAT_GET'
EXPORTING
aot = l_fieldcat_str-aot
mview = l_fieldcat_str-mview
IMPORTING
table_ref = l_table_ref
t_fieldcat = lvc_t_fcat.
ASSIGN l_alert_str TO <alert_str>.
*copy alert to aot-specific structure
MOVE <alert_str>-info TO <alert_str_uc>.
*Write this code inside the loop
ASSIGN COMPONENT 'DELIVERY_DATE' OF STRUCTURE <aot_str> TO <zat103>. "CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'STARTDAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'SL_MIN_DAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'SL_MAX_DAT' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'AVL_REQ_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'SHIP_MAX_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'GRAD_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
ASSIGN COMPONENT 'AVAIL_DATE' OF STRUCTURE <aot_str> TO <zat103> CASTING.
IF sy-subrc = 0.
CLEAR <zat103>.
*Fetch ur own custom value and move to the field symbol. This
*dynamically populates ur structure.
<zat103> = '22.11.1999'.
ENDIF.
MOVE <alert_str_uc> TO <alert_str>-info.
MODIFY t_alerts FROM l_alert_str INDEX sy-tabix.
CLEAR : <alert_str>, <alert_str_uc>.
ENDLOOP.
I have even tried Concatenating Values, with that method even though the NEW Values are available but they do not fall under the correct Column.
PLEASE help me out cos I am really Stuck.
Regards
Abhishek Sahi -
How to get value in custom field(Part OF BOL) in search result view.
Hi All,
I am new to CRM WEBUI and i am facing issue in populating value in one field of search result view.
Current requirement is .
On product f4 , we get search help and search result view.
one custom field need to be added in search result view ( for eg any description field).
This description field is already available in one of z relation maintained in PRODUCT root object.
Solution tried so Far:
1. We enhance one Standard Product structure and add that description field .
2. Add new field( description) in result view context node as attribute by using bol attribute.
3. Customize search result view and display that description field in result.
By doing above three steps, field is available in search result view.
but issue is we are not able to get values.
1st Approach: write code in getter and setter method . Pass the relation name and get the property of description field
in setter method, set the property.
Issue : we were not able to sort the values on this description field. so scrap this 1st approach
2nd Approach: In Event EH_Onsearch Help, we try to use collection wrapper to get current value of description
by using relation name .
We use component controller to set the value of description since searchresult view-conext node->result node is bound to one comp controller node.
but this solution also does not work..
Please advice us what approach we should use to get value in description field and sorting should also work.
Thanks in Advance.Hi Girish,
1. We enhance one Standard Product structure and add that description field .
2. Add new field( description) in result view context node as attribute by using bol attribute.
3. Customize search result view and display that description field in result.
By doing above three steps, field is available in search result view.
but issue is we are not able to get values.
1st Approach: write code in getter and setter method . Pass the relation name and get the property of description field and by using this approach we are able to get value but sorting was not working so we disable the sorting as it was not required by business.
if u need sorting on that field.
then u should go for value node approach and write code for getting value in get set method
and for sorting also , need to write code.
This is my understanding on this .
Please reward if this solution is helpful -
How long does it take for the custom field created in SFDC to show up in the field mapping list? I hit the refresh field button, but it is not showing up after 5 min. Do I just need to have patience?
Hi,
What do you have to do to the field in SFDC to make it accessible so that it shows up in the Eloqua field mapping area as a field to be mapped? -
SDK: adding new value in custom fields
Hello,
I wanted to add new value in custom field of the resource table... I used this code (taken from SDK example) :
//Create and fill request for CustomData Service
SaveCustomDataRequest request = new SaveCustomDataRequest();
List<CustomValue> customData = new ArrayList<CustomValue>();
CustomValue attribute = new CustomValue();
//Field name
attribute.setName("NOTIFICATION_NUMBER");
//value received from ERP
attribute.setValue(notification);
customData.add(attribute);
request.setCustomData(customData);
//table name
request.setObjectAlias("RESRCE");
request.setRef(handle);
customDataService.saveCustomData(request);
But get a validation error, complaining about no ModifiedDateTime providen... How can I initialize this date or avoid the validation ?
I also tried using the ResourceDOService, using the setCustomData method, but same error...
ThanksI'm using ME 5.2.2.2, sdk 5.0.1.8, for the moment locally on my laptop for development.
There is no stack trace, I can just see the error when debugging :
com.sap.me.frame.domain.RequiredValueValidationException: class com.sap.me.domain.model.CustomFieldDOmodifiedDateTime
The resource exist, I do a read request before to check if the custom field has value or not. Anyway, it's a collaboration plug-in, executed when we change the resource status, so I got the resource handle as input ;o)
I can confirm there are some resource with custom value in other fields with date = null. It occurs when I'm saving the data in the GUI (so entering data's manually in custom field, do a save => fields are not initialized)
Regards -
Show value in "customer" field of FAGLB03
Hi Experts,
we have a requirement to Show value in "customer" field of FAGLB03 for all sales related transactions.
Your support is appreciated.
Thankssolution has been implemented using badi FAGL_ITEMS_CH_DATA
-
How to enter values in the fields of standard SAP Infotype e.g. IT0024
Hi,
How to enter values in the fields of standard SAP Infotype?
e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
1-Level 1
2-Level 2
3-Level 3
4-Level 4
5-Level 5
Thanks,
AmeetHi Divya,
I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
Please help me out. I think I am almost there.
Thanks,
Ameet -
How do I install my custom, self-created graphic Persona / Theme that I use on my XP computers on my Windows 7 Firefox? (Firefox 17.0.1 Windows 7 64bit Home Edition? (There is, as far as I can tell, no "little fox" icon visible in the lower left!) I am using a downloaded "Persona", or "Theme" ((I sure wish you people would not change important terminology at the drop of a hat!)) and it is working fine.....
You will have to install the Persona Plus extension to easily install a persona via its files instead of via internet.
* Personas Plus: https://addons.mozilla.org/firefox/addon/personas-plus/ -
Reusing fields created via EEWB
Hello,
I have a new field , on the Opportunity Header, created via EEWB ( we were on CRM 2007 when this was done) and I would like to re-use this field for display in a follow up Sales Contract created from the Opportunity. It looks as though I can create a new Model Attribute on the Context Node BTADMINH for component BT121H_SLSC, view BT121H_SLSC/Details and enter the BOLATTRIBUTE , through the relationship path BtAdminH-->BTHeaderopportunityext-->BTOpportH-->Attributes and this field can be selected, but I was wondering if there is another way to achieve this via the AET tool, it looks as though fields create via EEWB cannot be edited in AET
Regards
ChanI agree on the option to enhance a "higher" segment and populate the value during the copy control (ORDERADM_H) is a better solution, but only if you can get rid off the field in the OPPORTUNITY_H (I assume the custom field is there) otherwise you will have the field duplicated, not nice IMHO
I don't see a bad approach to enhance the webui with a value attribute to populate the value of the previous transaction either.
About coding, I'm afraid I can't help it here, I mean, sure I can copy paste the code but I believe in:
"Give a man a fish, and you feed him for a day; show him how to catch fish, and you feed him for a lifetime"
I can't teach you about BOL, but SCN is full of posts/blogs/documents which can teach/guide you "how to fish", come back to me when you have a more philosophical question and I will be more than happy to help you (or at least try to)
Cheers!
Luis -
Enable a field created by EEWB
Hi Experts,
Can you please help me on how to enable/disable a field created by EEWB transaction. We have done an enhancement to the BP master date through EEWB, and we need enable some of these fields. Kindly help on this.
Regards,
BasheerHi,
My understanding is, you have created a field by EEWB and trying to enable that field in UI. If I am not wrong, you can add the created field from available fields to displayed fields with the help of the Tcode: BSP_WD_CMPWB.
Steps to be followed:
1. Tcode: BSP_WD_CMPWB
2. Enter the Component ID
3. Go to Views and select the relevant view in which you have created the field by EEWB
4. Click on Configuration tab
4. Click on Copy the configuration ( do not make any changes in standard one)
5. Click on Edit
6. Click on show available fields
7. Move the created field from Available fields to Displayed fields and Save.
Hope it helps you.
Regards,
Maddy -
How to delete a custom field created in Address Book template?
It is possible to create a new custom field name in any of the pop-up field categories in the preferences template for Address Book.
But, once created, there does not seem to be a way to delete or edit the newly created custom field name. That doesn't make sense.
Tell me that I am wrong, and then tell me how to delete or edit a custom field name. Thanks!!Thanks Pascal, I can change the viewed template field areas as you have described. My problem was with modification of the pop-up list entries: adding, deleting, and renaming user created custom field entries. I have since figured out how Address Book allows these functions; unfortunately, that specific information is not present in the Address Book help file.
-
How to get content of custom fields that were created via the EEWB for CIC?
Hi
Can anyone tell me how to get the content of custom fields that were created via the EEWB for CIC? This is required at a time when the data has not been written to the database.
I would like to know how to read this data in the CRM_APPOINTMENT_MERGE method of CRM_APPOINTMENT_BADI.
ThanksHi Michael,
I have a requirement to replicate custom setype data created for CRM sales order to R/3 sales order.These fields have been created at item level.
Do you know the set of steps to achieve the same.
Any help would be appreciated.
Thanks,
Chamu -
How to capture changes of custom field value
Hi
I am the project server 2010 administrator. i have 2 columns below
1. task finish date
2. myfield (task level custom field)
when ever user made changes in task finish date then "myfield" task level custom field should capture the old values
Is this possible in PSI or Event handler or MacrosYou would need to create an event handler.
http://msdn.microsoft.com/en-us/library/office/gg615466(v=office.14).aspx
kashif
Maybe you are looking for
-
How do you setup an Airport Express to only stream music???
+I have a Time Capsule setup as my base for the internet access, followed by an airport express for wireless usb devices and for my stereo. I have a second airport express to which I want to setup for streaming music only. When I leave my home and go
-
Upload any XML file to internal table
Hi, I'm writing a FM to upload any XML file (Which means I don't know the structure) to a internal table. I tried to use FM 'GUI_UPLOAD' and CALL TRANSFORMATION ('ID'). But the problem is that, the RESULT tab of CALL TRANSFORMATION ('ID') needs to de
-
Oas4.0.8.2
where can download OAS 4.0.8.2 from?
-
I have 2gb of other data on my iPad how do I find out what it is
I have 2gb of other data on my iPad which I want to remove I've cleared out as much if the photos, videos and books I want to remove as well as the apps and music(no music at all). But this other section is proving impossible to see even when I go in
-
I have been looking around for this item. I am looking to upgrade my X-Fi XtremeMusic card. Where can I get it's Thanks