on 07-05-2011 1:40 PM
Hi ,
I want to add a dropdown field in Ivoice Basic data screen.
I am planning to do it using SRM Extension framework.
SAP Implementation Guide --> SAP Supplier Relationship Management --> SRM Server --> Cross Application Basic Settings --> Extensions and Field Control (Personalization) --> Configure Field Control --> Configure Control for Fields on Header Level --> Metadata for Fields on Document Headers.
The field is added as an input field.
I want to show this field as a dropdown field and values of this dropdown field will be fetched from a custom table.
1) Where can i set this field type as Dropdown field?
2) Where can i write the code to fetch the dropdown values and populate in the Dropdown field?
Please share your thoughts.
Regards,
Ashish Shah
HI ,
In meta configuration you cannot define the define the field as a drop down.
After finishing your metaconfiguration for this field and again you have to handle in DOMODIFYVIEW badi.there dynamically
you have to create a Drop down UI element and attach to this field then it will become drop down and there only you can
assign the drop down values.
Regards,
Devi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi devi,
I was thinking of an option where i will attach a custom search help to the custom data element and the F4 value help will be shown to the user.
And in Doc Check badi , i will validate if the values entered by the user is picked from F4 help list only?
Do you think this solution will work ? ( Though it will not be a drop down in this case and it will be an input field with search help. )
Regards,
Ashish Shah
Hi Ashish,
It is upto the customer if they want F4 help you can make that but if it is drop down you have to implement domodifyview badi
for that component view then it will work.You should handle drop down UI element dynamically in ABAP webdynpro conponent.
below is my earlier comments.
In meta configuration you cannot define the define the field as a drop down.
After finishing your metaconfiguration for this field and again you have to handle in DOMODIFYVIEW badi.there dynamically
you have to create a Drop down UI element and attach to this field then it will become drop down and there only you can
assign the drop down values.
regards,
Devi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.