Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

in P001 Enhancement i need to add a Dropdownlist and store its value in DB

Former Member
0 Kudos
120

I added that Dropdownlist and added the Fcode to it too and wrote my code inside user command but it never saves the selected value in db table...

in debugging also the field is showin blank value...

so help in getting this value.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
78

its solved by assigning Fcode to the DDL and using USER_COMMAND module. inside the module checking for sy-ucomm and not clearing the variable.

3 REPLIES 3

former_member188827
Active Contributor
0 Kudos
78

Please make sure that you have declared the input field in CHAIN statement in PAI,like:

PROCESS AFTER INPUT.

*   This chain has to include all input-fields:

   CHAIN.

     FIELD P0001-ZZFIELD.

     MODULE INPUT_STATUS_SUBSCREEN ON CHAIN-REQUEST.

   ENDCHAIN.

Regards

former_member215344
Contributor
0 Kudos
78

Hi Rajat,

You don't have to write any separate code to save the custom fields. I hope you have enhanced the standard structure by creating the Customer Include.

Can you please paste the source code which you have used ?

Thanks,

Ajay Bose

Former Member
0 Kudos
79

its solved by assigning Fcode to the DDL and using USER_COMMAND module. inside the module checking for sy-ucomm and not clearing the variable.