cancel
Showing results for 
Search instead for 
Did you mean: 

Form UIBB: Check input values

Christian_Gaert
Participant
0 Kudos

Hi all,

I have a Form UIBB with a feeder class. I would like to check the values, that the user has entered. I figured out, how to send a message in method "PROCESS_EVENT" by filling table ET_MESSAGES and return EV_RESULT = 'FAILED'. But: How do I get at the values, the user entered into the form fields?

Thanks for any help in advance.

Best regards

Chris

Accepted Solutions (1)

Accepted Solutions (1)

AbhishekSharma
Active Contributor

Hi Christian,

If I understand your question then you want to get the field values which you have entered in FORM UIBB. If this is the case then for that you need to go into GET_DATA method of FORM UIBB.

Use FLUSH method to update global attribute first, you will get all data of form in

IT_CHANGE_LOGTYPE FPMGB_T_CHANGELOG

Field Changelog

There are two ways to use this data :

  • Then you will have one parameter CS_DATA, in this parameter set values from global variable.
  • Directly use that global parameter variable to save record in one of the following method.

After that If you want those values to be available in PROCESS_EVENT you can have one attribute of that form structure type and transfer data from CS_DATA to this new attribute. This attribute you can access in PROCESS_EVENT.

Find below screen shot.

Hope this will help.

Thanks-

Abhishek

Answers (2)

Answers (2)

Christian_Gaert
Participant
0 Kudos

Hey guys,

thanks for your help. I really appreciate it.

Best regards

Chris

nishantbansal91
Active Contributor
0 Kudos

Dear Christian,

Please check in flush method. There is one table it_Change_log.

Thanks

Nishant