<?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: IDOCs Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721658#M895984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got your point Alvaro !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2008 19:19:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-30T19:19:38Z</dc:date>
    <item>
      <title>IDOCs Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721655#M895981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a custom program that will generate the list of all the idocs that have got errors in it and then we will fix the error and within the same program it will reprocess the idoc, now when I run this program and when I got the list of all the idocs with error and then I will manually correct the error in one of the idoc, once I am done with this then I will click on the tab which says reprocess idoc, as soon as I click on that tab one dialogue box pops up which says Reprocess idocs : &lt;/P&gt;&lt;P&gt;On the dialogue box it says&lt;/P&gt;&lt;P&gt;call transaction processing with the following three radio buttons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In background&lt;/P&gt;&lt;P&gt;2. In foreground&lt;/P&gt;&lt;P&gt;3. In foreground after error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and by default it's taking In Background but I want to do tht as In foreground always, I mean the default radio button should set to Inforeground, when I tried to debug the program I figured it out that this particular screen is calling "SAPLSEUT" program but I am not being able to figure out how can i acheive this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  think I need to make some changes in the following code, but don't know what exactly, it's a std. SAP program SAPLSEUT / LSEUTU04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if use_control = stree_use_control&lt;/P&gt;&lt;P&gt;and tv is initial.&lt;/P&gt;&lt;P&gt;call function 'RS_TREE_CONTROL_PREPARE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;CONTROL_PATTERN = STREE_CTL_GENERIC &lt;/P&gt;&lt;P&gt;HIERARCHY_HEADER = &lt;/P&gt;&lt;P&gt;LIST_ITEM_HEADER = &lt;/P&gt;&lt;P&gt;MULTIPLE_SELECTION = STREE_FALSE &lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;not_available = 1&lt;/P&gt;&lt;P&gt;others = 2.&lt;/P&gt;&lt;P&gt;if sy-subrc 0.&lt;/P&gt;&lt;P&gt;use_control = stree_use_list.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;case use_control.&lt;/P&gt;&lt;P&gt;when 'P'.&lt;/P&gt;&lt;P&gt;call screen 700.&lt;/P&gt;&lt;P&gt;when stree_use_list.&lt;/P&gt;&lt;P&gt;if screen_start_line = 0.&lt;/P&gt;&lt;P&gt;call screen 700.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;call screen 701&lt;/P&gt;&lt;P&gt;starting at screen_start_column screen_start_line&lt;/P&gt;&lt;P&gt;ending at screen_end_column screen_end_line.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when stree_use_control.&lt;/P&gt;&lt;P&gt;if screen_start_line = 0.&lt;/P&gt;&lt;P&gt;tv-popup = stree_false.&lt;/P&gt;&lt;P&gt;call screen 702.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;tv-popup = stree_true.&lt;/P&gt;&lt;P&gt;call screen 704&lt;/P&gt;&lt;P&gt;starting at screen_start_column screen_start_line&lt;/P&gt;&lt;P&gt;ending at screen_end_column screen_end_line.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;call function 'CONTROL_DESTROY'&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;h_control = tv-tree&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;others = 1.&lt;/P&gt;&lt;P&gt;call function 'CONTROL_FLUSH'&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;cntl_system_error = 1&lt;/P&gt;&lt;P&gt;cntl_error = 2&lt;/P&gt;&lt;P&gt;others = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear tv.&lt;/P&gt;&lt;P&gt;when stree_use_in_dynpro.&lt;/P&gt;&lt;P&gt;tv-subscreen = stree_true.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pop &lt;/P&gt;&lt;P&gt;read table ld "wk070797&lt;/P&gt;&lt;P&gt;index 1. "wk070797&lt;/P&gt;&lt;P&gt;delete ld "wk070797&lt;/P&gt;&lt;P&gt;index 1. "wk070797&lt;/P&gt;&lt;P&gt;f15 = ld_f15.&lt;/P&gt;&lt;P&gt;clear:&lt;/P&gt;&lt;P&gt;ld_f15,&lt;/P&gt;&lt;P&gt;exit,&lt;/P&gt;&lt;P&gt;current_lsind,&lt;/P&gt;&lt;P&gt;cucol,&lt;/P&gt;&lt;P&gt;curow,&lt;/P&gt;&lt;P&gt;licol,&lt;/P&gt;&lt;P&gt;lirow,&lt;/P&gt;&lt;P&gt;tv.&lt;/P&gt;&lt;P&gt;refresh itree.&lt;/P&gt;&lt;P&gt;export tree&lt;/P&gt;&lt;P&gt;from itree&lt;/P&gt;&lt;P&gt;to memory&lt;/P&gt;&lt;P&gt;id logid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if push_done = stree_true. "wk061109&lt;/P&gt;&lt;P&gt;call function 'RS_TREE_POP'.&lt;/P&gt;&lt;P&gt;endif. "wk061109&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endfunction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 30, 2008 3:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 18:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721655#M895981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T18:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: IDOCs Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721656#M895982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No one answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 19:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721656#M895982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T19:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: IDOCs Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721657#M895983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rajeev:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't close the thread if you haven't received a satisfactory answer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't duplicate posts...They might be deleted by Moderators...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;People...As yourself...Got work to do, and might not have the time to answer you very quickly....You must wait till someone answers you...No matter how important or urgent your question is...We all had also important and urgent things to do...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 19:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721657#M895983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T19:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: IDOCs Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721658#M895984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got your point Alvaro !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 19:19:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721658#M895984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T19:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: IDOCs Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721659#M895985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was looking into the code again and I found that it;s hitting the custom program and a screen is being called with the follwoing code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_0520.&lt;/P&gt;&lt;P&gt;MODULE INIT_DYNPRO_520.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE CANCEL_DYNPRO AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD MSED7PROCE-FCTNAME.&lt;/P&gt;&lt;P&gt;FIELD MSED7PROCE-SEL_FORGRD.&lt;/P&gt;&lt;P&gt;FIELD MSED7PROCE-SEL_BCKGRD.&lt;/P&gt;&lt;P&gt;FIELD MSED7PROCE-SEL_ERROR.&lt;/P&gt;&lt;P&gt;FIELD MSED7PROCE-SEL_DEBUG.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;reaction on user command&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;MODULE USER_COMMAND_0520.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;MODULE LEAVE_SCREEN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I think if I take out : &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FIELD MSED7PROCE-SEL_BCKGRD.&lt;/P&gt;&lt;P&gt;FIELD MSED7PROCE-SEL_ERROR.&lt;/P&gt;&lt;P&gt;FIELD MSED7PROCE-SEL_DEBUG.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;from the above screen then I think it should take it foreground bydefault. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please Advise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rajeev Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 19:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idocs-problem/m-p/3721659#M895985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T19:22:37Z</dc:date>
    </item>
  </channel>
</rss>

