<?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: SR053 error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573655#M587921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This error comes when the variables you are passing to the function module call are not compatable to the parameters of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So check if "it_loc" is defined as "PRODUCT_LOCATION_VERSION" and "it_loc_verx" is defined as PRODUCT_LOCATION_VERSION_X. Similarly, make sure that every variable that you are passing to a function call follows the same rule as explained above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 22:08:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-23T22:08:51Z</dc:date>
    <item>
      <title>SR053 error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573649#M587915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting an error SR053 while testing a user exit . It says ' type conflict when calling a function module' . How do i correct this ? I searched for this error message number SR053 in main program of the include , its not found anywhere in the include.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 19:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573649#M587915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: SR053 error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573650#M587916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is something wrong with the way you are calling a function module in your user exit.  Make sure that you check the function module signatures and make sure that the parameters being pass are of the correct type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 19:44:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573650#M587916</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-23T19:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: SR053 error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573651#M587917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich , I am checking the parameters to be passed for the BAPI . I am not sure how to use that bapi ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 21:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573651#M587917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T21:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: SR053 error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573652#M587918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which BAPI is that and please post the call to that BAPI with the data definitions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 21:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573652#M587918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T21:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: SR053 error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573653#M587919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP AT it_matkey INTO wa_matkey.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for all products transferred via CIF,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; get the regional location associated with the product by joining the tables .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; The regional location is maintained in the field attlo01 of /sapapo/loc table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   SELECT single b~attlo01 INTO regloc&lt;/P&gt;&lt;P&gt;                     FROM /sapapo/matloc AS a INNER JOIN /sapapo/loc AS b&lt;/P&gt;&lt;P&gt;                     ON a&lt;SUB&gt;locid = b&lt;/SUB&gt;locid&lt;/P&gt;&lt;P&gt;                     WHERE a~matid = wa_matkey-matguid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Get locationguid of the regional location from table /sapapo/loc&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT single locid FROM /sapapo/loc&lt;/P&gt;&lt;P&gt;                 INTO locid&lt;/P&gt;&lt;P&gt;                 WHERE locno = regloc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Check whether the product is extended to the new regional location by checking for the entry with the product and locationguid of the regional location&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT single matid locid FROM /sapapo/matloc&lt;/P&gt;&lt;P&gt;                 INTO (matguid, locguid)&lt;/P&gt;&lt;P&gt;                 WHERE matid = wa_matkey-matguid AND&lt;/P&gt;&lt;P&gt;                 locid = locid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;if the entry doesnt exists in the table then extend the product by calling the bapi and passing some default profiles&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        it_loc-product_id = wa_matkey-matguid.&lt;/P&gt;&lt;P&gt;        it_loc-location_id = locid.&lt;/P&gt;&lt;P&gt;        it_loc-planning_version = '000'.&lt;/P&gt;&lt;P&gt;        CONCATENATE regloc '_LOT' INTO it_loc-lot_size_profile.&lt;/P&gt;&lt;P&gt;        CONCATENATE regloc '_DEMAND' INTO it_loc-requirement_profile .&lt;/P&gt;&lt;P&gt;        CONCATENATE regloc '_SNP_DMD' INTO it_loc-demand_profile .&lt;/P&gt;&lt;P&gt;        CONCATENATE regloc '_SNP_SUPPLY' INTO it_loc-supply_profile.&lt;/P&gt;&lt;P&gt;        CONCATENATE regloc '_SNP_DEPLOY' INTO it_loc-deployment_profile.&lt;/P&gt;&lt;P&gt;        it_loc-procurement_type  = 'E'.&lt;/P&gt;&lt;P&gt;        append it_loc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        it_loc_verx-product_id = wa_matkey-matguid.&lt;/P&gt;&lt;P&gt;        it_loc_verx-location_id = locid.&lt;/P&gt;&lt;P&gt;        it_loc_verx-planning_version = '000'.&lt;/P&gt;&lt;P&gt;        it_loc_verx-lot_size_profile = 'X'.&lt;/P&gt;&lt;P&gt;        it_loc_verx-requirement_profile = 'X'.&lt;/P&gt;&lt;P&gt;        it_loc_verx-demand_profile = 'X'.&lt;/P&gt;&lt;P&gt;        it_loc_verx-supply_profile = 'X'.&lt;/P&gt;&lt;P&gt;        it_loc_verx-deployment_profile = 'X'.&lt;/P&gt;&lt;P&gt;        it_loc_verx-procurement_type = 'X'.&lt;/P&gt;&lt;P&gt;        append it_loc_verx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BAPI_PRDSRVAPS_SAVEMULTI2'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;              LOGICAL_SYSTEM                    =  'D14CLNT208'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            SAVE_OPTIONS                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            COMMIT_CONTROL                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            BUSINESS_SYSTEM_GROUP             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_HEAD                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_HEAD_X                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_TEXT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_TEXT_X                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_ALT_UOM                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_ALT_UOM_X                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_PENALTY                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_PENALTY_X                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_X                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              PRODUCT_LOCATION_VERSION          = it_loc&lt;/P&gt;&lt;P&gt;              PRODUCT_LOCATION_VERSION_X        = it_loc_verx&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_PENALTY          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_PENALTY_X        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_PRIORITY         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_PRIORITY_X       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_MODEL                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_TDPP             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              RETURN                            = it_return&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            EXTENSION_IN                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_WAREHOUSE                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_WAREHOUSE_X               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_STORAGE_TYPE              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_STORAGE_TYPE_X            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_GROUP                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_SPP                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_SPP_X                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_SPP              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_SPP_X            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_LOCATION_INH              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            PRODUCT_ALTERNATIVE_NUMBER        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        read table it_return with key type = 'E'.&lt;/P&gt;&lt;P&gt;        if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            CALL FUNCTION '/SAPAPO/DM_MODEL_ADD_PROD'&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;                I_MODEL                    = '000'&lt;/P&gt;&lt;P&gt;                I_LOCID                    = locid&lt;/P&gt;&lt;P&gt;                I_MATID                    = wa_matkey-matguid&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              C_MATMOD_TAB               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              NO_MODLOC                  = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              NO_MATLOC                  = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              ENTRY_ALREADY_EXISTS       = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              OTHERS                     = 4&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                      .&lt;/P&gt;&lt;P&gt;            IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       ENDIF.&lt;/P&gt;&lt;P&gt;       refresh it_return.&lt;/P&gt;&lt;P&gt;       refresh it_loc.&lt;/P&gt;&lt;P&gt;       refresh it_loc_verx.&lt;/P&gt;&lt;P&gt;       clear it_return.&lt;/P&gt;&lt;P&gt;       clear it_loc.&lt;/P&gt;&lt;P&gt;       clear it_loc_verx.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 21:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573653#M587919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T21:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: SR053 error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573654#M587920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know where the error is coming exactly , but i am thinking its error with the bapi .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 21:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573654#M587920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T21:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: SR053 error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573655#M587921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This error comes when the variables you are passing to the function module call are not compatable to the parameters of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So check if "it_loc" is defined as "PRODUCT_LOCATION_VERSION" and "it_loc_verx" is defined as PRODUCT_LOCATION_VERSION_X. Similarly, make sure that every variable that you are passing to a function call follows the same rule as explained above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 22:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sr053-error/m-p/2573655#M587921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T22:08:51Z</dc:date>
    </item>
  </channel>
</rss>

