<?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: clarification in flow in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-in-flow/m-p/5241383#M1211107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the reply was so help , i jus want to know , whether wat i have written is right then?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2009 07:11:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-26T07:11:52Z</dc:date>
    <item>
      <title>clarification in flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-in-flow/m-p/5241381#M1211105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My selection screen is as below&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;companycode---&amp;gt; mandatory&lt;/P&gt;&lt;P&gt;Channel id&lt;/P&gt;&lt;P&gt;origin id  ---&amp;gt; Mandatory&lt;/P&gt;&lt;P&gt;Bill date -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;  Mandatory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my channel id is in a &lt;STRONG&gt;z table and stored in the table like&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5801&lt;/P&gt;&lt;P&gt;5802&lt;/P&gt;&lt;P&gt;5803&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in order to link this in the next table (&lt;STRONG&gt;xblnr-Bkpf)&lt;/STRONG&gt; the channel id is stored as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5801-3605T &lt;/P&gt;&lt;P&gt;5801-3605R&lt;/P&gt;&lt;P&gt;5801-3605s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to &lt;STRONG&gt;cut the remaining half from - "hyphen'&lt;/STRONG&gt; and link with the bkpf table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(i.e) 5801 from z table and all that satisfies with 5801 in xblnr-BKPF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My doubts is that....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. is it neccessary to check channel id for &lt;STRONG&gt;is not inital&lt;/STRONG&gt; ,  since &lt;STRONG&gt;it is not&lt;/STRONG&gt;&lt;STRONG&gt;obligatory&lt;/STRONG&gt; in my selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. is it right &lt;STRONG&gt;to concatenate and check for  '-' hyphen  or i should&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;split and check .....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If iam wrong in the coding, can you please correct me?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankx in advance &lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;part of &lt;STRONG&gt;my coding&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;===============&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select channel_id from zft_oa_channel into corresponding fields of table it_zchannel&lt;/P&gt;&lt;P&gt;                                                where channel_id = pr_chaid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_zchannel[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate pr_chaid+0(4) '%' into pr_chaid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select bukrs belnr gjahr bldat xblnr from bkpf into corresponding fields of table it_bkpf&lt;/P&gt;&lt;P&gt;                                              where bukrs = pr_bukrs&lt;/P&gt;&lt;P&gt;                                              and    bldat in so_bldat&lt;/P&gt;&lt;P&gt;                                              and    blart = 'AR'&lt;/P&gt;&lt;P&gt;*and    belnr = wa_bkpf-belnr&lt;/P&gt;&lt;P&gt;*and    gjahr = wa_bkpf-gjahr&lt;/P&gt;&lt;P&gt;                                              and    xblnr like pr_chaid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_bkpf[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select bukrs belnr gjahr  xref1 xref2 kunnr dmbtr  from bseg into corresponding fields of table it_bseg&lt;/P&gt;&lt;P&gt;                                          for all entries in it_bkpf&lt;/P&gt;&lt;P&gt;                                           where  bukrs = it_bkpf-bukrs&lt;/P&gt;&lt;P&gt;                                                  and belnr = it_bkpf-belnr&lt;/P&gt;&lt;P&gt;                                                  and gjahr = it_bkpf-gjahr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                                 and kunnr =  wa_bseg-kunnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_bseg[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select  kunnr  name1 locco  from kna1 into corresponding fields of table it_kna1&lt;/P&gt;&lt;P&gt;                                      for all entries in it_bseg&lt;/P&gt;&lt;P&gt;                                        where  kunnr = it_bseg-kunnr and&lt;/P&gt;&lt;P&gt;                                                locco = pr_locco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_bseg into wa_bseg where belnr = wa_bseg-belnr.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   wa_final-kunnr = wa_bseg-kunnr.&lt;/P&gt;&lt;P&gt;   wa_final-xref1 = wa_bseg-xref1.&lt;/P&gt;&lt;P&gt;   wa_final-xref2 = wa_bseg-xref2.&lt;/P&gt;&lt;P&gt;   wa_final-dmbtr = wa_bseg-dmbtr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   read table it_bkpf into wa_bkpf  with key belnr = wa_bkpf-belnr.        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wa_final-xblnr = wa_bkpf-xblnr.&lt;/P&gt;&lt;P&gt;    wa_final-bldat = wa_bkpf-bldat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 07:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-in-flow/m-p/5241381#M1211105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T07:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: clarification in flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-in-flow/m-p/5241382#M1211106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. If Channel ID can be BLANK and still you are looking for the output then no need to check for NULL.&lt;/P&gt;&lt;P&gt;but, if has to get some value then its betterto check for NULL to avoid unnecessary processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can do as you want to, SPLIT or CONCATENATE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 07:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-in-flow/m-p/5241382#M1211106</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2009-02-26T07:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: clarification in flow</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-in-flow/m-p/5241383#M1211107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the reply was so help , i jus want to know , whether wat i have written is right then?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 07:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clarification-in-flow/m-p/5241383#M1211107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T07:11:52Z</dc:date>
    </item>
  </channel>
</rss>

