Get Guid of service order from Document nos !
Hello,
Can anybody tell me the function module which will import Document nos of service order and return me the Guid of that document.
Similarly i need function module which would accept document nos and return me the process type.
I know its directly available from table crmd_orderadm_h.
However its not efficient since the tables contains over lacs of records.
Also this table has primary key guid, so if we search this table using nonprimary key like document nos( object_id) the system wil scan for all records and thus it will be inefficient.
Any FM's ??
Helpfull answer will be handsomely rewarded.
Regards,
Anand.
Hi Anand,
Try
SE38---CRM_ORDER_READ-Display-Enter the transaction number.
Regards,
Satish Mathala
Similar Messages
-
Creation of Service Order from Service Plan
Hi Experts,
I am working on sap crm 5.0 version
Pls help in the service order creation from service plan document
I have Created a service plan product and maintained a service plan template with an interval of 3months
In Service Plan to service order action i am using the Standard method call
CREATE_ORDER_SRVPLAN in the action profile and Action profile Start Condtion
Start of interval equal to todays date . when i am executing the action
First service order is getting created immediately on the serviceplan Creation date.
Subsequent service orders are getting generated respectively as per defined frequency .
So I am getting one extra service order . how to restrict the additional service order creation and
order creation to happen as per template frequency
Regards,
Prajit.PHi vishant,
thanks for ur quick reply.
I am not able to find the scheduling type as u mentioned for changing the planning start date in template. I am using the standard date profile SERVPLAN in my service plan action profile
Please suggest me the daterule i need to select in the date type start of interval in my date profile
Regards,
Prajit.P -
Error in attaching a Service Order from BSP
I am trying to attach a document to a CRM Service Order from BSP.
Im using the following FM
cl_crm_documents=>create_with_file
When I test the FM from SE37 transaction, I am able to attach a file from a local disk succesfully and the service order is getting updated. But If I call this FM from BSP, trying to do the same operation, document cannot attach to service order and Method returns the following error: Error loading file <NameFile> (Class of message CRM_DOCUMENTS and number 100).
Thanks in advance.Hello Shravan,
Check this weblog:
/people/raja.thangamani/blog/2007/06/27/bsphow-to-create-attachment-in-business-transactions
Best regards and good luck,
Bruno -
Stop Message while saving Service Order from IW51
Hello,
I am getting bleow error while saving service order.
System: Status object does not exist. Message Numner IW351
Actually I have done one enhcement in the User exit of the Sales order in the form Routine...
USEREXIT_SAVE_DOCUMENT_PREPARE
From this depending upon the some validation i am populating Error message,
I am creating sales order through service order from the Transaction IW51.
When i Try to save the service order i get the error messages which is coming from my validation which
I had put in the MV45AFZZ.
After the error messgae i press ENTER and then try to change the order by clcicking on the advance shipment.
As soon as i click on that i get a STOP messgae.
Which i as below.
System: Status object does not exist
I m not getting why it is coming.
Kindly Help.
Regards
SachinHi,
After MESSAGE add STOP. :
MESSAGE ixxx(xxx) with param1 param2 param3 DISPLAY LIKE 'E'.
STOP.
or If ambiguity with usage of STOP being obselete use EXIT after message.
MESSAGE ixxx(xxx) with param1 param2 param3 DISPLAY LIKE 'E'.
EXIT.
BR
Dep -
Need to Create Service Orders from Hand Held Devices
Hi,
Could any one please provide me the Function Module for creation of service orders from Hand Held devices?
Thanks and Regards,
Gopinath Addepalli.Hi,
Once your basic settings for transaction type
(IMG Path: SAP Implementation Guide-->Customer Relationship Management
>Transactions>Basic Settings-->Define Transaction Types)
in CRM server is in place and in 'Allowed Channels for Transaction type' you have an entry for 'PDA', then you can see the transaction type in handheld device and can raise service order from you handheld device.
Best Regards,
Pratik Patel.
<b>Reward with Points!</b> -
How to read service order change document data
Hi Experts,plz help me,my requirement is to read the service order change document data,for that one i need to read from cdhdr and cdpos tables,so what i need to do.in input parameters for cdhdr table in place of ibjectclass and objectid what i need to pass.plz help me.
Same for CDHDR and CDPOS.
OBJECTCLAS = 'ORDER'
OBJECTID = combination of client(AUFK-MANDT) + Order category(AUFK-AUTYP) + Order number (AUFK-AUFNR)
for example
OBJECTCLAS = 'ORDER'
OBJECTID = '10030004001108788'
Chaiphon -
Replicating Service contracts and Service orders from ECC 6.0 to CRM 2007
Hi CRM Gurus,
How can we replicate Service contracts and Service orders from ECC 6.0 and CRM 2007. Any pointers to do this?
Please let me know.
Best regards,
VinayVinay,
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 -
Creation of service order from sales order
Dear gurus,
I am creating a service order from sales order. the system is asking me the variant configurations for the said material.
But i dont want to use a configurable material. I want to use a general material withour variant configuration and generate a service order using predefined tasklist.
Please help!Hello Prashant,
if you do not want to use configurable materials in sales order:
make sure the material cannot be configured (material master view 'basic data2')
make sure the customizing for the item line does not require configuration (remove the 'configuration strategy' in the customizing for the item line)
Link your sales material to your task list using transaction OISD
If you do not wat to configure your task list as well, just make sure it is not linked to a configuration profile.
Does this help?
Nicolas -
Triggering of service order from contract-Reg
Dear All,
My client requirement is, they want to trigger service orders from service contract.They want to have the TL from OISD setting with respect to material.Is it possible in std way?
pl through some light.
Regards
KRISHNANHi,
In IMG--SD-Basicfunctions-availability and transfer of requirements- we have determination of requirement types using transaction, here we have requirement type for an item category and through determintation of requriement type we can find for that requirement type what is the requirement class and In the determination of requirement class in the type column we can which order type it has to generate in background i.e. basically service order.
Try this and pls let me know
regards
satish -
Creating Service Order from Campaign
Hello Guru's
I m really stuck presently with my Task.
My scenario is, we have modified service order transaction (zsrv), and this service order has been modified by adding custom developed classification that we assign every time we create service order manually. I have to create same service order from campaign execution.
At the same time when we create campaign, this classification is assigned in campaign screen and stored in bespoke table. Then i have to create service order automatically from campaign when executed.
So can any one help me on this scenario. what BADi i have to use, what is the best approach for this. How i can pass the classification of campaign to service order.
please help me
thank you
shankarHello. What was the solution, please?
I have a similar scenario in which I need a mass creation of service requests from a target group.
Thanks a lot,
Luis. -
Service order from a repair order
Hi,
I want to create a service order from the repair order (sales order).
In the sales order, i select "repairs" for the prinicpal item. After that, in the screen "Change Repair request xx: item data". this message appear " The system generates an item porposal automaticaly. Copy proposal?"
But the system take a long time and at least do not create the service order.
Another message appear, when i select SM Order "A service order has not been found for action 'Repairs' "
What's the prerequisites to create a service order from the repair order.
Thanks for your quick helpPre requsits for this are :
Maintain Strategy group 84 in MRP 3 screen in material master.
Go to t-code OISD, here you can maintain plant, material,work centre, task list.
Now go to order creation put your material & quantity is 1 & enter system will genarate service order,
Go to item data >>> schedule line , here u will find service order tab click on that tab service order is displaying
else use IW32 or IW33 to see service order.
Reagrds,
kapil -
Stopping the service order from further processing
Hi Experts,
According to my requirement, the service orders will be generated by the call centre agents , then they will release and the technicians will be determined . The pager messages will go to the technicians.
But the service order whic are generated after 5 PM , we should not send the messages to the technicians althought the service orders are released.
For this where should I do the coding , which is the exact place to stop the service order from further processing.
Please help me out in this.
Thanks in Advance,
PraveenHi,
The best way would be to implement a ORDER_SAVE Badi..wherein u can stop a service order for further processing based on the status..
Regards,
PePe -
To get service order from sales order number and item number
The select on AUFK takes much longer time than the transaction which is used to get the sevice order number starting from VA03. ( select one line item. goto repairs, then select the repairs column and goto SM Order). Is there any other table than AUFK from which i can get service order number.
Hi!
Check, if you have an entry in table VBFA for your sales order (sales order in VBELV, POSNV, AUFK in VBELN and POSNN, VBTYP_N might be 'C').
If so, your select will be much faster by using VBFA.
Regards,
Christian -
Status Update of Service Order From Billing Document
Dear Experts,
I am told to change the User status of Service Order once the Billing Document is Generated.
Here we are in CRM 2007 and i have done the status update of previous document but here
Billing document is not possible to read through CRM_ORDER_READ (function module).
Do any one have any idea how do i proceed.
Thanks,
SAhi sa
to change the service order user status , when biling document is generated
make an implementation of bill_acc_if bai and in the method ENRICH_ACC_DOCUMENT
read order data using crm_order_read and change the status using
CRM_STATUS_CHANGE_EXTERN
thnks
sam -
Auto creation of service orders from service plans using action management
Hi,
We are using service plan products in service contracts where in serviceorders are created according to the plans for the duration of the contracts according to the defined frequency.
The processing for the action is set as "Immediate processing" so that the order is created the moment the deadline is reached. The order is created using the method "CREATE_ORDER_SRVPLAN".
The contract is created and released and with all the line items (including the service plan line items). The schedule condition is such that => all the orders due in a particular month are created on the first of that month. e.g. plan orders for 15.01.2009, 30.01.2009, etc (i.e.,all the orders due in Jan 2008) will be created on the 01st of Jan 2008.
As per this definition, the relevant actions get scheduled, BUT DO NOT GET EXECUTED. The moment I just go to the edit mode in the document and save (without making any changes) the action gets executed and the service order gets created.
The requirement is that the moment the deadline is reached the action should get executed and there should be no need to edit the contract since the processing is kept as immediate.
Please advice further.
Warm regards,
DPHi Cenk/Pepe,
Thanks a lot for the response.
I did schedule the report and it gets executed as per the schedule. But it does not execute the actions. As a output it just logs "3 actions selected". What I want is that it should actually go ahead and execute these actions and not just select them.
Kindly advice on the same.
Regards,
DP
Maybe you are looking for
-
Difference between sendRedirect and RequestDispatcher?
Difference between sendRedirect and RequestDispatcher?
-
Connect by level query is taking too long time to run
Hello, I have a query that returns quarters (YYYYQ) of a begin- and enddate within a specific id, that is built with a connect by level clause, but the query is running to long. I have used explain plan to see what the query is doing, but no silly th
-
Control data for storage type is missing Message no. L3006
Dear Mates i am trying to create a transfer order from delivery. the moment i click on save in LT03 its giving me the error message as Control data for storage type is missing Message no. L3006 i have explored every thread regarding the same issue a
-
How can I mail the Job Log in the form of an excel sheet?
Daily I have to monitor a Job and I have to retrieve the Job Log in an excel sheet, Format the excel sheet, and then mail the excel sheet and the Job Status(Finished/Cancelled) to Client/Person Incharge. I want to automate this entire process. Please
-
Remove white background on TIFF files
I have some TIFF files with white background. What is the best way to get rid of that white background without losing quality (ie. tiny white stroke on the objects). I see in the channels tab that I have a pretty decent mask in there but I don't actu