<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Parameters for BAPI_CASE_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179914#M463360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Walter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to raise an OSS note with SAP to find this one out! You're right, it does involve the 4 ELEMENT_* table parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ELEMENT_IDENTIFICATION&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ELEM_NO = an incremental counter starting from 1. Every BP should have a different ELEM_NO.&lt;/P&gt;&lt;P&gt;NAME and VALUE take the names and values of object-specific fields. To link to a business partner, use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME/VALUE&lt;/P&gt;&lt;P&gt;%SPS_ID%                CRM_BUSINESS_PARTNER&lt;/P&gt;&lt;P&gt;BOR_OBJECT_TYPE  BUS1006&lt;/P&gt;&lt;P&gt;BOR_OBJECT_ID        [the number of the BP in table BUT000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ELEMENT_INSERTION&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;ELEM_NO = the same number for the BP as in ELEMENT_IDENTIFICATION &lt;/P&gt;&lt;P&gt;ANCHOR = C1 (this is the same for all linked BPs)]&lt;/P&gt;&lt;P&gt;DESCRIPTION  [Optional field]&lt;/P&gt;&lt;P&gt;MODEL_ID [You don't need to use this as we are using ANCHOR]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ELEMENT_ATTRIBUTES&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ELEM_NO = the same number for the BP as in ELEMENT_IDENTIFICATION &lt;/P&gt;&lt;P&gt;NAME and VALUE can be used to be more specific about the type of link e.g. the following values will specify a partner function and check the main partner flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME/VALUE&lt;/P&gt;&lt;P&gt;CRM_PARTNER_FCT     [a valid partner function e.g. 00000001]&lt;/P&gt;&lt;P&gt;CRM_MAIN_PARTNER   'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to use the parameter ELEMENT_RELATIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS You can link many other business objects to cases. You can find the value for %SPS_ID% by browsing the SAP Registry for the appropriate Service Provider ID. The values on the SP POID Parameter tab for each Service Provider ID can be used on the ELEMENT_IDENTIFICATION parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order-type objects need to be linked using the GUID and the appropriate anchor value e.g. CS for a service ticket and CB for an internaction record ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function BAPI_CASE_ADDELEMENTS works in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense - sorry I've forgotten the transaction code for the registry!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2007 16:00:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-04T16:00:16Z</dc:date>
    <item>
      <title>Parameters for BAPI_CASE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179911#M463357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to call BAPI_CASE_CREATE to create a new case in Case Management. I have been able to create a simple case, but I need to create a case that has a Business Partner as part of the case record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing I must do this with the four ELEMENT_* table parameters, but there's very little documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone done the same before? If so, help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Walter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 10:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179911#M463357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T10:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for BAPI_CASE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179912#M463358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very interesting. &lt;/P&gt;&lt;P&gt;It sounds like there might be some customising entries maintained to be able to get the right element number to pass into these tables. On some research, I was able to get to this help.sap.com document:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/bd/3a853df3e60968e10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/bd/3a853df3e60968e10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which tells you about 'service providers', which, in turn, control 'elements'. Maybe the documentation could help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the SPRO link specified in the BAPI documentation should give some clues abt maintaining profile IDs and the like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do post back on the forum if you find a solution to this problem - it sounds quite interesting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 11:07:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179912#M463358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T11:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for BAPI_CASE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179913#M463359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use this function to create cases too. The basic fields can be populated through the CASE_ATTRIBUTES structure. The best way to see how this is used is to create a case yourself in transaction SCASE, look in table SCMG_T_CASE_ATTR for the GUID and plug this into function BAPI_CASE_GETATTRIBUTES. This will return all the fields you have populated in the header section of SCASE; NAME = name of the field; VALUE = its value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to be able to link cases to service tickets and interaction records in SAP CRM. I can do this OK through SCASE but I can't work out how to do it using BAPI_CASE_CREATE. The terminology in the limited documentation available is esoteric at best. Maybe it's not possible! Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 17:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179913#M463359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T17:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for BAPI_CASE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179914#M463360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Walter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to raise an OSS note with SAP to find this one out! You're right, it does involve the 4 ELEMENT_* table parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ELEMENT_IDENTIFICATION&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ELEM_NO = an incremental counter starting from 1. Every BP should have a different ELEM_NO.&lt;/P&gt;&lt;P&gt;NAME and VALUE take the names and values of object-specific fields. To link to a business partner, use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME/VALUE&lt;/P&gt;&lt;P&gt;%SPS_ID%                CRM_BUSINESS_PARTNER&lt;/P&gt;&lt;P&gt;BOR_OBJECT_TYPE  BUS1006&lt;/P&gt;&lt;P&gt;BOR_OBJECT_ID        [the number of the BP in table BUT000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ELEMENT_INSERTION&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;ELEM_NO = the same number for the BP as in ELEMENT_IDENTIFICATION &lt;/P&gt;&lt;P&gt;ANCHOR = C1 (this is the same for all linked BPs)]&lt;/P&gt;&lt;P&gt;DESCRIPTION  [Optional field]&lt;/P&gt;&lt;P&gt;MODEL_ID [You don't need to use this as we are using ANCHOR]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ELEMENT_ATTRIBUTES&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ELEM_NO = the same number for the BP as in ELEMENT_IDENTIFICATION &lt;/P&gt;&lt;P&gt;NAME and VALUE can be used to be more specific about the type of link e.g. the following values will specify a partner function and check the main partner flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME/VALUE&lt;/P&gt;&lt;P&gt;CRM_PARTNER_FCT     [a valid partner function e.g. 00000001]&lt;/P&gt;&lt;P&gt;CRM_MAIN_PARTNER   'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to use the parameter ELEMENT_RELATIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS You can link many other business objects to cases. You can find the value for %SPS_ID% by browsing the SAP Registry for the appropriate Service Provider ID. The values on the SP POID Parameter tab for each Service Provider ID can be used on the ELEMENT_IDENTIFICATION parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order-type objects need to be linked using the GUID and the appropriate anchor value e.g. CS for a service ticket and CB for an internaction record ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function BAPI_CASE_ADDELEMENTS works in the same way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense - sorry I've forgotten the transaction code for the registry!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179914#M463360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T16:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for BAPI_CASE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179915#M463361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_CASE_GETATTRIBUTES returns field names how get their labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF name is 'CASE_TITLE' i would like to have its label 'Heading'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 12:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179915#M463361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T12:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for BAPI_CASE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179916#M463362</link>
      <description>&lt;P&gt;Hello, need help on this topic... can pls share more info esp. the %SPS% and other trciky parameters..&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 06:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-for-bapi-case-create/m-p/2179916#M463362</guid>
      <dc:creator>madhav_man</dc:creator>
      <dc:date>2021-06-07T06:19:41Z</dc:date>
    </item>
  </channel>
</rss>

