<?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: About creating batch input for Dynamic action infotypes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-creating-batch-input-for-dynamic-action-infotypes/m-p/863861#M48607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vadivel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am almost certain that you cannot trigger Dynamic Actions via Batch Input. You will have to explicitly code the creation of infotype 0008 in the BDC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2005 14:23:16 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2005-05-09T14:23:16Z</dc:date>
    <item>
      <title>About creating batch input for Dynamic action infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-creating-batch-input-for-dynamic-action-infotypes/m-p/863859#M48605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should create a batch input session for the infotype 583 which includes a dynamic action for the infotype 8.So I should create a BDC program for this.Can anyone please give me a sample code on how to create a batch input for the infotypes that have dynamic actions.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2005 03:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-creating-batch-input-for-dynamic-action-infotypes/m-p/863859#M48605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-07T03:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: About creating batch input for Dynamic action infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-creating-batch-input-for-dynamic-action-infotypes/m-p/863860#M48606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mavidel,&lt;/P&gt;&lt;P&gt;in general you can record a batch input with system\services\batch_input\recorder. &lt;/P&gt;&lt;P&gt;&lt;A href="http://aiokeh.wdf.sap.corp:1080/SAPIKS2/content_get.sap?_CLASS=IWB_EXTHLP&amp;amp;_LOIO=6742FCD5F61011D1BCF9080009B4534C" target="test_blank"&gt;http://aiokeh.wdf.sap.corp:1080/SAPIKS2/content_get.sap?_CLASS=IWB_EXTHLP&amp;amp;_LOIO=6742FCD5F61011D1BCF9080009B4534C&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result can be converted (manually) in a bdc report using the bdcdata structure and the statement call transaction, see also:&lt;/P&gt;&lt;P&gt;&lt;A href="http://aiokeh.wdf.sap.corp:1080/SAPIKS2/logonFromUrl.sap?_LOIO=FA0970A4543B11D1898E0000E8322D00&amp;amp;_CLASS=IWB_EXTHLP" target="test_blank"&gt;http://aiokeh.wdf.sap.corp:1080/SAPIKS2/logonFromUrl.sap?_LOIO=FA0970A4543B11D1898E0000E8322D00&amp;amp;_CLASS=IWB_EXTHLP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since I have never heard of infotypes I am not sure if this really helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I have added a sample report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZSCI_DBC
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZSCI_BDC.

  tables:
    sci_Dynp.
  parameters:
    p_User    type Sci_Dynp-Usr
                                            memory id SCI_USER,
    p_Insp    type Sci_Dynp-Insp            value check obligatory
                                            memory id SCI_INSP,
    p_SrvGrp  type Sci_Dynp-SGroup          value check obligatory
                                            memory id SERV_GROUP.


  types:
    ty_S_Bdc_Record   type bdcdata,
    ty_T_Bdc_Records  type standard table of ty_S_Bdc_Record with default key,
    ty_S_Bdc_Message  type BDCMSGCOLL,
    ty_T_Bdc_Messages type standard table of ty_S_Bdc_Message with default key.


start-of-selection.
  perform sub_Main.

**************
form sub_Main.
**************
  data:
    loc_Text         type String,
    loa_Bdc_Records  type ty_T_Bdc_Records,
    loa_Bdc_Messages type ty_T_Bdc_Messages.

  field-symbols:
    &amp;lt;lor_Bdc_Record&amp;gt;  like line of loa_Bdc_Records,
    &amp;lt;lor_Bdc_Message&amp;gt; like line of loa_Bdc_Messages.


  define mac_Fill_Bdc.
    insert initial line into table loa_Bdc_Records assigning &amp;lt;lor_Bdc_Record&amp;gt;.
    &amp;lt;lor_Bdc_Record&amp;gt;-Program =   &amp;amp;1.
    &amp;lt;lor_Bdc_Record&amp;gt;-Dynpro =    &amp;amp;2.
    &amp;lt;lor_Bdc_Record&amp;gt;-DynBegin =  &amp;amp;3.
    &amp;lt;lor_Bdc_Record&amp;gt;-FNam =      &amp;amp;4.
    &amp;lt;lor_Bdc_Record&amp;gt;-FVal =      &amp;amp;5.
  end-of-definition.


  mac_Fill_Bdc:
    ''                       ''     'T'     'SCI'                 'BS AA X   F',
    'SAPLS_CODE_INSPECTOR'   '0100' 'X'     ''                    '',
    ''                       ''     ''      'BDC_CURSOR'          'SCI_DYNP-INSP',
    ''                       ''     ''      'BDC_OKCODE'          '=INSP_RERUN',
    ''                       ''     ''      'SCI_DYNP-USR'        p_User,
    ''                       ''     ''      'SCI_DYNP-INSP'       p_Insp,
    'SAPLS_CODE_INSPECTOR'   '0200' 'X'     ''                    '',
    ''                       ''     ''      'BDC_CURSOR'          'SCI_DYNP-INSP',
    ''                       ''     ''      'BDC_OKCODE'          '=RUN_WITH_POPUP',
    'SAPLS_CODE_INSPECTOR'   '0270' 'X'     ''                    '',
    ''                       ''     ''      'BDC_CURSOR'          'SCI_DYNP-SGROUP',
    ''                       ''     ''      'BDC_OKCODE'          '=BACK',
    ''                       ''     ''      'SCI_DYNP-X_SERVER_G' 'X',
    ''                       ''     ''      'SCI_DYNP-SGROUP'     p_SrvGrp,
    ''                       ''     ''      'SCI_DYNP-X_BATCH_0'  '',
    ''                       ''     ''      'SCI_DYNP-X_BATCH_1'  'X',
    'SAPLBTCH'               '1010' 'X'     ''                    '',
    ''                       ''     ''      'BDC_OKCODE'          '=IMMD',
    'SAPLBTCH'               '1010' 'X'     ''                    '',
    ''                       ''     ''      'BDC_CURSOR'          'BTCH1010-PERIODIC',
    ''                       ''     ''      'BDC_OKCODE'          '=SAVS',
    'SAPLS_CODE_INSPECTOR'   '0200' 'X'     ''                    '',
    ''                       ''     ''      'BDC_OKCODE'          '/EEXIT',
    ''                       ''     ''      'BDC_CURSOR'          'SCI_DYNP-INSP'.


  if ( 'X' eq sy-Batch ).
    call transaction 'SCI'
      using loa_Bdc_Records Messages into loa_Bdc_Messages
      mode 'N'.

  else.
    call transaction 'SCI'
      using loa_Bdc_Records Messages into loa_Bdc_Messages
      mode 'E'.
  endif.

  if ( 0 ne sy-SubRc ).
    if ( 'X' eq sy-Batch ).
      loop at loa_Bdc_Messages assigning &amp;lt;lor_Bdc_Message&amp;gt;.
        message
          ID     &amp;lt;lor_Bdc_Message&amp;gt;-MsgID
          Type   &amp;lt;lor_Bdc_Message&amp;gt;-MsgTyp
          Number &amp;lt;lor_Bdc_Message&amp;gt;-MsgNr
          with
            &amp;lt;lor_Bdc_Message&amp;gt;-MsgV1
            &amp;lt;lor_Bdc_Message&amp;gt;-MsgV2
            &amp;lt;lor_Bdc_Message&amp;gt;-MsgV3
            &amp;lt;lor_Bdc_Message&amp;gt;-MsgV4.
      endloop.
    else.
      loop at loa_Bdc_Messages assigning &amp;lt;lor_Bdc_Message&amp;gt;.
        message
          ID     &amp;lt;lor_Bdc_Message&amp;gt;-MsgID
          Type   &amp;lt;lor_Bdc_Message&amp;gt;-MsgTyp
          Number &amp;lt;lor_Bdc_Message&amp;gt;-MsgNr
          with
            &amp;lt;lor_Bdc_Message&amp;gt;-MsgV1
            &amp;lt;lor_Bdc_Message&amp;gt;-MsgV2
            &amp;lt;lor_Bdc_Message&amp;gt;-MsgV3
            &amp;lt;lor_Bdc_Message&amp;gt;-MsgV4
         into loc_Text.

         write: / loc_Text.
      endloop.
    endif.
  endif.

endform.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2005 15:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-creating-batch-input-for-dynamic-action-infotypes/m-p/863860#M48606</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2005-05-07T15:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: About creating batch input for Dynamic action infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-creating-batch-input-for-dynamic-action-infotypes/m-p/863861#M48607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vadivel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am almost certain that you cannot trigger Dynamic Actions via Batch Input. You will have to explicitly code the creation of infotype 0008 in the BDC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2005 14:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-creating-batch-input-for-dynamic-action-infotypes/m-p/863861#M48607</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2005-05-09T14:23:16Z</dc:date>
    </item>
  </channel>
</rss>

