<?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: ABAP Development Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001620#M407530</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;The change is being done but this scenario is for the Serial NUmbers for the past 3 years.&lt;/P&gt;&lt;P&gt;I am a CRM Consultant designing the Internet customer self service portal. In this portal the user will enter the serial Number and get the warranty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need to give the functional spec for a program which will do this task.&lt;/P&gt;&lt;P&gt;From an ABAP point of view advise me on the technical design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nithin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2007 11:26:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-09T11:26:35Z</dc:date>
    <item>
      <title>ABAP Development Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001616#M407526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Scenario is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serial No.   -&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;&amp;gt;Invoice--&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&amp;gt;Invoice Date----&amp;gt;Material&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z646476E51--&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&amp;gt;110268872&lt;DEL&gt;&lt;HR originaltext="-----" /&gt;&amp;gt;13.09.2005&lt;/DEL&gt;-----&amp;gt;ABDSXBOX&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z646476E50      	                                        &lt;/P&gt;&lt;P&gt;Z646476E50                                                     &lt;/P&gt;&lt;P&gt;Z646476E53      		  	          &lt;/P&gt;&lt;P&gt;Z646476E53       		  	          &lt;/P&gt;&lt;P&gt;Z646476E53      		  	          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The arrow marks seperate the columns.&lt;/P&gt;&lt;P&gt;The relationship between the data elements is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoice No : Material :: 1: N&lt;/P&gt;&lt;P&gt;Material : Serial Number :: 1 : N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Serial Number is the Unique random Number.&lt;/P&gt;&lt;P&gt;The user enters the serial Number in a report the system needs to find out the Invoice date to determine warranty.The total No of unique serial Numbers is 2500000. The serial Numbers from, say 2003 till date are as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100000000&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;200000000&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;A00000000&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Z00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The response time of the report should be less than 2 seconds.&lt;/P&gt;&lt;P&gt;Could somebody propose a solution for this problem.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 05:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001616#M407526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T05:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Development Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001617#M407527</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;Serial No. is stored (if your process is set up corect) in VBRP-SERNR. Just create an index with fields MANDT SERNR and your access for this table will be fast - reading the header table VBRK with key VBELN for the invoice date is no problem afterwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's possible to have more than one invoice in case of returns, be careful.&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>Fri, 09 Mar 2007 08:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001617#M407527</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2007-03-09T08:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Development Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001618#M407528</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 reply. But in our project the requirement is different. The serial Numbers are stored in the header text of the Billing document. One text item can contain upto 50 serial Numbers. We do have a report which generates the serial Numbers for all the invoices in a particuar sales org. The above table example is an extract of the report output. Now our whole CRM ICSS application is centred around the serial Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1.User enters the serial Number&lt;/P&gt;&lt;P&gt;Step 2.The systems finds the invoice based on the serial no and the date and check for warranty&lt;/P&gt;&lt;P&gt;Step 3. The next process is triggered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first 2 steps we need to search through 2500000 serial Numbers and then determine the invoice and subsequently the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nithin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 09:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001618#M407528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T09:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Development Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001619#M407529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nithin!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like a completely wrong business design (but you are not the only one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't re-design the whole process in some lines... but maybe this is necessary to get a reasonable business running in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a technical remark: if you have one (billing header text) field with multiple serial numbers, then there is absolutely no fast way to find a specific number in a large dataset. It has to be split in separate fields, otherwise SQL is quite useless (like with %xxx% can filter the results, but will never be a specific access to the required entry).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if there will be explicit fields for SERNR, the it's not a header level -&amp;gt; has to be line level (no combining of lines). And then the standard SERNR field is as good as any other (own) field to store a serial number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make this really clear: MULTIPLE SERIAL NUMBERS IN HEADER TEXT CAN NOT WORK.&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>Fri, 09 Mar 2007 11:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001619#M407529</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2007-03-09T11:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Development Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001620#M407530</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;The change is being done but this scenario is for the Serial NUmbers for the past 3 years.&lt;/P&gt;&lt;P&gt;I am a CRM Consultant designing the Internet customer self service portal. In this portal the user will enter the serial Number and get the warranty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need to give the functional spec for a program which will do this task.&lt;/P&gt;&lt;P&gt;From an ABAP point of view advise me on the technical design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nithin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 11:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001620#M407530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T11:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Development Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001621#M407531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nithin,&lt;/P&gt;&lt;P&gt;I agree with Christian (who should have five times the points he actually has) that the way you are storing your serial numbers makes it impossible to find an invoice based on serial number in a reasonable amount of time.&lt;/P&gt;&lt;P&gt;It sounds like you would need to read all the invoice header texts either one by one (slow) or by large blocks (difficult) and then parse the text lines for the desired number.&lt;/P&gt;&lt;P&gt;And how is the connection to the material number on item level achieved?&lt;/P&gt;&lt;P&gt;So I cannot give you advise for the technical design because I can see no good one.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001621#M407531</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2007-03-09T12:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Development Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001622#M407532</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;so some coding (not tested, only as concept):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
parameter: p_myser like vbrp-sernr.
data: l_seltext like vbrk-BSTNK_VF,
        l_datum type vbrk-fkdat.
concatenate '%' p_myser '%' into l_seltext.
condense l_seltext.  "delete space
select max( fkdat ) into l_datum
     from vbrk
    where BSTNK_VF like l_seltext.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But don't wonder, if this select is not finished in 2 minutes. Here you don't have any check for valid numbers - if I enter '2', I would just get any invoice.&lt;/P&gt;&lt;P&gt;I would at least give an option for other selection criteria, like invoice number or date range - might get much faster for customers with original invoice.&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>Fri, 09 Mar 2007 12:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-development-issue/m-p/2001622#M407532</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2007-03-09T12:30:28Z</dc:date>
    </item>
  </channel>
</rss>

