cancel
Showing results for 
Search instead for 
Did you mean: 

How To Create Drop Down List?

Former Member
0 Kudos

Hi All,

I Want to Create DropDown list For Company Code.

I Gave Control Property As 'DropDownList'

In Entry List, I Gave System Object And Bapi.

After It Displays Input And Output.

What Value I Assign to Company Code

in Both Input And Output Ports.

This is Very Urgent,please Give Steps For Quick Understanding.

Thanks & regards

SubbaRao Chinta.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

subbarao,

If the company code issue is resolved please close this thread and open a new thread with the requested BAPIs i will provide you with their names.

Regards,

Sami

Answers (2)

Answers (2)

Former Member
0 Kudos

subbarao

1- right click on your drop down list.

2- choose properties.

3- goto the entry list tabl

4- select dynamic entry list.

5- choose your system and search for the BAPI --> BAPI_COMPANYCODE_GETLIST.

No input is required for this bapi

6- for the output choose COMPANYCODE_LIST

VALUE --> @COMP_CODE

TEXT --> @COMP_NAME

Regards,

Sami

Edited by: Sami Ahmed on Mar 24, 2008 10:54 AM

Former Member
0 Kudos

Hi Sami,

Thanks For Your reply.

Please Can You Send BAPI Name's For Following fields.

1.Personnel Area.

2.Personnel SubArea.

3.PERNER

4.OBJID.

5.LAND1

6.REGIO

Thanks&Regards

SubbaRao Chinta

Former Member
0 Kudos

Hi Subbarao,

You need to use a BAPI which takes some input and gives company code as output.

The input for this bapi can be taken from the user itself.

For e.g: you can use another form which takes the input and map this input to this BAPI of dropdown list.

Then in the value and the text both assign the Company Code.

I did this scenario today itself by using BAPIS SALES_ORDER_GETLIST and SALES_ORDER_GETSTATUS

The first BAPI takes customer and sales organization as input and gives sales order as output.

I used this output in the dropdown list to get its status.

Regards,

Nikhil.