<?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 Discard record in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298241#M1990021</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;i have a request in report: Enter in LFA1 with LIFNR extracted at first selection (from table Ekko)&lt;/P&gt;
  &lt;P&gt;If for each EKKO-LIFNR, no data are extracted from LFA1, discard the record.&lt;/P&gt;
  &lt;P&gt;How to do this ? Thank youi.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 18:57:42 GMT</pubDate>
    <dc:creator>former_member713424</dc:creator>
    <dc:date>2020-11-05T18:57:42Z</dc:date>
    <item>
      <title>Discard record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298241#M1990021</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;i have a request in report: Enter in LFA1 with LIFNR extracted at first selection (from table Ekko)&lt;/P&gt;
  &lt;P&gt;If for each EKKO-LIFNR, no data are extracted from LFA1, discard the record.&lt;/P&gt;
  &lt;P&gt;How to do this ? Thank youi.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 18:57:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298241#M1990021</guid>
      <dc:creator>former_member713424</dc:creator>
      <dc:date>2020-11-05T18:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Discard record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298242#M1990022</link>
      <description>&lt;P&gt;Thank
you for visiting SAP Community to get answers to your questions. Since you're
new in asking questions here, I recommend that you familiarize yourself with &lt;A href="https://community.sap.com/resources/questions-and-answers"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;
(if you haven't already), as it provides tips for preparing questions that draw
responses from our members. For example, you can outline what steps you took to
find answers (and why they weren't helpful), share screenshots of what you've
seen/done, make sure you've applied the appropriate tags, and use a more
descriptive subject line. The more details you provide, the more likely it is
that members will be able to assist you. You should also make sure you're using
all the appropriate tags, so the right experts can find your question.&lt;/P&gt;&lt;P&gt;Should
you wish, you can revise your question now by selecting Actions, then Edit.&lt;/P&gt;&lt;P&gt;Finally,
if you're hoping to connect with readers, please consider adding a picture to
your profile. Here's how you do it: &lt;A href="https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS"&gt;https://www.youtube.com/watch?v=F5JdUbyjfMA&amp;amp;list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS&lt;/A&gt;
. By personalizing your profile with a photo of you, you encourage readers to
respond.&lt;/P&gt;&lt;P&gt;Best
regards&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;P&gt;SAP
Community moderator&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 18:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298242#M1990022</guid>
      <dc:creator>former_member34</dc:creator>
      <dc:date>2020-11-05T18:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Discard record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298243#M1990023</link>
      <description>&lt;P&gt;Hello Francesco,&lt;/P&gt;&lt;P&gt;I'm not sure if I got your request Right,&lt;/P&gt;&lt;P&gt;but when you use an Inner Join , you will be get only an result when both table contain a valid entry:&lt;/P&gt;&lt;P&gt;Select ek~* into  @DATA(wa_ekko)&lt;/P&gt;&lt;P&gt;from  EKKO as EK&lt;/P&gt;&lt;P&gt;inner join LFA1 as LF&lt;/P&gt;&lt;P&gt;on ek~lifnr = lf~lifnr&lt;/P&gt;&lt;P&gt;where lf~lifnr in  @So_lifnr. " Select-option&lt;/P&gt;&lt;P&gt;Regards Oliver&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 08:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298243#M1990023</guid>
      <dc:creator>BUTZ</dc:creator>
      <dc:date>2020-11-06T08:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Discard record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298244#M1990024</link>
      <description>&lt;P&gt;Question is not clear&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 15:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298244#M1990024</guid>
      <dc:creator>Abinathsiva</dc:creator>
      <dc:date>2020-11-06T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Discard record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298245#M1990025</link>
      <description>&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;This is my selection screen:&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK b0 WITH FRAME. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;PARAMETERS: rb_itm RADIOBUTTON GROUP rg1 DEFAULT 'X' USER-COMMAND rg1.
PARAMETERS: rb2 RADIOBUTTON GROUP rg1. &lt;/P&gt;&lt;P&gt;PARAMETERS: p_bukrs TYPE ekko-bukrs OBLIGATORY. &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_ebeln FOR ekko-ebeln, &lt;/P&gt;&lt;P&gt;                s_lifnr FOR ekko-lifnr, &lt;/P&gt;&lt;P&gt;                s_aedat FOR ekko-aedat, &lt;/P&gt;&lt;P&gt;s_matnr FOR ekpo-matnr, &lt;/P&gt;&lt;P&gt;                s_etenr FOR eket-etenr MODIF ID g1. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK b1. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK b0. &lt;/P&gt;&lt;P&gt;LOAD-OF-PROGRAM. &lt;/P&gt;&lt;P&gt;INITIALIZATION. &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT. &lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN. &lt;/P&gt;&lt;P&gt;    IF screen-name CS 'S_ETENR' AND rb_itm EQ 'X'. &lt;/P&gt;&lt;P&gt;      screen-input = 0. &lt;/P&gt;&lt;P&gt;      screen-invisible = '1'. &lt;/P&gt;&lt;P&gt;      MODIFY SCREEN. &lt;/P&gt;&lt;P&gt;    ENDIF. &lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;And my task is: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Extractions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1 – enter in EKKO with:&lt;/P&gt;&lt;P&gt;  BUKRS
= P_BUKRS&lt;/P&gt;&lt;P&gt;  EBELN
= S_EBELN&lt;/P&gt;&lt;P&gt;  LIFNR  = S_LIFNR&lt;/P&gt;&lt;P&gt;If no record is found, show the error “No
Data found”&lt;/P&gt;&lt;P&gt;2 – Enter in EKPO with EBELN extracted
above and&lt;/P&gt;&lt;P&gt; MATNR = S_MATNR&lt;/P&gt;&lt;P&gt;If no record is found, show the error “No
Data found”&lt;/P&gt;&lt;P&gt;3 – Enter in LFA1 with LIFNR extracted at
first selection&lt;/P&gt;&lt;P&gt;If for  each EKKO-LIFNR, no data are extracted from
LFA1, discard the record&lt;/P&gt;&lt;P&gt;4 - 
Enter in MARA with MATNR extracted at second selection.&lt;/P&gt;&lt;P&gt;If for each EKPO-MATNR, no data are
extracted from MATA, discard the record&lt;/P&gt;&lt;P&gt;5 - 
Enter in MAKT with MATNR extracted at fourth selection and:&lt;/P&gt;&lt;P&gt;SPRAS = SY-LANGU &lt;/P&gt;&lt;P&gt;6- if Radiobutton RB_SCHED is selected,
enter in EKET with EBELN and EBELP extracted above.&lt;/P&gt;&lt;P&gt;Output Alv: &lt;/P&gt;&lt;P&gt;Using the FM REUSE_ALV_GRID_DISPLAY,
generate the following output:&lt;/P&gt;&lt;P&gt;If radiobutton RB_ITM is selected, create
the output with following fields:&lt;/P&gt;&lt;P&gt;EKKO-BUKRS&lt;/P&gt;&lt;P&gt;EKKO-AEDAT&lt;/P&gt;&lt;P&gt;EKKO-LIFNR&lt;/P&gt;&lt;P&gt;LFA1-NAME1&lt;/P&gt;&lt;P&gt;LFA1-LAND1&lt;/P&gt;&lt;P&gt;EKPO-EBELN&lt;/P&gt;&lt;P&gt;EKPO-MATNR&lt;/P&gt;&lt;P&gt;MAKT-MAKTX&lt;/P&gt;&lt;P&gt;EKPO-MENGE&lt;/P&gt;&lt;P&gt;EKPO-MEINS&lt;/P&gt;&lt;P&gt;If radiobutton RB_SCHED is selected, create
the output with following fields:&lt;/P&gt;&lt;P&gt;EKKO-BUKRS&lt;/P&gt;&lt;P&gt;EKKO-AEDAT&lt;/P&gt;&lt;P&gt;EKKO-LIFNR&lt;/P&gt;&lt;P&gt;LFA1-NAME1&lt;/P&gt;&lt;P&gt;LFA1-LAND1&lt;/P&gt;&lt;P&gt;EKPO-EBELN&lt;/P&gt;&lt;P&gt;EKPO-MATNR&lt;/P&gt;&lt;P&gt;MAKT-MAKTX&lt;/P&gt;&lt;P&gt;EKPO-MENGE&lt;/P&gt;&lt;P&gt;EKPO-MEINS&lt;/P&gt;&lt;P&gt;EKET-ETENR&lt;/P&gt;&lt;P&gt;EKET-EINDT&lt;/P&gt;&lt;P&gt;EKET-WMENG&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2020 11:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/discard-record/m-p/12298245#M1990025</guid>
      <dc:creator>former_member713424</dc:creator>
      <dc:date>2020-11-08T11:06:25Z</dc:date>
    </item>
  </channel>
</rss>

