CRM- Find Service contract from Internal Order Number
Hi Friends,
I would like to know how to get service contract from internal oredr number.
From service contract we can find internal order number by using CRM_ORDER_READ function module- table et_document_flow, but my requirement is how to find service contract from Internal order number.Any function module or BAPI available for this requierement ?
Regards
Vinayak Sapkal
Hi,
when the costs are transferred from CRM to R3, they are posted to an internal order. When a service order or incident is transferred to R3, we have to create an internal order for it, regardless of whether or not a contract has been assigned.
This is all linked to the logic used in CO to find the appropriate internal order. It works as follows:
The internal order is stored in the table IAOM_ASSIGNMENTS. This is accessed by a guid (the account assignment guid).
To get this guid, there is a second table IAOM_EXT_OBJ_INF. This table links the GUIDs coming from CRM, dependent on the CO Customizing for CRM (Mass Controlling, Header level, item level controlling etc.)
This is how we manage to link a service order to the internal order of a contract in the first place.
When we call CO, CO first looks for an assignment for the object guid passed. If a service order has been linked to a contract, nothing will be found for the object guid. CO will then check for assignments to the reference guid and find the contract entry.
If no contract has been assigned, CO will create an internal order based on the service order guid.
From a CRM point of view, costs are assigned directly to an item, and so it makes no sense to have a reference guid for the costs or the possibility to change the guid via BADI.
regards
Waman
Similar Messages
-
Creation of Mfg Service contract from IB Instance number
Hi Team,
We have a requirement from client that we need to create a Mfg Service contract for a given IB Instance number. Can you please let me know, if we have any API for this?
I tried to create contract using Oks_Contracts_Pub.Create_Contract_Header API but this contract is not associated with Instance in IB.
Please help to provide any ideas on this. We are on 11.5.10 version.
Thanks/Suresh KSolution: You need to associate Contract with Covered line with that serial number.
-
Unable to create Service Contract from Sales Order
Hi Guru's,
I put a sales order with one product and service line. SO has been closed and then I ran 'Service Contract Order Capture Integration' program.
When I query my SO using Reprocess Order, I got error status with message as "Request ID : 8360452; Referenced Product not present in the Installed Base;".
So I searched in metalink found - 'Referenced Product not present in the Installed Base [ID 549160.1]'.
As mentioned in the document I checked the freeze flag in Oracle Installed Base Admin --> Setup --> Install Parameters.
The same already been checked. I also checked the service item definition and found IB track not checked under service tab. When I tried to check the flag, an error states that 'Non subscription contract Item cannot be Install Base trackable'.
Now how to overcome this issue. Any help will be highly appreciate.
Instance Details:-
RDBMS : 10.2.0.4.0
Oracle Applications : 11.5.10.2
Thanks,
BalaHello Bala,
The 'Installed Base Trackable Flag' is a Master Item Controlled attribute in Inventory, which means that when the Attribute is set at the Master Item Level it is cascaded to all Child Organizations.
If there is inventory in any of the Child Organizations, the flag cannot be changed at the Master level.
You must issue all of the Inventory out of each Child Organization, change the flag at the Master level.
Thanks
-Arif. -
Clearig buffer from internal order number
Hello Experts
When I create internal orders, the system is generating number with a gap of 20. The last number used is ***81. I want to clear the buffer (transaction SNRO- Object - AUFTRAG?). I would like to get next number generated should be ***61. I can delete ***81 order if necessary.
Please advise the process so as to get number **61 for next internal order.
Thanks in advance
VijayHi,
Further to the answer given by Ravi regarding note 333356 to fix your problem please note that the object 'AUFTRAG' can be used for "Order number, production, process, maintenance order,network number". For details, please check note 62077
62077 Info: Internal number assignment is not continuous
regards
Waman -
Creation of Sales Order and Service Contract from Inbound IDOC
Hi Experts,
My requirement is to create a Sales Order as well as a Service Contract from one Inbound IDOC. I am getting the Inbound IDOC from a third Party. The message type is ORDERS and Basic Type is ORDERS02. How ever i am using an extension type IDOC which carries all the required data for Sales Order and Service Contract. My requirement is like, to create a Sales Order first.
I have created a Z FM which is attached to the Process Code and subsequently to the message type. Inside the FM i an calling FM 'IDOC_INPUT_ORDERS' for creation of Sales Order. After that i am changing the IDOC data for the Document Type. I am changing the document type which is responsible for Contract Creation.
Then I am again calling the FM 'IDOC_INPUT_ORDERS' for creation of Contract with the help of IDOC data. But here the Contract is not getting created. It's getting failed during the Batch input session.
I need to solve this problem as soon as possible. Please help me. If there are any other options also please share.
Thanks in Advance.
Regards,
PriyabrataActually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
Regards,
Priyabrata -
Error during Replication of Service Contracts from CRM to ECC
Hi,
I'm encountering a problem when replicating a Service Contract from CRM (I'm using SAP CRM 2007) to ECC.
I insert a first Item which is not relevant for pricing (let say, product 123)
I Insert a second Item relevant for pricing, with reference to the previous one (let say, product 456)
I release the Items and I save the contract
When I try to go in edit mode in the Contract, an error appears:
An error has occured in the system DE1CLNT200 while copying the document
Message no. CRM_ORDER_MISC 020
Diagnosis
Errors have occured while transferring the document into another system. Remove the error messages from the enclosed log.
Transmission log
u2022 SALES_HEADER_IN has been processed successfully (Notification S V4 233)
u2022 Material 0 does not exist in plant ZX01 / country CH (Notification E V1 391)
u2022 Error in SALES_ITEM_IN 000101 (Notification E V4 248)
u2022 Sales document was not changed (Notification E V4 219)
It seems that the program does not recognize the product (the error message says "Material 0", not "Material 456") ...
Any idea?
Thanks in advance,
AndreaShould it be a problem related to the leading zeros?
-
Internal Order number is copied while cretaing new SC from Old PO
Hi,
We are on SRM 5.0. When i tried to create a new shopping cart through by copying the old shopping cart from 'Old Purchase Orders and templates' the Internal Order number is also being copied which is a problem.
I appreciate any help.
Thank youHi..
Thanks for the response. Yes we are using using internal order(IO) in account assignment.
This creates a problem, because the approver is unable to identify if the PR is one which is already approved that was rejected by someone else (so therefore doesn't need a new IO), or whether it's a brand new PR that needs a new IO.
So is there someway so that the cost assignment does NOT get copied onto the new PR? Any relevant BADI's that can be used ?
Thanks. -
Issue regarding Internal Order Number
Hi
When i am creating internal order in KO01 transaction, it is getting reflected in object class ANLA but when i am changing internal order in KO02 transaction ,it is getting reflected in objec class RKAUFTRAG. I am getting object id based on object class from CDHDR tablee. My requirement is to pick the internal order data from COAS table corresponding to internal order number.
In case of object class RKAUFTRAG, we are getting internal order number from last 10 character of object id. But for object class ANLA, object id doesnt have internal order number instead it has company code,asset number and sub number.
Please help me out to find internal order number in case of object class ANLA.
Thanks,
Debdutta Dey,Hi,
I do not think I got your question... ANLA is a table for master data of the assets. Are you looking for internal order link to an asset? It's not in ANLA table, but in ANLZ (field CAUFN).
Regards,
Eli -
Creation of Service Contract from Inbound IDOC
Hi Experts,
I am using Inbound IDOC type ORDERS02 with message type ORDERS for creation of Sales Order. Now my requirement is like to create a Service Contract from that Inbound IDOC. The IDOC type contains all the data require to create a Service Contract. The scenario is like, after creation of Sales Order it will check for the corresponding Service Contract exits or not by querying on a Z table which contains all those entries.
So my idea is to create a Z Program, in which it will check for the Service Contract and will create the same by reprocessing the same IDOC or by calling some Function Module. Please suggest how shall i proceed to create a Service Contract.
Is there any way to reprocess the IDOC or to collect the Data from the IDOC segments pass them to a FM which is responsible for creation of Inbound IDOC. Please suggest if this is feasible.
Thanks in Advance.
Regards,
Priyabrata.Actually there is problem with BDCDATA. Inside the FM it's calling transaction with help of BDCDATA. If i am creating a Sales order or contract alone its creating successfully. But when i am trying to create both, it's retuning sy-subrc '1001' after calling the transaction on the second attempt. Is there any problem with BDCDATA like we can't handle with less time gap? Please help and give your inputs.
Regards,
Priyabrata -
Not able to edit Service Contract from WEBUI beacause of error
Hi,
I am trying to edit Service Contract from WEB UI. But, when ever I say edit, it is giving error saying
"Document is being distributed. Changes are not possible".
Can you please let me know, why such error comes..and how to rectify that.
Thanks,
SandeepHi Sandeep,
This happens when the document is distributed to ERP Systems. There are certain Item Categories that are sent to ERP System and only once the confirmations comes from those system you can further process those document.
You won't find any errors there.
You can check the BDOC Entries and then can find the target system where the document was distributed. And then logon onto that system and release that document.
Hope this helps.
Thanks,
Samantak. -
Internal order number is not picking in Capital PO
Dear All,
While creating capital PO the account assignment tab internal order number field is not getting updated. While entering the asset number the internal order number field shows blank.
Kindly advise me to rectify the setting, If I done wrong.
Thanks...
Edited by: saravana j on Jun 14, 2010 10:33 AMYes this is correct. How the system should know the internal order?
When you use a combination assets / internal orders the proces steps are:
Create a investment internal order
Assign the PO to the internal order order.
The costs are posted on the IO
Settle the cost to the AUC
Final setle the costs from the AUC to the final asset -
Internal order number on PR and PO printout
Dear SAP Guru's,
My client want to print the P.R and PO document and they want the internal order number to be printed with it. So can some one please help to how is PR # is linked to the Internal order number, How is PO # linked to the internal order number. Which table i should access to find the details.
Thanks for your help
Regards
NaveenInternal Order is an Account assignment object in PR / PO.
You can find Account assignment details in table EKKN for PO and EBKN for PR -
GET THE INTERNAL ORDER NUMBER BY INTERNAL ORDER GROUP
Hi everyone! I want to know if there's existing functional module whereas I can get a list of internal order number (AUFNR) based from the internal order group name (AUFGR)? Thanks a lot! Your response will be greatly appreciated!
Hi,
First take a look at K_ORDER_SET_CREATE fm..
The following code may help you in getting the orders based on order group..
DATA: t_setvalues LIKE SETVALUES
OCCURS 0 WITH HEADER LINE,
t_hierarchy LIKE SETHIER OCCURS 0
WITH HEADER LINE,
l_date_from LIKE sy-datum,
l_date_to LIKE sy-datum,
l_subrc LIKE sy-subrc,
l_setid LIKE SETHIER-SETID,
BEGIN OF t_aufnr OCCURS 0,
aufnr TYPE aufnr,
END OF t_aufnr.
CALL FUNCTION 'G_SET_ENCRYPT_SETID'
EXPORTING
SETCLASS = '0103'
SHORTNAME = l_aufgr <Your Aufgr here>
IMPORTING
SETID = l_setid.
CALL FUNCTION 'G_SET_AVAILABLE'
EXPORTING
SETNAME = l_setid
TABLE = 'CCSS'
IMPORTING
SUBRC = l_subrc.
CALL FUNCTION 'G_SET_TREE_IMPORT'
EXPORTING
CLIENT = sy-mandt
SETID = l_setid
TABNAME = 'CCSS'
fieldname = 'AUFNR'
NO_DESCRIPTIONS = space
NO_RW_INFO = space
date_from = l_date_from
date_to = l_date_to
TABLES
SET_HIERARCHY = t_hierarchy
SET_VALUES = t_setvalues
EXCEPTIONS
SET_NOT_FOUND = 1
OTHERS = 3.
LOOP AT t_setvalues.
t_aufnr-aufnr = t_setvalues-from.
COLLECT t_aufnr.
t_aufnr-aufnr = t_setvalues-to.
COLLECT t_aufnr.
ENDLOOP.
Sri
Message was edited by: Srikanth Pinnamaneni -
Internal Order Number For DBM order
Hi All,
How to get the internal order no for the SAP DBM order number,?
from which table can we fetch ?
Regards,
RangakarthickHi,
In DBM order an internal order can be created on header level and on split level.
On split level internal order is created within event BILLING_CREATE.
The internal order (like other documents related to the DBM order like e.g. reservation as well) are displayed in the order document flow.
In table /DBM/ORD_DOCFLOW you can fetch internal order number from DBM order.
But its a little bit tricky:
In field INSTID_A you have to select business object BUS2400 representing the DBM order.
Field INSTID_B is populated with business object BUS2075 and the internal order number.
e.g. if you want to select all internal orders for DBM order 29926 you have to select in initial screen
field INSTID_A:
"BUS2400 0000029926*" (consider: there are 3 spaces after BUS2400)
and field INSTID_B:
"BUS2075*"
Example from image: DBM order: 299826
Internal order header: (no split) 121526
Internal order split: 235320 (same for both splits 0001 and 0002)
Regards
Joachim -
Not able to create Service Contract from another svc.contract as followup
Hi,
I am trying to create a service contract from another service contract as folllow up document as a part of contract renewal process. However, when I click on follow up button, in the popup, not able to the option Service Contract. Hence I am unable to create.
Could you please let me know, what needs to be done such that Service Contract also will be shown in the popup.
Thanks for all the replies.
Thanks,
SandeepHello Sandeep,
It is not possible to create a follow up service contract (BUS2000112) for another service contract (BUS2000112).
I do not know your business scenario, you can debug method GET_FOLLOWUP_CUST of class CL_CRM_UIU_BT_GET_PROCTYPES and see where the follow-up transaction types are filtered out.
I met similar case before, the solution provided at that time was
- modify FM CRM_UBB_FILTER_SUC_PROC_TYPE in line 49. You can comment out the following line:
delete ct_suc_proc_type where process_type = ls_suc_proc_type-process_type.
Hope this could be helpful.
Best regards,
Maggie
Maybe you are looking for
-
SignatureValidate() method not working in acrobat reader 5
Hi All, Will the method signatureValidate() work in acrobat reader 5. the same pdf validation which is working in acrobat reader versions >= 7 and not working in version 5. Kindly let me know if there are any alternative methods available to detect t
-
Keyboard isn't functioning correctly, can't get into my computer
Hi there. A few days ago my keyboard started acting very strange. For example, when I push 'D', nothing happens. If I push it 5 times, a bunch of random letters show up. I stupidly shut my computer down and when I turned it on again of course I had t
-
Where to download Netweaver EP sneak preview version
Hi friends, can you please give the links toc WAS 6.4 with SP7,E.P6.0 with SP7, NWDS,KM and TREX with SP7 it is needful and urgent
-
Hi, i am using oracle 11gR1 and ASM as storage option. user sys is ASM admin but i am not able to access ASM instance with sys user. if i do su oracle then i can access asm instance , do asm dg operation etc. i thought ASM admin is the one who can do
-
Password and forum expired