<?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: Call Transaction using BDC data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687627#M621569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Veerendranath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The messtab in my code is always comming empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you Please check if the calling is correct as i am new to BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 15:13:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T15:13:35Z</dc:date>
    <item>
      <title>Call Transaction using BDC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687623#M621565</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 have recorded BDC data using transaction SHDB and now i am calling the same BDC data by using call transaction, but i am not able to capture the error messages in the transaction. My code is as follows:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLKAZB' '1000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR' 'RKAUF-TEST'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=RUN'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RKAUF-TEST' ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'LKP74-PSPID' 'Z/050-11'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RPSCO_X-VERSN_CTC' '110'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLOBJ1_PROCESSING_LOG' '2000'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE' '=ENDE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;opt-racommit = 'X'.&lt;/P&gt;&lt;P&gt;opt-updmode = 'S'.&lt;/P&gt;&lt;P&gt;opt-dismode = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'CJ9L' USING bdcdata_tab OPTIONS FROM opt MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i check for sy-subrc ie always ' 0 ' :-(.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one help me how to capture the error messages here as messagetab is also empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good reward points ensured for helpful answers :-).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 14:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687623#M621565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction using BDC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687624#M621566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See what happens if you change it to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;opt-dismode = 'A'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 15:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687624#M621566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T15:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction using BDC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687625#M621567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;popup comes and i am asked to check all the poups and the new transaction screen appers in background for few seconds and then the sucess message appears even when i have locked the object :-(.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 15:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687625#M621567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T15:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction using BDC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687626#M621568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just create an internal table of type BDCMSGCOL, lets say imessages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after call transaction ... messages into messtab, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at messtab into w_messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if messtab-MSGTYP eq 'E'.&lt;/P&gt;&lt;P&gt;append w_messtab to imessages.&lt;/P&gt;&lt;P&gt;endif.&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;if you want to capture all the messages then immediately after call transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append messtab to imessages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Veerendranath .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 15:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687626#M621568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T15:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction using BDC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687627#M621569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Veerendranath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The messtab in my code is always comming empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you Please check if the calling is correct as i am new to BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 15:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687627#M621569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T15:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction using BDC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687628#M621570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not all transactions fill MESSTAB with error messages...That's why you to process it using the A mode...You can maybe debug the popup window by using this file....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
[System]
Name=R/3
Client=
Description=
[User]
Name=
Language=
Password=
[Function]
Command=/H
Title=Title
Type=SystemCommand
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy it on a text file and save it a Debug.txt, when the popup comes out, simply drag the file into it to get to the Debugger...Maybe you can check whats going on...&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>Thu, 09 Aug 2007 15:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687628#M621570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction using BDC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687629#M621571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still the problem is not solved can some one suggest a way in which i should call this BDC data so that i can handel all the error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is see here is that the mess tab is always empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 06:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687629#M621571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T06:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction using BDC data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687630#M621572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;this is the BDC program with session and call transaction in one program &lt;/P&gt;&lt;P&gt;you can check here how the error mess will be handeled &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZNNR_BDC .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;         EMPID LIKE ZNNR-EMPID,&lt;/P&gt;&lt;P&gt;         EMPNAME LIKE ZNNR-EMPNAME,&lt;/P&gt;&lt;P&gt;         EMPADR LIKE ZNNR-EMPADR,&lt;/P&gt;&lt;P&gt;       END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                      = 'C:\NARESH\NARESH.TXT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILETYPE                      = 'ASC'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER_LENGTH                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  READ_BY_LINE                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_MODE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CODEPAGE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IGNORE_CERR                   = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  REPLACEMENT                   = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHECK_BOM                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VIRUS_SCAN_PROFILE            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTH_CHECK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                      = ITAB&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FILE_OPEN_ERROR               = 1&lt;/P&gt;&lt;P&gt;   FILE_READ_ERROR               = 2&lt;/P&gt;&lt;P&gt;   NO_BATCH                      = 3&lt;/P&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER       = 4&lt;/P&gt;&lt;P&gt;   INVALID_TYPE                  = 5&lt;/P&gt;&lt;P&gt;   NO_AUTHORITY                  = 6&lt;/P&gt;&lt;P&gt;   UNKNOWN_ERROR                 = 7&lt;/P&gt;&lt;P&gt;   BAD_DATA_FORMAT               = 8&lt;/P&gt;&lt;P&gt;   HEADER_NOT_ALLOWED            = 9&lt;/P&gt;&lt;P&gt;   SEPARATOR_NOT_ALLOWED         = 10&lt;/P&gt;&lt;P&gt;   HEADER_TOO_LONG               = 11&lt;/P&gt;&lt;P&gt;   UNKNOWN_DP_ERROR              = 12&lt;/P&gt;&lt;P&gt;   ACCESS_DENIED                 = 13&lt;/P&gt;&lt;P&gt;   DP_OUT_OF_MEMORY              = 14&lt;/P&gt;&lt;P&gt;   DISK_FULL                     = 15&lt;/P&gt;&lt;P&gt;   DP_TIMEOUT                    = 16&lt;/P&gt;&lt;P&gt;   OTHERS                        = 17&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   CLIENT                    = SY-MANDT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DEST                      = FILLER8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   GROUP                     = 'NARESH'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HOLDDATE                  = FILLER8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   KEEP                      = 'X'&lt;/P&gt;&lt;P&gt;   USER                      = SY-UNAME&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RECORD                    = FILLER1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROG                      = SY-CPROG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  QID                       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CLIENT_INVALID            = 1&lt;/P&gt;&lt;P&gt;   DESTINATION_INVALID       = 2&lt;/P&gt;&lt;P&gt;   GROUP_INVALID             = 3&lt;/P&gt;&lt;P&gt;   GROUP_IS_LOCKED           = 4&lt;/P&gt;&lt;P&gt;   HOLDDATE_INVALID          = 5&lt;/P&gt;&lt;P&gt;   INTERNAL_ERROR            = 6&lt;/P&gt;&lt;P&gt;   QUEUE_ERROR               = 7&lt;/P&gt;&lt;P&gt;   RUNNING                   = 8&lt;/P&gt;&lt;P&gt;   SYSTEM_LOCK_ERROR         = 9&lt;/P&gt;&lt;P&gt;   USER_INVALID              = 10&lt;/P&gt;&lt;P&gt;   OTHERS                    = 11&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH BDCDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM BDC_DYNPRO      USING 'ZNNR_MODULE' '0100'.&lt;/P&gt;&lt;P&gt;  PERFORM BDC_FIELD       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                'ZNNR-EMPADR'.&lt;/P&gt;&lt;P&gt;  PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                '=CRT'.&lt;/P&gt;&lt;P&gt;  PERFORM BDC_FIELD       USING 'ZNNR-EMPID'&lt;/P&gt;&lt;P&gt;                                ITAB-EMPID.&lt;/P&gt;&lt;P&gt;  PERFORM BDC_FIELD       USING 'ZNNR-EMPNAME'&lt;/P&gt;&lt;P&gt;                                ITAB-EMPNAME.&lt;/P&gt;&lt;P&gt;  PERFORM BDC_FIELD       USING 'ZNNR-EMPADR'&lt;/P&gt;&lt;P&gt;                                ITAB-EMPADR.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; PERFORM BDC_TRANSACTION USING 'ZNNC'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   TCODE                  = 'ZNNC'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  POST_LOCAL             = NOVBLOCAL&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRINTING               = NOPRINT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SIMUBATCH              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CTUPARAMS              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DYNPROTAB              = BDCDATA&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   INTERNAL_ERROR         = 1&lt;/P&gt;&lt;P&gt;   NOT_OPEN               = 2&lt;/P&gt;&lt;P&gt;   QUEUE_ERROR            = 3&lt;/P&gt;&lt;P&gt;   TCODE_INVALID          = 4&lt;/P&gt;&lt;P&gt;   PRINTING_INVALID       = 5&lt;/P&gt;&lt;P&gt;   POSTING_INVALID        = 6&lt;/P&gt;&lt;P&gt;   OTHERS                 = 7&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_CLOSE_GROUP'&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NOT_OPEN          = 1&lt;/P&gt;&lt;P&gt;   QUEUE_ERROR       = 2&lt;/P&gt;&lt;P&gt;   OTHERS            = 3&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'SESSION CREATED SUCCESSFULLY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_DYNPRO USING PROGRAM DYNPRO.&lt;/P&gt;&lt;P&gt;  CLEAR BDCDATA.&lt;/P&gt;&lt;P&gt;  BDCDATA-PROGRAM  = PROGRAM.&lt;/P&gt;&lt;P&gt;  BDCDATA-DYNPRO   = DYNPRO.&lt;/P&gt;&lt;P&gt;  BDCDATA-DYNBEGIN = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND BDCDATA.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_FIELD USING FNAM FVAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF FVAL &amp;lt;&amp;gt; NODATA.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CLEAR BDCDATA.&lt;/P&gt;&lt;P&gt;    BDCDATA-FNAM = FNAM.&lt;/P&gt;&lt;P&gt;    BDCDATA-FVAL = FVAL.&lt;/P&gt;&lt;P&gt;    APPEND BDCDATA.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 07:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdc-data/m-p/2687630#M621572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T07:01:14Z</dc:date>
    </item>
  </channel>
</rss>

