<?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: Capturing Reversal document number from FB08 t-code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335192#M1032806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you collect all the valid reversal document number and use a select on it. Read the itab only when it is found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT IT_MESSAGES INTO WA_MESSAGES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF WA_MESSAGES-MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WA_LOG-MSGTYP = WA_MESSAGES-MSGTYP .&lt;/P&gt;&lt;P&gt;      W_MSGNO  = WA_MESSAGES-MSGNR.&lt;/P&gt;&lt;P&gt;      W_MSGV1 = WA_MESSAGES-MSGV1.&lt;/P&gt;&lt;P&gt;      W_MSGV2 = WA_MESSAGES-MSGV2.&lt;/P&gt;&lt;P&gt;      W_MSGV3 = WA_MESSAGES-MSGV3.&lt;/P&gt;&lt;P&gt;      W_MSGV4 = WA_MESSAGES-MSGV4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          ID        = WA_MESSAGES-MSGID&lt;/P&gt;&lt;P&gt;          NO        = W_MSGNO&lt;/P&gt;&lt;P&gt;          V1        = W_MSGV1&lt;/P&gt;&lt;P&gt;          V2        = W_MSGV2&lt;/P&gt;&lt;P&gt;          V3        = W_MSGV3&lt;/P&gt;&lt;P&gt;          V4        = W_MSGV4&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          MSG       = WA_LOG-MESSAGE&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;          OTHERS    = 2.&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;      APPEND WA_LOG TO IT_LOG .&lt;/P&gt;&lt;P&gt;      CLEAR WA_LOG.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      IF WA_MESSAGES-MSGTYP = C_S     AND&lt;/P&gt;&lt;P&gt;         WA_MESSAGES-MSGID  = C_MSGID AND&lt;/P&gt;&lt;P&gt;         WA_MESSAGES-MSGNR  = C_MSGNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        W_ADJDOC = WA_MESSAGES-MSGV1+0(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            INPUT  = W_ADJDOC&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            OUTPUT = W_ADJDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Get Adjustment Document no,posting date,entry date and entry time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT BELNR  BUDAT&lt;/P&gt;&lt;P&gt;               CPUDT CPUTM&lt;/P&gt;&lt;P&gt;          INTO CORRESPONDING FIELDS OF TABLE IT_ADJ&lt;/P&gt;&lt;P&gt;          FROM BKPF&lt;/P&gt;&lt;P&gt;          WHERE  BUKRS IN S_BUKRS&lt;/P&gt;&lt;P&gt;             AND GJAHR = P_GJAHR&lt;/P&gt;&lt;P&gt;             AND BELNR EQ W_ADJDOC&lt;/P&gt;&lt;P&gt;             AND BLART = C_AL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;          READ TABLE IT_ADJ INTO WA_ADJ WITH KEY&lt;/P&gt;&lt;P&gt;                                        BELNR = W_ADJDOC.&lt;/P&gt;&lt;P&gt;          IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;                INPUT  = WA_ADJ-BELNR&lt;/P&gt;&lt;P&gt;              IMPORTING&lt;/P&gt;&lt;P&gt;                OUTPUT = WA_ADJ-BELNR.&lt;/P&gt;&lt;P&gt;            WA_ALVOUT-BELNR1  = WA_ADJ-BELNR.       "Adjustment Doc No.&lt;/P&gt;&lt;P&gt;            WA_ALVOUT-BUDAT1  = WA_ADJ-BUDAT.       "Adjustment Posting date&lt;/P&gt;&lt;P&gt;            WA_ALVOUT-CPUDT1  = WA_ADJ-CPUDT.       "Adjustment entry date&lt;/P&gt;&lt;P&gt;            WA_ALVOUT-CPUTM1  = WA_ADJ-CPUTM.       "Adjustment entry time&lt;/P&gt;&lt;P&gt;            APPEND WA_ALVOUT TO IT_ALVOUT.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&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;ENDFORM.                    " BDC_POSTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Guru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2008 09:18:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-22T09:18:35Z</dc:date>
    <item>
      <title>Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335183#M1032797</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 am developing a report progrm to Post Open Purchase Orders. To do so i am using BAPI_ACC_DOCUMENT_POST,&lt;/P&gt;&lt;P&gt;after a PO is posted successfully, i have to call t-code FB08 and pass the document number to it. I am using BDC call transaction to call FB08 t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The t-code FB08 creates reversal document number of the document number being passed to it.&lt;/P&gt;&lt;P&gt;     My requirement is to capture this reversal document number and display it in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my doubts is &lt;/P&gt;&lt;P&gt;1) Hw to capture reversal document number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;balu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 08:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335183#M1032797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T08:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335184#M1032798</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;are u using BDCMSGCOLL  to capture msgs , it will have that rev.doc. no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sytax---&amp;gt; call transaction 'XXXX' message into BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 08:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335184#M1032798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T08:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335185#M1032799</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;are u using BDCMSGCOLL  to capture msgs ?&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;prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 08:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335185#M1032799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T08:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335186#M1032800</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;Declare and internal and collect the reersal document number and then loop at itab to display it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;Guru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 08:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335186#M1032800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T08:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335187#M1032801</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;U can get the reverse document or line item display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Suppose ur document no Vendor means it will displayed in FBL1N&lt;/P&gt;&lt;P&gt;Costomer mean:FBL3N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  There u find ur reverse document number.&lt;/P&gt;&lt;P&gt;Regards:&lt;/P&gt;&lt;P&gt;Prabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 08:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335187#M1032801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T08:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335188#M1032802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually i havent written BDC prgm yet.&lt;/P&gt;&lt;P&gt;Please let me know wt steps needs to be followed to achieve my functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 08:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335188#M1032802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335189#M1032803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually what u want....U need BDC r reversal document number....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What purpose u r doing in BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: Vendor payment upload,customer payment upload,Gl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 09:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335189#M1032803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T09:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335190#M1032804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if internal table has to be declared,wt fields should the internal table contain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reversal doc num is of the type BELNR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 09:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335190#M1032804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T09:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335191#M1032805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From BDC i'm calling FB08 t-code and passing an document num to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then FB08 t-code creates reversal doc num for the doc num which i have passed .&lt;/P&gt;&lt;P&gt;I need to capture reversal doc num  created by fb08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex.&lt;/P&gt;&lt;P&gt;if 1000 is the doc num passed to fb08 tcode from BDC prgm,&lt;/P&gt;&lt;P&gt;and if 2000 is the reversal doc num created by FB08.&lt;/P&gt;&lt;P&gt;i need to capture 2000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 09:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335191#M1032805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335192#M1032806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you collect all the valid reversal document number and use a select on it. Read the itab only when it is found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT IT_MESSAGES INTO WA_MESSAGES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF WA_MESSAGES-MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WA_LOG-MSGTYP = WA_MESSAGES-MSGTYP .&lt;/P&gt;&lt;P&gt;      W_MSGNO  = WA_MESSAGES-MSGNR.&lt;/P&gt;&lt;P&gt;      W_MSGV1 = WA_MESSAGES-MSGV1.&lt;/P&gt;&lt;P&gt;      W_MSGV2 = WA_MESSAGES-MSGV2.&lt;/P&gt;&lt;P&gt;      W_MSGV3 = WA_MESSAGES-MSGV3.&lt;/P&gt;&lt;P&gt;      W_MSGV4 = WA_MESSAGES-MSGV4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          ID        = WA_MESSAGES-MSGID&lt;/P&gt;&lt;P&gt;          NO        = W_MSGNO&lt;/P&gt;&lt;P&gt;          V1        = W_MSGV1&lt;/P&gt;&lt;P&gt;          V2        = W_MSGV2&lt;/P&gt;&lt;P&gt;          V3        = W_MSGV3&lt;/P&gt;&lt;P&gt;          V4        = W_MSGV4&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          MSG       = WA_LOG-MESSAGE&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;          OTHERS    = 2.&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;      APPEND WA_LOG TO IT_LOG .&lt;/P&gt;&lt;P&gt;      CLEAR WA_LOG.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      IF WA_MESSAGES-MSGTYP = C_S     AND&lt;/P&gt;&lt;P&gt;         WA_MESSAGES-MSGID  = C_MSGID AND&lt;/P&gt;&lt;P&gt;         WA_MESSAGES-MSGNR  = C_MSGNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        W_ADJDOC = WA_MESSAGES-MSGV1+0(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            INPUT  = W_ADJDOC&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            OUTPUT = W_ADJDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Get Adjustment Document no,posting date,entry date and entry time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT BELNR  BUDAT&lt;/P&gt;&lt;P&gt;               CPUDT CPUTM&lt;/P&gt;&lt;P&gt;          INTO CORRESPONDING FIELDS OF TABLE IT_ADJ&lt;/P&gt;&lt;P&gt;          FROM BKPF&lt;/P&gt;&lt;P&gt;          WHERE  BUKRS IN S_BUKRS&lt;/P&gt;&lt;P&gt;             AND GJAHR = P_GJAHR&lt;/P&gt;&lt;P&gt;             AND BELNR EQ W_ADJDOC&lt;/P&gt;&lt;P&gt;             AND BLART = C_AL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;          READ TABLE IT_ADJ INTO WA_ADJ WITH KEY&lt;/P&gt;&lt;P&gt;                                        BELNR = W_ADJDOC.&lt;/P&gt;&lt;P&gt;          IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;                INPUT  = WA_ADJ-BELNR&lt;/P&gt;&lt;P&gt;              IMPORTING&lt;/P&gt;&lt;P&gt;                OUTPUT = WA_ADJ-BELNR.&lt;/P&gt;&lt;P&gt;            WA_ALVOUT-BELNR1  = WA_ADJ-BELNR.       "Adjustment Doc No.&lt;/P&gt;&lt;P&gt;            WA_ALVOUT-BUDAT1  = WA_ADJ-BUDAT.       "Adjustment Posting date&lt;/P&gt;&lt;P&gt;            WA_ALVOUT-CPUDT1  = WA_ADJ-CPUDT.       "Adjustment entry date&lt;/P&gt;&lt;P&gt;            WA_ALVOUT-CPUTM1  = WA_ADJ-CPUTM.       "Adjustment entry time&lt;/P&gt;&lt;P&gt;            APPEND WA_ALVOUT TO IT_ALVOUT.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&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;ENDFORM.                    " BDC_POSTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Guru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 09:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335192#M1032806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T09:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335193#M1032807</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;it_messages should be of type BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Guru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 09:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335193#M1032807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T09:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335194#M1032808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnks for ur tips.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2008 09:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335194#M1032808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-22T09:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Reversal document number from FB08 t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335195#M1032809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2008 10:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-reversal-document-number-from-fb08-t-code/m-p/4335195#M1032809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-05T10:28:35Z</dc:date>
    </item>
  </channel>
</rss>

