Problem in updating Quantity using 'BAPI_SALESORDER_CHANGE'
Hi,
I am using Bapi_salesorder_change to update item quantity and reason for rejection.My code is as below.
MOVE c_u TO e_orderheader_inx-updateflag.
FREE i_orderitem_in.
MOVE newitem-posnr_ref TO e_orderitem_in-itm_number.
MOVE c_rej TO e_orderitem_in-reason_rej.
MOVE c_qt TO e_orderitem_in-target_qty.
APPEND e_orderitem_in TO i_orderitem_in.
FREE i_orderitem_inx.
MOVE newitem-posnr_ref TO e_orderitem_inx-itm_number .
MOVE c_u TO e_orderitem_inx-updateflag.
MOVE c_x TO e_orderitem_inx-reason_rej.
MOVE c_x TO e_orderitem_inx-target_qty .
APPEND e_orderitem_inx TO i_orderitem_inx.
FREE i_return.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = xvbak-vbeln
ORDER_HEADER_IN =
order_header_inx = e_orderheader_inx
TABLES
return = i_zbapiret2
order_item_in = i_orderitem_in
order_item_inx = i_orderitem_inx.
But in 'i_zbapiret2' iam getting the below errors.
1)Storage location BH in plant is not defined .
2) Error in ITEM_IN 000020
3) sales documnet 000078965 was not changed.
PLease help me to solve this problem.
Thanks in advance,
Sravanthi.
Hi,
From the error message it seems that you dont have the storage location for the plant as you have passed to the BAPI check table 'T001L' to see if that storage location is there for the plant. If not then we need to maintain that.
Regards,
Himanshu
Similar Messages
-
Changing quantity using bapi_salesorder_change function
hi ,
i am changing quantity using 'bapi_salesorder_change' function.what are the minimum parameteres that needs to be passsed to the function.i am not able to change the quantity for some items.also for some sales orders i am not getting any error message but commit work is not working.
thanks ,
nitinHi Nitin,
After you call the BAPI_SALESORDER_CHANGE, specifically call BAPI_TRANSACTION_COMMIT , as BAPI_SALESORDER_CHANGE does not run a database commit.(as per the documentation provided by SAP for BAPI_SALESORDER_CHANGE)
Thanks
Lakshman -
Problem in Update statement using Execute Immediate
Hi All,
I am facing problem in update statement.
I am creating dynamic sql and use "execute immediate" statement to execute a update statement.
But it is not updating any thing there in the table.
I have created a query like :
update_query='Update '|| Table_Name ||' t set t.process_status =''Y'' where t.tid=:A';
Execute immediate update_query using V_Id;
commit;
But it is not updating the table.
I have a question , is execute immediate only does insert and delete?
Thanks
AshokSQL> select * from t;
TID P
101 N
SQL> declare
2 V_Id number := 101;
3 Table_Name varchar2(30) := 'T';
4 update_query varchar2(1000);
5 begin
6 update_query := 'Update '|| Table_Name ||' t set t.process_status =''Y'' where t.tid=:A';
7 Execute immediate update_query using V_Id;
8 commit;
9 end;
10 /
PL/SQL procedure successfully completed.
SQL> select * from t;
TID P
101 Y -
A problem when update DB using SDK
Hi All,
I have a web application which uses SAP as a DB to order and display customers info.
All BPs could change their info online. I use SDK to write to DB
everything seems to work fine except one thing:
when I update anything in my web app. after maximum 5 minutes I can't see my pages any more when I try to navigate the browser shows me (Page Couldn't Br Displayed).
I thought it's because I don't clean my memory and dispose my objects. BUT still I did that and still after updating I always get this, I can't navigate !!
here is a sample code of my updating functionHi Samira,
Please close the duplicate thread.
Regards,
Eric -
Having problemas at updating and using viber 2.1.5
Good afternoon,
I've been using Viber ever since I came over to the UAE five months ago. I hold a subscription with du and never had a problem except for some network performance issues not related to Viber itself.
The fact is that I've been facing problems over the last couple of weeks and I've removed and reinstalled Viber 2.1.5 and it does not work. I've been prompted to reintroduce my local number and got an answer back telling me that I would receive a code over an SMS as if it were registered for the very first time. The SMS does not come through and I cannot activate the application.
As a consequence of this, I can't use my contact list and I cannot get it up and running.
I would appreciate if you could cast some light on the subject.
Thanks in advance for your help.
Best regards,
BenyWe are users like yourself here and not representatives of Apple or Viber. You need to make contact with Viber support and/or search the forum here. Many people have reported issues with Viber and there is a Viber representative that will often come here and make contact. If you search old posts, you may find some contact information in those posts for Viber as well.
-
Problems with updating CS4 Using Updater
CS4 problems. I purchased New iMac and Migrated setting and apps from old computer. Got error messages for several of the CS4 apps when trying to open. I uninstalled CS4 and reinstalled. Checked for updates and installed but several of the apps such as PS, FL, FW, etc. do not update even though the updater states that everything updated. As a test, I downloaded and tried updating PS 11.0 to 11.02 but it states that it's already updated. PS still v. 11.0
Run the Creative Suite Cleaner Tool, manually delete the caps.db in the caps folder:
Important Directories
Then reinstall again.
Mylenium -
Using Bapi_salesorder_change adding a item, deleting a item,Quanty change
I need help on Bapi_salesorder_change.
I have a table control in which there will be data of a particular sales document no, items, quantity, sales unit. When user changes the quantity, or adds a line item or deletes a line item and the press the save button bapi_salesorder_change should trigger and should change the order as the user changes.
Can u help how to write code for this three conditions
1> adding line item.
2> deleting a line item.
3> changing the quantity.
using bapi_salesorder_change
Can i use the same bapi for three conditions?
Please help me in this as soon as possible.
I thank them in advanceHello Geeks,
i am using this bapi for updating my item quantity no....
but the bapi return msg say tat its not changing....
i think i may did some mistake pls anyone can rectify it....
i hv attached my code below......
*For line item
TYPES :BEGIN OF y_t_vbap,
vbeln TYPE vbeln_va, "sales Document
posnr TYPE posnr_va, "Item no of SD document
matnr TYPE matnr, "Material No
zmeng TYPE dzmeng , "Target qty in Sales unit
spart TYPE spart, "division
message TYPE BAPI_MSG,
kwmeng type kwmeng, "cummulative order qty
END OF y_t_vbap.
TYPES : y_t_itemin TYPE bapisditm,
y_t_return TYPE bapiret2,
y_t_headerx TYPE bapisdh1x.
TYPES: BEGIN OF y_t_logdata,
lno TYPE lineno, "Lineno
field TYPE fieldname, "Field Name
value TYPE lmon_fvalue, "Field Value
message TYPE bapi_msg, "Messages
END OF y_t_logdata.
Internal table declaration
DATA: "y_i_vbak TYPE STANDARD TABLE OF y_t_vbak,
y_i_vbap TYPE STANDARD TABLE OF y_t_vbap,
y_i_headerx TYPE STANDARD TABLE OF bapisdh1x,
y_i_itemin TYPE STANDARD TABLE OF bapisditm ,
y_i_iteminx TYPE STANDARD TABLE OF bapisditmx,
y_i_return TYPE STANDARD TABLE OF y_t_return,
y_i_logdata TYPE STANDARD TABLE OF y_t_logdata,
y_i_bapiret TYPE STANDARD TABLE OF bapiret2.
Table type declaration
TYPES: y_tt_vbap TYPE STANDARD TABLE OF y_t_vbap ,
y_tt_logdata TYPE STANDARD TABLE OF y_t_logdata.
Work Area declaration.
DATA: y_wa_vbap TYPE y_t_vbap,
y_wa_itemin TYPE bapisditm ,
y_wa_iteminx TYPE bapisditmx,
y_wa_headerx TYPE bapisdh1x,
y_wa_return TYPE y_t_return,
y_wa_logdata TYPE y_t_logdata,
y_wa_event TYPE slis_alv_event,
y_wa_event1 TYPE slis_t_event,
y_wa_bapiret TYPE bapiret2.
Variables declaration.
DATA: y_i_event TYPE slis_t_event,
y_v_success TYPE i , "For Success
y_v_error TYPE i , "For Error
y_v_sno TYPE char30 ,
y_v_eno TYPE char30 ,
y_v_msg TYPE char100 . "error msg
Constants declaration.
constants : y_k_x type char1 value 'X',
y_k_u type char1 value 'U',
y_k_e type char1 value 'E'.
SELECTION SCREEN LAYOUT
SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 3(18) text-003.
PARAMETERS : y_p_vbln TYPE vbak-vbeln OBLIGATORY.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN : END OF BLOCK b1.
START-OF-SELECTION.
START-OF-SELECTION.
WRITE: text-002.
END-OF-SELECTION.
END-OF-SELECTION.
SELECT vbeln
posnr
matnr
zmeng
spart
FROM vbap
INTO TABLE y_i_vbap
WHERE vbeln = y_p_vbln.
LOOP AT y_i_vbap INTO y_wa_vbap.
y_wa_vbap-zmeng = 2 + y_wa_vbap-zmeng.
MODIFY y_i_vbap FROM y_wa_vbap INDEX sy-tabix.
ENDLOOP.
PERFORM y_f_update USING y_i_vbap.
*& Form y_f_update
POPULATE BAPI DATA AND RUN BAPI
FORM y_f_update USING y_p_vbap TYPE y_tt_vbap.
CLEAR: y_i_headerx, y_i_itemin, y_i_iteminx,
y_i_return, y_i_bapiret.
REFRESH: y_i_itemin, y_i_iteminx, y_i_return, y_i_bapiret.
LOOP AT y_i_vbap INTO y_wa_vbap.
MOVE y_wa_vbap-zmeng TO y_wa_itemin-target_qty.
MOVE y_wa_vbap-posnr TO y_wa_itemin-itm_number.
APPEND y_wa_itemin TO y_i_itemin.
ENDLOOP.
*Update the Bapi Itnernal tables
y_wa_headerx-updateflag = y_k_u .
APPEND y_wa_headerx TO y_i_headerx.
LOOP AT y_i_vbap INTO y_wa_vbap.
y_wa_iteminx-itm_number = y_wa_vbap-posnr.
y_wa_iteminx-target_qty = y_k_x .
y_wa_iteminx-updateflag = y_k_u .
APPEND y_wa_iteminx TO y_i_iteminx .
ENDLOOP .
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = y_wa_vbap-vbeln
order_header_inx = y_wa_headerx
TABLES
return = y_i_return
order_item_in = y_i_itemin
order_item_inx = y_i_iteminx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
CLEAR y_i_vbap.
IF y_i_return is not initial.
LOOP AT y_i_return INTO y_wa_return where TYPE = y_k_e .
MOVE y_wa_return-message TO y_wa_vbap-message .
Append y_wa_vbap to y_i_vbap.
y_v_success = y_v_success + 1.
ENDLOOP.
ENDIF.
y_wa_event-name = 'TOP_OF_PAGE'.
y_wa_event-form = 'Y_FD_TOP_OF_LIST'.
APPEND y_wa_event TO y_i_event.
CLEAR y_wa_event.
CALL FUNCTION 'ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_tabtypename1 = 'Y_T_VBAP'
it_events1 = y_i_event[]
TABLES
t_outtab1 = y_i_vbap[]
EXCEPTIONS
program_error = 1
maximum_of_appends_reached = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " y_f_vbap
*& Form Y_FD_TOP_OF_LIST
FORM y_fd_top_of_list.
MOVE: y_v_success TO y_v_sno,
y_v_error TO y_v_eno.
CONCATENATE text-002 y_v_sno '/' y_v_eno INTO y_v_msg SEPARATED BY
space.
CONDENSE y_v_msg.
WRITE / y_v_msg .
SKIP 1.
ENDFORM. "Y_FD_TOP_OF_LIST -
Problem with updating pricing date using BAPI_SALESORDER_CHANGE
Hi,
I need to update pricing date on sales order (but only on item level).
I have been trying to use BAPI_SALESORDER_CHANGE but nothing changes.Bapi returns no errors, ends with success.
I hoped that bapi would change not only pricing date but also recalculate things the date affected.
Here is my code:
ls_head_inx-updateflag = 'U'.
ls_bapisdls-pricing = 'C'.
ls_item-itm_number = sales_order_posnr
ls_item-price_date = new_price_date
APPEND ls_item TO lt_item.
ls_item_inx-itm_number = sales_order_posnr
ls_item_inx-updateflag = 'U'.
ls_item_inx-price_date = 'X'.
APPEND ls_item_inx TO lt_item_inx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = sales_order
order_header_inx = ls_head_inx
logic_switch = ls_bapisdls
TABLES
return = lt_return
order_item_in = lt_item
order_item_inx = lt_item_inx
Thanks & Regards,
MarioMario,
I run same code as yours and work for me fine, able to update ITEM pricing date.
I suppose you are using BAPI_TRANSACTION_COMMIT after your BAPI call, then only it will work.
Also note that VBKD table stores this date for header and item. In my system, there are generally only header rows in that table, but a new item row gets generated when I change the item date with the BAPI to some other date. Also, this BAPI sometimes issues a W message instead of ERROR for something like non-existing items, so carefully check your RETURN table too.
'Item 000002 does not exist' as WARNING message, so might be considering it as a success.
If nothing works, try to do the same thing for the same data using VA02 and check . If that works, BAPI will work surely.
Regards,
Diwakar -
Problem using BAPI_SALESORDER_CHANGE
Hi Experts,
I am inserting the Item in Sales order by using BAPI_SALESORDER_CHANGE.
suppose there are 2 line item in sales i.e. 10 and 20 .
now i want to insert line item i.e. 30.
now the problem is that when i am trying to insert line item 30 it is getting inserted.
but i want to update the quantity for line item 30.
how to update the quantity of line item 30?
anybody have the solution?
Thanks in advance.
AbhishekHi,
Fill tables parameter ORDER_ITEM_IN and ORDER_ITEM_INX for the line item you want to update the quantity for the field would be TARGET_QTY and TARGET_QU
and in the ORDER_ITEM_INX have ITM_NUMBER = '30 the update indicator equal to 'X' and TARGET_QTY = 'X'and TARGET_QU eq 'X' and that should do it.
Regards,
Himanshu -
How to update Billing Plan using BAPI_SALESORDER_CHANGE
Hi,
In my case initailly sales order header data is created and saved, with reference to SO Project is created and then item level data is updated.
So clients requirement is to create any upload programme which can use for mass upload.
i.e to develop a program to upload,
i) Items in Sales Order.
ii) Billing Plan & Pricing Conditions in SO
I am trying to use BAPI_SALESORDER_CHANGE for this requirement. Problem is in this scenerio user exit is already used which validate "Amount" at item level and "Bill. value" in Billing plan tab should be same.
As observed Billing plan data can not be updated using this BAPI.
Even I've tried to use BDC for this requirement, but as we need to double click on line item while updating billing plan data and conditions it does not work while recording.
Incase anyone have worked on similar scenerio and found out solution, please share all your inputs.
Warm Regards,
NitishHi,
The following code will take you to Billing plan tab in BDC.
PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBAK-VBELN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'VBAK-VBELN'
wa_vbap-vbeln.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ITEM'.
PERFORM bdc_field USING 'BDC_CURSOR'
itemno . "'RV45A-MABNR(wa_vbap-posnr)'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4003'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=T\06'.
PERFORM bdc_dynpro USING 'SAPLV60F' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
Regards,
P Gomatheeswaran -
Update ship-to partner in sales order using BAPI_SALESORDER_CHANGE
Dear all,
We are trying to update the ship-to partner in a sales order using BAPI_SALESORDER_CHANGE. This is working correctly for most of our orders, so we do fill the BAPI correctly. However for some of our orders on item level a different payer is specified than on header level. However in that case the BAPI will not update the ship-to partner, but given an error message VPD 034 u2018The document must contain the same credit control areas for all payersu2019. Debugging already learned that actually the message is given not because of different credit control areas, but due to the fact that the payers and therefore the credit customers are different (although in the same credit control areas). For this reason we can not update the ship-to party of a large number of our sales orders with this BAPI. Actually we have 2 questions:
· Has somebody experienced the same issue and did you manage to solve it somehow, so the BAPI could be used for this purpose of updating partner data?
· Do you know other ways of updating the partners or partner address of an existing sales order in the background?
Thanks in advance for your assistance.
Regards,
Satish.It was caused by standard SAP.
-
We bought an iphone 4s for our daughter. We transfered it to straight talk. She can make calls and text no problem. She can use the WiFi but is unable to use the internet or mms. How do we update the APN?
To clarify for anyone who is still having any problems doing this.
1. Unlock your phone with the carrier ( I know the process will work if it is jail broken but I am assuming you dont want to void the warranty on your phone) NOTE: even if you purchased the phone outright at Wal-Mart it is still locked to ATT so you will have to unlock the phone. If it's already unlocked skip to step 2. This works and will work even if you update the phone.
1a Here is the link to unlock a ATT iphone. Simply follow the instructions https://www.att.com/deviceunlock/client/en_US/
2. Get a T- mobile SIM. Even if you don't want the service, if you feign interest, they will send you one for free or 99cents. If you need it now you can get one at a T-mobile store too.
3. Once you have both your Straight talk SIM and your T-mobile SIM follow these instructions:http://www.youtube.com/watch?v=mFFf5uqk18M
4. If you have any remaining questions look at all the responses posted previously on this thread or check out the Howard Forums Wiki: http://wiki.howardforums.com/index.php/Straight_Talk_iPhone
Everything should work flawlessly at this point. If not let me know and I'm happy to help when I can. I hope this makes doing this very easy for everyone in the future. God Bless -J -
nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and sometime just hear from other user that it 's difficult to use then force they change phone that use to handle to another.
It is a feature to discourage the theft of iPhones by making them useless if resold. It's not going anywhere. It's simple: just don't buy a phone until you make sure that the activation lock has been disabled.
-
Problem in using BAPI_SALESORDER_CHANGE
Hi,
We are using BAPI_SALESORDER_CHANGE for updating the delivery block information present in Shipping tab of sales order header.
We are updating the below parameters and then calling the bapi.
ls_header-DLV_BLOCK = 'Z1'.
ls_head_update-updateflag = 'U'.
ls_head_update-DLV_BLOCK = 'X'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = gs_vbak-vbeln
ORDER_HEADER_IN = ls_header
ORDER_HEADER_INX = ls_head_update
behave_when_error = ' '
int_number_assignment = ' '
TABLES
RETURN = lt_return.
But during execution we could see the messages in parameter return as below
ORDER_HEADER_IN has been processed successfully
No data was changed
But we want to update the delivery block with Z1 which is not happening.
Please let us know if we missed anything.
Thanks in advance,
PoornimaHI,
Check the tcode VA03 with the sales ordernumber before changing and after changing the sales order with delivery block.
Refer to this link..
BAPI_SALESORDER_CHANGE -
Problem in adding "Reason for Rejection" using BAPI_SALESORDER_CHANGE
Hi all,
I have a requirement to stop further processing of sales order by changing the reason for rejection at line item. I have done the code and passed the reason code in the item table to BAPI. The return message says the sales order ammended successsfully, but when i go and see the sales order I dont see it getting updated. when i go to check the order its throwing an error message "Update was terminated" Could some one please help in getting this solved.
The code is shown below
Populate the headerX details
it_bapisdh1x-updateflag = 'U'.
it_bapisdh1x-sales_org = 'X'.
it_bapisdh1x-distr_chan = 'X'.
it_bapisdh1x-division = 'X'.
it_bapisdh1x-purch_no_c = 'X'.
it_bapisdh1x-cust_group = 'X'.
Populate the header details
it_bapisdh1-sales_org = '1298'.
it_bapisdh1-distr_chan = '95'.
it_bapisdh1-division = '00'.
it_bapisdh1-purch_no_c = 'Test1'.
Partner Roles
it_bapiparnr-partn_role = 'AG'.
it_bapiparnr-partn_numb = '9820000049'.
it_bapiparnr-itm_number = '00000'.
APPEND it_bapiparnr.
it_bapiparnr-partn_role = 'WE'.
it_bapiparnr-partn_numb = '9820000049'.
it_bapiparnr-itm_number = '000000'.
APPEND it_bapiparnr.
it_bapisditmx-itm_number = '00010'.
it_bapisditmx-updateflag = 'U'.
it_bapisditmx-material = 'X'.
it_bapisditmx-cust_group = 'X'.
it_bapisditmx-reason_rej = 'X'.
APPEND it_bapisditmx.
it_bapisditm-itm_number = '00010'.
it_bapisditm-material = 'YAG'.
it_bapisditm-reason_rej = '01'.
APPEND it_bapisditm.
BREAK-POINT.
salesd = '4000004045'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = salesd
order_header_in = it_bapisdh1
order_header_inx = it_bapisdh1x
behave_when_error = ' '
int_number_assignment = ' '
TABLES
order_item_in = it_bapisditm
order_item_inx = it_bapisditmx
partners = it_bapiparnr
return = it_bapiret2.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
endif.When using BAPI_SALESORDER_CHANGE, you set the fields your are updating to 'X'. In the example you gave, you are trying to change the header data, material number, etc.
Try slimming it down to:
Populate the headerX details
it_bapisdh1x-updateflag = 'U'.
it_bapisditmx-itm_number = '00010'.
it_bapisditmx-updateflag = 'U'.
it_bapisditmx-reason_rej = 'X'.
APPEND it_bapisditmx.
it_bapisditm-itm_number = '00010'.
it_bapisditm-reason_rej = '01'.
APPEND it_bapisditm.
BREAK-POINT.
salesd = '4000004045'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = salesd
order_header_in = it_bapisdh1
order_header_inx = it_bapisdh1x
behave_when_error = ' '
int_number_assignment = ' '
TABLES
order_item_in = it_bapisditm
order_item_inx = it_bapisditmx
return = it_bapiret2.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
endif.
I hope this helps,
Mark
Maybe you are looking for
-
Dear All, we have one report. if i run the report then it will take 2 to 4 hrs. I have checked main query & formula columns, all the query reading the index. How can i Tune this report & how can reduce the running time. Pls help me.
-
Flash Player 11.8 won't install on mac mini why
Flash Player 11.8 won't install on my mac mini, OSX 10.6.4?
-
Can I separate out for analysis multiple responses to one question?
I created my first survey without realizing that by creating a question that allows the respondent to choose multiple responses, I might have a problem parsing out the responses for analysis. I have been downloading (exporting) the responses into an
-
Use handling units for subcontracting
Hello Experts, we are currently trying to improve our subcontracting process. The stock of material is provided to the vendor in boxes, he processes the articles and delivers them back to us in the same boxes. To be able to identify the boxes when th
-
Hi All, I am developing web page using ADF frame work and using a component <af:selectOneChoice> and using its inline style inlineStyle="width:400px;". this keeps the sizeof combo fixed for 25 characters, inorder to maintain the cosmatics of the page