<?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 Not Getting Currect data. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-getting-currect-data/m-p/6594239#M1436298</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;here i have one form for print of CASH JOURNAL . And for this print i entered data from Transaction FBCJ. i can done every thing. and i put short text and long text in accounting document.  then entry was done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to print this document. when i print CASH JOURNAL this time report get only short text which i entered in FBCJ. for this my report in below. but now i want long text on the place of short text . But i don't know in which table this long text is SAVE and if this table is not include in this report then how can i merge table for text..............................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT  it_tcj_positions.&lt;/P&gt;&lt;P&gt;   move-corresponding it_tcj_positions to it_out.&lt;/P&gt;&lt;P&gt;    modify it_out transporting POSITION_TEXT where awkey = it_tcj_positions-posting_number.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_out.&lt;/P&gt;&lt;P&gt;SELECT COUNT( * ) FROM STXH WHERE TDOBJECT = 'DOC_ITEM' AND   TDNAME   =  it_out-NAME AND   TDID     = '0001'&lt;/P&gt;&lt;P&gt;                                                        AND   TDSPRAS  = 'E'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0 .&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;       CLIENT                         = SY-MANDT&lt;/P&gt;&lt;P&gt;        ID                            = '0001'&lt;/P&gt;&lt;P&gt;        LANGUAGE                      = 'E'&lt;/P&gt;&lt;P&gt;        NAME                          =  it_out-NAME&lt;/P&gt;&lt;P&gt;        OBJECT                        = 'DOC_ITEM'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_HANDLE                = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LOCAL_CAT                     = ' '&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;  HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        LINES                         = LINE&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;       ID                            = 1&lt;/P&gt;&lt;P&gt;       LANGUAGE                      = 2&lt;/P&gt;&lt;P&gt;       NAME                          = 3&lt;/P&gt;&lt;P&gt;       NOT_FOUND                     = 4&lt;/P&gt;&lt;P&gt;       OBJECT                        = 5&lt;/P&gt;&lt;P&gt;       REFERENCE_CHECK               = 6&lt;/P&gt;&lt;P&gt;       WRONG_ACCESS_TO_ARCHIVE       = 7&lt;/P&gt;&lt;P&gt;       OTHERS                        = 8&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 LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF LINE-TDLINE &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '1'.&lt;/P&gt;&lt;P&gt;             it_out-text2 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '2'.&lt;/P&gt;&lt;P&gt;             it_out-text3 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '3'.&lt;/P&gt;&lt;P&gt;             it_out-text4 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '4'.&lt;/P&gt;&lt;P&gt;             it_out-text5 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '5'.&lt;/P&gt;&lt;P&gt;             it_out-text6 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;endform.                    " get_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jan 2010 07:48:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-25T07:48:16Z</dc:date>
    <item>
      <title>Not Getting Currect data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-getting-currect-data/m-p/6594239#M1436298</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;here i have one form for print of CASH JOURNAL . And for this print i entered data from Transaction FBCJ. i can done every thing. and i put short text and long text in accounting document.  then entry was done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to print this document. when i print CASH JOURNAL this time report get only short text which i entered in FBCJ. for this my report in below. but now i want long text on the place of short text . But i don't know in which table this long text is SAVE and if this table is not include in this report then how can i merge table for text..............................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT  it_tcj_positions.&lt;/P&gt;&lt;P&gt;   move-corresponding it_tcj_positions to it_out.&lt;/P&gt;&lt;P&gt;    modify it_out transporting POSITION_TEXT where awkey = it_tcj_positions-posting_number.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_out.&lt;/P&gt;&lt;P&gt;SELECT COUNT( * ) FROM STXH WHERE TDOBJECT = 'DOC_ITEM' AND   TDNAME   =  it_out-NAME AND   TDID     = '0001'&lt;/P&gt;&lt;P&gt;                                                        AND   TDSPRAS  = 'E'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0 .&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;       CLIENT                         = SY-MANDT&lt;/P&gt;&lt;P&gt;        ID                            = '0001'&lt;/P&gt;&lt;P&gt;        LANGUAGE                      = 'E'&lt;/P&gt;&lt;P&gt;        NAME                          =  it_out-NAME&lt;/P&gt;&lt;P&gt;        OBJECT                        = 'DOC_ITEM'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_HANDLE                = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LOCAL_CAT                     = ' '&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;  HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        LINES                         = LINE&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;       ID                            = 1&lt;/P&gt;&lt;P&gt;       LANGUAGE                      = 2&lt;/P&gt;&lt;P&gt;       NAME                          = 3&lt;/P&gt;&lt;P&gt;       NOT_FOUND                     = 4&lt;/P&gt;&lt;P&gt;       OBJECT                        = 5&lt;/P&gt;&lt;P&gt;       REFERENCE_CHECK               = 6&lt;/P&gt;&lt;P&gt;       WRONG_ACCESS_TO_ARCHIVE       = 7&lt;/P&gt;&lt;P&gt;       OTHERS                        = 8&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 LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF LINE-TDLINE &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '1'.&lt;/P&gt;&lt;P&gt;             it_out-text2 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '2'.&lt;/P&gt;&lt;P&gt;             it_out-text3 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '3'.&lt;/P&gt;&lt;P&gt;             it_out-text4 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '4'.&lt;/P&gt;&lt;P&gt;             it_out-text5 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        IF sy-tabix = '5'.&lt;/P&gt;&lt;P&gt;             it_out-text6 = LINE-TDLINE.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;endform.                    " get_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 07:48:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-getting-currect-data/m-p/6594239#M1436298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T07:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Not Getting Currect data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-getting-currect-data/m-p/6594240#M1436299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chauvan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Function Module &lt;STRONG&gt;READ_TEXT&lt;/STRONG&gt; for getting the long text and pass the relavent parameters. The paramter you can find in Table &lt;STRONG&gt;STXH.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shakeel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-getting-currect-data/m-p/6594240#M1436299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T08:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Not Getting Currect data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-getting-currect-data/m-p/6594241#M1436300</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;You can use the 'Read_Text' function to pupulate the long text you are entering,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attributes of the FM 'Read Text' you can get from your transaction, just go to your Transaction and the place where your enter your Long text, In menu just check for header Details,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main attributes you have to enter is 'ID' object', name, then you can get this data in one internal table from that table you can easily populate to ur program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May this wil help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 08:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-getting-currect-data/m-p/6594241#M1436300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-25T08:02:47Z</dc:date>
    </item>
  </channel>
</rss>

