Not able to select sales area for reference BP in CRM system
Hi All
I am not able to select sales area data for the reference customer copied from r/3 to crm sysytem even through ORg. structure is properly maintain ( Object permitted in determination is ticked).
The field " Choose sale area is subpress/grey.
Please help me for the same.
Hi Kishore,
So you manage get into Sales Area Data, but when you
try to select Sales Organization you get nothing?
(click Sales Org combo but no selection appear)?
How about field Distribution Channel and Division?
I am afraid some of these fields still not properly
set/transported to CRM.
In R/3, this BP has maintained under same Sales Area
which mapped in CRM Org Model right ?
What is role in CRM when you open the BP?
Have you check if there is any error in middleware
when downloading BP data to CRM?
Cheers,
Gun.
Similar Messages
-
Not able to select physicalschema directory for file data server in ODI 11g
Hi,
I am a beginner to ODI tech and stuck up with an error while doing a tutorial (mentioned in this link - http://st-curriculum.oracle.com/obe/fmw/odi/odi_11g/ODIproject_ff-to-ff/ODIproject_flatfile-to-flatfile.htm).
While creating a physical schema for default file server(FILE_GENERIC) , I am not able to select schema directories and the name field with value 'FILE_GENERIC.Directory' is grayed out (non editable)
I have gone through many documents but could not find any relevant information for this.
So could you please let me know if any configurations required for this?
Thanks,
AnushaHi Oleg,
Thanks for your reply.
While creation of physical schema , Name field is grayed out , is that the default behaviour of the screen? because in the tutorial I could see the name filead is pointing to a file directory path.
Thanks,
Anusha -
Initial problem was Dell Webcam video recording records no sound.
In Control Panel, Device Manager, Sound Video and Game Controllers there are two High Definition Audio Devices listed: Location 1 (Internal High Definition Audio Bus) - I deduce this is the internal mic; and Location 2 (Internal High Definition Audio Bus) - I deduce this is external microphone jack. Both have the same driver version.
The Control Panel, Sound, Recordings Tab showed 2 devices that looked identical except the bars that show green with volume were only on the first one, which is also the default one, and would detect sound if you got real close to the webcam mic when talking. Both devices displayed as 'working'.
Accessories, Sound Recorder recordings are silent no matter how close you get to internal webcam mic.
Dell WebCam Audio Source tab has two selections, both reading Microphone (3 - High Definition Audio Device). Both selections record sound with the EXTERNAL MIC jack. There is no way to select the internal webcam mic, it is not an option.
Per instructions found on the web, I uninstalled the first device only in Device Manager and rebooted. The same driver version as before was installed. But now the settings have changed. Device Mgr still shows Loc 1 and Loc 2. However, under the Sound, Recordings tab there are still 2 devices, but the first one says 'currently unavailable' , is still the default, and the sound bars that go green for audio testing are on the SECOND device now instead of the first one. If you check the Properties for each device, they BOTH are showing the same location Location 2 (Internal High Definition Audio Bus), i.e., the external mic jack. Loc 1 device (built in mic) is not showing up!!
Accessories Sound Recorder works with the EXTERNAL mic. (How does it know which one to use, it's not giving me a choice?)
So the Location 1 device (internal mic) is not showing up anywhere besides the device manager. I want to use the internal mic for skype and webcam. Somehow I need to get the Loc 1 device to show up on the Sound - Recording tab and in the Webcam Audio Source list? What do I do?
Thank you in advance for your help.kestark
This is Vista.
Go to the Inspiron 1525 support page. Find the small blue "Change OS" and click on the arrow. Select Vista.Then download and install these 3 items with a restart between each one.
1. Dell System Software in the System Utilities category.
2. Intel Mobile Chipset in the Chipset category.
3. Sigmatel audio driver in the Audio category.
See if it works any better after you get the Sigmatel driver installed. -
Sales Order form error "Not able to retrieve Display values for Service"
Hi,
Few of our orders flash the below error message when the order is queried
"Not able to retrieve Display values for Service"
Below are the points I observed
1.The orders I am referring to are imported order via EDI interface.
2.The service reference type code has value of ORDER, however no other service related fields (like service reference line id) have any values.
3. The item is not a service item (service tab in Item setup is disabled)
4. Same item when imported with value of "Customer Ordered" in "service reference type code" field, does not throw an error.
5. If I update "service reference type code" with value null or change it to CUSTOMER_PRODUCT, the error disappears.
Can someone explain the significance of this column value and what could have been causing this error message?
May be there are some dependent fields/setups which must have a value when service reference type code =ORDER.
Thanks in advance,
JC
Edited by: user10174990 on Oct 25, 2012 10:58 AMHi,
Maintain the dafault values using Tcode OISF with respective to Planning Plant you have to maintain the following values like Order Type, Main Work Center, Maint. Plant,Group,Group Counter,Business Area & Task List type.
or
Apply these OSS note 150732 / 195993.
regards,
Venkatesan Anandan -
I am trying to sync my itunes with my ipod, but when I get to step 3 of syncing, it stops. Also, I deleted all the songs on my ipod, and when I go to my music in my ipod the songs are all still there and in a grey color and I'm not able to select them. How do I completely clear my ipod music, and how can I solve the syncing problem?
Sync works the same way it always has, connect the device, select the content desired to sync and sync.
All the media should be in iTunes already, iDevices are not and have never been backup devices.
If this is a new computer, move the content from the old computer to the new computer. -
Not able to create sales order using BAPI - BAPI_SALESORDER_CREATEFROMDAT2
Hi Experts,
I am not able to create sales order . I am using BAPI - BAPI_SALESORDER_CREATEFROMDAT2
to create sales order .I am passing external sales order number to the parameter
SALESDOCUMENTIN.
I am getting following error.
"524 |Only quantity 1 EA is allowed (Item 00001"
Here EA is UOM(Unit of measurement).
Below is the sample program through which i am trying to create the sales order.
*& Report ZSDC_SALES_TEST
report zsdc_sales_test.
*DATA: wa_bapi_header TYPE bapisdhd1.
Include Name - ZSDC_SALES_ORD_UPLOAD_TOP
Program Name - ZSDC_SALES_ORD_UPLOAD_1393
Program Title - Include for Data Declaration and selection screen
Created by - Lalitha W
Created on - 18-Nov-2008
Object ID - SD_C_1393_SALES_ORDER_UPLOAD
Request Id - SD3K905579
Description - This is a common INCLUDE for data declarations and
*selection screen details.
HISTORY
Date |Developer |Req by | Description |Reference ID
| | | |
| | | |
TYPE-POOLS
*TYPE-POOLS: truxs, abap, slis.
TABLES
*TABLES: t100.
TYPES
types:begin of ty_header,
auart(4) type c, " Sales Order Type
vkorg(4) type c, " Sales Organization
vtweg(2) type c, " Distrubution Channel
spart(2) type c, " Division
kunnr_1(10) type c, " Sold to Party
kunnr_2(10) type c, " Ship to Party
augru(3) type c, " Order Reason
bstkd(35) type c, " PO Number
bstdk(10) type c, " PO Date
ketdat(10) type c, " Required Delivery Date
zterm(4) type c, " Payment Terms
inco1(3) type c, " Inco Terms -1
inco2(28) type c, " Inco Terms -2
prsdt(10) type c, " pricing date
waerk(5) type c, " Document Currency
vkbur(4) type c, " Sales Office
vkgrp(3) type c, " Sales group
pltyp(2) type c, " Price List type
kdgrp(2) type c, " Customer Group
bstkd_e(35) type c, " Ship-to-party PO number
submi(10) type c, " Collective Number
bname(35) type c, " Name
ihrez(12) type c, " Your Reference
kschl_1(4) type c, " Condition Type
kbetr_1(11) type c, " Amount
kschl_2(4) type c, " Condition Type
kbetr_2(11) type c, " Amount
kschl_3(4) type c, " Condition Type
kbetr_3(11) type c, " Amount
partner_1(25) TYPE c, " Partner(Bill To Party Number)
partner_2(25) TYPE c, " Partner(Payer Number)
partner_3(25) TYPE c, " Partner(Sales Responsible Number)
partner_4(25) TYPE c, " Partner(Order admin)
partner_5(25) TYPE c, " Partner(Contact person)
partner_1(10) type c, " Partner(Bill To Party Number)
partner_2(10) type c, " Partner(Payer Number)
partner_3(10) type c, " Partner(Sales Responsible Number)
partner_4(10) type c, " Partner(Order admin)
partner_5(10) type c, " Partner(Contact person)
tdspras_1(2) type c,
text_1(500) type c, " Text Before Items Z012
tdspras_2(2) type c,
text_2(500) type c, " Invocie Up Z034
tdspras_3(2) type c,
text_3(500) type c, " Invocie Down Z035
tdspras_4(2) type c,
text_4(500) type c, " Customer Reference Continue Z018
tdspras_5(2) type c,
text_5(500) type c, " Dispatch Marks/ Order Z019
tdspras_6(2) type c,
text_6(500) type c, " Ordered By Z003
tdspras_7(2) type c,
text_7(500) type c, " Sales Parameters Z002
kvgr1(3) type c, " Industry
kvgr2(3) type c, " customer BU
end of ty_header.
types: begin of ty_item,
bstkd(35) type c, " PO Number
bstdk(10) type c, " PO Date
bstkd_e(35) type c, " Ship-to-party PO number
posnr(6) type c, " POSTION NUMBER
matnr(18) type c, " Material Number
kwmeng(18) type c, " Order Quantity
pstyv(4) type c, " Sales doc. item categ
kursk(18) type c, " EXCHANGE RATE****
ffprf(8) type c, " DIP PROFILE
werks(4) type c, " Delivering Plant
vstel(4) type c, " SHIPPING POINT
lgort(4) type c, " STORAGE LOCATION
route(6) type c, " Route
kurrf(18) type c, " EXCHANGE RATE-FI
ntgew(18) type c, " Net Weight
brgew(18) type c, " Gross Weight
gewei(3) type c, " Weight Unit
prctr(10) type c, " profit center
abgrs(6) type c, " RESULT ANALYSIS KEY
kalsm_k(4) type c, " COSTING SHEET
kschl_1(4) type c, " Condition Type
kbetr_1(11) type c, " Amount
kschl_2(4) type c, " Condition Type
kbetr_2(11) type c, " Amount
kschl_3(4) type c, " Condition Type
kbetr_3(11) type c, " Amount
text_1(500) type c, " material Text 0001
tdspras_1(1) type c,
text_2(500) type c, " Pr Text 9001
tdspras_2(1) type c,
end of ty_item.
types: begin of ty_schedule_line,
bstkd(35) type c, "PO number
bstdk(10) type c, "PO date
bstkd_e(35) type c, "Ship-to-party PO number
posnr(6) type c, "sales doc.Item
etdat(10) type c, "Schedule line date
wmeng(2) type c, "Order Quantity
end of ty_schedule_line.
types: begin of ty_err ,
auart(4) type c, " Sales Order Type
vkorg(4) type c, " Sales Organization
vtweg(2) type c, " Distrubution Channel
spart(2) type c, " Division
kunnr_1(10) type c, " Sold to Party
kunnr_2(10) type c, " Ship to Party
augru(3) type c, " Order Reason
bstkd(35) type c, " PO Number
bstdk(10) type c, " PO Date
ketdat(10) type c, " Required Delivery Date
zterm(4) type c, " Payment Terms
inco1(3) type c, " Inco Terms -1
inco2(28) type c, " Inco Terms -2
prsdt(10) type c, " pricing date
waerk(5) type c, " Document Currency
vkbur(2) type c, " Sales Office
vkgrp(3) type c, " Sales group
pltyp(2) type c, " Price List type
kdgrp(2) type c, " Customer Group
bstkd_e(35) type c, " Ship-to-party PO number
submi(10) type c, " Collective Number
bname(35) type c, " Name
ihrez(12) type c, " Your Reference
kschl_1(4) type c, " Condition Type
kbetr_1(11) type c, " Amount
kschl_2(4) type c, " Condition Type
kbetr_2(11) type c, " Amount
kschl_3(4) type c, " Condition Type
kbetr_3(11) type c, " Amount
partner_1(25) type c, " Partner(Bill To Party Number)
partner_2(25) type c, " Partner(Payer Number)
partner_3(25) type c, " Partner(Sales Responsible Number)
partner_4(25) type c, " Partner(Order admin)
partner_5(25) type c, " Partner(Contact person)
tdspras_1(2) type c,
text_1(500) type c, " Text Before Items Z012
tdspras_2(2) type c,
text_2(500) type c, " Invocie Up Z034
tdspras_3(2) type c,
text_3(500) type c, " Invocie Down Z035
tdspras_4(2) type c,
text_4(500) type c, " Customer Reference Continue Z018
tdspras_5(2) type c,
text_5(500) type c, " Dispatch Marks/ Order Z019
tdspras_6(2) type c,
text_6(500) type c, " Ordered By Z003
tdspras_7(2) type c,
text_7(500) type c, " Sales Parameters Z002
kvgr1(3) type c, " Industry
kvgr2(3) type c, " customer BU
message(600) type c,
end of ty_err.
types: begin of ty_t685a,
kschl type kschl,
krech type krech,
end of ty_t685a.
INTERNAL TABLES
***header
data: g_krech_1(4) type c, " Calculation type for condition
g_krech_2(4) type c, " Calculation type for condition
g_krech_3(4) type c. " Calculation type for condition
g_krech_4(4) TYPE c, " Calculation type for condition
g_krech_5(4) TYPE c, " Calculation type for condition
g_krech_6(4) TYPE c, " Calculation type for condition
g_krech_7(4) TYPE c, " Calculation type for condition
g_krech_8(4) TYPE c, " Calculation type for condition
g_krech_9(4) TYPE c, " Calculation type for condition
g_krech_10(4) TYPE c, " Calculation type for condition
g_krech_11(4) TYPE c, " Calculation type for condition
g_krech_12(4) TYPE c, " Calculation type for condition
g_krech_13(4) TYPE c, " Calculation type for condition
g_krech_14(4) TYPE c, " Calculation type for condition
g_krech_15(4) TYPE c, " Calculation type for condition
g_krech_16(4) TYPE c, " Calculation type for condition
g_krech_17(4) TYPE c, " Calculation type for condition
g_krech_18(4) TYPE c, " Calculation type for condition
g_krech_19(4) TYPE c, " Calculation type for condition
g_krech_20(4) TYPE c. " Calculation type for condition
Items
data: g_krech_item_1(4) type c, " Calculation type for condition
g_krech_item_2(4) type c, " Calculation type for condition
g_krech_item_3(4) type c. " Calculation type for condition
g_krech_item_4(4) TYPE c, " Calculation type for condition
g_krech_item_5(4) TYPE c, " Calculation type for condition
g_krech_item_6(4) TYPE c, " Calculation type for condition
g_krech_item_7(4) TYPE c, " Calculation type for condition
g_krech_item_8(4) TYPE c, " Calculation type for condition
g_krech_item_9(4) TYPE c, " Calculation type for condition
g_krech_item_10(4) TYPE c, " Calculation type for condition
g_krech_item_11(4) TYPE c, " Calculation type for condition
g_krech_item_12(4) TYPE c, " Calculation type for condition
g_krech_item_13(4) TYPE c, " Calculation type for condition
g_krech_item_14(4) TYPE c, " Calculation type for condition
g_krech_item_15(4) TYPE c, " Calculation type for condition
g_krech_item_16(4) TYPE c. " Calculation type for condition
data: it_t685a type standard table of ty_t685a.
data: wa_bapi_header type bapisdhd1,
wa_bapi_headerx TYPE bapisdhd1x,
it_bapi_item type table of bapisditm,
it_bapi_itemx TYPE TABLE OF bapisditmx,
it_bapi_cond type table of bapicond,
it_bapi_condx TYPE TABLE OF bapicondx,
it_bapi_partner type table of bapiparnr,
it_bapi_shdl type table of bapischdl,
it_bapi_shdlx TYPE TABLE OF bapischdlx,
it_bapi_order_text type TABLE OF BAPISDTEXT,
it_bapireturn type table of bapiret2.
data: wa_bapi_item like line of it_bapi_item,
wa_bapi_itemx LIKE LINE OF it_bapi_itemx,
wa_bapi_cond like line of it_bapi_cond,
wa_bapi_condx LIKE LINE OF it_bapi_condx,
wa_bapi_partner like line of it_bapi_partner,
wa_bapi_shdl like line of it_bapi_shdl,
wa_bapi_shdlx LIKE LINE OF it_bapi_shdlx,
wa_bapi_order_text like LINE OF it_bapi_order_text,
wa_bapireturn like line of it_bapireturn.
*DATA: zmode(1) VALUE 'N'.
data: it_header type standard table of ty_header.
*DATA: it_temp_header TYPE STANDARD TABLE OF ty_header.
data: it_item type standard table of ty_item.
*DATA: it_temp_item TYPE STANDARD TABLE OF ty_item.
data: it_err type standard table of ty_err.
data: it_fline1 type standard table of tline,
wa_fline1 type tline.
data: it_thead1 type thead.
data: it_fline2 type standard table of tline,
wa_fline2 type tline.
data: it_thead2 type thead.
data: it_fline3 type standard table of tline,
wa_fline3 type tline.
data: it_thead3 type thead.
data: it_fline4 type standard table of tline,
wa_fline4 type tline.
data: it_thead4 type thead.
data: it_fline5 type standard table of tline,
wa_fline5 type tline.
data: it_thead5 type thead.
data: wa_header like line of it_header,
wa_item like line of it_item,
wa_err type ty_err,
wa_bill LIKE LINE OF it_bill,
wa_bill1 LIKE LINE OF it_bill,
wa_iterr like line of it_err,
wa_t685a like line of it_t685a.
wa_bill_item TYPE ty_bill_item.
data: it_schedule_line type standard table of ty_schedule_line,
wa_schedule_line type ty_schedule_line.
data: sales_order_no type bapivbeln-vbeln.
data: ext_sales_order_no type bapivbeln-vbeln.
Variable to be used to separate the fields which are concatenated by a
runtime character
*DATA: g_tabchar(1) TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.
*DATA: wa_truxs_t_text_data TYPE truxs_t_text_data.
*DATA: g_filename TYPE string,
g_path TYPE string,
g_fullpath TYPE string,
g_user_action TYPE i,
g_file_encoding TYPE abap_encoding.
*DATA : g_text(8192),
data : g_mstring1(100) type c,
g_mstring2(100) type c,
g_mstring3(100) type c,
g_mstring4(100) type c,
g_mstring5(100) type c.
data: g_count1 type ebelp,
g_str_count1(6) type c.
data: g_count type ebelp,
g_str_count(6) type c.
*DATA: f_subrc LIKE sy-subrc,
f_subrc1 LIKE sy-subrc,
f_error(500) TYPE c,
item1(27) TYPE c,
item2(27) TYPE c,
item3(27) TYPE c,
item4(27) TYPE c,
i TYPE ekpo-ebelp.
*DATA: g_billplan_header TYPE c,
g_billplan_item TYPE c.
data : g_external_so type vbak-vbeln. "SO
SELECTION-SCREEN
selection-screen begin of block frame1 with frame title text-001 .
parameters:p_file1 type rlgrap-filename, "OBLIGATORY, "Header data.
p_file2 type rlgrap-filename, "OBLIGATORY, "Item Data.
p_file3 type rlgrap-filename, "Schedule line.
p_file4 type rlgrap-filename ."OBLIGATORY. "Error file.
selection-screen end of block frame1.
start-of-selection.
wa_bapi_header-doc_type = 'Z0MX'. "order type
wa_bapi_header-sales_org = '0130'."sales org
wa_bapi_header-distr_chan = '13'. "distr channel
wa_bapi_header-division = '13'. "division
Old code from copied program
wa_bapi_header-purch_no_s = wa_header-kunnr_2. " Ship to party
New code as required in Finland project
We are using to Header ->Order Tab -> Ship to Party -> Purchase order no (BSTKD_E) to store Old legacy SO number
wa_bapi_header-purch_no_s = 'MX100443'. "External SO i.e Old legacey SO number
wa_bapi_header-ref_1_s = '0000666666'. "Sold to party
wa_bapi_header-ord_reason = wa_header-augru.
wa_bapi_header-purch_no_c = 'ddr1234'. " PO number
wa_bapi_header-purch_date = sy-datum. " PO date
wa_bapi_header-req_date_h = sy-datum. " Required Delivery Date
wa_bapi_header-pmnttrms = '01'. " Payment Terms
wa_bapi_header-incoterms1 = wa_header-inco1.
wa_bapi_header-incoterms2 = wa_header-inco2.
wa_bapi_header-price_date = wa_header-prsdt. " Pricing date
wa_bapi_header-currency = wa_header-waerk. " Document Currency
wa_bapi_header-sales_grp = wa_header-vkgrp. " Sales group
wa_bapi_header-price_list = wa_header-pltyp. " Price list type
wa_bapi_header-cust_group = wa_header-kdgrp. " Cust Group
wa_bapi_header-ship_type = wa_header-vsart. " Shipping Type
wa_bapi_header-purch_no_s = wa_header-bstkd_e. " Ship-to-party po number
wa_bapi_header-collect_no = wa_header-submi. " Collective No.
wa_bapi_header-name = wa_header-bname. " Name
wa_bapi_header-ref_1 = wa_header-ihrez. " Your Reference
wa_bapi_header-cust_grp1 = wa_header-kvgr1. " Industry
wa_bapi_header-cust_grp2 = wa_header-kvgr2. " Customer BU
*ENDFORM. " f_header
IF wa_header-partner_1 IS NOT INITIAL.
wa_bapi_partner-partn_role = 'AG'.
wa_bapi_partner-partn_numb = '0000666666'.
wa_bapi_partner-itm_number = '000000'.
append wa_bapi_partner to it_bapi_partner.
clear wa_bapi_partner.
ENDIF.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = wa_header-partner_2
importing
output = wa_header-partner_2.
IF wa_header-partner_2 IS NOT INITIAL.
wa_bapi_partner-partn_role = 'WE'.
wa_bapi_partner-partn_numb = '0000666666'.
wa_bapi_partner-itm_number = '000000'.
append wa_bapi_partner to it_bapi_partner.
clear wa_bapi_partner.
ENDIF.
perform f_item.
data : order_items_inx type table of bapisditmx with header line.
order_items_inx-material = 'X'. "
order_items_inx-target_qty = 'X'. "
order_items_inx-comp_quant = 'X'. "
order_items_inx-trgqty_den = 'X'.
order_items_inx-rnddlv_qty = 'X'.
order_items_inx-updateflag = 'I'.
order_items_inx-target_qu = 'X'.
order_items_inx-plant = 'X'. "
append order_items_inx.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
salesdocumentin = 'MX11111152'
order_header_in = wa_bapi_header
order_header_inx = wa_bapi_headerx
importing
salesdocument = sales_order_no
tables
return = it_bapireturn
order_items_in = it_bapi_item
order_items_inx = order_items_inx
order_partners = it_bapi_partner
order_conditions_in = it_bapi_cond.
if sy-subrc is initial.
commit work.
endif.
*& Form f_item
text
form f_item .
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = wa_item-posnr
importing
output = wa_item-posnr.
wa_item-posnr = '000010'.
IF sy-subrc EQ 0. "IS INITIAL.
move wa_item-posnr to g_str_count."commented out by shakti
ENDIF.
wa_bapi_item-itm_number = wa_item-posnr. " Line item
WA_BAPI_ITEM-PO_ITM_NO = WA_ITEM-EBELP.
wa_bapi_item-division = wa_item-spart.
wa_bapi_item-purch_no_c = 'ddr1234'. " po number
wa_bapi_item-purch_date = sy-datum. " po date
wa_bapi_item-purch_no_s = 'MX11111112'. " Ship-to-party po number
wa_item-matnr = 'MAXIMO_SERVICE'.
call function 'CONVERSION_EXIT_MATN1_INPUT'
exporting
input = wa_item-matnr
importing
output = wa_item-matnr
exceptions
length_error = 1
others = 2.
if sy-subrc is initial.
wa_bapi_item-material = wa_item-matnr. "material
endif.
wa_bapi_item-target_qty = '1'. " Order qty
wa_bapi_item-comp_quant = '1'.
wa_bapi_item-target_qu = 'EA'.
wa_bapi_item-fixed_quan = '1'.
wa_bapi_item-comp_quant = wa_item-kwmeng.
wa_bapi_item-trgqty_den = '1'.
wa_bapi_item-rnddlv_qty = wa_item-kwmeng.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_item-ps_psp_pnr
IMPORTING
output = wa_item-ps_psp_pnr.
IF sy-subrc = 0.
wa_bapi_item-wbs_elem = wa_item-ps_psp_pnr.
ENDIF.
wa_bapi_item-item_categ = 'ZMAX'.
wa_bapi_item-ex_rate_fi = wa_item-kurrf.
wa_bapi_item-dli_profil = wa_item-ffprf. " Dynamic item processor profile
wa_bapi_item-route = wa_item-route. " route
wa_bapi_item-exchg_rate = wa_item-kursk.
wa_bapi_item-plant = '2090'. " Plant
wa_bapi_item-ship_point = 'FN11'. " Shipping point
wa_bapi_item-store_loc = wa_item-lgort. " stg loc
REPLACE ALL OCCURRENCES OF ',' IN wa_item-ntgew WITH '.'.
REPLACE ALL OCCURRENCES OF ',' IN wa_item-brgew WITH '.'.
wa_bapi_item-net_weight = wa_item-ntgew. "
wa_bapi_item-gross_wght = wa_item-brgew. "
call function 'CONVERSION_EXIT_CUNIT_INPUT'
exporting
input = wa_item-gewei
language = sy-langu
importing
output = wa_item-gewei.
EXCEPTIONS
unit_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
wa_bapi_item-untof_wght = 'KG'. " weight unit
replace all occurrences of ',' in wa_item-kursk with '.'.
replace all occurrences of ',' in wa_item-kurrf with '.'.
wa_bapi_item-profit_ctr = wa_item-prctr. " Profit center
wa_bapi_item-resanalkey = wa_item-abgrs. " RESULT ANALYSIS KEY
wa_bapi_item-cstg_sheet = wa_item-kalsm_k. " COSTING SHEET
append wa_bapi_item to it_bapi_item.
endform. " f_item
Thanks & regards,
Chetansee the following to create sales order:-
*& Report ZSALESORDER
*&DEVELOPED BY JANI KRUPA 4.10.2008
REPORT ZSALESORDER.
Parameters
Sales document type
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
PARAMETERS: p_auart TYPE auart OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Sales organization
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Distribution channel
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Division.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SKIP 1.
Sold-to
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Ship-to
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SKIP 1.
Material
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Quantity.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Plant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
PARAMETERS: p_plant TYPE werks_d .
SELECTION-SCREEN END OF LINE.
Complete Deliver
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text10 FOR FIELD p_autlf.
PARAMETERS: p_autlf TYPE autlf DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
Data declarations.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead1.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
DATA: lt_schedules_ink TYPE STANDARD TABLE OF bapisdhead1
WITH HEADER LINE.
Initialization.
INITIALIZATION.
v_text = 'Order type'.
v_text1 = 'Sales Org'.
v_text2 = 'Distribution channel'.
v_text3 = 'Division'.
v_text4 = 'Sold-to'.
v_text5 = 'Ship-to'.
v_text6 = 'Material'.
v_text7 = 'Quantity'.
v_text9 = 'Plant'.
v_text10 = 'Complete delivery'.
Start-of-selection.
START-OF-SELECTION.
Header data
Sales document type
header-doc_type = p_auart.
headerx-doc_type = 'X'.
Sales organization
header-sales_org = p_vkorg.
headerx-sales_org = 'X'.
Distribution channel
header-distr_chan = p_vtweg.
headerx-distr_chan = 'X'.
Division
header-division = p_spart.
headerx-division = 'X'.
headerx-updateflag = 'I'.
*Complete delivery
header-COMPL_DLV = p_autlf.
header-COMPL_DLV = 'X'.
Partner data
Sold to
partner-partn_role = 'AG'.
partner-partn_numb = p_sold.
APPEND partner.
Ship to
partner-partn_role = 'WE'.
partner-partn_numb = p_ship.
APPEND partner.
ITEM DATA
itemx-updateflag = 'I'.
Line item number.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
Material
item-material = p_matnr.
itemx-material = 'X'.
Plant
item-plant = p_plant.
itemx-plant = 'X'.
Quantity
item-target_qty = p_menge.
itemx-target_qty = 'X'.
item category
itemx-ITEM_CATEG = 'X'.
APPEND item.
APPEND itemx.
ITEM DATA
itemx-updateflag = 'I'.
Line item number.
item-itm_number = '000020'.
itemx-itm_number = 'X'.
Material
item-material = p_matnr.
itemx-material = 'X'.
Plant
item-plant = p_plant.
itemx-plant = 'X'.
Quantity
item-target_qty = p_menge.
itemx-target_qty = 'X'.
APPEND item.
APPEND itemx.
Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Fill schedule lines
lt_schedules_in-itm_number = '000020'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000020'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Call the BAPI to create the sales order.
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Check the return table.
LOOP AT return WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in creating document'.
ELSE.
Commit the work.
COMMIT WORK AND WAIT.
WRITE: / 'Document ', v_vbeln, ' created'.
ENDIF. -
I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.
1) This is because of software version 1.1. See this
thread for some options as to how to go back to 1.0,
which will correct the problem...
http://discussions.apple.com/thread.jspa?threadID=3754
59&tstart=0
2) This tends to happen after videos. Give the iPod a
minute or two to readjust. It should now be more
accurate.
3) This?
iPod shows a folder icon with exclamation
point
4) Restore the iPod
5) Try these...
iPod Only Shows An Apple Logo and Will Not Start
Up
iPod Only Shows An Apple Logo
I think 3,4, and 5 are related. Try the options I
posted for each one.
btabz
I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again -
Not able to find 'Sales Summary' of a BP in CIC0 transaction
Hi,
We are using CRM 3.0 vesion and not able to find 'Sales Summary' of a BP in CIC0 transaction.
Appriciate any suggests on this.
Regards,
Fedor.Hi ,
is it open so item or you already done the DO and Billing? , it wont allow to change if you have any sub.documents for that SO.
regards
Prabhu -
Not able to select a row in ALV in Webdynpro
Hi everyone,
I have developed a webdynpro application and I have declared component usage for SALV_WD_TABLE.
The data gets displayed in the ALV, but always the first row is selected.
When I try to select another row,I am not able to select.
Could anyone please suggest what might be the problem ?
Thanks in advance.
Regards,
Kumudha.Hi Manas,
Thanks for the inputs.
I am placing the code below for your reference.
I try to change the below as Display Text as Code...But it is not happening Plz check
method wddoinit.
if wd_this->ls_setup is initial.
select single * from yyua_c_setup into wd_this->ls_setup
where system_id = sy-sysid.
endif.
"adjustments for ALV
data lo_cmp_usage type ref to if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_alv( ).
if lo_cmp_usage->has_active_component( ) is initial.
lo_cmp_usage->create_component( ).
endif.
data: l_ref_interfacecontroller type ref to iwci_salv_wd_table .
l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
data: l_value type ref to cl_salv_wd_config_table,
lr_header_t type ref to cl_salv_wd_header,
lv_text type string.
l_value = l_ref_interfacecontroller->get_model( ).
data: lr_column_settings type ref to if_salv_wd_column_settings,
lr_input_field type ref to cl_salv_wd_uie_input_field,
lr_column type ref to cl_salv_wd_column.
Set column title and position
lr_column = l_value->if_salv_wd_column_settings~get_column( 'CSINSTA' ).
lr_column->set_position( 1 ).
lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/REQUEST_NUMBER' ).
lr_column->r_header->set_text( 'Installation' ).
lr_column->r_header->set_ddic_binding_field( '00' ).
lr_column = l_value->if_salv_wd_column_settings~get_column( 'ERFUNAME' ).
|
lr_column->set_position( 18 ).
lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/ACTIVITY_DATE' ).
lr_column->r_header->set_text( 'Job profile ext' ).
lr_column->r_header->set_ddic_binding_field( '00' ).
Hide columns
lr_column = l_value->if_salv_wd_column_settings~get_column( 'ERFTSTMP' ).
lr_column->set_visible( 0 ).
lr_column = l_value->if_salv_wd_column_settings~get_column( 'AETSTMP' ).
lr_column->set_visible( 0 ).
lr_column = l_value->if_salv_wd_column_settings~get_column( 'STATUS' ).
lr_column->set_visible( 0 ).
lr_column = l_value->if_salv_wd_column_settings~get_column( 'PRIO' ).
lr_column->set_visible( 0 ).
lr_column = l_value->if_salv_wd_column_settings~get_column( 'ISSUE' ).
lr_column->set_visible( 0 ).
data: lr_functions type ref to if_salv_wd_function_settings,
lr_function type ref to cl_salv_wd_function,
lr_button_t type ref to cl_salv_wd_fe_button.
Add self-defined functions in toolbar
lr_functions ?= l_value.
lr_function = lr_functions->create_function( 'SELECT' ).
create object lr_button_t.
lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/VIEW' ).
lr_button_t->set_text( 'Select' ).
lr_function->set_editor( lr_button_t ).
data : LR_FUNCTION_SETTINGS TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
create object LR_FUNCTION_SETTINGS.
SET row selectable as true
CALL METHOD LR_FUNCTION_SETTINGS->IF_SALV_WD_TABLE_SETTINGS~SET_ROW_SELECTABLE
EXPORTING
VALUE = ABAP_TRUE.
endmethod
Regards,
Kumudha. -
Not able to select a row in ALV?
Hi Experts,
I am enhancing a standard e-recruiting WD ABAP component.
It produces a search result as ALV.
I am not able to select any row in ALV by clicking it like we normally do in ALV.
I wrote below code to allow selection:
lo_value->if_wd_salv_table_settings~set_selection_mode( cl_wd_table=>e_selection_mode-single).
Even after this I am not able to select any row by clicking it.
Need help to solve this.
Regards,
Sumit OberoiHi,
To have the inputfields for the ALV.
Get the column references of the ALV table and for each column rference create a inputfield object
type CL_SALV_WD_UIE_INPUT_FIELD.
lo_value is model object.
CALL METHOD lo_value->if_salv_wd_column_settings~get_columns
RECEIVING
value = wd_this->lit_columns.
LOOP AT wd_this->lit_columns INTO wd_this->lis_columns.
lv_id = wd_this->lis_columns-id.
wd_this->gref_column = wd_this->lis_columns-r_column.
case lv_id.
when ' colname'.
CREATE OBJECT lr_input
EXPORTING
value_fieldname = lv_id.
CALL METHOD wd_this->gref_column->set_cell_editor
EXPORTING
value = lr_input.
when ' colname'.
CREATE OBJECT lr_input
EXPORTING
value_fieldname = lv_id.
CALL METHOD wd_this->gref_column->set_cell_editor
EXPORTING
value = lr_input.
endcase.
endloop.
Or you can take a attribute READ_ONLY for the node to which ALV table is bound.
Set the readonly property to abap_false (for input field) by looping through the table.
Get the column references and get the textview reference for each column and use the set_read_only
method by passing the attribute name.
This way the textview will now become the inputfield when the read_only property is set to abap_false.
Regards,
Lekha. -
Not able to select value in MSC1N
Hello All,
I am trying to create the batch using MSC1N. I am not able to select the characteristics values for few characteristcs. I am using selected sets and code groups for those characterisctis. For others it is working properly. I am getting the error as "Value "Z033000 0010" cannot be selected
Message no. C1853
Diagnosis
From a value hierarchy, you want to choose a value that has subordinate values. This is not possible. You can only choose the lowest values in a value hierarchy.
Procedure
Explode the structure down to the lowest values and choose one of these.
Please guide me asap.
Regards,
MayuraIt sounds like you have multiple values available in the characteristic in your batch class. I'm guessing that the characteristics you are having problems with are set up differently than the ones you aren't having problems with.
It sounds like SAP thinks that because you selected code A, you can now pick from Codes X,Y,Z. But if you had selected code B, you can only pick from Codes L,M,N. The message is saying you have to pick directly from one of these lower subordinate codes. You can't select Code A as your choice because it's not an actual choic, ,only a pathway to let you pick from X,Y,Z.
I'm not sure exaclty how you have your charateristics set up but his sounds like it has variant configuration involved in it.
FF -
Not able to select MS SQL Server tables in sqldeveloper using dblink
Hi All,
I able tp select MS SQL table columns in sqlplus prompt but i am not able to select same thing in sql developer using dblink.
If i use convert(<mycol>,'WE8ISO8859P1','utf8') in sqldeveloper its working, how to select MS SQL columns without convert function.
Thanks,
-ManiMani,
This is a problem with SQL*Developer and converting nvarchar characters.
The workround is to install the Oracle client software and use the option in SQL*Developer -
- Tools
- Preferences
- Database
- Advanced
- and click the 'Use OCI/Thick driver' option.
I made these steps -
- download the 11.1 client software from eDelivery -
http://edelivery.oracle.com/
- go through the administration screens (name, etc)
- on the next screen ' Media Pack Search' screen choose -
- Select a Product Pack - Oracle database
- Platform - Microsoft Windows (32-bit)
- Oracle® Database 11g Release 1 (11.1.0.6.0) Media Pack for Microsoft Windows (32-bit)
- then download -
Oracle® Database 11g Release 1 Client (11.1.0.6.0) for Microsoft Windows (32-bit) CD
- Install the Instant Client and also apply the 11.10.7 patchset to the ORACLE_HOME where you install the client. (if you are using 11.1.0.7 RDBMS)
- for Windows change the PATH system variable to make sure the 11.1 RDBMS and Client ORACLE_HOME directories are listed before any other Oracle directories
- started SQL*Developer and clicked the 'Use OCI/Thick driver' option
- could then run the select -
select "col2" from test_nvarchar@dg4msql ;
without any problems.
If this is still a problem for you then let us know the description of the columns in the SQL*Server table that give the problem and the exact errors you receive.
Regards,
Mike -
J1I9 - not able to select excise group while confi. no range
Dear friends,
I have done CIN configuration in development.
all request are transported to quality.
But when i am going to assing number ranges in J1I9 , i am not getting allready configured Excise Group for seldction . ?? WHY??
Where i am wrong??
Regards,
Maheshhi
Check Note 805449 - Not able to maintain Number ranges for excise groups
In SE12 enter J_1INEXCGRP and click on F7
then select Utilities slect table contents and create entries in menu bar
enter the excis egroup here save it
then do SNRO -
Weird issue. Captivate 6 not letting me select a script for an Advanced Action
Hi, So i'm facing this really weird issue on a captivate 6 project that i built. I need to add an Advance Action on a slide Exit action. This was previously set as "Continue" and now I want to set this to "Execute Advanced Action" (an Advanced Action script that I just wrote). The thing is that when I change the On Exit property to "Execute Advanced Actions", I am not able to select a script from the "Script" dropdown. I've tried everything from:
changing machines and doing this on different computers with Captivate 6
Making copies of the file and trying those
Closing Captivate and Restarting my computer
Ensuring that the slides are not locked
but can't seem to figure this out. Also funnily, if I try to set the On Exit property of let's say slide 67 as "Execute Advanced Actions" (when it was previously just "Continue"), all other slides are also changing to this, meaning the On Exit property for all other slides has also been changed from "Continue" to "Execute Advanced Actions".
I've been stuck with this for the last 6 hours and can't figue this out.
Please Help!!!
-SeanIf this is the same file you were having issues with before where we suspected corruption, then I'd have to say this probably confirms it.
http://www.infosemantics.com.au/adobe-captivate-troubleshooting/recover-corrupt-project
Usually the fix is to copy all slides into a new blank shell project of the same size to try and strip out the corruption issue.
See item #4 here:
http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic-troubleshooting-tech niques
However, since you are on a Cp version earlier than 7.0.1, please note that this will also strip out all of your current advanced actions as well (which also might be where the corruption is anyway).
Your issue is actually quite rare. I cannot guarantee you that Cp 7 would never do the same thing, but one advantage of Cp7 is that you can try copying and pasting slides into a new shell project and it WILL bring along the advanced actions and variables as well. So I definitely think it's worth downloading the trial version of Cp7, upgrading with the Cp 7.0.1 patch and giving it a go to see if that fixes your issue.
Alternatively, if you haven't got lots of time-consuming Advanced Actions to recreate, just paste all slides into a new shell project and recreate them. It's probably not going to take that long if it's only one project file. -
ASCP Plan Is Not Able To Read Global Forecast For Options Published By Demantra
ASCP plan is not able to read global forecast for options published by Demantra
ASCP plan is not able to read global forecast for options published by Demantra. Only Model Forecast is being read into ASCP plan.
1) We are publishing global forecast from Demantra at CTO/Zone/Week level and it is getting published properly to ASCP denorm table.
2)There is no forecast explosion being done in ascp (plan option explode forecast is not checked)
3)The sourcing rule is set at zone level for the model saying source from an organization (org code 11)
4) The profile: msc:-Organization containing generic BOM for global forecasting is set to 22 which is a reference org
5) Now when we run the plan the model forecast goes to org 11 but the option forecasts do not go properly
6) We have just one line created for the option (production forecast) with a wrong quantity
7) Demantra has forecasts for both Model and optionsLooking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
-Ramesh
Maybe you are looking for
-
Usb to serial converter console access on aironet 1131
I am having difficulty accessing the console port utilizing a usb to serial converter. My settings are 9600, 8,n,1 and flow control is none. The converter works if I use it for switches and router but fails on the aironet. I can access the aironet if
-
Problem in posting Retention amount to Vendor
Dear All, I had activated business function 'LOG_MMFI_P2P'. As a result i am getting Payment processing tab in PO. There i can define Down payment and Retention percentages. I had created a service purchase order and then service entry sheet. After t
-
Erro java.lang.IllegalArgumentException: can't parse argument number
We are trying to making an HTTPS post using the SOAP adapter (sending XML message) and have been receiving an error in the MDT. If we open the message details and click the audit log instead of seeing the steps in the audit log we have an error that
-
I need use a webcam in labview. Is it possible?
I need use a webcam in labview, is it possible? BYEE!!!
-
Hi guys Can anyone help me with step by step navigation of BEx WAD 3.5..... Thanks for your inputs... NR