How XAI inbound service creates an activity ?

Hi,
Can any one help me with how an XAI inbound service creates an activity on invoking from middle ware and the same automatically creates an outbound communication?
any help will be appreciated.

You cannot extend the MO with a BO, as the MO is Read Only.
See the MO Option +'BO Maintenance (Y/N)'+ for 'BATCH JOB'.
Alternatively, you can define a Business Service instead. Use Service *'CILZRBPP'*, below is an example (element values have been defaulted for demonstration purposes):
<schema pageAction="add">
    <batchJobId mapField="BATCH_JOB_ID"/> 
    <batchCode mapField="BATCH_CD" default="TD-BTERR"/> 
    <userId mapField="USER_ID"/> 
    <programName mapField="PROGRAM_NAME" default="CIPQBERB"/>
</schema>XAI Submission:
<RXS-BatchSubmission>
</RXS-BatchSubmission>Result/Response:
<RXS-BatchSubmission>
  <batchJobId>23110150739990</batchJobId>
  <batchCode>TD-BTERR</batchCode>
  <userId>SYSUSER</userId>
  <programName>CIPQBERB</programName>
</RXS-BatchSubmission>if your Batch Daemon is running, batch will be executed without any delay.

Similar Messages

  • Using a Response XSL on XAI Inbound Service creates an invalid XML

    I created a Response XSL and plugged it into my XAI Inbound Service, however the Response XML it creates is invalid:
    <?xml version="1.0" ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="urn:schemas-xmlsoap-org:envelope">
    <SOAP-ENV:Body >
    *<?xml version="1.0" encoding="UTF-8"?>*
    <CmAccountSearch>
    <Request AccountNumber="" StreetNumber="740" StreetLine1="Polaris Ave" City="Foster City" State="CA"/>
    <Response ReturnCode="I">
    <CustomerDetailsList AccountNumber="9231764166" CustomerName="Rovno,Aleksandr" AmountDue="0" IsCashOnly="false" StreetLine1="740 Polaris Ave"/>
    <CustomerDetailsList AccountNumber="0304039866" CustomerName="Ray,Jamse" AmountDue="0" IsCashOnly="false" StreetLine1="740 Polaris Ave"/>
    </Response>
    </CmAccountSearch>
    </SOAP-ENV:Body >
    </SOAP-ENV:Envelope>
    Note that a second <?xml...> tag is created after the SOAP tags.
    Here is my XSL:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" indent="yes" encoding="UTF-8"/>
         <xsl:template match="/">
              <CmAccountSearch>
                   <xsl:apply-templates/>
              </CmAccountSearch>
         </xsl:template>
         <xsl:template match="input">
              <xsl:element name="Request">
                   <xsl:attribute name="AccountNumber">
                        <xsl:value-of select="accountId"/>
                   </xsl:attribute>
                   <xsl:attribute name="StreetNumber">
                        <xsl:value-of select="streetNumber"/>
                   </xsl:attribute>
                   <xsl:attribute name="StreetLine1">
                        <xsl:value-of select="streetName"/>
                   </xsl:attribute>
                   <xsl:attribute name="City">
                        <xsl:value-of select="city"/>
                   </xsl:attribute>
                   <xsl:attribute name="State">
                        <xsl:value-of select="state"/>
                   </xsl:attribute>
              </xsl:element>
         </xsl:template>
         <xsl:template match="output">
              <xsl:element name="Response">
                   <xsl:attribute name="ReturnCode">
                        <xsl:value-of select="returnCode"/>
                   </xsl:attribute>
                   <xsl:for-each select ="//customerDetails">
                        <xsl:element name="CustomerDetailsList">
                             <xsl:attribute name="AccountNumber">
                                  <xsl:value-of select="accountId"/>
                             </xsl:attribute>
                             <xsl:attribute name="CustomerName">
                                  <xsl:value-of select="customerName"/>
                             </xsl:attribute>
                             <xsl:attribute name="AmountDue">
                                  <xsl:value-of select="currentAmountDue"/>
                             </xsl:attribute>
                             <xsl:attribute name="IsCashOnly">
                                  <xsl:value-of select="cashOnlySw"/>
                             </xsl:attribute>
                             <xsl:attribute name="StreetLine1">
                                  <xsl:value-of select="premiseAddressLine1"/>
                             </xsl:attribute>
                        </xsl:element>
                   </xsl:for-each>
              </xsl:element>
         </xsl:template>
    </xsl:stylesheet>
    Here is the Response XML before applying the Response XSL to the XAI Inbound Service:
    <?xml version="1.0" ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="urn:schemas-xmlsoap-org:envelope">
    <SOAP-ENV:Body >
    <CmAccountSearch>
    <input>
    <accountId/>
    <streetNumber>740</streetNumber>
    <streetName>Polaris Ave</streetName>
    <city>Foster City</city>
    <state>CA</state>
    </input>
    <output>
    <customerDetails>
    <accountId>9231764166</accountId>
    <customerName>Rovno,Aleksandr</customerName>
    <currentAmountDue>0</currentAmountDue>
    <cashOnlySw>false</cashOnlySw>
    <premiseAddressLine1>740 Polaris Ave</premiseAddressLine1>
    </customerDetails>
    <customerDetails>
    <accountId>0304039866</accountId>
    <customerName>Ray,Jamse</customerName>
    <currentAmountDue>0</currentAmountDue>
    <cashOnlySw>false</cashOnlySw>
    <premiseAddressLine1>740 Polaris Ave</premiseAddressLine1>
    </customerDetails>
    <returnCode>I</returnCode>
    </output>
    </CmAccountSearch>
    </SOAP-ENV:Body >
    </SOAP-ENV:Envelope>
    I would like to know if anyone is familiar with this issue and how I can go about to fix it.
    Any response will be greatly appreciated.
    Thanks in advance.

    Just set RETRIEVE_SW to 'false', APPT_RETRIEVE_FLG will be automatically set to 'C' internally.
    Setting ACTION_SHOW_APP_SW to true has no meaning for pageAction 'read'.

  • Create a flat-file upload for a BO XAI Inbound Service?

    Hello all,
    If we don't have a schema defined for a BO XAI Inbound Service, how can we create the XSL and the flat-file upload schema file for it.
    Any advice?
    Regards,
    Kerr

    I don't have problem to create the XSLT mapping.
    But because it is to create a flat-file upload for a Business Object XAI Inbound Service, it doesn't have a schema on the server as to the thread Create Schema for Business Object to use for XAI Inbound Service?
    And I can't create that flat-file upload without a schema on the server.
    Or I can use the BO XAI Inbound Service WSDL instead to create the mapping for the flat-file upload.
    Regards,
    Kerr

  • How to get only mandatory elements of BO schema using XAI Inbound service

    Hi Folks,
    I create a XAI Inbound service for a BO and I just want to generate the WSDL xml request schema with only mandatory fields of that BO.
    How to acheive this? Is it possible and is there any solution already for this?

    Hi Folks,
    I create a XAI Inbound service for a BO and I just want to generate the WSDL xml request schema with only mandatory fields of that BO.
    How to acheive this? Is it possible and is there any solution already for this?

  • Cancel Payment using XAI Inbound Service (CC&B)

    Hi All,
    Do you have any idea how to cancel payment using XAI in CC&B?
    Now Im using xai Inbound service (SSvcPaymentEventMaintenance) to do cancellation process, but it just affects for the payment status only, meaning payment and payment tender status become cancel but the payment amount for the related bill is still not deducted. The bill is still in status "Fully Matched". Seems the financial transaction for payment cancellation is not created. Any idea about this ?
    Thank you,
    Taufix

    You must use a Business Service to perform such actions, although there is no such default available even in the Demo data, follow below steps (assuming you are on CC&B 2.2.x or higher):
    - Create/Configure a Business Service using Service Program 'CILPTNDP - Cancel Payment Tender'.
    - Create/Configure a SS with following steps (SS Schema would contain the Payment Event Id):
    1. Invoke/read Payment Event and retrieve the PAY_TENDER_ID
    2. Invoke Business Service created above for each PAY_TENDER_ID by providing the Cancel Reason Code.
    - Expose above created SS as an XAI Inbound Service.

  • Problem in uploading XML via XAI Inbound Service and XAI Receiver..

    Problem in MDM 2.0.1
    I'm trying to upload some interval data in batches via XAI.
    I have created one XAI Inbound service *(D1-SUNXAI)* where i am using BO *(D1-IMDSeeder)*
    Then I have created one XAI RECEIVER where XAI class is XMLFILERCVR, XAI user id is XAIURL+
    My scan directory is C:\ouaf\DEV9\upload where i'm keeping the *.xml files.
    But these files are not uploading to database.
    Please provide a solution for this..
    Edited by: Suraj Keerthi on Apr 26, 2011 6:24 PM

    You need to create TWO inbound services to accomplish it. One is to create the XML message and the other one is to process the transaction (add meter read).
    Thanks,
    Sankara.

  • Missing namespace on XAI Inbound Service Fault Element

    Hi,
    when a XAI Inbound service errors out, it uses the Fault element defined in the WSDL, which normally should be:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">+
    +<soapenv:Body>+
    +<soapenv:Fault>+
    +<faultcode>soapenv:Client</faultcode>+
    +<faultstring>Client Error</faultstring>+
    +<detail>+
    *+<ouaf:Fault xmlns:ouaf="urn:oracle:ouaf">+*                 
    -- omiting details
    +</ouaf:Fault>+
    +</detail>+
    +</soapenv:Fault>+
    +</soapenv:Body>+
    +</soapenv:Envelope>+
    However, in one environment i am getting this response, without the namespace:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">+
    +<soapenv:Body>+
    +<soapenv:Fault><faultcode>soapenv:Client</faultcode>+
    +<faultstring>Client Error</faultstring>+
    +<detail>+
    *+<ouafFault>+*              
    -- Omiting Details
    +</ouafFault>+
    +</detail>+
    +</soapenv:Fault>+
    +</soapenv:Body>+
    +</soapenv:Envelope>+
    This happens both for Custom and Base XAI Inbound services.
    Already validated the patching level between environments.
    The logs do not show any obvious difference.
    I will appreciate any idea or suggestion.
    Thanks
    Regards
    Ernesto.

    All the environments had the same patching level and our problem was in one environment only.
    We cloned the rowking environment ontop of the non-working one and it's solved, although we don't know which was the reason. My guess is some of the patches was not properly applied.
    Thanks
    Regards
    Chipi.

  • How to Get the created Request Activity Status using SCSM 2012 SDK

    Hi, i have created a ServiceRequest,
    so there are Activities related to Servicerequest.
    I am trying to know the Status of the each Activity (Completed,Failed etc)
    and the Change of Activity (like from ReviewActivity to RunBookActivity).
    how can we get the Activity status change programmatically.
    so that i could Display this Status to other Portal, 
    I am Creating a CustomActivity with ActivityID as Parameter to Workflow inheriting WorkflowActivityBase
    protected
    override
    ActivityExecutionStatus Execute(ActivityExecutionContext
    executionContext)
    Is this a Right Approach..???
    Plz respond as m not getting the way ..

    I'm not entirely clear on what you're trying to accomplish, but I can give you some guidance on getting the status of activities that are part of a service request.
    Quick overview before we get to the code: After we connect to the database we want to retrieve some management packs, a relationship, and a type projection. We then want to create some criteria for querying the Service Manager database. Then we execute the
    query and traverse the results, displaying the activity ID and it's status.
    //Connect to Service Manager
    EnterpriseManagementGroup emg = new EnterpriseManagementGroup("<your management server>");
    //Get some management packs
    ManagementPack mpSystem = emg.ManagementPacks.GetManagementPack(SystemManagementPack.System);
    ManagementPack mpSRLib = emg.ManagementPacks.GetManagementPack("ServiceManager.ServiceRequest.Library", mpSystem.KeyToken, new Version("7.5.1464.0"));
    ManagementPack mpWorkItemLibrary = emg.ManagementPacks.GetManagementPack("System.WorkItem.Library", mpSystem.KeyToken, new Version("7.5.1464.0"));
    ManagementPack mpActivityLib = emg.ManagementPacks.GetManagementPack("System.WorkItem.Activity.Library",mpSystem.KeyToken,new Version("7.5.1464.0"));
    //Get the relationship and type projection we'll be using for this query
    ManagementPackRelationship mprWIContainsActivity = mpActivityLib.GetRelationship("System.WorkItemContainsActivity");
    ManagementPackTypeProjection mptpWIActivities = mpSRLib.GetTypeProjection("System.WorkItem.ServiceRequestAndActivityViewProjection");
    //This is the work item (such as a service request) ID that we're looking for
    String WorkItemID = "SR123";
    //Setup the criteria. This will instruct service manager to "Get me the service request with ID SR123"
    String strWICriteria = String.Format(@"
    <Criteria xmlns=""http://Microsoft.EnterpriseManagement.Core.Criteria/"">
    <Reference Id=""System.WorkItem.Library"" PublicKeyToken=""{0}"" Version=""{1}"" Alias=""WILib"" />
    <Expression>
    <SimpleExpression>
    <ValueExpressionLeft>
    <Property>$Target/Property[Type='WILib!System.WorkItem']/Id$</Property>
    </ValueExpressionLeft>
    <Operator>Equal</Operator>
    <ValueExpressionRight>
    <Value>" + WorkItemID + @"</Value>
    </ValueExpressionRight>
    </SimpleExpression>
    </Expression>
    </Criteria>
    ", mpWorkItemLibrary.KeyToken, mpWorkItemLibrary.Version.ToString());
    //Build the projection criteria
    ObjectProjectionCriteria opcWI = new ObjectProjectionCriteria(strWICriteria, mptpWIActivities,emg);
    //Perform the query
    IObjectProjectionReader<EnterpriseManagementObject> oprWIs = emg.EntityObjects.GetObjectProjectionReader<EnterpriseManagementObject>(opcWI,ObjectQueryOptions.Default);
    //oprWIs contains all of the work items with ID "SR123" (and there will only be one work item with that ID)
    //We loop through all the work items in the oprWIs collection
    foreach (EnterpriseManagementObjectProjection emopWI in oprWIs)
    //Next we loop through all of the activities contained by our work item, using the WorkItemContainsActivity relationship
    //NOTE that these activities are in no particular order. You'll have to use the icpActivity.Object[null,"SequenceId"].Value to order them
    foreach (IComposableProjection icpActivity in emopWI[mprWIContainsActivity.Target])
    //Since activity status is an enumeration, we want to display it's displayname, not it's value (enumeration values are just GUIDs or other unique identifiers)
    ManagementPackEnumeration status = (ManagementPackEnumeration)icpActivity.Object[null, "Status"].Value;
    //For this little snippet, we're just outputting the activity ID and it's status
    Console.WriteLine(icpActivity.Object[null,"Id"].Value + " " + status.DisplayName);
    Regarding the rest of your post, I'm not sure what you meant when you said you wanted the "change of activity". Are you trying to display the time that an activity's status changed (stored in the activity's history records)?
    Second, if you're displaying this information on some other custom portal, what is the purpose for the workflow?
    A couple disclaimers: Use this code at your own risk, there are no guarantees, etc etc :) Second, I'm assuming you're on Service Manager 2012 RC at least (otherwise the "versions" in the code will need to be changed)
    Are you new to the SCSM SDK? If so, this code snippet might seem overwhelming. I recommend reading the Service Manager blog to get an idea about how classes, objects, relationships, type projections, etc all work.
    Here's a link to a post by Travis that uses the SDK..he also references a lot of the information necessary to best understand Service Manager's inner workings :)
    http://blogs.technet.com/b/servicemanager/archive/2010/10/04/using-the-sdk-to-create-and-edit-objects-and-relationships-using-type-projections.aspx

  • OUAF / MDM 2.0.1 / XAI Inbound Service - SyncRequestInbound

    I am trying to "import" an Device from my system to MDM using D1-SyncRequestInbound, but some errors have occurred. Can someone post an example ?
    This is my xml:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:d1="http://oracle.com/D1-SyncRequestInbound.xsd">
    <soapenv:Header/>
    <soapenv:Body>
    <d1:D1-SyncRequestInbound dateTimeTagFormat="xsd" transactionType="?">
    <d1:externalReferenceId>1</d1:externalReferenceId>
    <d1:initialLoad>F1IL</d1:initialLoad>
    <d1:bo>D1-InitialSyncRequestDevice</d1:bo>
    <d1:targetMo>D1-DEVICE</d1:targetMo>
    <d1:targetBo>D1-DEVICE</d1:targetBo>
    <d1:externalSystem>CM-EXT1</d1:externalSystem>
    <d1:externalPkValue1>1</d1:externalPkValue1>
    <d1:syncRequestDetails>
    <d1:original>
    <d1:initialSnapshot>
    <d1:deviceType>CM-METER-TYPE1</d1:deviceType>
    <d1:manufacturer>CM-MANUF1</d1:manufacturer>
    <d1:model>CM-MODEL1</d1:model>
    </d1:initialSnapshot>
    </d1:original>
    </d1:syncRequestDetails>
    </d1:D1-SyncRequestInbound>
    </soapenv:Body>
    </soapenv:Envelope>

    Below should work provided you have created/configured:
    - External System : CM-EXT1
    - Device Type: CM-METER-TYPE1
    - Manufacturer/Model : CM-MANUF1 / CM-MODEL1
    You SHOULD NOT define <bo> element, it'll be derived based on <initialLoad> tag, i.e. F1IC - Ongoing Sync/Incremental Sync and F1IL - Initial Load.
    <finalSnapshot> is what you need and you should be at least SP5 or above, if below you'd have to apply appropriate patch.
    <D1-SyncRequestInbound>
      <externalReferenceId>32100057871898</externalReferenceId>
      <initialLoad>F1IC</initialLoad>
      <targetMo>D1-DEVICE</targetMo>
      <externalSystem>CM-EXT1</externalSystem>
      <externalPkValue1>1</externalPkValue1>
      <externalPkValue2 />
      <externalPkValue3 />
      <externalPkValue4 />
      <externalPkValue5 />
      <syncRequestDetails>
        <original>
          <initialSnapshot>
            <customElements />
            <formattedElements>
              <formattedElements />
            </formattedElements>
          </initialSnapshot>
          <finalSnapshot>
            <deviceType>CM-METER-TYPE1</deviceType>
            <boStatus>ACTIVE</boStatus>
            <manufacturer>CM-MANUF1</manufacturer>
         <model>CM-MODEL1</model>
            <customElements />
            <formattedElements />
          </finalSnapshot>
        </original>
      </syncRequestDetails>
    </D1-SyncRequestInbound>

  • Creating XAI inbound schema for add transaction

    Hi friends,
    I am tring to creating xai inbound service for add transaction using business objects, when i tested that inbound service through dynamic xai i am getting error like this ,would some body suggest me to solve this.
    Transformation Error
    com.splwg.shared.common.LoggedException;
    Logged Exception was rethrown;
    com.splwg.base.web.xaiui.webxaischemaRepository.getSchemaFileNameFor
    ServiceAndVersion(WebXaiSchemaRepository.java:84)
    XAI Submission tab error for CMADDMETERREAD
    thanks and regards
    sivaram

    Registered Inbound Service should work either from 'XAI Dynamic Submission' or 'XAI Submission'.
    Alternatively, you could also input/provide values on the 'XAI Dynamic Submission' screen, click 'Show XML', copy the SOAP Envelope, and paste on 'XAI Submission' screen for testing purposes.
    This approach would be similar to soapUI.
    Ensure that parameters/values on 'XAI Options' are configured correctly as per your installation.

  • How XAI implements 'get more' function in CC&B pages

    Hi all,
    There is a 'get more' button in CC&B page if you list more than 50 records, just clicking the button when I wanna get last records , but how should i implement the same function by XAI, I have researched much time about this issue and gotten nothing. so had Anybody here encounterd the same issue? and have solved it?
    any help would be appreciated.

    The get more function works in the browser becuase there is a seperate "list" servlet which retrievs the data. It relies on certain HTTP context data for correct operation. Unfortunately the "get more" function is not supported by the XAI Servlet (it does not about the HTTP context data). Your only option is to roll your own paging mechnaism for the data you require.
    The pattern goes likes this...
    1. Work out the SQL for what you want to paginate
    2. Create a new "List Service" class that will act as the underlying service
    3. Annotate the service with inputs which include the page size, and the page number you want to retrieve
    4. Annotate the service with a list data that will be returned
    5. Use the page size and page number to create and execute the query and build the return result
    6. Register the service as an XAI Inbound Service
    7. Deploy the code
    8. Test using Dynamic Submission
    eg. Here is an example of Get More for Lookup Values....
    import com.splwg.base.api.BusinessEntity;
    import com.splwg.base.api.SimpleEntityList;
    import com.splwg.base.api.service.DataElement;
    import com.splwg.base.api.service.ItemList;
    import com.splwg.base.api.service.ListBody;
    import com.splwg.base.domain.common.lookup.LookupField_Id;
    import com.splwg.base.domain.common.lookup.LookupValue;
    import com.splwg.base.domain.common.lookup.LookupValue_Id;
    import com.splwg.base.support.service.metainfo.ListBodyField;
    import com.splwg.shared.environ.ServiceListConstant;
    import com.splwg.shared.logging.Logger;
    import com.splwg.shared.logging.LoggerFactory;
    * @author edhoi
    @ListService (name = CmGetMoreListValues, size = 10000, program = CMLGETMRL, service = CMLGETMRL,
    * body = @DataElement (contents = { @DataField (name = COUNTER)
    * , @RowField (entity = lookupValue, name = lookupValue)}),
    * headerFields = { @DataField (name = ELEM_SIZE)
    * , @DataField (name = FIELD_NAME)
    * , @DataField (name = FIELD_VALUE)})
    public class CmGetMoreListMaintenance extends CmGetMoreListMaintenance_Gen {
         private static final Logger LOG = LoggerFactory.getLogger(CmGetMoreListMaintenance.class);
         @Override
         protected ItemList<DataElement> readList() {
              // Call CmGetMoreBusinessComponent
              CmGetMoreBusinessComponent cmGetMoreBusinessComponent = CmGetMoreBusinessComponent.Factory
                        .newInstance();
              LookupField_Id lookupField_Id = new LookupField_Id(getHeader().get(
                        CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_NAME));
              LookupValue_Id lookupValueId = new LookupValue_Id(lookupField_Id,
                        getHeader().get(
                                  CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_VALUE));
              BigInteger pageSize = getHeader().get(
                        CmGetMoreListMaintenance.STRUCTURE.HEADER.ELEM_SIZE);
              LookupValue lastValue = lookupValueId.getEntity();
              List<LookupValue> values = cmGetMoreBusinessComponent
                        .getLookupValuePageData(lookupField_Id, lastValue, pageSize
                                  .intValue());
              long count = cmGetMoreBusinessComponent
                        .countLookupValues(lookupField_Id);
              if (values.size() > 0) {
                   lastValue = values.get(values.size() - 1);
              } else {
                   lastValue = null;
              ItemList<DataElement> itemList = new ItemList<DataElement>(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.name);
              ListBody listBody = itemList.newListBody();
              listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.COUNTER, new BigInteger(
                        Long.toString(count)));
              if(lastValue != null) {
                   listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.FIELD_VALUE, lastValue.getId().getFieldValue());
              for (LookupValue value : values) {
                   DataElement listElement= itemList.newDataElement();
                   listElement.addRow(value.getDTO());
              return itemList;
         @Override
         protected void afterPopulateList_CmGetMoreListValues(
                   ItemList<DataElement> targetList, SimpleEntityList sourceList,
                   BusinessEntity sourceListParent) {
              // TODO Auto-generated method stub
              super.afterPopulateList_CmGetMoreListValues(targetList, sourceList,
                        sourceListParent);
    }

  • How can you create an activity as subsequent act. of more than one activity

    Hi.
    I want to create an activity as subsequent activity of more than one activity.
    I am using FM CRMXIF_ORDER_SAVE, but if I write data structure CRMXIF_DOC_FLOW with more than one item the system shows the error CRM_COPY 010 More than one predecessor was entered for data transfer.
    However I have customized multiple relationship allowed, and if I do multiples links in transaction crmd_order it works all right.
    Only it doesn't work with FM CRMXIF_ORDER_SAVE. I need create activities with FM because they are interface R/3. What FM can I use to create multiple subsequent activities?
    Thanks and best Regards
    Sorry for my english.

    Hi,
    I have got some activities creates in the system. (e.g. Act. 1, Act. 2, Act. 3 and Act. 4). With the FM CRMXIF_ORDER_SAVE  filled the structure CRMXIF_DOC_FLOW you can create subsequence activity of one of them (e.g. Act. X.1). I need create the same activity (Act X.1)  from another activity, (e.g. Act. 2). I know to do this in transaction CRMD_ORDER by link tab. But I don't know how to do this using FM or BADI or another thing.
    Act. 1     Act. 2      Act. 3     Act. 4 
    .....Act. X.1
    Thanks in advance.
    Edited by: Ana Isabel París on Jul 7, 2008 2:42 PM

  • How can I create an active table of content in the sidebar to help readers to get to the section?

    How can I create an active table of content in the sidebar to help readers to get to the section?

    You can create bookmarks with Adobe Acrobat.

  • How to check weather a material created is active or not

    Dear Friends
    1    How to check weather a material created is active or not.
    2  MIGO standard document has a check button, can we have similar check button in other documents like Purchase requisition.
    3   In case of material valuation is Standard (Price control), the costing is done on the basis of the Standard Price or actual cost of the raw material.
    I will be thankful for your advice.
    Sanjeev

    1 How to check weather a material created is active or not.
    There is a Blue "i" button for the Material, pls click that it will show you the current status..
    2 MIGO standard document has a check button, can we have similar check button in other documents like Purchase requisition.
    for PR you can see the check button( CtrlShiftF3) beside personal settings

  • How to create an activity using business partner of document flow

    hi guys,
    Can anybody help me how to create an activity by using the business partner of document flow.
    i am using the function module BAPI_ACTIVITYCRM_CREATEMULTI but it was giving some sort of error in level based.
    so if anybody used above type of scenario can help me out. if you have an sample code please post it which is very much usefull..
    thnaks
    viswam

    Hi Viswa,
    I used this function module to create activity with the doc flow in my case successfully.
    CALL FUNCTION 'CRMXIF_ORDER_SAVE'
        EXPORTING
          data   = lt_contract
        IMPORTING
          return = lt_return.
    Regards
    Andy

Maybe you are looking for

  • Issues in using LSMW IDOC method for Article Hierarchy

    Hi Experts, I am working on a scenario for uploading article hierarchy using LSMW idoc method. Details:           Message type WMATGRP           IDoc type WMATGRP01 But as per my understanig, for processing, there should be a inbound Function module/

  • Can't connect to wifi after IOS update.  Do you know a solution?

    Loaded the new update and now it is sporatic connections with the wi fi.  I have unplugged the router and all that, still no luck.  It will work normally very briefly, but only briefly after I unplug the router, etc. Do any of you have a solution to

  • Shopping cart not creating follow-on documents

    Hi, We were using extened classic for some time in test system and now deactivated extended classic and want to work with classic scenario. However when i create shopping cart for the material it is not creating any follow-on documents like reservati

  • ALV LINK_TO_ACTION set_wrapping/set_wrapping_fieldname

    hallo:) I would like to have my alv cell wrapped. What I do: I created LINK_TO_ACTION as a column variant. I added this variant to the column. While creating link to action I set wrapping to ABAP_TRUE. And I placed a text inside the cell: concatenate

  • Add to playlist from playlists?

    There used to be an option to add songs to playlists from existing playlists, I can't see any way to do this in iOS7? Has this feature been removed? I can only see the option to add from Artist, Songs, Albums, Composers.