02-19-2015 1:13 PM
How to enhance the function module SD_F4_EXTENDED add new custom fields to it, as implicit enhancements are not feasible to add new field to the search help screen resulting from SD_F4_EXTENDED(Used - search help shipment number in VT02n).
02-19-2015 3:36 PM
If you are planning to call this FM in your custom program or enhancements, then it's better you copy the FM and add the fields.. and call the Z FM in your program.
02-20-2015 6:19 AM
Function module SD_F4_EXTENDED is used to get search help for shipment number in VT02n by sap not in any custom program or enhancement.We can not replace this standard FM by cuatom FM , we need to enhance the FM but no idea about how do it or possible options.
02-20-2015 7:05 AM
Hi Shri,
Where do u want to add new fields? In 'Find Shipment' screen?
Regards
Sreekanth
02-20-2015 7:25 AM
Hi sreekanth,
Yes in the Find shipment screen ,if possible under general shipment tab else anywhere in the screen also fine.
Thanks
02-20-2015 7:39 AM
02-23-2015 4:32 AM
Hi, thanks a lot.
adding new field is working but unable to add selection text to it ? if you have any idea how to add selection text ,for ex: so_text in your screens
02-23-2015 4:44 AM
Hi
1. You can use the FM SELECTION_TEXTS_MODIFY' in the INITIALISATION event in the main Program.You have to create another implicit enhancement. Debug the program and locate a spot.Refer to Thread
http://scn.sap.com/thread/1750557
2. Second option is using AT SELECTION-SCREEN OUTPUT event (Recommended)
Also, refer to SAP Notes 336765 and 1303261.
Regards
Sandy
02-23-2015 7:40 AM
Hi,
There is no proper spot to use any of the events(at selection screen output or initialization) in the program and also FM:SD_F4_EXTENDED is using call selection screen to call the screen.
i. FM SELECTION_TEXTS_MODIFY is useful if we can use initialization event
ii. Loop at screen is useful if we can use AT SELECTION SCREEN OUTPUT
ii. SELECTION SCREEN COMMENT also requires text elements.
Is there any way to update the screen names after CALL SELECTION SCREEN or is there any way to enhance selection texts(Go to --> Selection texts) as it is asking for access key?
Regards,
Shrinivas