<?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: CREMAS Update during inbound processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210180#M1627248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't have any explicit point available but you can implement implicit enhancement. Try implementing the implicit enh point in the subroutine FILL_CRE_DATA_WITH_E1LFA1C towards end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2011 13:04:39 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2011-10-24T13:04:39Z</dc:date>
    <item>
      <title>CREMAS Update during inbound processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210179#M1627247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I receive vendor information from a external system.&lt;/P&gt;&lt;P&gt;I want to import them by idoc type CREMAS05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everthing works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have the problem that sometimes the external system sents a vendor number which is outside the allowed number range.&lt;/P&gt;&lt;P&gt;Therefore I want to implement a check. If this check is wron, I set a error status and message and the inbound will be canceld.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented Enhancement VSV00001 and User Exit EXIT_SAPLKD02_001 (Inbound: Read and process vendor segments)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Problem is, that this user exit will be only called if the idoc includes a filled customer segment.&lt;/P&gt;&lt;P&gt;But in my case it didn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the idear to change the flag outside where are responsible for calling the user exit in that way, that evertime the exit will be called.&lt;/P&gt;&lt;P&gt;But there is no enhancement point there and I don't want to modify the SAP standard source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I handle this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 12:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210179#M1627247</guid>
      <dc:creator>christian_swonke</dc:creator>
      <dc:date>2011-10-24T12:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: CREMAS Update during inbound processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210180#M1627248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't have any explicit point available but you can implement implicit enhancement. Try implementing the implicit enh point in the subroutine FILL_CRE_DATA_WITH_E1LFA1C towards end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 13:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210180#M1627248</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2011-10-24T13:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: CREMAS Update during inbound processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210181#M1627249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the information.&lt;/P&gt;&lt;P&gt;You are right,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to implement it inside subroutine for segment LFA1M.&lt;/P&gt;&lt;P&gt;But I don't know what is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want to activate the implementation I get the message the attribiute should be named as "ICON_CUSTOMER...".&lt;/P&gt;&lt;P&gt;I don't know why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I am sure that i have the right attribiute changed because I copied it from the original source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a static and dynmaic enhancement point&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 16:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210181#M1627249</guid>
      <dc:creator>christian_swonke</dc:creator>
      <dc:date>2011-10-24T16:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: CREMAS Update during inbound processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210182#M1627250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I found the problem.&lt;/P&gt;&lt;P&gt;It was a misstake of myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable was in a other submethod. So it was not known.&lt;/P&gt;&lt;P&gt;If have now used an enhancement point idoc_post_01 at spot es_saplkd02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is now, that the inbound process stops after calling&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM call_transaction TABLES t_idoc_status
                                      t_return_variables
                                      t_bdifibiwa
                               USING  v_workflow_result
                                      f_idoc_control
                                      h_mode
                                      ip_xk99_used .   "Note 523930
      IF v_workflow_result = 99999.
        EXIT.
      ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know exactly why. But it seems that at this point it was a first try to book the vendor. and if something wrong the import ends.&lt;/P&gt;&lt;P&gt;But then then the user exit at the end makes no sence...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 15:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210182#M1627250</guid>
      <dc:creator>christian_swonke</dc:creator>
      <dc:date>2011-10-25T15:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: CREMAS Update during inbound processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210183#M1627251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have duplicate Vendor number, it should not be able to reach to the point where it calls the subroutine call_transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have implemented the implicit point at subroutine FILL_CRE_DATA_WITH_E1LFA1C, your code should be similar to this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
" do the validation of Vendor #
        v_workflow_result = 99999.   "&amp;lt;&amp;lt; this makes it to exit out and stops processing
        CLEAR t_idoc_status.
        t_idoc_status-docnum = f_idoc_control-docnum.
        t_idoc_status-status = c_idoc_stat_input_error.
        t_idoc_status-msgty = sy-msgty.
        t_idoc_status-msgid = sy-msgid.
        t_idoc_status-msgno = sy-msgno.
        t_idoc_status-msgv1 = sy-msgv1.
        t_idoc_status-msgv2 = sy-msgv2.
        t_idoc_status-msgv3 = sy-msgv3.
        t_idoc_status-msgv4 = sy-msgv4.
        t_idoc_status-segnum = segnum.
        t_idoc_status-segfld = 'LIFNR'.     "&amp;lt;&amp;lt;
        t_idoc_status-uname = sy-uname.
        t_idoc_status-repid = sy-repid.
        APPEND t_idoc_status.
        t_return_variables-doc_number = f_idoc_control-docnum.
        t_return_variables-wf_param = c_retv_error_idocs.
        APPEND t_return_variables.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 16:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210183#M1627251</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2011-10-25T16:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: CREMAS Update during inbound processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210184#M1627252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both cases are possible.&lt;/P&gt;&lt;P&gt;New vendors and also updates.&lt;/P&gt;&lt;P&gt;The user exit should reached in both cases and everytime if I process a idoc with message type CREMAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 17:03:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210184#M1627252</guid>
      <dc:creator>christian_swonke</dc:creator>
      <dc:date>2011-10-25T17:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: CREMAS Update during inbound processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210185#M1627253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I understand what your idear was.&lt;/P&gt;&lt;P&gt;I implemeneted different kind of enhancement in sub routines and it looks pretty good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was not the solution I expect but who cares?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 11:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cremas-update-during-inbound-processing/m-p/8210185#M1627253</guid>
      <dc:creator>christian_swonke</dc:creator>
      <dc:date>2011-11-18T11:53:45Z</dc:date>
    </item>
  </channel>
</rss>

