F4 help for a customer defined field added as structure enhancement
I am trying to get the F4 help on a customer defined field added as structure enhancement. This can be achieved by programming the "F4IF_INT_TABLE_VALUE_REQUEST" (as I have data in an internal table) in the Process On Value-Request event. The problem is because it is a customer field addition as structure enhancement. I am not sure where I should put this code segment to make it work. Any help would be highly appreciated.
Could you create a search help and attach that to the data element of your field, and then populate the data using code in the function exit of your search help if it cannot be directly read from a table or view?
This would remove your code from the SAP dialog program. The only mod you may need to make is to add / flag the search help on the screen field.
Andrew
Similar Messages
-
SRM Portal - Search help for a custom field
Hi,
I have added a custom field to the SRM Portal (5.0) shopping cart, by adding the field to structures INCL_EEW_PD_ITEM_CSF INCL_EEW_PD_ITEM_CSF_SC.
However, I need to filter the search help for that custom field, based on values & relationships stored in a Z table.
Is this possible? How? Please help.
Thank You.Currently, my idea would be to create a search help for the custom field & filter the values in a search help exit. However, would I be able to get other field values (standard) from SRM into my search help exit?
-
Search Help for Infotype Custom Field
Hi,
I have created a search help for a custom field in an infotype. What would be the best way of filtering the help selection based on infotype values such as molga, begda, endda?
Thanks in advance.
/ElvezHi Nishanth,
thanks for your reply, perhaps I should clarify my question:
1) I have a custom field in an infotype
2) I have a table containing the search help information
3) I assigned a search help to the custom field
4) I have activated a search help exit
The problem is that the information that I get from the custom field is not sufficient for making the selection. Therefore, I would like to somehow get hold of the addition information, such as BEGDA, ENNDA, MOLGA, to do a proper selection in the search help exit. How can I achieve that?
I read something about function module DYNP_VALUES_READ -would it be possible to call this function module from my search help exit and thereby reach my goal?
/Elvez
Message was edited by: Elvez -
How to add F4 help for the custom field of a custom table
Hi All,
How to add F4 help to the custom table field? in the table maintainance when user clicks on F4 i want to provide possible values for this field I am trying to write the code in the screen of table maintainace like the following
PROCESS ON VALUE-REQUEST.
FIELD ZTEST_MAH_F4-KUNNR MODULE zVALUE_kunnr .
But when i am double clicking on module it's giving options to create include program but after that it's giving user is currently editing the table i am not getting this can some body clarify my doubt it's gr8 if some body give some examp code
Thanks&Regards
maheshHi,
Create a subroutine under the event and call the following FM
1. Select all the related data into an itab, for ex i_kunnr
2. CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = 'KUNNR'
PVALKEY = ' '
dynpprog = sy-repid
dynpnr = '1000'
dynprofield = <selection screen field>
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
value_org = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
value_tab = <b>i_kunnr</b>
FIELD_TAB =
return_tab = < return table >
DYNPFLD_MAPPING =
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3 -
BSP: F4 Help For a custom field...
Hi All,
I need to display search help for a custom field in one of my custom view.
Search Help for the custom field is already implemented.. but how can i use it in BSP View!.
In the standard CRM_IC application i couldn't find any similar search help scenario, coz it is calling some standard methods like ShowF4KeyAndValueHelp3,
ICWCShowF4HelpExtern by passing the structure and field name!.
I think these standard methods will work only with the fields which have value help table at the data element level. As the custom field that i m using does not have any value help i cant go for this method i guess!.
Any Help/Hint?..
Thank You,
sudeep v d.Hello Sudeep,
Here are some more helpful links .Please refer them .
Re: Inputfield value for a tableView from a help window
/people/thomas.jung3/blog/2005/08/22/bsp-value-input-help-popups-version-30
F4 help using javascript
Please let me know the feedback.
Warm Regards,
Rakesh Kumar Verma -
Custom Defined Fields Not Flowing to SUS
Hi,
Ours is MM-XI-SUS scenario.All the custom defined fields are flowing from MM to XI.But not from XI to SUS.
We have done SPROXY also in SUS.
Is there any mapping between XI -SUS which needs to be done?
Please advise.
Regards,
ManuHi,
For User-defined fields in SUS
Please refer to these SAP OSS notes ->
Note 762984 - SRM40-SUS: Implementation of customer enhancement fields
Note 458591 - User-defined fields: Preparation and use
Note 672960 - User-defined fields 2
Note 1035416 - Customer fields are not displayed in change mode
Note 822424 - CUF. Customer fields cannot be changed in the bid
Note 809630 - Customer field in bid invitation and bid - How does it work?
Note 809628 - Table like customer fields from bid invitation in bid
Note 798731 - Bid: Bid Inv. Customer fields not visible
Please refer to these links for details ->
Re: How to change the field name in SUS
SUS Web Template Query
Re: SC header CUF ?
Re: MAP USer SRM defined fields in backend for PO
Re: HI SRM experts...
Custom fields to a Bid Invitation
Addition of custom fields in Contract and mapping it with the fields in SRM
urgent help request - How to add custom fields to header BID.
Re: Add custom fields to Contract Transaction in SRM 4.0
Custom Fields
custom fields in Carry out sourcing screen..
Custom Fields Not Display In Basic Data In SRM 5.5 Server..
SC : Extended Search on Header Customer field
Re: customer field in 3rd step of shopping cart
Adding fields in shopping cart
Custom Field in the header of Shopping Cart
BR,
Disha.
Pls reward points for useful answers. -
Calendar help for Date i/p field
Hi All,
I am working on SRM 4.0..I have a query regarding the addition of calendar help for an input date field....
Has anyone tried to add calendar help for an input date field in the ITS service??What all additions have to be done for this(style,images etc)...Does any one has any idea?Please help.
Thanks & Regards,
Disha.Vijith Kumar,
I also have a requirement to add custom field in SRM shopping cart screen, with calendar as an input help. Can you please pass me the relevant code, for adding this field into HTML template
My email id is [email protected]
Thanx,
K rav. -
Calendar help for Date i/p field in SRM 5.0 shopping cart
Hi All,
I am working on SRM 5.0..I have a requirement for the addition of custom field ie. lease termination date field on SRM shopping cart screen and having a calendar help for this date input field.
Has anyone tried to add calendar help for an input date field in the ITS service??What all additions have to be done for this(style,images etc)...Does any one has any idea?Please help.
Thanks & Regards,
K rav.Disha can you please send me these images.
IMAGES/CALENDAR/ICO12_CALENDAR.GIF
IMAGES/CALENDAR/LEFT1.GIF
IMAGES/CALENDAR/LEFT2.GIF
IMAGES/CALENDAR/RIGHT1.GIF
IMAGES/CALENDAR/RIGHT2.GIF
my email id: [email protected]
and should i store these images in mime repository? Also I have the below code to be attached in template for calendar function give by Zakhar..do you know where exactly in the template do you insert this code? and do you insert it in the standard template itself. My field will appear in shopping cart line item level (CUF field) so what will be the template number??
<input type=text
id="`ZAPPSSPR_INCL_ITEM_CSF_AVL-ZZSPR_DKK_DATE.name`"
name="`ZAPPSSPR_INCL_ITEM_CSF_AVL-ZZSPR_DKK_DATE.name`"
value="`ZAPPSSPR_INCL_ITEM_CSF_AVL-ZZSPR_DKK_DATE.value`"
onBlur="BBP_ITS_EXTW_CloseCalendar()" maxlength="10" size="10">
<a id="a_ZAPPSSPR_INCL_ITEM_CSF_AVL-ZZSPR_DKK_DATE" name="a_ZAPPSSPR_INCL_ITEM_CSF_AVL-ZZSPR_DKK_DATE"
href="javascript:BBP_ITS_EXTW_OpenCalendarDomRel(window.document.BBPForm.elements['`<b>zappsspr_incl_item_csf_avl-zzspr_dkk_date.name</b>`'], 'a_ZAPPSSPR_INCL_ITEM_CSF_AVL-ZZSPR_DKK_DATE')">
<img src="/sap/public/bc/its/mimes/bbpglobal/99/images/calendar/ico12_calendar.gif" border="0"></a>
Thanks,
Krupa -
Can we create serach help for a selection screen field
Can we create serach help for a selection screen field with out creating searchhelp object.
I mean is it possible to create serchelp in the program itself with some specific values i want to give.
E.g say we can define any internal table and fill it with values and using that into selection screen fields
Regards
MaveAT SELECTION-SCREEN ON VALUE-REQUEST FOR paymeth.
PERFORM PAYMENT_HELP.
FORM PAYMENT_HELP.
DATA: begin of DESCR_TAB occurs 0,
DESCR LIKE BKPF-BKTXT,
END OF DESCR_TAB.
DATA: gd_repid like sy-repid.
gd_repid = sy-repid.
DESCR_TAB-DESCR = 'aaaaa'.
append DESCR_TAB.
DESCR_TAB-DESCR = 'bbbbb'.
append DESCR_TAB.
DESCR_TAB-DESCR = 'ccccc'.
append DESCR_TAB.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'DESCR'
DYNPPROG = gd_repid
DYNPNR = '1000'
DYNPROFIELD = 'paymeth'
VALUE_ORG = 'S'
DISPLAY = ' '
TABLES
value_tab = DESCR_TAB.
endform.
Svetlin -
To implement search help for date and time fields details
how can i implement search help for date and time fields in screen painter
Hi
Declare the variables as sy-datum and sy-uzeit or any other pre-defined data typ of date and ime types. Serach help will automatically comes.
Aditya -
Is there a BADI to call custom defined fields in Project Systems (PS)
Hi,
Is there a BADI to call custom defined fields in Project Systems (PS)
The business process is as under:
SRM MDM product catalog is called from PS applcation in ECC using transaction code CJ20N.
Standard fields like description, qty, price etc are displayed and transfered to the PS application.
The requirement is in addition to above mentioned fields, need to display
custom defined (CUST_FIELD1 to CUST_FIELD5) fields and subsequently to be transfered to the PS application.
Pls provide help or inputs.
Thanks,Hi,
There is customizing in the PS side. PS -> Material-? *(OCI) -> Convert HTML to SAP Fields
Regards,
Masa -
Management of Internal controls- Customer Defined fields
Hi,
I am facing problem in SAP ECC 6.0 upgradation, as in Management of Internal controls- Customer Defined fields, kindly let me know for configuraton of the same.
ShaileshYou need to study the PCUI (People Centric User Interface).
MIC software use this engine to control the web interface.
Very complete guide:
https://websmp209.sap-ag.de/~sapidb/011000358700001093962006E/PCUIBook50_06.pdf
a quick intro by weblog:
/people/vijaya.kumar/blog/2005/06/10/people-centric-user-interface-pcui--getting-started
Regards,
Sergio -
F4 Help for the selection screen field
Hi Gurus,
I have to display F4 help for a selection screen field. i am using following code:
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CODE'
dynpprog = lw_repid
dynpnr = sy-dynnr
VALUE_ORG = 'S'
TABLES
value_tab = gi_text
field_tab = li_fields_tab
return_tab = pi_return_tab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
My internal table gi_emp has two fields CODE & TEXT. When i select 1 particular value, it returns the CODE value in the pi_return_tab table.
But my requirement is i have to capture the corresponding TEXT value for the Returned CODE. Ex: following is the F4 help being displayed: -
001 test
001 test1
but is i select code 001(First Value), i also need to capture it's corresponding Text value. In return table pi_return_tab i have only Code value.
Please help me out.
Note: Based on return code i can't search into the internal table gi_code, because as shown in the example, code has multiple text.Sachin,
I think this is what you need. The following code will return the key and the text (OR any other columns), if both columns are in the selection screen the selected values (both columns) will also be passed to the corresponding parameters. If you only need the text to be in the return table and not passed to the selection screen then set the parameter for text with NO-DISPLAY option.
REPORT zktest01 .
DATA :
BEGIN OF value_tab OCCURS 0,
field LIKE e070-trkorr,
text LIKE e07t-as4text,
END OF value_tab.
DATA: t_fldtab LIKE dfies OCCURS 0 WITH HEADER LINE,
t_rettab LIKE ddshretval OCCURS 0 WITH HEADER LINE,
t_dynmap LIKE dselc OCCURS 0 WITH HEADER LINE.
PARAMETERS : p_field LIKE value_tab-field,
p_text LIKE value_tab-text. "NO-DISPLAY.
INITIALIZATION.
t_fldtab-tabname = 'VALUE_TAB'.
t_fldtab-fieldname = 'FIELD'.
t_fldtab-langu = 'E'.
t_fldtab-position = 1.
t_fldtab-offset = 0.
t_fldtab-fieldtext = 'Key'.
t_fldtab-reptext = 'Key'.
t_fldtab-leng = 20.
t_fldtab-intlen = 20.
t_fldtab-outputlen = 20.
t_fldtab-datatype = 'CHAR'.
t_fldtab-inttype = 'C'.
t_fldtab-headlen = 20.
t_fldtab-keyflag = 'X'.
t_fldtab-lowercase = ' '.
APPEND t_fldtab.
t_fldtab-tabname = 'VALUE_TAB'.
t_fldtab-fieldname = 'TEXT'.
t_fldtab-position = 2.
t_fldtab-offset = 20.
t_fldtab-fieldtext = 'Text'.
t_fldtab-reptext = 'Text'.
t_fldtab-leng = 60.
t_fldtab-intlen = 60.
t_fldtab-outputlen = 60.
t_fldtab-headlen = 60.
t_fldtab-keyflag = ' '.
t_fldtab-lowercase = ' '.
APPEND t_fldtab.
value_tab-field = '101'.
value_tab-text = 'dddd'.
APPEND value_tab.
value_tab-field = '202'.
value_tab-text = 'aaaa'.
APPEND value_tab.
t_dynmap-fldname = 'FIELD'.
t_dynmap-dyfldname = 'P_FIELD'.
APPEND t_dynmap.
t_dynmap-fldname = 'TEXT'.
t_dynmap-dyfldname = 'P_TEXT'.
APPEND t_dynmap.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_field.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'FIELD'
dynpprog = 'ZKTEST01'
dynpnr = '1000'
dynprofield = 'P_FIELD'
value_org = 'S'
TABLES
field_tab = t_fldtab
value_tab = value_tab
return_tab = t_rettab
dynpfld_mapping = t_dynmap
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc EQ 0.
ENDIF.
START-OF-SELECTION.
Jeffrey Satriadi -
Custom search help for a custom field in SRM 7
EDIT: I'm gonna clarify on this thread since my first post wasn't explicative enough... thanks for the patience
Hi all gurus,
the question is about a search help in SRM7 but since the task is about abap development, I guess this is the right section to ask for.
Shortly; every purchase doc in our SRM7 has a custom header table which contains data which are retrieved from the connected backends. In this custom table, the user has the opportunity to add manually a line, and for a specific input field in table, we have to define a search help which should retrieve the appropriate possible values w.r.t. the "target" backend for the document.
A bit of technical data: say the field is called ZZ_R3_ROLE; it's included in a custom structure ZR7_HEADER_CST_GEN which is itself an append for BBP_PDHCF.
I defined a Search Help for that field and the corresponding exit FM to manage our task.
Unfortunately, to retrieve the possible values for the specific backend I need some informations like:
- the backend on which the document will be distributed;
- the process type of the document.
This means that my search help should take into account additional informations that comes from the document I'm processing; I don't know what's the "clean" solution to do this.
I've seen on an old system (a SAP SRM 3.0) a workaround based on IMPORT/EXPORT ... TO MEMORY ID has been used. Actually, I'd like to find a more elegant solution, if any.
So... as you can see, I'm absolutely a newbie on the argument, but since I can trigger the search help only from a purchase document (PO, contract) process, I should need at least the GUID of the document to retrieve, for example, what's the target backend for that document in order to provide proper values.
Any hint/suggestion and in particular, a sketch of code as example is welcome.
Edited by: Matteo Montalto on Oct 22, 2010 3:01 PMHi,
into your modify view,
extract data you need in your search help in an itab (do it into a class do not perform select directly into modify view) and then bind it as value help to your WD element.
Regards,
Ivan -
Hi Experts
I have added few custom fields in custom includes (INCL_EEW* )
Those fields are like (LAND1, BLAND) from the T005S.
I have used the same Data element for these fields.
But I didnu2019t get any F4 help for these fields in the screen?
These fields having the Value table for these elements?
Do I need to do anything, to get the F4 help for these fields?
Can anybody suggest me?
Thank you,
BharathiHi Baarti,
Go through the following links,
F4 help and drop down menu to Customer fields in Manage business partner
Supplier Relationship Management (SAP SRM)
Re: F4 for customer table fields
Hope this helps.
Thanks,
Pradeep
Maybe you are looking for
-
How to index DancePack clips (or my own loops) into STPro?
How do I get STPro to index Dancepack clips (and my own clips) so that they show up in a search for clips? I put them in the clips in HD/Library/Audio/Apple Loops/Apple folder, along with the "Jam Pack World Music" which is indexed by STPro.
-
Export 5.1 for homecinema
after working my mixes in multitrack and working with surround encoder, i have exported as wma but it dosent work with my homecinema 5.1 what to do , thanx
-
Hi, I am wondering if anyone can help me with this problem as i am no good at printers. I have gone to print something of only for my printer to say it is offline- I have turned it on for my printers little '!' to start flashing orange, It has paper
-
I been losing signal on my iphone 4s in my house. i hade my phone since the i phone 4s came out and never hade these kind of issue until i got the ios 6.0.1, haven drop my phone either. can some one plz give me a soluton or step i can do to try to
-
Why iPhone & MacBook don't sync messages?
Why iPhone & MacBook don't sync messages?