Middleware : Service order - No Upload to R/3
Hi Experts,
Landscape Details:
Our Client is using CRM 5.0 and R/3 4.7.
Integration was done through middleware and initial load of Customizing data, Master data( Customer master and Material master) was finished.
In Administration console( Transaction code- SMOEAC), R/3 site was subscribed for 'All Business transactions(MESG)'.
Requirement:
service order created in CRM has to be replicated to R/3.
Following customization was done:
In both CRM and R/3 Transaction type and Document type are maintained with the same name.
Number range is internal in CRM and external in R/3.
Item categories and Item category determinations were maintained in the same way in both systems.
Problem Description:
When i am creating a Service order in CRM it is not replicating to R/3.
In transaction SMW01 it was hanging with 'yellow color' status.
If i reproces the BDOC manually in SMW01, status is going to green color, but it is giving the following errors.
1. No upload into R/3 Message no. CRM_ORDER_MISC022
2. R/3 adapter is called Message no. CRM_ORDER_MISC024
Note: I have checked the SAP note 791713, implementation CRM_SALESDOCU_R3A was active in SE19.
Can anybody guide me to solve this issue.
Thanks in advance
Nadh.
Hi Nadh
Is there a placeholder for a service order in R/3? What would SAP services business process achieve by replicating a service order to R/3? A service order can create a sales order in R/3 if you have a sales item in your service order which is sold to the customer during services.
There are 4 types of items in a service order:
The posting of actual costs to the account assignment object in the SAP ERP system is triggered using the service confirmations assigned to a transaction.
● Activities
Activities are automatically transferred to a time sheet. The sender cost center is determined using the personnel number of the service employee making the confirmation. The activity type is determined from Customizing. The data entered must be transferred to CO from the time sheet. To make this transfer, choose Personnel ® Personnel Time Management ® Time Sheet ® Transfer ® Accounting. Then activity allocation from the service employees cost center to the account assignment object takes place in CO.
● Service parts
Service parts automatically generate goods issues in MM, with a posting in FI and to the account assignment object.
● Expense items
Expense items are automatically posted to the ERP system as transfers: The cost center of the service employee making the confirmation is credited in the amount of the expenses entered, and the account assignment object is debited for that amount. The transfer posting cost element is determined from Customizing.
● Tools
Tool items are automatically posted in the ERP system as internal activity allocations. The cost center and activity type are assigned in the ERP system in Customizing under Integration with Other SAP Components ® Customer Relationship Management ® Settings for Service Processing ® Controlling Integration ® Assign Cost Center and Activity Type to Tool.
Then activity allocations from the cost center to the account assignment object take place in CO.
Sales items are not confirmed; instead the sales order is created for the service item in SAP ERP sales and distribution (SD). During the goods issue for delivery in MM, the costs are posted in FI and to the account assignment object.
Please refer to SAP documentation on how the services business process flows.
Similar Messages
-
Hi All ,
I have a requirement in WD ABAP , where in I want to to upload excel file with Service orders .
Fields in excel need to be mapped with standard SAP Fields and Z tables Fields both at Header and Item Level .
Any pointers regarding , how to do it , would be highly appreciated .
Regards ,
Amit SainiPlease refer to the link below.
http://help.sap.com/saphelp_nw04s/helpdata/en/f6/501b42b5815133e10000000a155106/frameset.htm
FileUpload UI element can be used here. Please refer to view FILEUPLOAD of web dynpro component WDR_TEST_EVENTS for an example.
Edited by: Pooja Patodia on May 11, 2009 1:33 PM -
How to get CRM service order data in R/3
Hi,
I want to retrieve service order data from CRM system to R/3, is there any FM for this. Please help as i am new to CRM
Thanks
BobbyHi Bobby,
It is very much possible to upload CRM service orders to SAP R/3 or SAP ECC via standard CRM middleware.
Please refer to the below SAP help document for complete list of configuration activities for service order upload.
http://help.sap.com/saphelp_crm50/helpdata/en/f0/5d583c65399965e10000000a114084/frameset.htm
<b>Do not forget to reward if it helps</b>
Regards,
Paul Kondaveeti -
Create sales order with reference to service order
Hi
I need to create sales order based on the service order . Is there any BAPI function module available for this ?
Please help...
Regards
Sujith** プログラムID       : ZBAPI_SALESORDER_CREATE *
** プログラム名称      : Upload Sales Order Creation *
** 処理概要         : *
** 作成者           : Karthik.P *
** 作成日           : 2006/08/10 *
REPORT ZBAPI_SALESORDER_CREATE LINE-SIZE 132 MESSAGE-ID ZMMBAPI .
Internal table definition *
****<<<<<Communication Fields: Sales and Distribution Document Header>>>>>>>>
DATA: GT_ORDER_HEADER_IN LIKE BAPISDHD1,
*******<<<Checkbox Fields for Sales and Distribution Document Header>>>>>>>>>
GT_ORDER_HEADER_INX LIKE BAPISDHD1X,
*****<<<<<Return Parameter>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
GT_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE, " Return Messages
*********<<<Communication Fields: Sales and Distribution Document Item<>>>>>
GT_ORDER_ITEMS_IN LIKE BAPISDITM OCCURS 0 WITH HEADER LINE, " Item Data
*********<<<Communication Fields: Sales and Distribution Document Item>>>>>>>
GT_ORDER_ITEMS_INX LIKE BAPISDITMX OCCURS 0 WITH HEADER LINE, "Item Data Checkbox
*********<<<Communication Fields: Sales and Distribution Document Item>>>>>>>
GT_SALESDOCUMENT LIKE BAPIVBELN-VBELN , "Number of Generated Document
*********<<<Communications Fields: SD Document Partner: WWW>>>>>>>>>>>>>>>>>>
GT_ORDER_PARTNERS LIKE BAPIPARNR OCCURS 0 WITH HEADER LINE, "Document Partner
********<<<<Communications Fields: SD Document Partner: WWW>>>>>>>>>>>>>>>>>>
GT_ORDER_SCHEDULES_IN LIKE BAPISCHDL OCCURS 0 WITH HEADER LINE, "Schedule Line Data
****<<<<<<<<Checkbox List for Maintaining Sales Document Schedule Line>>>>>>>>
GT_ORDER_SCHEDULES_INX LIKE BAPISCHDLX OCCURS 0 WITH HEADER LINE, " Checkbox Schedule Line Data
*******Communication Fields for Maintaining Conditions in the Order
GT_ORDER_CONDITIONS_IN LIKE BAPICOND OCCURS 0 WITH HEADER LINE,
******Communication Fields for Maintaining Conditions in the Order
GT_ORDER_CONDITIONS_INX LIKE BAPICONDX OCCURS 0 WITH HEADER LINE.
Data definition *
DATA: BEGIN OF GT_FT_SALES OCCURS 0,
DOC_TYPE(4) , "Sales Document Type
SALES_ORG(4) , "Sales Organization
DISTR_CHAN(2) , "Distribution Channel
DIVISION(2) , "DIVISION(2)
SALES_DIST(6) , "Sales district
INCOTERMS1(3) , "Incoterms (part 1)
INCOTERMS2(28) , "Incoterms (part 2)
PMNTTRMS(4) , "Terms of payment key
PRICE_DATE(8) , "Date for pricing and exchange rate
PURCH_NO_C(35) , "Customer purchase order number
PURCH_NO_S(35) , "Ship-to Party's Purchase Order Number
EXCHG_RATE(8) , "Directly quoted exchange rate for pricing and statistics
CURRENCY(5) , "SD document currency
MATERIAL(18), "MATERIAL
TARGET_QTY(13) , "Target quantity in sales units
ITEM_CATEG(4) , "Sales document item category
MATL_GROUP(8) , "Material Group
PURCH_NO_C1(35), "Customer purchase order number
SALES_DIST1(6) , "Sales district
INCOTERMS11(3) , "Incoterms (part 1)
INCOTERMS21(28), "Incoterms (part 2)
PMNTTRMS1(4) , "Terms of payment key
EXCHG_RATE1(8) , "Directly quoted exchange rate for pricing and statistics
PRICE_DATE1(8) , "Date for pricing and exchange rate
TRG_QTY_NO(5) , "Factor for converting sales units to base units (target qty)
DIVISION1(2) , "DIVISION1
SALQTYNUM(5) , "Numerator (factor) for conversion of sales quantity into SKU
GROSS_WGHT(3) , "Gross Weight of the Item
NET_WEIGHT(15) , "Net Weight of the Item
UNTOF_WGHT(3) ,"Weight Unit
PARTN_ROLE(2) ,"Partner function
PARTN_NUMB(10) ,"Customer Number 1
********<<<<Communications Fields: SD Document Partner: WWW>>>>>>>>>>>>>>>>>>
ITM_NUMBER(6) ,"Item number of the SD document
REQ_QTY(8) , "Schedule line date
DLV_DATE(8) , "Schedule line date
MS_DATE(8) , "Material availability date
LOAD_DATE(8) , "Loading time (local time with reference to a shipping point)
GI_DATE(8), "Time of goods issue (local DATE, with reference to a plant)
TP_DATE(8) , "Transportation planning -time (local w/ref. to shipping pnt)
ITM_NUMBER2(6) , "Condition item number
END OF GT_FT_SALES,
MSG(240) TYPE C, " Return Message
E_REC(8) TYPE C, " Error Records Counter
REC_NO(8) TYPE C, " Records Number Indicator
S_REC(8) TYPE C, " Successful Records Counter
T_REC(8) TYPE C. " Total Records Counter
selection block for EXCEL UPLOAD FILE>>>>>>>>>>>>>>>>>>>>>>>>
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
PARAMETERS FILE TYPE IBIPPARMS-PATH OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
*<<<<AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE .>>>>>>>>>>>>
AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE .
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
IMPORTING
FILE_NAME = FILE.
**<<<<<<<<<<<<<<<<<START-OF-SELECTION.>>>>>>>>>>>>>>>>>>>>>>>>>>>
START-OF-SELECTION.
CALL FUNCTION 'WS_UPLOAD' "#EC *
EXPORTING
FILENAME = FILE
FILETYPE = 'DAT'
TABLES
DATA_TAB = GT_FT_SALES
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11.
IF SY-SUBRC <> 0 .
MESSAGE E000.
ENDIF.
SKIP 3.
FORMAT COLOR COL_HEADING INVERSE ON.
WRITE 40 TEXT-001.
FORMAT COLOR COL_HEADING INVERSE OFF.
SKIP 1.
FORMAT COLOR COL_NEGATIVE INVERSE ON.
WRITE :/ TEXT-002, 13 SY-MANDT , 104 TEXT-003, 111 SY-UNAME,
/ TEXT-004, 13 SY-DATUM , 104 TEXT-005, 111 SY-UZEIT.
FORMAT COLOR COL_NEGATIVE INVERSE OFF.
SKIP 3.
LOOP AT GT_FT_SALES.
PERFORM SLALE_UPLOAD_DATA.
ENDLOOP.
T_REC = E_REC + S_REC.
SKIP 3.
FORMAT COLOR COL_TOTAL INVERSE ON.
WRITE: /38 TEXT-007, T_REC.
FORMAT COLOR COL_TOTAL INVERSE OFF.
FORMAT COLOR COL_NEGATIVE INVERSE ON.
WRITE: /38 TEXT-008, E_REC.
FORMAT COLOR COL_NEGATIVE INVERSE OFF.
FORMAT COLOR COL_TOTAL INVERSE ON.
WRITE: /38 TEXT-009, S_REC.
FORMAT COLOR COL_TOTAL INVERSE OFF.
*& Form SLALE_UPLOAD_DATA
text
--> p1 text
<-- p2 text
FORM SLALE_UPLOAD_DATA .
*******<<<<<<<<<<Communication Fields: Sales and Distribution Document Header>>>>>>
GT_ORDER_HEADER_IN-DOC_TYPE = 'TA'.
GT_ORDER_HEADER_IN-SALES_ORG = GT_FT_SALES-SALES_ORG . "'0001'
GT_ORDER_HEADER_IN-DISTR_CHAN = GT_FT_SALES-DISTR_CHAN. "'01'
GT_ORDER_HEADER_IN-DIVISION = GT_FT_SALES-DIVISION. " '01'
GT_ORDER_HEADER_IN-SALES_DIST = GT_FT_SALES-SALES_DIST ."'000001'
GT_ORDER_HEADER_IN-INCOTERMS1 = GT_FT_SALES-INCOTERMS1. "'CFR'
GT_ORDER_HEADER_IN-INCOTERMS2 = GT_FT_SALES-INCOTERMS2 . "'HAMBURG'
GT_ORDER_HEADER_IN-PMNTTRMS = GT_FT_SALES-PMNTTRMS . "'0001'
GT_ORDER_HEADER_IN-PRICE_DATE = GT_FT_SALES-PRICE_DATE ."'20060818'
GT_ORDER_HEADER_IN-PURCH_NO_C = '32'.
GT_ORDER_HEADER_IN-PURCH_NO_S = '32'.
GT_ORDER_HEADER_IN-EXCHG_RATE = GT_FT_SALES-EXCHG_RATE ."'1.00000'
GT_ORDER_HEADER_IN-CURRENCY = GT_FT_SALES-CURRENCY . " 'EUR'
********<<<Checkbox Fields for Sales and Distribution Document Header>>>>>>>>>
GT_ORDER_HEADER_INX-DOC_TYPE = 'X'.
GT_ORDER_HEADER_INX-SALES_ORG = 'X'.
GT_ORDER_HEADER_INX-DISTR_CHAN = 'X'.
GT_ORDER_HEADER_INX-DIVISION = 'X'.
GT_ORDER_HEADER_INX-SALES_DIST = 'X'.
GT_ORDER_HEADER_INX-INCOTERMS1 = 'X'.
GT_ORDER_HEADER_INX-INCOTERMS2 = 'X'.
GT_ORDER_HEADER_INX-PMNTTRMS = 'X'.
GT_ORDER_HEADER_INX-PRICE_DATE = 'X'.
GT_ORDER_HEADER_INX-PURCH_NO_C = 'X'.
GT_ORDER_HEADER_INX-PURCH_NO_S = 'X'.
GT_ORDER_HEADER_INX-EXCHG_RATE = 'X'.
GT_ORDER_HEADER_INX-CURRENCY = 'X'.
*****<<<<<<Communication Fields: Sales and Distribution Document Item>>>
GT_ORDER_ITEMS_IN-ITM_NUMBER = '000010'.
GT_ORDER_ITEMS_IN-MATERIAL = GT_FT_SALES-MATERIAL .
GT_ORDER_ITEMS_IN-PO_ITM_NO = '32'.
GT_ORDER_ITEMS_IN-CUST_MAT22 = 'AGNI-IV'.
GT_ORDER_ITEMS_IN-BILL_DATE = '20060808'.
GT_ORDER_ITEMS_IN-PLANT = '0001'.
*GT_ORDER_ITEMS_IN-STORE_LOC = '0001'.
GT_ORDER_ITEMS_IN-TARGET_QTY = GT_FT_SALES-TARGET_QTY . "'1000'
GT_ORDER_ITEMS_IN-ITEM_CATEG = GT_FT_SALES-ITEM_CATEG . "'TAN'
GT_ORDER_ITEMS_IN-MATL_GROUP = GT_FT_SALES-MATL_GROUP . "'01'
GT_ORDER_ITEMS_IN-PURCH_NO_C = GT_FT_SALES-PURCH_NO_C . "'32'
GT_ORDER_ITEMS_IN-SALES_DIST = GT_FT_SALES-SALES_DIST . "'000001'
GT_ORDER_ITEMS_IN-INCOTERMS1 = GT_FT_SALES-INCOTERMS1 . "'CFR'
GT_ORDER_ITEMS_IN-INCOTERMS2 = GT_FT_SALES-INCOTERMS2 . "'HAMBURG'
GT_ORDER_ITEMS_IN-PMNTTRMS = GT_FT_SALES-PMNTTRMS . "'0001'.
GT_ORDER_ITEMS_IN-EXCHG_RATE = GT_FT_SALES-EXCHG_RATE . "'1.00000'
GT_ORDER_ITEMS_IN-PRICE_DATE = GT_FT_SALES-PRICE_DATE . "'20060808'
*GT_ORDER_ITEMS_IN-SALES_UNIT = 'DZ'.
GT_ORDER_ITEMS_IN-TRG_QTY_NO = GT_FT_SALES-TRG_QTY_NO . "'23'
GT_ORDER_ITEMS_IN-DIVISION = GT_FT_SALES-DIVISION . "'01'
GT_ORDER_ITEMS_IN-SALQTYNUM = GT_FT_SALES-SALQTYNUM . "'32'
GT_ORDER_ITEMS_IN-GROSS_WGHT = GT_FT_SALES-GROSS_WGHT. " ' 25272000'
GT_ORDER_ITEMS_IN-NET_WEIGHT = GT_FT_SALES-NET_WEIGHT. "'24464000'
GT_ORDER_ITEMS_IN-UNTOF_WGHT = GT_FT_SALES-UNTOF_WGHT . " 'KG'
*GT_ORDER_ITEMS_IN-CURRENCY = 'EUR'.
APPEND GT_ORDER_ITEMS_IN.
****<<<<<<Communication Fields: Sales and Distribution Document Item>>>
GT_ORDER_ITEMS_INX-ITM_NUMBER = '000010'.
GT_ORDER_ITEMS_INX-MATERIAL = 'X'.
*GT_ORDER_ITEMS_INX-PO_ITM_NO = 'X'.
GT_ORDER_ITEMS_INX-CUST_MAT22 = 'X'.
GT_ORDER_ITEMS_INX-BILL_DATE = 'X'.
GT_ORDER_ITEMS_INX-PLANT = 'X'.
*GT_ORDER_ITEMS_INX-STORE_LOC = 'X'.
GT_ORDER_ITEMS_INX-TARGET_QTY = 'X'.
GT_ORDER_ITEMS_INX-ITEM_CATEG = 'X'.
GT_ORDER_ITEMS_INX-MATL_GROUP = 'X'.
GT_ORDER_ITEMS_INX-PURCH_NO_C = 'X'.
GT_ORDER_ITEMS_INX-SALES_DIST = 'X'.
GT_ORDER_ITEMS_INX-INCOTERMS1 = 'X'.
GT_ORDER_ITEMS_INX-INCOTERMS2 = 'X'.
GT_ORDER_ITEMS_INX-PMNTTRMS = 'X'.
GT_ORDER_ITEMS_INX-EXCHG_RATE = 'X'.
GT_ORDER_ITEMS_INX-PRICE_DATE = 'X'.
*GT_ORDER_ITEMS_INX-SALES_UNIT = 'X'.
GT_ORDER_ITEMS_INX-TRG_QTY_NO = 'X'.
GT_ORDER_ITEMS_INX-DIVISION = 'X'.
GT_ORDER_ITEMS_INX-SALQTYNUM = 'X'.
GT_ORDER_ITEMS_INX-GROSS_WGHT = 'X'.
GT_ORDER_ITEMS_INX-NET_WEIGHT = 'X'.
GT_ORDER_ITEMS_INX-UNTOF_WGHT = 'X'.
*GT_ORDER_ITEMS_IN-CURRENCY = 'x'.
APPEND GT_ORDER_ITEMS_INX.
*****<<<<<<Communications Fields: SD Document Partner: WWW
GT_ORDER_PARTNERS-PARTN_ROLE = 'WE'.
GT_ORDER_PARTNERS-PARTN_NUMB = '0000000057'.
***GT_ORDER_PARTNERS-ITM_NUMBER = GT_FT_SALES-ITM_NUMBER . " '000010'.
APPEND GT_ORDER_PARTNERS.
*********<<<<Communications Fields: SD Document Partner: WWW>>>>>>>>>>>>>>>>>>
GT_ORDER_SCHEDULES_IN-ITM_NUMBER = GT_FT_SALES-ITM_NUMBER." '000010'
GT_ORDER_SCHEDULES_IN-REQ_QTY = GT_FT_SALES-REQ_QTY . "'234'
GT_ORDER_SCHEDULES_IN-DLV_DATE = GT_FT_SALES-DLV_DATE ." '20060824'.
GT_ORDER_SCHEDULES_IN-MS_DATE = GT_FT_SALES-MS_DATE . "'20060808'
GT_ORDER_SCHEDULES_IN-LOAD_DATE = GT_FT_SALES-LOAD_DATE. " '20060822'
GT_ORDER_SCHEDULES_IN-GI_DATE = GT_FT_SALES-GI_DATE . " '20060823'
GT_ORDER_SCHEDULES_IN-TP_DATE = GT_FT_SALES-TP_DATE . "'20060821'
APPEND gt_ORDER_SCHEDULES_IN.
*********<<<<Communications Fields: SD Document Partner: WWW FLAG>>>>>>>>>>>>>>>>>>
GT_ORDER_SCHEDULES_INX-ITM_NUMBER = '000010'.
GT_ORDER_SCHEDULES_INX-REQ_QTY = 'X'.
GT_ORDER_SCHEDULES_INX-DLV_DATE = 'X'.
GT_ORDER_SCHEDULES_INX-MS_DATE = 'X'.
GT_ORDER_SCHEDULES_INX-LOAD_DATE = 'X'.
GT_ORDER_SCHEDULES_INX-GI_DATE = 'X'.
GT_ORDER_SCHEDULES_INX-DLV_DATE = 'X'.
APPEND gt_ORDER_SCHEDULES_INX.
********Communication Fields for Maintaining Conditions in the Order
GT_ORDER_CONDITIONS_IN-ITM_NUMBER = GT_FT_SALES-ITM_NUMBER ." '000010'
APPEND GT_ORDER_CONDITIONS_IN.
***Communication Fields for Maintaining Conditions in the Order
GT_ORDER_CONDITIONS_INX-ITM_NUMBER = '000010'.
APPEND GT_ORDER_CONDITIONS_INX.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
SALESDOCUMENTIN =
ORDER_HEADER_IN = GT_ORDER_HEADER_IN
ORDER_HEADER_INX = GT_ORDER_HEADER_INX
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
SALESDOCUMENT = GT_SALESDOCUMENT
TABLES
RETURN = GT_RETURN
ORDER_ITEMS_IN = GT_ORDER_ITEMS_IN
ORDER_ITEMS_INX = GT_ORDER_ITEMS_INX
ORDER_PARTNERS = GT_ORDER_PARTNERS
ORDER_SCHEDULES_IN = GT_ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX = GT_ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN = GT_ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX = GT_ORDER_CONDITIONS_INX
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
ORDER_TEXT =
ORDER_KEYS =
EXTENSIONIN =
PARTNERADDRESSES =
IF GT_RETURN-TYPE EQ 'E' .
E_REC = E_REC + 1.
READ TABLE GT_RETURN WITH KEY ID = 'V1'.
FORMAT COLOR COL_NEGATIVE INVERSE ON.
REC_NO = E_REC + S_REC.
CONCATENATE TEXT-006 REC_NO ':'
GT_RETURN-MESSAGE INTO MSG SEPARATED BY SPACE .
CONDENSE MSG.
WRITE: / MSG.
FORMAT COLOR COL_NEGATIVE INVERSE OFF.
ELSEIF GT_RETURN-TYPE EQ 'S'.
S_REC = S_REC + 1.
FORMAT COLOR COL_POSITIVE INVERSE ON.
MSG = GT_RETURN-MESSAGE.
CONDENSE MSG.
WRITE: / MSG .
FORMAT COLOR COL_POSITIVE INVERSE OFF.
PERFORM COMMIT_MM.
ENDIF.
CLEAR: GT_RETURN[], MSG.
ENDFORM. " SLALE_UPLOAD_DATA
*& Form COMMIT_MM
text
--> p1 text
<-- p2 text
FORM COMMIT_MM .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = GT_RETURN.
clear: GT_ORDER_ITEMS_IN[],GT_ORDER_CONDITIONS_IN[].
ENDFORM. " COMMIT_MM -
Service order replication from CRM to R/3- Error confirmation status
Hi,
We are trying to replicate a service order created in CRM 5.0 to R/3 ,
the service order is saved without any errors both the item and transaction have status released but when we try to create a service confirmation as followup it shows a message "Service process 8000000023 cannot be confirmed due to its status"
and on checking in txn:SMW01 it shows status as "sent to recievers" and a message "R/3 adapter called"
Please can you tell me regarding the status that is to be maintained for successfull upload of service orders to R/3.
Regards
PrathibaHi Pepe,
Thank you for your quick reply.
The status of the item shows "To be distributed" when i try making changes it shows a message
"Document being distributed changes cannot be made"
How to rectify this problem?
Regards
Prathiba -
Transfer cost & revenue to internal order defined inthe service order.
Dear Experts,
On release, service order creates internal order that collects cost & revenue for the job. My requirement is to transfer these costs & revenue to a different internal order through crm order itself. In CRM order there is option to assign the account assignment object as " Internal Order ". This is under tab Account Assignment. Here we can enter any internal order no.
On saving order doesnt throw any error message. But Cost & revenues are not transafered to the I/O mentioned in the CRM service order.Is there any config. setup missing or should we look for BADI enhancement.
Can anyone help me in fixing this issue Plz. Your early response would be most appreciated.
Thank U,
Regards
Devika.SHi,
Just to get cleared, have you set up a Billing Engine in CRM and also the Administrate Console for Billing to flow in CRM with Middleware settings + Item Category (Billing Relevance)
Cause the above are very necessary for your requirement.
Apart from those, in ECC, you need to maintain values under
IMG>Integration with other mySAP.com components>CRM>Settings for Service Process>Billing Integration
Hope this information helps, as I am assuming it that others are maintained by you.
Regards,
Madde -
CRM service order does not create purchase requisition
Dear experts,
CRM 5.0
We have a scenario where saving a released service order should create a purchase requisition in ECC and update the document flow. I have performed the following steps and still the PR isn't getting created.
1. Configuration in CRM and ECC for integration of service processes with logistics and maintaining the purchasing document types.
2. Maintaining standard pruchase groups in ECC table V_TMW01
3. Assigning standard purchase org to the plant
4. Making sure correct RFC destination is assigned to the logical system.
Am I by any chance missing some middleware steps as saving the service order does not even trigger anything in the system?
Thanks
RitwikHi Ritwik,
Just check the following activities are maintained or not
1) You have created the subscription in SMOEAC with Site , Replication object and Service Order
Process type in the criteria value.
2) You have maintained the customizing entry in CRM in spro for the following combination in logiistics
Integration for Trans.Type Item Cat. Service Organization Org Unit (Service) Log. Scen.
Regards
Pavan.A -
Service Order not replicated in R3
Hello Gurus;
Here's my scenario, i need a service order to be created in CRM and replicate in R3, i have no problem with the sales item but some struggle with the service item.
I know that standard CRM wouldn't allow me to replicated object type BUS2000140 in ECC but BUS2000140 is the only object type that allow me to have it relevant for resource planning which i need in my scenario. I tried with BUS2000146 and works perfectly in the replication bid but doesn't work for me because i can not make it relevant for resource planning.
Is there any possible way i can make BUS2000140 fly through or any other object type i can use to have the service order relevant for resource planning??
Looking forward to hearing from you guys
Edited by: F. Rocca on May 28, 2010 12:20 AMHello Rocca,
It is hard coded in FM CRM_SALESDOCUMENT_FILTER that the item which is assigned to object type BUS2000140 would be removed from the upload relevant item list.
To get it replicated, I am afraid that you need to modify the relevant coding here.
Best regards,
Maggie -
Business Object "Service Order" not found in Web Service Tool
Dear Experts,
We're trying to create a web service for Service Order via Web Service Tool,
but we can't find the business object "Service Order" there.
How to step to reproduce the problem:
1. Logon CRM WEBUI with the business role ITSERVICEPRO.
(or T-cd:BSP_WD_CMPWB > Enter component WS_DESIGN_TOOL > Test)
2. Go to Service Operations>Web Service
3. Create a new Web Service
-> In "Service Objects" area at step 1 "Select Objects", there's a drop down list box of "Business Object".
In this list, "Service Order" does not exist.
Other objects such as "Service Confirmation", "Service Order Quotation" etc are available.
How can we create a new web service for Service Order?
Any advise would be highly apprecaited.
Best regards,
F.T.Hello Rocca,
It is hard coded in FM CRM_SALESDOCUMENT_FILTER that the item which is assigned to object type BUS2000140 would be removed from the upload relevant item list.
To get it replicated, I am afraid that you need to modify the relevant coding here.
Best regards,
Maggie -
LSMW method for transaction IW31 (Service Order)
Hi all,
I am looking for a way to create multiple Service Orders using LSMW, but no Recording.
Transaction would be IW31.
Can you give some tips please?
Thank you! Walter.Hi Brenda, thanks for the confirmation you found in the notes!
Can you tell me how to use the BAPI for mass-upload / migration? I haven't done that before, but it looks to me that we won't use LMSW for that, but tr.code SE37, right?
I found out that the BAPI you mention belongs to Business Object BUS2088A, wich cannot be selected in the first LSMW-step.
So the idea is then to write an Abap-program which reads my input-file (which contains all the data to create the service-orders) and then call the BAPI several times to create the Service-Orders one by one. Am I right, or is there a standard way to use this BAPI for mass-upload?
Thanx again, Walter. -
hi experts
my requirement is to upload service order data from nonsap to sap using batch input recording of lsmw for that i need to write custom program please can give guide lines for developement
regards
rajhi chiya,
go through this document, its very useful
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Check this link.It is a step-by-step guide.
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
http://66.102.7.104/search?q=cache:-DE9K5Tj0j8J:www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doclsmwdoc&hl=en
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
regs,
jaga -
COPA and service orders and contracts
We have service order billings using orders created by customer service. When the service order is billed, the order numberAUFNR) is included on the billing document and thus GL entry. These do not post to CO-PA until the service order is settled. Some of the characteristic data is lost in this posting. How can I make these go to CO-PA as the actual postings and the service order as statistical.
Vinay,
I dont think you need any Middleware adaptor objects for CRM Request download .
You need to create a request in CRM using R3AR2 . Here you need to provide the R/3 table name and field name to download the service document along with Document ID
You can monitor your request download in txn R3AR4.
But as MCG rightly told , you should have done all requried customized settigns before downloading service documents .
Regards
Dinesh -
Crm Service Order & Profitability Segment
Hi ,
Please help in solving the following error, when i am saving a service order and editing/change mode i am getting the error mentioned below in bold letters,and more over operating concern and probitalbility segment is not defined in R/3 as client does not require profitability analysis
Please let me know the relavent spro setting / middleware setting , due to which this error is occuring
An error occurred in system WLTCLNT200 during account assignment
*Message no. CRM_ORDER_MISC 060*
*Diagnosis*
Errors occurred when assigning an account assignment object to a business transaction. To view the error message, see the accompanying log file.
Transfer Log
No operating concern has been assigned to controlling area IN01 (Notification E KE 300)
Error occurred during determination of profitability segment (Notification W IAOM 025)
thanks
SKHi Rahul,
These links might help.
1. HOW TO ENABLE OR DISABLE TAB FOR PARTICULAR ORDER TYPE ?
2. Orders Layout
Rewards points if helpful.
Shridhar -
Item category group during service order replication is incorrect
Hi,
We are trying to replicate Service order from CRM to R/3 and the service product that is used in CRM service order is got from r/3 named SRV_REPAIR.
In CRM when we enter SRV_REPAIR in Service order the item category YSRP(copied from SRVP) should be determined.
when i use the item category group LEIS(service w/0 delivery) in R/3 for service product then the item category is determined as YSRP correctly but the replication of service order fails with the message
"It is not possible to upload from mixed documents with scen. A activated "
please suggest which item category group should be used in a service product for replicating a service order from CRM to r/3.
Regards
PrathibaHello,
The problem might be that item category is assigned to object type BUS2000140.
This object type is not relevent to upload so you get the error.
Please check FM CRM_SALESDOCUMENT_FILTER.
FM CRM_SALESDOCUMENT_FILTER
check for upload relevant item object types
if ( lv_obj_type = gc_object_type_item-sales or
( lv_obj_type = gc_object_type_item-cust_contract and
lv_sales_contract_active = true ) or
( ( lv_obj_type = gc_object_type_item-credit_req or
lv_obj_type = gc_object_type_item-debit_req ) and
lv_trans = true )
and
<ls_orderadm_i>-product_kind <> gc_product_kind-iobject
fill table with item guids which are relevant for the upload
insert <ls_orderadm_i>-guid into table lt_item_guids.
else.
insert <ls_orderadm_i>-guid into table lt_item_guids_delete. <-!
endif.
endloop.
endif.
if scenario A is active no mixed documents are supported
if <ls_orderadm_h>-scenario+3(1) = gc_scenario_r3chg-int_chg.
if not lt_item_guids_delete[] is initial. <-
perform fill_bapiret2
using 'W' 'CRM_ORDER_MISC' '036'
lv_msgv1 lv_msgv2 lv_msgv3 lv_msgv4
space 0 gc_object_name-sales 0 space.
raise upload_not_relevant.
endif.
endif.
Please see note 772267 to prohibit data transfer in this case. The error
message is related to scenario A you are using.
Scenario A is not working for
service items as scenatio A allows changes of doc in both systems so
CRM and ECC. As service items won't be replicated this can't work at
all.
In other words, if scenario A is used the sales order in ECC has to be
identically to the sales order in CRM. This is not the case in service
processing.
So again you have to prohibit data transfer from service orders to ECC
when using scenario A.
Hopefully the information helps!
Regards, Gerhard -
Can somebody explain what to expect on the screen (from the user perspective) when doing either an ATP check from a service order or running what SAP calls Availability information?
There is an icon to trigger availability check. What happens then? Do you get a popup with information such as earliest available date? Is the ATP info available in a tab?
Thanks for your answers
ManojHi Manoj,
When an ATP is triggered from the service order or sales order for an item using the ATP icon, it will find out from the backend R/3 or APO system if the product is available.And in the Schedule lines tab the confirmed quanity is determined.
Say for eg. you have ordered 10 materials and if only 9 are available than in the schedule line tab at the item level in the transaction you can see the confirmed quantity as 9 only.
But for this to happen you need to do the middleware settings and activate availability at the item level in the item category.
Regards,
Shalini Chauhan
Maybe you are looking for
-
Problems with Photoshop Elements 10
Hi, I have recently installed elements 10 after having been a user of elements 7 for a couple of years. Having never experienced any problems in 7, I am finding 10 to be a different kettle of fish. I am an amateur photographer and use PSE for post pr
-
How do you set the Date & Time on Zen V Pl
On the System menu I scroll down to Clock Settings. It gives me the options to view the?clock, put the?time in title, & the set the alarm. How do you?change the time & date?
-
Can I connect a second monitor??
Is it possible to add one of the HD LCD monitors from apple to the eMac? Just curious. Thanks
-
"move database-path" not available
Exchange 2010 sp3 now I have a spare drive where I can move the old databases to the new databases. problem is when I right-click on any databases to be moved, the option "Move Database Path" is not available. it's not even listed. how can I move my
-
Storage Link and Window Vista Home Basic
Can someone tell me if the follwoing is true so I won't waste time searching. Since Window Vista Home Basic is not networkable so it won't see the storage link device connected to the WRT610N router. If so, is there anyway to get it work? Thanks,