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: 

Re: How to main value in dropdown button

Former Member
0 Kudos

Hi Expert,

I have added two custom field in me23n and i have included in se11 also those field are zzaccept and zzuser i have added in the layout editor also

my requirement is for field zzaccept i have created one dropdown in layout editor i have to maintain two value in layout editor i.e Accept or Reject

How to maintain this two value in layout editor.

Can any one throw some light.

Regards,

Addu

8 REPLIES 8

Former Member
0 Kudos

Hi,

What about fm VRM_SET_VALUES?

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

Cheers,

Manu.

0 Kudos

Hi Manu,

Please cau eloborate what i have to do as my requirement is for field zzacept i have created dropdowm option i want to add ACCEPT or REJECT in the drop down hot to add this in my dropdown.

Regards,

Addu

0 Kudos

You just need to follow some threads that already describe this...

Especially: how to use dropdown list in module pool

Try and get back if still stucked.

You should have something like:

TYPE-POOLS : VRM

DATA : field_id TYPE VRM_ID ,

            values  TYPE VRM_VALUES,

             value   LIKE LINE OF values.

* In screen flow:

PROCESS BEFORE OUTPUT

  MODULE list_fill_100

* in PBO module:

MODULE list_fill_100 OUTPUT

value-KEY = 'A'.

value-TEXT = 'Accept'.

APPEND value TO VALUES.

value-KEY = 'R'.

value-TEXT = 'Reject'.

APPEND value TO VALUES.

CALL FUNCTION 'VRM_SET_VALUES'

       EXPORTING

            id     = 'ZZACCEPT'

            values = values.

ENDMODULE.

Cheers,

Manu.

0 Kudos

Hi Manu,

Thank u very much for your support Both Accept and Reject are comming.But in me23n tcode

when i am trying to save that value it is not saving the value i.e accept or reject.

Regards,

Addu

0 Kudos

Hi,

me23n is only for display purpose. I dont think you can save data in this transaction. Do you want to save in me23n only?

Regards,

Sindhu Pulluru.

Clemenss
Active Contributor
0 Kudos

Hi md Addu,

maintain as fixed values in underlying domain.

Regards Clemens

Former Member
0 Kudos

Hi md Addu,

You can use the FM " VRM_SET_VALUES ".

Regards,
Swarnadeepta .

Former Member
0 Kudos

Hi MdAddu,

you need to maintain the fixed values for the field, do it through the domain level for your NEW added fields.

Fixed values : A - accept

                     R - Reject.

Thanks

Sachin