‎2007 Jan 25 10:20 AM
Hi all,
i use this function for F4 to field lfa1-lifnr in a report.
i wanted to know if there is a way that i can put to 'Account group'
code '4100'. i mean everytime that the user will click on f4 in this report, on this field, the 'Account group' will be fill by '4100'.
is anyone know if this is possible?
thanks,
dana.
‎2007 Jan 25 11:08 AM
Hi,
maybe i didnt explain my self very well.
i have a program that a part of it is search lfa1-lifnr. to have this search i use function 'DD_SHLP_CALL_FROM_DYNP'.
the problem is that every time that the user want to search from this fileld,
he should put in field 'Account group' the number 4100.
my question is: is it possible to tell this function to put this number on field
'Account group' - in my program when the user want to do a search?
thanks,
dana
‎2007 Jan 25 11:16 AM
Hi Dana ,
I am not sure whether it will work , but could you try to populat the table DYNPSELECT with the value u want to be defaulted and then call the FM.
Regards
Arun
‎2007 Jan 25 11:49 AM
I think you can use DYNP_VALUES_UPDATE in AT SELECTION...event for this field and there you can fill-up table with values.
‎2007 Jan 25 12:48 PM
Sanjay, i didnt understand your answer, can you pls tell me more details?
thank you,
dana.
‎2007 Jan 29 9:06 AM
You can SELECT records from LFA1 based on your Account group and then fill internal table. This way you can display only those Vendors which are for particular account group. Here, i dont know whether you can still display your search help but you can restrict vendors for particular group.
Please search this forum for examples of using DYNP_VALUES_UPDATE.