<?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: Automatic BD20 execution after creating IDoc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-bd20-execution-after-creating-idoc/m-p/2050131#M422524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reni, seems like you have to develop a drill down report, interactive report.&lt;/P&gt;&lt;P&gt;But rather than using BD20 and then WE02, try BD87 , which will give them both processing and viewing capability.&lt;/P&gt;&lt;P&gt;I have not written reports for some time now , but drill down reports are not tough, its all about hide and set pf-status? etc.&lt;/P&gt;&lt;P&gt;CHeck SAP's documentation on this.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 17:32:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-08T17:32:16Z</dc:date>
    <item>
      <title>Automatic BD20 execution after creating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-bd20-execution-after-creating-idoc/m-p/2050130#M422523</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;  I am working on an inbound IDoc.When I execute my report if the data that I pass for IDoc creation is valid IDOc will be generated .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  There is an additional requirement after the creation of IDoc ,the user should be taken to a screen like BD20 output screen which gives details like&lt;/P&gt;&lt;P&gt;IDOC number    | Message Type | Serial Info | St | Description&lt;/P&gt;&lt;P&gt;  For this to work the the new IDoc's IDoc number should be given as input to the BD20 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     If you double click on this it should take you to the WE02 screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me out with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks in advance.Points will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 09:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-bd20-execution-after-creating-idoc/m-p/2050130#M422523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T09:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BD20 execution after creating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-bd20-execution-after-creating-idoc/m-p/2050131#M422524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reni, seems like you have to develop a drill down report, interactive report.&lt;/P&gt;&lt;P&gt;But rather than using BD20 and then WE02, try BD87 , which will give them both processing and viewing capability.&lt;/P&gt;&lt;P&gt;I have not written reports for some time now , but drill down reports are not tough, its all about hide and set pf-status? etc.&lt;/P&gt;&lt;P&gt;CHeck SAP's documentation on this.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 17:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-bd20-execution-after-creating-idoc/m-p/2050131#M422524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BD20 execution after creating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-bd20-execution-after-creating-idoc/m-p/2050132#M422525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can build simple report like BD20 to collect all inbound IDocs based on selection screen for monitoring purposes. Then use FM EDI_DOCUMENT_TREE_DISPLAY to display the IDoc like WE02 from report list (using hotspot).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do something like this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM WRITE_AUDIT_REPORT .
  SKIP 1.
  WRITE:/35  'IDOC AUDIT REPORT'(749) COLOR COL_NORMAL.
  WRITE:/ SY-ULINE AS LINE.
  FORMAT COLOR OFF.
     
  FORMAT COLOR OFF.
  SKIP 3.

  LOOP AT IT_IDOC.
    PERFORM ALTERNATE_COLOR.
    WRITE:/10 'IDOC NUMBER :'(737) COLOR COL_KEY. 
    FORMAT COLOR OFF.
    WRITE:28 IT_IDOC-DOCNUM HOTSPOT.
  ENDLOOP.

  FORMAT COLOR OFF.
  PERFORM WRITE_DATES_TIMES.

ENDFORM.                    " write_audit_report

AT LINE SELECTION.
  IF IT_IDOC-DOCNUM IS NOT INITIAL.
    CALL FUNCTION 'EDI_DOCUMENT_TREE_DISPLAY'
      EXPORTING
        DOCNUM        = IT_IDOC-DOCNUM
      EXCEPTIONS
        NO_IDOC_FOUND = 1
        OTHERS        = 2.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will give you an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 17:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-bd20-execution-after-creating-idoc/m-p/2050132#M422525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T17:43:29Z</dc:date>
    </item>
  </channel>
</rss>

