‎2010 Mar 18 7:04 AM
Hi all,
I have purchasing doc.type(BSART) and Purchase order no(EBELN) in selection screen.When F4 is selected on EBELN I want to give only the list of PO.s which will come under type given in 1st parameter .I know that I can do it using AT SELECTION-SCREEN ON VALUE REQUEST FOR EBELN event. But I would like to get it using search helps only.
I refered H_ T001L and H_T001W search helps as reference but couldn't.
I created a search help for BSART :ZSHLP_BSART(Elementary search help),
[ Importing and exporting parameter is BSART]
another search help for EBELN :ZSHLP_EBELN(Elementary)(Search help exit: F4UT_OPTIMIZE_COLWIDTH)
[Importing and exporting parameters are :BSART,EBELN]
:ZCSHLP_EBELN(Collective)(Search help exit:F4UT_SET_DIALOGTYPE_SHLP_EXIT)
[Importing and exporting parameters are :BSART,EBELN]
And I have included ZSHLP_EBELN in ZCSHLP_EBELN.
But I didn't get the required feature.
Could you guide where I made mistake?
Thank you.
‎2010 Mar 18 9:59 AM
Hi all,
When I debug the function module F4UT_SET_DIALOGTYPE_SHLP_EXIT while selecting F4 for field EBELN, I am not getting any records in table SHLP_TAB-INTERFACE .But when I see the same Func.module in debug mode pressing F4 for LGORT field, I am getting one record for WERKS field and the value of plant I selected in selection screen in that table,so I think it's fetching only storage locations related to that particular plant. Could you suggest what settings I need to maintain in my search helps to get BSART as interface for EBELN parameter in that internal table.
Thank you.
‎2010 Mar 18 3:06 PM
Hi Jaya,
I don't need to create a dictionary search help for the purpose of building a dependent search help.
Why don't you use F4IF_INT_TABLE_VALUE_REQUEST to create a chain value help.
Refer to this link below which has code snippet of a sample application with chain dropdown.
[Creating F4 help for a field based on another field|http://www.divulgesap.com/blog.php?p=Njk=]
Hope it is helpful.
Cheers,
Ravi
‎2010 Mar 19 4:39 AM
Hi Ravi,
I already used this F.module in some cases and I got the required F4 help features. But, my concern is, I can reuse these search helps in any no. of reports if I get it through search help objects. So, I am trying to find out where was the mistake I made when it's working fine in case of Plant and storage location search helps created by SAP.
Thank you.
Edited by: Jaya on Mar 19, 2010 5:39 AM
Edited by: Jaya on Mar 19, 2010 5:42 AM