cancel
Showing results for 
Search instead for 
Did you mean: 

how to bind an InputField to a DDIC structure

Former Member
0 Kudos

I need to link an InputField view element to a search help (H_T158B). The search help requires two input parameters of the following types: BWART and TCODE.

One parameter (type BWART) needs to be linked to the InputField, the other one will be hardcoded to a specific value.

SAP told me I need to create a DDIC structure with two fields (BWART and TCODE) and bind the DDIC structure to the InputField.

as per the link below

http://help.sap.com/saphelp_nw04s/helpdata/en/de/408e41392fb85fe10000000a1550b0/frameset.htm

there should be a button "DDIC binding to" but I do not see this button in my context binding screen.

how can I map my InputField to a DDIC structure?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Go to conext node ,there must be an element related to your seach input field.There is a input value mode assign directory search help and in name field give name of the input help.

Nirad

Former Member
0 Kudos

Nitad, the method you describe passes only the UI field value to the search help. However I need to pass two parameters to the search help (the input field and the TCODE), hence the requirement to bind the InputField to a DDIC structure.

Former Member
0 Kudos

Hi,

You cannot bind the input field to the DDIC structure. You need to create your context node of the type DDIC structure. Then create two input fields and bind each to one attribute in your context. In your structure definition in se11, specify the name of the search help and entry help for the field. In the context node, specify the input help mode as 'Dictionary search help'. So the search help will show up in your view.

Hope this is what you are looking for.

Regards

Nithya