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

Similar Messages

  • 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
    Sachin

    Hi,
    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

  • 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
    KRISHNAN

    Hi,
    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
    shankar

    Hello. 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 help

    Pre 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

  • HT1725 I am unable to download app updates.  Error windows said I must order from the Canadian iTines Store.  How do I switch from the US Store to the Canadian Store?

    I am unable to download app updates.  Error windows said I must order from the Canadian iTines Store.  How do I switch from the US Store to the Canadian Store? Using iPad2.

    Settings > iTunes & App Stores > tap your Apple ID: > View Apple ID > Country/Region
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • 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>

  • 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,
    Praveen

    Hi,
    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

  • 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,
    Vinay

    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

  • Error while calling ejb service call from BPM service

    Hi,
    We are using the Oracle 11.1.1.5.0
    We are calling ejb service call from BPM service to update the data to Oracle database.
    We are getting the below error when we executing the ejb service call from BPM Service.
    <Error> <EJB> <BEA-010026> <Exception occurred du
    ring commit of transaction Name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliver
    yBean.handleCallback(java.lang.String,java.lang.String,java.lang.String,int,bool
    ean)],Xid=BEA1-45B91984D57960994897(30845116),Status=Rolled back. [Reason=javax.
    transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a p
    articipant in two-phase commit. To force this participation, set the GlobalTrans
    actionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhas
    eCommit for the Data Source = EBSConnection],numRepliesOwedMe=0,numRepliesOwedOt
    hers=0,seconds since begin=1,seconds left=60,XAServerResourceInfo[SOADataSource_
    base_domain]=(ServerResourceInfo[SOADataSource_base_domain]=(state=rolledback,as
    signed=soa_server1),xar=SOADataSource,re-Registered = false),XAServerResourceInf
    o[ArCnTaskForms@EBSConnection@EBSConnection_base_domain]=(ServerResourceInfo[ArC
    nTaskForms@EBSConnection@EBSConnection_base_domain]=(state=rolledback,assigned=s
    oa_server1),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@fa5476,re-Registe
    red = false),SCInfo[base_domain+soa_server1]=(state=rolledback),properties=({web
    logic.jdbc.remote.EBSConnection=t3://192.168.10.114:8001, weblogic.transaction.n
    ame=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(java.la
    ng.String,java.lang.String,java.lang.String,int,boolean)]}),local properties=({w
    eblogic.jdbc.jta.SOADataSource=[ No XAConnection is attached to this TxInfo ]}),
    OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=soa
    server1+192.168.10.114:8001+basedomain+t3+, XAResources={eis/tibjms/Queue, eis
    /activemq/Queue, WLStore_base_domain_BPMJMSFileStore, WLStore_base_domain__WLS_s
    oa_server1, eis/fioranomq/Topic, eis/jbossmq/Queue, eis/Apps/Apps, eis/websphere
    mq/Queue, eis/AQ/aqSample, WLStore_base_domain_SOAJMSFileStore, eis/aqjms/Queue,
    WSATGatewayRM_soa_server1_base_domain, eis/sunmq/Queue, eis/pramati/Queue, SSCo
    nnectionDS_base_domain, eis/tibjms/Topic, eis/tibjmsDirect/Queue, eis/wls/Queue,
    eis/tibjmsDirect/Topic, EDNDataSource_base_domain, eis/wls/Topic, eis/aqjms/Top
    ic, RL3TST_base_domain, ArCnTaskForms@EBSConnection@EBSConnection_base_domain, S
    OADataSource_base_domain, WLStore_base_domain_UMSJMSFileStore_auto_2},NonXAResou
    rces={})],CoordinatorURL=soa_server1+192.168.10.114:8001+base_domain+t3+): weblo
    gic.transaction.RollbackException: Could not prepare resource 'ArCnTaskForms@EBS
    Connection@EBSConnection_base_domain
    JDBC driver does not support XA, hence cannot be a participant in two-phase comm
    it. To force this participation, set the GlobalTransactionsProtocol attribute to
    LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source
    = EBSConnection
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
    TransactionImpl.java:1881)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
    rverTransactionImpl.java:345)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
    sactionImpl.java:239)
    at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocal
    Object.java:622)
    at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetr
    y(BaseLocalObject.java:455)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Sess
    ionLocalMethodInvoker.java:52)
    at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDelivery
    LocalBeanImpl.handleCallback(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMes
    sageHandler.handle(CallbackDeliveryMessageHandler.java:47)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:140)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.transaction.xa.XAException: JDBC driver does not support XA, he
    nce cannot be a participant in two-phase commit. To force this participation, se
    t the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended)
    or EmulateTwoPhaseCommit for the Data Source = EBSConnection
    at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
    a:83)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:1327)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:513)
    at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    .>
    <12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <failed to handle message
    javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot
    be a participant in two-phase commit. To force this participation, set the Globa
    lTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateT
    woPhaseCommit for the Data Source = EBSConnection
    at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
    a:83)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:1327)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
    sourceInfo.java:513)
    at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    <12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
    itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
    driver does not support XA, hence cannot be a participant in two-phase commit.
    To force this participation, set the GlobalTransactionsProtocol attribute to Log
    gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
    SConnection
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
    itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
    driver does not support XA, hence cannot be a participant in two-phase commit.
    To force this participation, set the GlobalTransactionsProtocol attribute to Log
    gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
    SConnection
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:207)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:662)
    >
    Could any body help on this issue.It is little bit urgent for us to resolve.
    Thanks in advance.

    Thanks Sudipto Desmukh,
    The link is helpful me to resolve this issue.
    Thanks,
    Narasimha E

  • Error in creating a Service Order in the transaction CRMD_ORDER

    Hello,
    We are trying to create a service order in CRM and it shows no errors on CRM side while it is processing and saving it. But after the save is complete, it returns a error from the connected R/3 side tht says "An error occurred in system D19CLNT100 during account assignment".
    Any ideas as to how can this be corrected.
    The  details are as under:
    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
    Business partner with GUID 4459115E6EAB014100000000099A6565 does not exist (Notification E R11 124)
    Business partner with GUID 4459115E6EAB014100000000099A6565 does not exist (Notification E R11 124)
    Characteristic "Sold-to party" for business scenario "CRM Service" is missing (Notification E IAOM 007)
    Characteristics for Controlling object have errors (Notification E IAOM 034)
    Characteristic "Sold-to party" for business scenario "CRM Service" is missing (Notification E IAOM 007)
    Characteristics for Controlling object have errors (Notification E IAOM 034)
    The BP exists on both CRM and R/3 side in both tables CRMKUNNR and CRM_BUT_CUSTNO.
    But probably some problem with Costing.
    Any ideas are highly appreciated. Thanks.
    Rgds
    Priyanka

    Hello Priyanka,
    I have the same problem by using Service Ticket in SAP CRM 5.0.
    Did you already solved this issue? If so, can you please provide the solution!?
    How can I activate and check the transfer log?
    Thanks and regards
    Alex

  • Error while saving the service order "Error determining Local currency"

    Hi Gurus,
    I am facing a strange proble, while adding components to my service order. The system throws error " Error determining local currency: ER type 'M' date 05.11.2007 from SGD to RMB RC 4 ".
    the customer is from singapore and am issuing the material from local plant (every where SGD is maintianed as the currency). We have maintained the exchange rate also between these currencies.
    Can anybody throw some light on this issue????
    Prase

    Closed the thread...

  • Error while releasing the service order .

    Hi,
    After creating sales order from service order (ZOR3), when I am trying to release the service order by clicking on the green flag it is giving me error 'WBS for the Variant Service Line selected does not exist'.
    Kindly advice a solution.
    regards,
    SDG

    What is the error message number ??  If it starts with "Z", then through some user exit, this control is applied which you have to check with your ABAPer on the coding.
    thanks
    G. Lakshmipathi

  • Service order from Accounts

    Hi all,
    In the Account BSP I can see the Interaction History and I can see the Service Order number.  I cannot drill from here into the Service Order.  I need to review the account, see the service history and drill into a service order.
    I need the same drill down capability from Relationship tab to drill into related Contacts and Accounts.
    How can this be achieved?
    Thanks in advance for your help.
    Regards,
    Priya

    Hi Priya,
              You will need to Maintain Object Links in the CRMC_BLUEPRINT_C Transaction ->Navigation (URL Generation) -> Assign Object Method to Role....
    Thanks,
    Ranjan

Maybe you are looking for

  • UCCE 8.5.3/8.5.4 call volume statistics not matching in interval tables

    hello, We have just migrated a call center to UCCE 8.5.3 that runs roggers and ICM call flow scripts that contain very basic flows. In each flow there is basically a one-to-one ratio of call type elements to select skill group elements. Generally you

  • IPhone draining - can I get help?

    My original question was deleted - I do not know why ... maybe I did use to much uppercase letters in the headline ? Here it is again: I know there are a lot of discussions around. But to be honest: I really do not want to read them. I remember some

  • Alerts for successful and unsuccessful RFC calls

    Hi Experts, I am creating Http to RFC scenario in which data is sent to RFC to create sales order. I also need to create alerts for both successful and unsuccessful RFC calls. How this can be achieved. Thanks, Vishal

  • RFC to read file and continue

    Hello, I have the following scenario: I have a report that needs to work with data saved in a CSV file in another server connected with XI. In my report I have to call a function to read de CSV file, wait, and continue when XI gives me the response.

  • Resize a control (i.e. String Control)

    LV5.0 NT 4.0 Hello, I would just like to know if there is a way to: 1) programmatically resize a control inside my VI program. 2) get the width & height of my VI panel. Right now, im making my panel run into full screen size (size of desktop) wheneve