Reg: Problem in Creating Service Call

Hi All,
I have a requirement where I have to create a Service Call through a BDOC for which the data will be given through a IDOC. I am using the BADI's CRMXIF_ORDER_MAP for passing the data from the incoming IDOC to the BDOC. I am able to save the data completely except the SERVICE_H table. When I debugged it, I found that in Function module  CRM_DOWNLOAD_BTMBDOC, the function module CRM_ORDER_MAINTAIN is used and the SERVICE_H parameter passing is commented and hence the data for SERVICE_H is not being passed to it and so the data for SERVICE_H is not being saved in the database.
It would be very helpful if anybody can suggest me in solving this issue. Also I want to know why the SERVICE_H is not passed to CRM_ORDER_MAINTAIN there.
Thanks in Advance.
Regards,
Moin Khan.

Hi All,
Can anyone help me on the issue, because it is stoppping me from proceeding further.
Thnaks in advane.
Regards,
Moin Khan

Similar Messages

  • Error creating service call from wizard

    Hello,
    I am trying to import a static method on a ABAP class using the create service call wizard. It fails in program SAPLWDY_WB_MODEL_WIZARD with an out of bounds error :
    In the running program "SAPLWDY_WB_MODEL_WIZARD", part of a string was about to be accessed with an explicitly specified length.
    However, this length (2) exceeded the current length of the string (1).
    This kind of access is illegal.
    Termination occurred in the ABAP program "SAPLWDY_WB_MODEL_WIZARD" - in "GET_EXTENDED_RELATIVE_NAME".
    The main program was "SAPMSEU0 ".
    >>>>>
    split l_absolute_name at 'TYPE=' into str1 str2.
       if str2(2) = '%_'.           
    <<<<<
    The error occurs when the type is I, and so the string containing the type length is 1.
    I have not had this problem before even though I have imported methods containing the same type in parameters. I understand that nothing has changed on our system.
    Kind regards
    Steve

    hi
    go to service call wizard. Select the radio button "use existent controller. iN the controller field, select componentcontroller
    In the next step select function module>give the bapi name>Now you have table containing node type, name and object type. Under object type column, make all of them of type C ( context node/attribute ) and complete the wizard.
    In your component controller, you will find the nodes as per importing/exporting parameters of BAPi
    Regards
    Vishal Kapoor

  • Problem in Creating Service contract Quote

    Hi,
    I have a problem while creating Service Contract Quote. The Problem is "No Items being created in Service Contract Quote."
    I am copying these line items from the Package Quote(Programatically). I am reading the Package Quote Lines Items using CRM_ORDER_READ and I am looping these one by one, and copying into one Item Table. Passed this table, to MAINTAIN_ORDERADM_I function module. And Then I am calling SAVE function module.
    But, for me service contract Quote is being created with no line items.
    Can you please let me know, how can I solve this problem.
    And let me know what are the necessary steps to be taken progrmtically,  for creating Service Contract Quote from a Package Quote.
    Thanks,
    Sandeep

    A standard way of doing this would be to create an action in service contract with method call processing type, and method COPY_DOCUMENT. For this you need to do the following:
    1) Create a new action called "SRV_CNTRCT_QUOTE_CREATE" in action pofile already attached to Package Quote. Use
        CRMC_ACTION_DEF Tcode for this.
    2) Choose processing type as method call and method as COPY_DOCUMENT.
    3) Choose parameter CRMD_ORDERADM_H, PROCESS_TYPE with initial value as transaction type of Serv Contract Quote.
    4) Institute start and scheduled conditions if required in CRMC_ACTION_CONF.
    Note: For this copying controls at transaction level, item category level and itemcat determination while copying should have been determined.
    Regds,
    Raghu

  • Problem while Creating Service order through Work Order

    Hi Gurus,
    I have a problem While creating Service order (me21n) through - Work order it contains service requisitions.
    So that means they carry information such as G/L and work order number while entering the requistion no in PO Creation Screen (me21n)  which automatically should be picked from the work order refference.
    But problem here is the service items and all other are assigned to PO except the Account Assingnment tab which is GL Account and Work Order No and Cost center..
    Can anyone explain me this?
    Is this something that one can explain?
    Regards,
    Murugesh R
    Rewards for value replies.

    Closed..

  • Problem while creating Service order

    Hi Gurus,
    I have a problem While creating Service order (me21n) through - Work order it contains service requisitions.
    So that means they carry information such as G/L and work order number while entering the requistion no in PO Creation Screen (me21n) which automatically should be picked from the work order refference.
    But problem here is the service items and all other are assigned to PO except the Account Assingnment tab which is GL Account and Work Order No and Cost center..
    Can anyone explain me this?
    Is this something that one can explain?
    Regards,
    Murugesh R
    Rewards for value replies.

    Hi Murgesh,
    If GL code is not getting bydefault from the system it is needed to be provided by the user.
    If normally one GL is there or other than master data services if single GL is there u can set that in SPRO.
    it is avalible in deafult settings in order node
    If you are creating the order with refrence to PR then it will take account assignement as "F" system will pick up all the details from PM module. This is the integration of MM & PM module.
    But if your PO is not w.r.t. PM orders PR then needs to be given manully.
    Ramesh
    Edited by: RameshChandra  Soni on Jul 25, 2008 8:16 AM

  • Create Service Call

    hi,
    I'm in the process of creating a service call with DI API using the following code:
            Dim ServiceCalls As SAPbobsCOM.ServiceCalls
            ServiceCalls = vCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oServiceCalls)
            ServiceCalls.CustomerCode = CardCode
            ServiceCalls.Subject = " Created : " & Now
            ServiceCalls.InternalSerialNum = intSerNo
            ServiceCalls.CallType = 1
            SBO_Application.MessageBox(ServiceCalls.Add())
    <b>intSerNo</b> holds the correct value, but Add function returns -2028.
    when <b>InternalSerialNum </b> is not assigned any value the service call gets added without any problem.
    where is my code going wrong?
    regards,
    lakshman.

    hello,
    do you think there would be any side effects if i execute the query after creation of the service call???
              querystring = " UPDATE OSCL SET internalSN = '" & intSerNo & "', " & _
                            " contractid = '" & contractNo & "' WHERE " & _
                            " CALLID = (Select Max(callID) from OSCL) "
    thanks, bye.

  • Problem in creating Service PO ?

    Hi People,
    I am creating a Service PO using Bapi_PO_Create1 and now the problem is ,  I could create Service PO only without
    ServiceNumber ( Activity Number )  ( IF i include the service number iam getting a error ) , did i left anything in my code
    or Service PO can be created only without ServiceNumber ?

    hi
    We can create without using Service Number. Here are the links:
    PO Upload through BAPI_PO_CREATE1 - Problem in Service Item
    BAPI_PO_CREATE1 Error
    Regards,
    VIshwa.
    Edited by: vishwa sri hari on Oct 3, 2008 9:29 AM

  • The problem of creating service for adapter for mq series v8.1

    Hi everyone, I have some problem when I try to create service for adapter for mq series using application integration design console. Everything is fine when I define the service but some error shows when I try to test it. The error message is:
    -------- Begin level 0 Exception Stack Trace --------
    com.bea.wlai.client.ApplicationViewException: Failed to locate deployment information for service ' on ApplicationView 'AppView1'
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:186)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
    at __WLAdapter4MQSeries_Prototype_48f240ab.AppView1_6k4mbt_EOImpl_814_WLStub.getRequestDocumentDefinition(Unknown Source)
    at com.bea.wlai.client.ApplicationView.getRequestDocumentDefinition(ApplicationView.java:573)
    at jsp_servlet.__testrslt._jspService(__testrslt.java:361)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:154)
    at jsp_servlet.__display._jspService(__display.java:659)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    -------- End level 0 Exception Stack Trace --------
    And my request document is:
    <?xml version="1.0"?>
    <ns0:s1 xmlns:ns0="wlai/AppView1_s1_request">
    <Data>123</Data>
    </ns0:s1>
    The following is the schema for the request document:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema elementFormDefault="qualified"
    targetNamespace="wlai/AppView1_s1_request"
    xmlns="wlai/AppView1_s1_request"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="s1">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Data"
    type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Anybody got some idea about this problem? Thanks for your help.

    Did you check these links ->
    http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html
    http://www.dbasupport.com/oracle/ora10g/CreateDBManually.shtml
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#ADMIN002
    Regards.
    Satyaki De

  • WLPI - Problem with AI Service Call in Task with AI Service start - Variables

    Within WLPI I cannot succesfully call an AI service with variables that have been
    collected via an AI start. These variables have been collected ok as I have done
    an XPath on the variable and succesfully stored them in a string Variable. So
    a succesfully AI start is working. The issue is when I try to pass these values
    I have collected in their respective string variables to the next task which I
    will be executing an AI Service. I do this by setting a workflow variable and
    using the schema for the AI service. In the XML structure screen, I have put the
    string variable at the respective element. So on the left I have my element and
    on the right I have inserted my value (i.e, $strLastName).
    When I run the workflow, I do not see any inserts on the AI service I am calling.
    However, when I hard code a value in the XML schema "HELLO " + strFirstName it
    of course inserts Hello but not the value (i.e, strFirstName). So I know I have
    the correct assignment of variable to be set etc. Also, without the hardcoding
    it is inserting a blank row (i.e, value='').
    Please, help with this issue.

    Dear anonymous,
    I have created an AI application view and a BPM workflow that demonstrates how to
    populate an AI service call with strings extracted from an AI event response
    document. This workflow also demonstrates concatination of literal strings with
    string variables.
    Here are some steps that you will need to follow to setup this AI application view
    and workflow:
    1. startweblogic from either the
    'samples' or 'mydomain' found under WLI_HOME/applinteg/config. (Note, if you start
    from 'mydomain', be sure to populate your database repository with the scripts in
    WLI_HOME/repository/, WLI_HOME/processintegrator/ddl, and
    WLI_HOME/applinteg/dev/dbms/src/sql.)
    2. Open a web browser to http://<machine>:<port>/wlai
    Examples:
    from samples domain
    http://localhost:7603/wlai
    Login as system/system
    from mydomain
    http://localhost:7601/wlai
    Login as admin/security
    3. Create a folder named 'DBMS' and go into that folder
    4. Create a folder in the 'DBMS' folder named 'DBMS_A' and go into that folder
    5. Create an application view named 'db_av1'
    6. Add an event that triggers on insert named 'insEvt'
    7. Add a service named 'updTemp' that executes the following SQL...
    UPDATE <db info>.CUSTOMER_TABLE SET CITY=[CITY VARCHAR]WHERE LASTNAME=[LASTNAME
    VARCHAR]
    (Note: Replace '<db info>' your database schema and/or catalog information)
    8. Add a service named 'insSvc' that executes the following SQL...
    INSERT INTO <db info>.CUSTOMER_TABLE (FIRSTNAME, LASTNAME, CITY, EMAIL) VALUES
    ([FIRSTNAME VARCHAR],[LASTNAME VARCHAR],[CITY VARCHAR],[EMAIL VARCHAR])
    (Note: Replace '<db info>' your database schema and/or catalog information)
    9. Add a service named 'listCustomers' that executes the following SQL...
    SELECT * FROM <db info>.CUSTOMER_TABLE
    (Note: Replace '<db info>' your database schema and/or catalog information)
    10. Click 'Continue' deploy the the application view
    11. In the Deploy Application View screen make sure to specify an event router with
    the port corresponding to your domain. (e.g.
    http://localhost:7603/DbmsEventRouter/EventRouter)
    12. Bring up studio using 'studio_wlai.cmd/sh'
    13. Import the attached workflow package 'TestXmlVar.jar'
    14. Trigger the workflow my testing 'insSvc' from the Application View Summary web
    page. Fill in the service parameters with a firstname, lastname, city, and email.
    Press test to start the test.
    15. List the contents of CUSTOMER_TABLE by testing the 'listCusomers' AI service or
    by doing a select on that table in your database.
    Results:
    You should notice that the customer you inserted has a city name that is now in the
    form "New "<city>" City".
    Look at the Start node actions to see the population of the city and lastname string
    variables. Look at the request cocument in the AddToCity task for the updTemp
    service call by clicking edit on the request document variable. You will notice that
    the LASTNAME field was populated with the strLastName variable and the CITY element
    is populated with the strCity variable with "New " and " City" appended to both ends.
    Hope this works for you,
    Jim
    anonymous wrote:
    Within WLPI I cannot succesfully call an AI service with variables that have been
    collected via an AI start. These variables have been collected ok as I have done
    an XPath on the variable and succesfully stored them in a string Variable. So
    a succesfully AI start is working. The issue is when I try to pass these values
    I have collected in their respective string variables to the next task which I
    will be executing an AI Service. I do this by setting a workflow variable and
    using the schema for the AI service. In the XML structure screen, I have put the
    string variable at the respective element. So on the left I have my element and
    on the right I have inserted my value (i.e, $strLastName).
    When I run the workflow, I do not see any inserts on the AI service I am calling.
    However, when I hard code a value in the XML schema "HELLO " + strFirstName it
    of course inserts Hello but not the value (i.e, strFirstName). So I know I have
    the correct assignment of variable to be set etc. Also, without the hardcoding
    it is inserting a blank row (i.e, value='').
    Please, help with this issue.[att1.html]
    [TestXmlVar.jar]
    [jhinkey.vcf]

  • Problem while creating serivce call ..using bapi

    Hi
    I am trying to create a service call using a BAPI(BAPI_FLIGHT_GETLIST) as given in the example...
    while creating the service call in the step Adapt Context  i can see Airline Destination from ,Destination to and max rows,
    i am not getting any choice to select dest from and to...
    and when it is finished.. the node bapi_flights_getlist doesnt have any subnodes like cityfrom country from ... flight list.. as shown in the example...
    Can anyone send me the screenshts of creating a service call specially the step Adapt context...to [email protected]
    points will be given..
    Regards,
    Kiran

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • Problem while creating service PO using bapi_po_create1

    hi all,
        i am getting error :
    In case of account assignment, please enter acc. assignment data for item
    what does this mean?
    please help,,
    thanks,
    Siddhartha Prakash

    Hi Sid.
    I'm having this same problems on creating PO Service. Did you solve it? How did you do that?
    I'm using a PR and the Category is 'Y', and I cant find where is the problem.
    The tables that I'm passing to the BAPI_PO_CREATE1 are:
    POITEM/ POITEMX
    POACCOUNT/ POACCOUNTX
    POSERVICES
    POSRVACCESSVALUES
    Please, if you have any idea, let me know!
    Tks a lot!
    Renata

  • Problem while creating service po

    HI GURU'S
              i am facing problem that while creating service po , in delivery schedule tab system allows only one possible  date , but my service quantity is 10  and i need to add 10 different date  for 10 quantities , as service will deliver at 10 different days , so how should  i maintain different delivery schedule  dates
      regards

    Hi Akshay,
                      The date in the schedule delivery wont affect much,
    you can create the Service PO with single line item, 10 Quantity and can make 10 different SES as per the requirement.
    if furthet you want to make sure that the SES should be created within the given period of time then you can use the blanket PO also.
    Hope it helps you.
    Regards,
    Yawar Khan

  • Problem in Creating Service Entry Sheet

    Hi,
    We have a Service PO. When we are creating Service Entry Sheet for it, showing error msg -
    "Goods receipt for purch. order" is not allowed (ORD 10000722)
    What should be issue...

    Hi,
    I am very sure that PO is created with the account assignment -F (Internal Order) , So provided IO number in PO under account assigment tab is already locked by your accounts/commercial team.
    Please check if the Interal Order is blocked ,you need to activate IO again from KO02 or either change your IO accordingly.
    Hope this will resolve your issue.
    Thanks & Regards,
    Sandesh Sawant

  • Problem in creating service request

    Hi all,
       I have created a custom RFC where I am using FM "CRM_ICSS_SRVREQ_CREATE". After this i am calling "CRM_ORDER_MAINTAIN" to update the same Service request for updating product version and activity.
    The service request created but it does not update the Activity category or you can say no effect of calling FM "CRM_ORDER_MAINTAIN".I tried "BAPI_ORDER_CHANGEMULTI" also in place of CRM_ORDER_MAINTAIN. But it does not work.
    When i execute it in Debug mode it works fine. Can anyone suggest me what causes the RFC to behave like this or what could be the solution.
    Thanks & Regards,
    Animesh

    Hi karthik,
    first of all thanks for your quick replies.
    Now, Still its not working. This is the order in which i am calling the FMs:
    CALL FUNCTION 'CRM_ICSS_SRVREQ_CREATE'
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' (wait = true)
    CALL FUNCTION 'BAPI_BUSPROCESSND_CHANGEMULTI'
    CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'(wait = true)
    I tried commit work and wait also but it also does not works.
    Thnks & Regards,
    Animesh

  • Connection pooling problem in web service call

    Hi,
    I want to create some REST web services which will be called frequently by other applications (making calls at each 4-5 seconds).
    During the day there can be several instances active (20-30) which will use those web services. In conclusion there will be many database calls.
    What's the best solution to avoid seeing JDBC connection failure in weblogic console and to use connection pooling properly?
    1. Use createRootApplicationModule and after that call release
    2. Get the datasource instance and after that do whatever business (get VOs, methods etc.)
    ...or there is another solution?
    Thanks.
    Edited by: DorinS on 03.11.2011 12:02

    Hi,
    If the POJO you use to expose the service stays in memory then you don't need to close the AM reference. However, what you really want to do is to use JDBC Datasources with your AM configuration so the server manages a pool of database connections the AM then reaches out to
    Frank

Maybe you are looking for