<?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: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772444#M38422</link>
    <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;chaouki.akir&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Thanks for your efforts, Chaouki!&lt;/P&gt;&lt;P&gt;I'll try and take a look in debugging tomorrow - but I'm not too hopeful as I haven't been able to get the "XML browser" view to work for the response-message_body content when I tried last week. I most likely did something wrong!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 18:01:48 GMT</pubDate>
    <dc:creator>BaerbelWinkler</dc:creator>
    <dc:date>2019-03-18T18:01:48Z</dc:date>
    <item>
      <title>How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772427#M38405</link>
      <description>&lt;P&gt;Me again, with another question related to my struggles with Eclipse and getting it to work within our processes!&lt;/P&gt;
  &lt;P&gt;While testing exit-functionality for &lt;A href="https://answers.sap.com/questions/758507/is-there-an-alternative-for-eclipseadt-to-workbenc.html" target="_blank"&gt;my other question&lt;/A&gt;, I also tested some customer logic applied via the Badi which gets called during creation of transport request: CTS_REQUEST_CHECK~CHECK_BEFORE_CREATION. I have this active in our dev-systems to perform checks on the transport-title content to make sure that the titles contain some required elements. The BADI calls a function module which performs the various checks and uses the function module POPUP_GET_VALUES to ask for missing data. When I tried to create a CTS while activating a program in Eclipse I got the pop-up to specify the transport title and when I entered a wrong one to trigger the logic, I get this message:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/289261-badi-transportcheck-01.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;This is happening when the function module POPUP_GET_VALUES gets called where this statement then causes the DYNPRO_CALLED_IN_BACKGROUND dump:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CALL SCREEN 300 STARTING AT start_column_100 start_row_100
               ENDING AT end_column_100   end_row_100.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Can I somehow avoid this dump - i.e. do the check and user dialog in Eclipse so that whatever gets "sent" to SAP will not trigger the check? It's however not just a simple check but one which involves a couple of Z-tables with e.g. REGEX terms for the expected content. Or - given the complexitiy of the check - is the only option to create the transport in SE10 in a separate GUI-tab opened from Eclipse?&lt;/P&gt;
  &lt;P&gt;Thanks for bearing with me!&lt;/P&gt;
  &lt;P&gt;Cheers&lt;/P&gt;
  &lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 19:35:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772427#M38405</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-02-28T19:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772428#M38406</link>
      <description>&lt;P&gt;Just thought of something to at least avoid the dumps when coming from Eclipse: instead of asking for user input as the logic currently does via the FM, I could just trigger an error message "Missing component(s) in transport title. Please try again" (or something like that).&lt;/P&gt;&lt;P&gt;But, which SY-field or other information lets me know that the check is done coming from Eclipse instead of from within the SAP-system? I looked through the SY-fields but don't see anything obvious. SY-Batch is already queried before the check is executed, so that cannot be it.&lt;/P&gt;&lt;P&gt;So, is there an indicator for "process triggered from Eclipse" (or at least not from within the system)?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 15:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772428#M38406</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-04T15:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772429#M38407</link>
      <description>&lt;P&gt;Did you try using one of those old tricks to check dynpro availability : e.g. FM GUI_IS_AVAILABLE or method CL_GUI_ALV_GRID=&amp;gt;OFFLINE or CL_SALV_MODEL=&amp;gt;IS_OFFLINE, then raise the error message or call the popup FM.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 15:25:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772429#M38407</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-03-04T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772430#M38408</link>
      <description>&lt;P&gt;Thanks, Raymond! &lt;/P&gt;&lt;P&gt;I wasn't even aware that these routines existed, so I obviously didn't try them yet (but will give GUI_IS_AVAILABLE a try).&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 15:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772430#M38408</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-04T15:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772431#M38409</link>
      <description>&lt;P&gt;I would try add ABAP code lines in CTS_REQUEST_CHECK~CHECK_BEFORE_CREATION. These code lines will consist of an infinite loop.&lt;/P&gt;&lt;P&gt;Then, in transaction SM50, i would try to debug the process. From the debugger, I would analyse all given information.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 22:10:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772431#M38409</guid>
      <dc:creator>chaouki_akir</dc:creator>
      <dc:date>2019-03-04T22:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772432#M38410</link>
      <description>&lt;P&gt;Thanks for the suggestion, Chaouki!&lt;/P&gt;&lt;P&gt;I added an eternal loop but it turned out to not even be necessary to do that! All that was needed to make the debugger stop even when triggered from Eclipse was to set an external breakpoint somewhere in the code.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 08:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772432#M38410</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-05T08:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772433#M38411</link>
      <description>&lt;P&gt;Little update: &lt;/P&gt;&lt;P&gt;FM GUI_IS_AVAILABLE works like a charm and I no longer get an ABEND when the transport title check is not happy when I try to create a transport request from within Eclipse.&lt;/P&gt;&lt;P&gt;I might even be able to restrict it to the Eclipse-context by querying these sy-fields instead (but the general check might be better):&lt;/P&gt;&lt;P&gt;XPROG       - SAPLSADT_REST&lt;BR /&gt;     XFORM       - SADT_REST_RFC_ENDPOINT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Lingering issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However, I'm not able to consistently provide a meaningful error message back to the developers, so that they at least get a hint of what went wrong.&lt;/P&gt;&lt;P&gt;When the check is not happy, an error message gets set in the Badi:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF sy-subrc NE 0.
  MESSAGE e000(38) WITH 'Incomplete transport title. Please try again'.
  RAISE cancel.
ENDIF.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But, this is not visible in the dialog box in Eclipse:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/297257-eclipsetransport-title-check-01.jpg" /&gt;&lt;/P&gt;&lt;P&gt;If the developer has the error-log window open before trying to create a request, the error message may show up there (but didn't do so consistently during my testing):&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/297258-eclipsetransport-title-check-02.jpg" /&gt;&lt;/P&gt;&lt;P&gt;If - and I think it's pretty big "If" - that window is not yet open before triggering the activity, the developer will not get any clue of what went wrong because the pop-up to select/create the transport request prevents any other activity in Eclipse.&lt;/P&gt;&lt;P&gt;Is there a means to show the error message on top of the pop-up-box or at least open the Error log view if it's not yet open?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 09:19:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772433#M38411</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-05T09:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772434#M38412</link>
      <description>&lt;P&gt;When the popup triggered a dump, you were triggering a popup with an error. If  you try to use an 'A' abort  or 'X' dump message, what is the result in Eclipse?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 14:40:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772434#M38412</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-03-05T14:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772435#M38413</link>
      <description>&lt;P&gt;This is much more simpler. &lt;/P&gt;&lt;P&gt;Just another question : if you call function 'SYSTEM_CALLSTACK' in your BADI what do you see in the stack ?&lt;/P&gt;&lt;P&gt;(even if function 'SYSTEM_CALLSTACK' is not released to customer)&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 17:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772435#M38413</guid>
      <dc:creator>chaouki_akir</dc:creator>
      <dc:date>2019-03-05T17:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772436#M38414</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;raymond.giuseppi&lt;/SPAN&gt; - "If  you try to use an 'A' abort  or 'X' dump message, what is the result in Eclipse?"&lt;/P&gt;&lt;P&gt;I'll have to try tomorrow when I'm back in the office, but wouldn't this then always generate a ST22-dump in the backend? That wouldn't make much sense as the error is not really a reason for an ABEND (I think).&lt;/P&gt;&lt;P&gt;Will let you know what happens.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 17:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772436#M38414</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-05T17:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772437#M38415</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;8b889d0e8e6f4ed39f6c58e35664518f&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I have implemented BADI CTS_REQUEST_CHECK (method CHECK_BEFORE_CREATION):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  METHOD if_ex_cts_request_check~check_before_creation.
    DATA gui_is_available TYPE abap_bool.

    CALL FUNCTION 'GUI_IS_AVAILABLE'
      IMPORTING
        return = gui_is_available.

    CASE gui_is_available.
      WHEN 'X'.  "SAP GUI available
      WHEN OTHERS. "SAPGU
        MESSAGE e010(sapmtran) WITH 'forbidden from gui external tools' 'like Eclipse' RAISING cancel.
*       &amp;amp; &amp;amp; &amp;amp; &amp;amp;
    ENDCASE.

  ENDMETHOD.&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am sending an error message if the transport order is created from outside SAPGUI :   'forbidden from gui external tools' 'like Eclipse'.&lt;/P&gt;&lt;P&gt;So, when from eclipse, I create an ABAP program and I choose 'Create new Transport Request', &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1642502-qxo3d.png" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I receive the BADI error message exactly where you expect it :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1642503-ovidb.png" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The BADI message also appears in "Error Log" of Eclipse.&lt;/P&gt;&lt;P&gt;AS ABAP version is 752 (mini SAP).&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 17:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772437#M38415</guid>
      <dc:creator>chaouki_akir</dc:creator>
      <dc:date>2019-03-17T17:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772438#M38416</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;chaouki.akir&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Thanks, Chaouki! I'll give it a try when I'm back in the office tomorrow. What you show is similar to what I tried and if I'm lucky than I'll simply have to add "RAISING cancel" to the error message I already trigger and delete the line with "RAISE cancel". If I'm not lucky, then the difference is the NW version (we are on 7.50 SP8).&lt;/P&gt;&lt;P&gt;I'll let you know which of the two it is as soon as I know!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 19:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772438#M38416</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-17T19:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772439#M38417</link>
      <description>&lt;P&gt;I tested the release check method in Eclipse, and it opens up a gui session with the dialog fine. &lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 20:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772439#M38417</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-03-17T20:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772440#M38418</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;chaouki.akir&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Looks as if I'm not lucky &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I get this message when I try to create a transport with an incomplete title:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1641522-eclipsetransport-title-check-03.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Here is my code within the BADI:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    "Only do the check if transport creation happens online and if it's workbench related
    IF sy-batch EQ abap_false AND
       type     EQ 'K'.

      "The first check in the function module will determine if checks are active in the system.
      "This is done by looking for an entry in table ZBC_DEV_USERTYPE
      "USERNAME = '*' AND USERNOTCHECKED = 'X' ==&amp;gt; CHECKS NOT ACTIVE IN SYSTEM
      CALL FUNCTION 'Z_WWXBC14_CTS_CHECK_TITLE'
        EXPORTING
          i_tr_type             = type
          i_username            = sy-uname
          i_tr_text             = text
        IMPORTING
          o_tr_text             = text
        EXCEPTIONS
          incomplete_title      = 1
          error_text_components = 2
          OTHERS                = 3.

      IF sy-subrc NE 0.
        MESSAGE e000(38) WITH 'Incomplete transport title. Please try again' RAISING cancel.
*        RAISE cancel.
      ENDIF.

    ENDIF.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I put a breakpoint in my code and see that the function module gets executed and correctly sets an RC of 1 for "incomplete title" which in turn triggers the error message.&lt;/P&gt;&lt;P&gt;Next I get the pop-up shown in Eclipse and the error log just contains a lot of (to me) gibberish about JAVA-stuff but no message in the transport-creation pop-up itself like you did.&lt;/P&gt;&lt;P&gt;How can I determine if the issue is on the SAP or the Eclipse side of things?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 07:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772440#M38418</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-18T07:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772441#M38419</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;matthew.billingham&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Hi Matt - thanks for testing but I'm not quite clear what exactly you tested and where? Could you please elaborate a bit? The check I implemented happens in the "before creation" method and it didn't trigger a GUI-seesion when it encountered the screen-logic. It just dumped (before I added the GUI_IS_AVAILABLE FM to the mix).&lt;/P&gt;&lt;P&gt;Thanks and Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 10:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772441#M38419</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-18T10:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772442#M38420</link>
      <description>&lt;P&gt;All I was saying is that method CHECK_BEFORE_RELEASE of the BADI, doesn't dump in Eclipse. So it's surprising that CHECK_BEFORE_CREATE should. However, in my implementation, we don't issue an error message - we just display an ALV grid with the details of the issues, and then stop the release by raising CANCEL&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Maybe you could try the same -display the message in an ALV grid, and then raise CANCEL, rather than throw an error message. Might be a workaround.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 10:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772442#M38420</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-03-18T10:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772443#M38421</link>
      <description>&lt;P&gt;My Eclipse version: 2018-12&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1642530-eclipse-version.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;In debug, the ABAP response to Eclipse contains : &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1642533-abap-response.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 13:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772443#M38421</guid>
      <dc:creator>chaouki_akir</dc:creator>
      <dc:date>2019-03-18T13:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772444#M38422</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;chaouki.akir&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Thanks for your efforts, Chaouki!&lt;/P&gt;&lt;P&gt;I'll try and take a look in debugging tomorrow - but I'm not too hopeful as I haven't been able to get the "XML browser" view to work for the response-message_body content when I tried last week. I most likely did something wrong!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 18:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772444#M38422</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-18T18:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772445#M38423</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;chaouki.akir&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Here is the next update with a break-point set where you show it and checking the content of RESPONSE-MESSAGE_BODY with XML View. Not too suprisingly it shows what afterwards gets displayed in Eclipse:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1642551-eclipsetransport-title-check-04.jpg" /&gt;&lt;/P&gt;&lt;P&gt;What I don't understand is why this ends up in the MESSAGE_BODY instead of the expected actual error message set as in your example (just with another message text).&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bärbel&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 07:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772445#M38423</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-19T07:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid DYNPRO_CALLED_IN_BACKGROUND dumps during process triggered from Eclipse?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772446#M38424</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;chaouki.akir&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Finally, I can at least report some success!&lt;/P&gt;&lt;P&gt;With the help of debugging I found where my error message got overwritten with the rather generic one.&lt;/P&gt;&lt;P&gt;Values
 were sy-msgid = 38 and sy-msgno = 000 and this ended up in the 
ELSE-clause in CL_CTS_ADT_RES_OBJ_RECORD~USER_EXIT_BEFORE_CREATION&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*     call BAdI
      call method lr_exit-&amp;gt;check_before_creation
        exporting
          type       = new_type_request
          tool_flag  = 'E'   " ABAP in Eclipse
        changing
          text       = request_text
          attributes = tab_attributes
        exceptions
          cancel     = 1.
      if sy-subrc &amp;lt;&amp;gt; 0.
        if sy-msgid is not initial and sy-msgno is not initial.
          message id sy-msgid type 'E' number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 raising badi_execution_failure.
        else.
          message e653(tk) raising badi_execution_failure.
        endif.
      endif.
    else.
      message e653(tk) raising badi_execution_failure.
    endif.&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When this happened, I updated sy-msgid to sapmtran and sy-msgno to 
010 as in your example and used "Goto statement" to repeat the check. 
Then, my own message was used instead of the generic one.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I don't understand is why SY-MSGNO is queried for "not initial"&lt;/STRONG&gt; as "000" is a valid entry for it in T100 where it's a CHAR3 instead of a NUMC3 field. Should I raise an OSS-message so that SAP 
corrects this check? MSGNO = 000 is after all used in many message classes - there are more than 7,000 messages in non-Z message classes in T100 in our NW 750 system.&lt;/P&gt;&lt;P&gt;So,
 now I at least get the expected error-message back which is visible in 
the RESPONSE XML (note this is another text as I created my own message 
text in T100):&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1642568-eclipsetransport-title-check-07.jpg"&gt;Click to see attached graphic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What however still doesn't work as I think it should is how the user sees the message in Eclipse&lt;/STRONG&gt;
 where it's still the not well formatted pop-up instead of how I expect 
to see it as an error message below "Check for Transport Request":&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1642567-eclipsetransport-title-check-06.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Could this be due to an older Eclipse version?&lt;/P&gt;&lt;P&gt;Eclipse Java EE IDE for Web Developers.&lt;BR /&gt;Version: Neon.3 Release (4.6.3)&lt;BR /&gt;Build id: 20170314-1500&lt;/P&gt;&lt;P&gt;And will we just have to wait until we get a newer one (can't do that 
ourselves due to restrictions of what we can install on our company 
laptops)?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 11:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-dynpro-called-in-background-dumps-during-process-triggered/m-p/772446#M38424</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2019-03-19T11:03:58Z</dc:date>
    </item>
  </channel>
</rss>

