cancel
Showing results for 
Search instead for 
Did you mean: 

Drop down values in ISR

Former Member
0 Kudos

I have read a couple pf threadds which talked about this... but i did not find any that solved my problem, hence posting thsi query ...

I have created a New ISR .

I have two fields OLD Position PLANS_OLD_TEXT

New position PLANS_NEW_TEXT

I have the following code in the INT_SERVICE_REQUEST_INIT method of QISR implementation for this Scenario

w_lines = 1.

ls_additional_data-fieldindex = w_lines.

ls_additional_data-fieldname ='PLANS_NEW_TEXT'.

ls_additional_data-fieldvalue = 'New Pos Title 3'.

append ls_additional_data to additional_data.

ls_additional_data-fieldindex = w_lines.

ls_additional_data-fieldname ='PLANS_NEW_TEXT'.

ls_additional_data-fieldvalue = 'New Pos Title 3'.

append ls_additional_data to additional_data.

w_lines = w_lines + 1.

ls_additional_data-fieldindex = w_lines.

ls_additional_data-fieldname = 'PLANS_NEW_TEXT'.

ls_additional_data-fieldvalue = 'HR co ordinator 3'.

append ls_additional_data to additional_data.

In the binding tab of the object pallatte i have mentioned $record.PLANS_NEW_TEXT.DATA[*].FIELD as the defautl binding.

Is there anything else that needs to be done to get this F4 drop down help.

I seem to be missing something simple which i am noto abel to get an idea of .. any help

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Gogol,

Just check whether you have defined KEY and VALUE attribute of the 'PLANS_NEW_TEXT' characteristics in QISRSCENARIO transaction.

If yes, then modify your code:

w_lines = 1.

ls_additional_data-fieldindex = w_lines.

ls_additional_data-fieldname ='PLANS_NEW_VALUE'.

ls_additional_data-fieldvalue = 'New Pos Title 3'.

append ls_additional_data to additional_data.

ls_additional_data-fieldindex = w_lines.

ls_additional_data-fieldname ='PLANS_NEW_KEY'.

ls_additional_data-fieldvalue = w_lines.

append ls_additional_data to additional_data.

w_lines = w_lines + 1.

ls_additional_data-fieldindex = w_lines.

ls_additional_data-fieldname ='PLANS_NEW_VALUE'.

ls_additional_data-fieldvalue = 'New Pos Title 3'.

append ls_additional_data to additional_data.

ls_additional_data-fieldindex = w_lines.

ls_additional_data-fieldname ='PLANS_NEW_KEY'.

ls_additional_data-fieldvalue =w_lines.

append ls_additional_data to additional_data.

Hope this helps,

Amit

Former Member
0 Kudos

Write the code in the method SCENARIO_SET_ADDITIONAL_VALUES

of BADI QISR1.

Also check the dynamic binding part in the form if this doesnt work.

Revert if required.

Former Member
0 Kudos

Take a look at this thread [;