Application Development and Automation 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: 
Read only

Hello Experts

Former Member
0 Likes
851

Sir I am newly on module pool so kindly help me to solve this issue..

while selecting a value from dropdown list in module pool , it gets blank and again i have to select dropdown value ..plz tell me the description why it going to happen and guide to persist dropdown value.

please find the issue...in attach documnet capture 1 and capture 2.

Thanks

Shivansh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
823

dude i have an issue , when i am filling value from dropdown list in module pool and performing some action , at that time that dropdown value was lost and it become blank.

6 REPLIES 6
Read only

bastinvinoth
Contributor
0 Likes
823

Hi  Former Member

in PBO, use the FM VRM_SET_VALUES for getting the drop down.

also in the layout set the property of the field to drop down with key.

CALL FUNCTION 'VRM_SET_VALUES'

    EXPORTING

      id              =    fname                -> field for which u want drop down

      values     =    itab[]                   -> values that u need to display in the dropdown

    EXCEPTIONS

      id_illegal_name = 1

      OTHERS          = 2.

  IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

  ENDIF.

Check this link for your reference.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm

Regards,

Bastin,G

Read only

0 Likes
823

This message was moderated.

Read only

Former Member
0 Likes
823

Hello Shivansh,

Try using FM VRM_SET_VALUES , for populating values in drop down and code accordingly. PFB some links which might be helpful.

https://scn.sap.com/thread/1108537

http://scn.sap.com/thread/1281534

Thanks!.

Read only

Former Member
0 Likes
824

dude i have an issue , when i am filling value from dropdown list in module pool and performing some action , at that time that dropdown value was lost and it become blank.

Read only

0 Likes
823

Former Member

so you are clearing values i think , check the clear statement is there or not for that drop down list values.

Regards,

Bastin.G

Read only

Former Member
0 Likes
823

thanks Vinoth ,

   but there is no clear statement.

    now what to do.