<?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: regarding call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5317037#M1225685</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;Wanted to know if you have written the call transaction in FORM FILL_ORDER_DETAILS&lt;/P&gt;&lt;P&gt;Please remove that and write the loop in different form, and apart from that also remove this line....&lt;/P&gt;&lt;P&gt;CLEAR TBL_INFILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2009 00:28:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-17T00:28:21Z</dc:date>
    <item>
      <title>regarding call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5317036#M1225684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have a customised transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to write bdc  for this transaction for the records in the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have done the recording for the forst record and used the code &lt;/P&gt;&lt;P&gt;but after first record iam getting a error message saying no batch input for the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam filing the first record and pressing execute and out put mesaage displays then call transaction shouldbe completed and got to the next record in the loop where as it is not going to the next record &lt;/P&gt;&lt;P&gt;but stoping after first record.please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT tbl_infile into wa_infile.&lt;/P&gt;&lt;P&gt;    move wa_infile-budat to v_datum .&lt;/P&gt;&lt;P&gt;    concatenate v_datum&lt;EM&gt;0(2) '.' v_datum&lt;/EM&gt;2(2) '.' v_datum+4(4)&lt;/P&gt;&lt;P&gt;    into wa_infile-budat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA:count type i.&lt;/P&gt;&lt;P&gt;    PERFORM FILL_ORDER_DETAILS.&lt;/P&gt;&lt;P&gt;    CLEAR: T_BDC_MESSAGES[].&lt;/P&gt;&lt;P&gt;    REFRESH: T_BDC_MESSAGES[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'ZC10' USING t_bdc MODE 'A' UPDATE 'S' MESSAGES&lt;/P&gt;&lt;P&gt;    INTO T_BDC_MESSAGES.&lt;/P&gt;&lt;P&gt;   CLEAR WA_INFILE.&lt;/P&gt;&lt;P&gt;   clear T_BDC_MESSAGES.&lt;/P&gt;&lt;P&gt;   CLEAR TBL_INFILE.&lt;/P&gt;&lt;P&gt;   CLEAR T_BDC.&lt;/P&gt;&lt;P&gt;   REFRESH T_BDC.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PERFORM add_bdc_screen USING&lt;/P&gt;&lt;P&gt;         'ZCII_MAZZA_ORDER_CONFIRMATION'  '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM add_bdc_field USING:&lt;/P&gt;&lt;P&gt;        'BDC_CURSOR'      'P_STP_MN',&lt;/P&gt;&lt;P&gt;        'BDC_OKCODE'      '=ONLI',&lt;/P&gt;&lt;P&gt;        'P_AUFNR'          wa_infile-AUFNR,&lt;/P&gt;&lt;P&gt;        'P_DATUV'          wa_infile-BUDAT,&lt;/P&gt;&lt;P&gt;        'P_CONF'           'X',&lt;/P&gt;&lt;P&gt;        'P_SH_MAD'         wa_infile-TUBES,&lt;/P&gt;&lt;P&gt;        'P_SH_ROL'         wa_infile-SRAP,&lt;/P&gt;&lt;P&gt;        'P_BATCH'          wa_infile-BATCHES,&lt;/P&gt;&lt;P&gt;        'P_MAC_HR'         wa_infile-RUNMIN,&lt;/P&gt;&lt;P&gt;        'P_STP_MN'         wa_infile-STOPMIN.&lt;/P&gt;&lt;P&gt;PERFORM add_bdc_screen USING&lt;/P&gt;&lt;P&gt;    'SAPMSSY0'     '0120'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM add_bdc_field USING:&lt;/P&gt;&lt;P&gt;        'BDC_OKCODE'      '=%EX'.&lt;/P&gt;&lt;P&gt; PERFORM add_bdc_screen USING&lt;/P&gt;&lt;P&gt;         'ZCII_MAZZA_ORDER_CONFIRMATION'  '1000'.&lt;/P&gt;&lt;P&gt; PERFORM add_bdc_field USING:&lt;/P&gt;&lt;P&gt;        'BDC_OKCODE'      '=/EENDE',&lt;/P&gt;&lt;P&gt;        'BDC_CURSOR'      'P_AUFNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " FILL_ORDER_DETAILS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 00:20:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5317036#M1225684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T00:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: regarding call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5317037#M1225685</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;Wanted to know if you have written the call transaction in FORM FILL_ORDER_DETAILS&lt;/P&gt;&lt;P&gt;Please remove that and write the loop in different form, and apart from that also remove this line....&lt;/P&gt;&lt;P&gt;CLEAR TBL_INFILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 00:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5317037#M1225685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T00:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: regarding call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5317038#M1225686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi- I think your error is, when you are clearing the main table in the loop. Code you have written  :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT tbl_infile into wa_infile.
move wa_infile-budat to v_datum .
concatenate v_datum+0(2) '.' v_datum+2(2) '.' v_datum+4(4)
into wa_infile-budat.

DATA:count type i.
PERFORM FILL_ORDER_DETAILS.
CLEAR: T_BDC_MESSAGES[].
REFRESH: T_BDC_MESSAGES[].

CALL TRANSACTION 'ZC10' USING t_bdc MODE 'A' UPDATE 'S' MESSAGES
INTO T_BDC_MESSAGES.
CLEAR WA_INFILE.
clear T_BDC_MESSAGES.
*CLEAR TBL_INFILE.*    " Do not clear this, as this table hold all the data. You are clearing this table so
                                    " Loop is only for first data
CLEAR T_BDC.
REFRESH T_BDC.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 00:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5317038#M1225686</guid>
      <dc:creator>former_member376453</dc:creator>
      <dc:date>2009-03-17T00:46:25Z</dc:date>
    </item>
  </channel>
</rss>

