‎2007 Jun 11 5:41 AM
hi,
may i know how should i put the select-options for above in selection screen.
table is vbpa and i would like to have :
sold to (AG) ; bill to (RE) ; ship to (WE)
thanks
‎2007 Jun 11 5:44 AM
Hi,
Check this code.
DATA: V_PARVW TYPE VBPA-PARVW.
SELECT-OPTIONS SO_PARVW FOR V_PARVW.
INITIALIZATION.
* For initializing the values in the select-options..
SO_PARVW-SIGN = 'I'.
SO_PARVW-OPTION = 'EQ'.
SO_PARVW-LOW = 'AG'. " Sold-to
APPEND SO_PARVW.
SO_PARVW-LOW = 'RE'. " Bill-to
APPEND SO_PARVW.
SO_PARVW-LOW = 'WE'. " Ship-to
APPEND SO_PARVW.
Thanks,
Naren
‎2007 Jun 11 5:49 AM
hi
good
if you know that you have to put select-options than you can put them as per your reququirement,
1- Sold to Party
2-Bill to Party
3-Ship to Party
go through this link to know the details about the select-options
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/select_o.htm
thanks
mrutyun^
‎2007 Jun 11 5:50 AM
Hi,
tables: vbpa.
select-options: s_parvw for vbpa-parvw.
initialization.
s_parvw-sign = 'I'.
s_parvw-option = 'EQ'.
s_parvw-low = 'AG'.
append s_parvw. clear s_parvw.
s_parvw-sign = 'I'.
s_parvw-option = 'EQ'.
s_parvw-low = 'RE'.
append s_parvw. clear s_parvw.
s_parvw-sign = 'I'.
s_parvw-option = 'EQ'.
s_parvw-low = 'WE'.
append s_parvw. clear s_parvw.
regards,
donepudi
‎2007 Jun 11 6:13 AM
hi,
i need to have 3 separate select-options for each of the partner function. the select option is customer number field for user to input.
i do not think the reply can work.
please advice.
thanks
‎2007 Jun 11 6:47 AM
hi eliana,
try this,
initilization.
s_soldto-low = 'AG'.
append s_soldto.
s_billto-low = 'RE'.
append s_billto.
s_shipto-low = 'WE'.
append s_shipto.
then u can get the default values for your three slect-options at the lower level.
regards,
seshu.