2006 Jul 04 3:06 PM
Hi,
I have Saels Quotation,Contract, Order, Return, Debit/Credit Memo Request. Now I want to change the Sales office, Sales Group and sales District in the existing Quotation,Contract, Order, Return, Debit/Credit. But in all the these requests these 3 fields are not in editable mode. Plese suggest me what is the best way I can change these 3 fields in the existing Quotation,Contract, Order, Return, Debit/Credit.
Thanks & Regards
Venkat
2006 Jul 05 4:18 PM
2006 Jul 05 4:23 PM
You can also use :
SD_SALESDOCUMENT_CHANGE
FYI
call function 'SD_SALESDOCUMENT_CHANGE'
exporting
salesdocument = salesdocument
order_header_in = da_order_header_in
order_header_inx = da_order_header_inx
simulation = simulation
behave_when_error = behave_when_error
int_number_assignment = int_number_assignment
logic_switch = logic_switch
business_object = 'BUS2032'
call_from_bapi = 'X'
tables
return = return
item_in = da_order_item_in
item_inx = da_order_item_inx
schedule_in = schedule_lines
schedule_inx = schedule_linesx
partners = partners
partnerchanges = partnerchanges
partneraddresses = partneraddresses
conditions_in = conditions_in
conditions_inx = conditions_inx
sales_cfgs_ref = order_cfgs_ref
sales_cfgs_inst = order_cfgs_inst
sales_cfgs_part_of = order_cfgs_part_of
sales_cfgs_value = order_cfgs_value
sales_cfgs_blob = order_cfgs_blob
sales_cfgs_vk = order_cfgs_vk
sales_cfgs_refinst = order_cfgs_refinst
sales_text = order_text
sales_keys = order_keys
extensionin = extensionin.
Note:you can go SE80 and choose Function group = 'VBAK". you`ll find Fms.
Hope thisll give you idea!!
<b>Pl... award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"