cancel
Showing results for 
Search instead for 
Did you mean: 

Up Dating selected pulldown list values

Former Member
0 Kudos

Hi

I have created a copy of the internal transfer PCR. I have added a new pull down list for Pay Band along with a text field. I have added the selection field and an Overlay field as per the normal pulldowns. I have coded the BADI and the list is displayed and a value can be selected. All seems OK until

When the PCR is saved and the data in the notification is checked the New value of Pay band is there but not the new text. I would expect that I have to code this update of the text field. I have checked the call to all the methods of the BADI and none seem to get called for my pulldown.

I have added the code to raise an event using the same code as per the PERSK pulldown field. When i use the same code the form is refreshed but if i change the event name to something else the form is not refreshed. I would have expected that the method Process user command would have been called but this does not seem to be happening.

How do you check that a value in a pulldown as changed so that text fields can be updated

Trev B

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think you can use the USER_COMMAND method itself for your case. Please put a condition if USER_COMMAND = 'SEND' or USER_COMMAND = 'APPROVE' or USER_COMMAND = 'REJECT' what sover action that executes before submission, then get the value of Pay Band from SPECIAL DATA Internal Table and select the Text value from ECC based on the this Pay Band and set this characteristic text value back into the SPECIAL DATA Internal table.

I hope this will help you.

Regards,

<i><b>Raja Sekhar</b></i>