<?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: BDC recording problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144877#M747566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Text cannot be uploaded through nornal BDC recording.&lt;/P&gt;&lt;P&gt;Steps to upload text:&lt;/P&gt;&lt;P&gt;- Upload the data using BDC recording except text.&lt;/P&gt;&lt;P&gt;- Using BDCMSGCOLL capture the document number created&lt;/P&gt;&lt;P&gt;- Form the object ID with the document number and item numbers.&lt;/P&gt;&lt;P&gt;- Call FM CREATE_TEXT and pass the object ID and corresponding text to the FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code&lt;/P&gt;&lt;P&gt;*Populating table for Create_Text with the values from input table and message tab(BDCMSGCOLL)&lt;/P&gt;&lt;P&gt;============================================================&lt;/P&gt;&lt;P&gt;  loop at int_itab where kunnr  = int_itab-kunnr.&lt;/P&gt;&lt;P&gt;    read table messtab with key msgnr = '311'.&lt;/P&gt;&lt;P&gt;    int_itab2-kunnr = int_itab-kunnr.&lt;/P&gt;&lt;P&gt;    int_itab2-text = int_itab-text.&lt;/P&gt;&lt;P&gt;    int_itab2-posnr = int_itab-posnr.&lt;/P&gt;&lt;P&gt;    int_itab2-msgv2 = messtab-msgv2.&lt;/P&gt;&lt;P&gt;    append int_itab2.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save Text using CREATE_TEXT&lt;/P&gt;&lt;P&gt;=========================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form save_text .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at int_itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_lines-tdline = int_itab2-text.&lt;/P&gt;&lt;P&gt;    t_lines-tdformat = '*'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    append t_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    fid = 'ZI06'.&lt;/P&gt;&lt;P&gt;    fobject = 'VBBP'.&lt;/P&gt;&lt;P&gt;    flanguage = sy-langu.&lt;/P&gt;&lt;P&gt;    if int_itab2-posnr lt 100.&lt;/P&gt;&lt;P&gt;      concatenate '00' int_itab2-msgv2 int_itab2-posnr into fname.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      concatenate '00' int_itab2-msgv2 '000' int_itab2-posnr into fname.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'CREATE_TEXT'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        fid         = fid&lt;/P&gt;&lt;P&gt;        flanguage   = flanguage&lt;/P&gt;&lt;P&gt;        fname       = fname&lt;/P&gt;&lt;P&gt;        fobject     = fobject&lt;/P&gt;&lt;P&gt;        save_direct = 'X'&lt;/P&gt;&lt;P&gt;        fformat     = '*'&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        flines      = t_lines&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        no_init     = 1&lt;/P&gt;&lt;P&gt;        no_save     = 2&lt;/P&gt;&lt;P&gt;        others      = 3.&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;    refresh t_lines.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " SAVE_TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to know the OBJECT ID, OBJECT NAME, and FNAME for your purpose, &lt;/P&gt;&lt;P&gt;-Goto VA01/VA02/VA03 &lt;/P&gt;&lt;P&gt;- Go to item text screen&lt;/P&gt;&lt;P&gt;- At the bottom of text editor, you details button.Click on that.&lt;/P&gt;&lt;P&gt;- On the next screen click GOTO-&amp;gt;HEADER&lt;/P&gt;&lt;P&gt;- Here you can see the Text name, Text ID, Text Object&lt;/P&gt;&lt;P&gt;- Text name is usually the combination of Order no. and Item no.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2007 12:16:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-06T12:16:54Z</dc:date>
    <item>
      <title>BDC recording problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144874#M747563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've recorded VA01 transaction through SHDB to create sales order and &lt;/P&gt;&lt;P&gt;I've input fields in second screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sold to party&lt;/P&gt;&lt;P&gt;ship to party&lt;/P&gt;&lt;P&gt;po number&lt;/P&gt;&lt;P&gt;material number&lt;/P&gt;&lt;P&gt;quantity&lt;/P&gt;&lt;P&gt;item text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First 5 fields are Ok..but in recording item text is not recording..&lt;/P&gt;&lt;P&gt;to enter item text I've followed these steps VA01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto ---&amp;gt; Item --&amp;gt; texts . here I entered item text  and saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in recording I can't see this text value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions please.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 11:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144874#M747563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T11:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: BDC recording problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144875#M747564</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;Goto ---&amp;gt; Item --&amp;gt; texts. Here you can see a button below the text field, called Details.&lt;/P&gt;&lt;P&gt;Click on it, it will call the text editor.&lt;/P&gt;&lt;P&gt;Here you can enter your text and it will apeear in the recording also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 11:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144875#M747564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T11:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: BDC recording problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144876#M747565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tamas!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 11:53:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144876#M747565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T11:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: BDC recording problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144877#M747566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Text cannot be uploaded through nornal BDC recording.&lt;/P&gt;&lt;P&gt;Steps to upload text:&lt;/P&gt;&lt;P&gt;- Upload the data using BDC recording except text.&lt;/P&gt;&lt;P&gt;- Using BDCMSGCOLL capture the document number created&lt;/P&gt;&lt;P&gt;- Form the object ID with the document number and item numbers.&lt;/P&gt;&lt;P&gt;- Call FM CREATE_TEXT and pass the object ID and corresponding text to the FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code&lt;/P&gt;&lt;P&gt;*Populating table for Create_Text with the values from input table and message tab(BDCMSGCOLL)&lt;/P&gt;&lt;P&gt;============================================================&lt;/P&gt;&lt;P&gt;  loop at int_itab where kunnr  = int_itab-kunnr.&lt;/P&gt;&lt;P&gt;    read table messtab with key msgnr = '311'.&lt;/P&gt;&lt;P&gt;    int_itab2-kunnr = int_itab-kunnr.&lt;/P&gt;&lt;P&gt;    int_itab2-text = int_itab-text.&lt;/P&gt;&lt;P&gt;    int_itab2-posnr = int_itab-posnr.&lt;/P&gt;&lt;P&gt;    int_itab2-msgv2 = messtab-msgv2.&lt;/P&gt;&lt;P&gt;    append int_itab2.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save Text using CREATE_TEXT&lt;/P&gt;&lt;P&gt;=========================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form save_text .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at int_itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_lines-tdline = int_itab2-text.&lt;/P&gt;&lt;P&gt;    t_lines-tdformat = '*'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    append t_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    fid = 'ZI06'.&lt;/P&gt;&lt;P&gt;    fobject = 'VBBP'.&lt;/P&gt;&lt;P&gt;    flanguage = sy-langu.&lt;/P&gt;&lt;P&gt;    if int_itab2-posnr lt 100.&lt;/P&gt;&lt;P&gt;      concatenate '00' int_itab2-msgv2 int_itab2-posnr into fname.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      concatenate '00' int_itab2-msgv2 '000' int_itab2-posnr into fname.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'CREATE_TEXT'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        fid         = fid&lt;/P&gt;&lt;P&gt;        flanguage   = flanguage&lt;/P&gt;&lt;P&gt;        fname       = fname&lt;/P&gt;&lt;P&gt;        fobject     = fobject&lt;/P&gt;&lt;P&gt;        save_direct = 'X'&lt;/P&gt;&lt;P&gt;        fformat     = '*'&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        flines      = t_lines&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        no_init     = 1&lt;/P&gt;&lt;P&gt;        no_save     = 2&lt;/P&gt;&lt;P&gt;        others      = 3.&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;    refresh t_lines.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " SAVE_TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to know the OBJECT ID, OBJECT NAME, and FNAME for your purpose, &lt;/P&gt;&lt;P&gt;-Goto VA01/VA02/VA03 &lt;/P&gt;&lt;P&gt;- Go to item text screen&lt;/P&gt;&lt;P&gt;- At the bottom of text editor, you details button.Click on that.&lt;/P&gt;&lt;P&gt;- On the next screen click GOTO-&amp;gt;HEADER&lt;/P&gt;&lt;P&gt;- Here you can see the Text name, Text ID, Text Object&lt;/P&gt;&lt;P&gt;- Text name is usually the combination of Order no. and Item no.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 12:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-recording-problem/m-p/3144877#M747566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T12:16:54Z</dc:date>
    </item>
  </channel>
</rss>

