<?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: Read Billing data in Output type processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/13674630#M2027722</link>
    <description>&lt;P&gt;See how it's done in SAP standard output types e.g. RD00. The output type is processed with the ENTRY routine of the SD_INVOICE_PRINT01 program. The billing document data is fetched with the&amp;nbsp;RV_BILLING_PRINT_VIEW function - routine GET_DATA of the same program:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;  ls_comwa-mandt = sy-mandt.
  ls_comwa-spras = gs_nast-spras.
  ls_comwa-kunde = gs_nast-parnr.
  ls_comwa-parvw = gs_nast-parvw.
  if gs_nast-objky+10(6) ne space.
    ls_comwa-vbeln = gs_nast-objky+16(10).
  else.
    ls_comwa-vbeln = gs_nast-objky.
  endif.

*--- Call the famous print view
  call function 'RV_BILLING_PRINT_VIEW'
    exporting
      comwa                        = ls_comwa
    importing
      kopf                         = gs_interface-head_detail-vbdkr
    tables
      pos                          = lt_vbdpr
    exceptions
      terms_of_payment_not_in_t052 = 1
      error_message                = 2
      others                       = 3.&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2024 12:01:07 GMT</pubDate>
    <dc:creator>Dominik_Tylczynski</dc:creator>
    <dc:date>2024-04-18T12:01:07Z</dc:date>
    <item>
      <title>Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783574#M1952944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to read Billing Document data during Output type processing in VF01. I get Billing doc. no. as NAST-OBJKY.&lt;/P&gt;&lt;P&gt;I tried to use FM RV_INVOICE_DOCUMENT_READ and also class CL_WCB_BILL_BUFFER_FOR_PPF, but no results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Output type is "Special Function" assigned to custom Program/ Routine. In debug, I see only Billing document number, but I require more data like Sales area and Customer number to post Credit Memo Request (VBRK/ VBRP/ VBPA).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Maninder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 06:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783574#M1952944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-18T06:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783575#M1952945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 08:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783575#M1952945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-18T08:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783576#M1952946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the billing doc number and get corresponding doc via VBFA. Then from vbfa, get the details from each main table for so/delivery/invoice/etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 08:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783576#M1952946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-18T08:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783577#M1952947</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;FM&amp;nbsp; RV_BILLING_PRINT_VIEW returns the current data of the bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 08:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783577#M1952947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-18T08:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783578#M1952948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using "Special Function" it means you need to write your own code. Since the changes are already committed to the database at that time, you can use SELECT, just like in any other program. What exactly is the issue here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;FYI - RV_BILLING_PRINT_VIEW is not released.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 22:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783578#M1952948</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2016-07-19T22:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783579#M1952949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maninder,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use FM - LB_BIL_INV_OUTP_READ_PRTDATA&amp;nbsp; to get the details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 06:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783579#M1952949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T06:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783580#M1952950</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;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;RV_BILLING_PRINT_VIEW is not released? In which release?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 09:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783580#M1952950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T09:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783581#M1952951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In EHP6 (7.31):&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/999272" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783581#M1952951</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2016-07-20T14:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783582#M1952952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LB_BIL_INV_OUTP_READ_PRTDATA makes sense if you need data in the format of data type LBBIL_INVOICE that is used in the standard form interfaces. It's not exactly the most user-friendly format (you have to get all those embedded tables from it), so still I believe OP might be better off with some short custom code. If only we knew what OP is doing exactly...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:25:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783582#M1952952</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2016-07-20T14:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783583#M1952953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From SAP ERP ENHANCE PACKAGE 6.04/NW7.01 to 6.06/NW7.31 too.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/999287" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783583#M1952953</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-07-20T14:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783584#M1952954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have ever noticed that: that fm has status NOT RELEASED in my system too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose SAP doesn't support the fm&amp;nbsp; RV_BILLING_PRINT_VIEW anymore because the print of the bill is managed by smartform now, so it should mean to use the print program RLB_INVOICE and&amp;nbsp; fmLB_BIL_INV_OUTP_READ_PRTDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the old print program RVADIN01 still uses the fm &lt;SPAN style="font-size: 13.3333px;"&gt;RV_BILLING_PRINT_VIEW and it works (I've prints from 46C), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so that means theoretically that fm can't be replaced....but it works for the moment &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783584#M1952954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783585#M1952955</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;use FM - RV_INVOICE_DOCUMENT_READ , just check the Activity you are using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with activity = '04' or '01' and pass the billing document no&amp;nbsp; to&amp;nbsp; vbrk_i -vbeln and no_nast = 'X' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and check? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:55:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/11783585#M1952955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T15:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/13674561#M2027720</link>
      <description>&lt;P&gt;I am not sure if you got the answer already, but try using&amp;nbsp;&lt;!--  StartFragment   --&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;SAPMV60A&lt;SPAN class=""&gt;)&lt;/SPAN&gt;XVBRK or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;SAPMV60A&lt;SPAN class=""&gt;)&lt;/SPAN&gt;XVBRP.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 11:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/13674561#M2027720</guid>
      <dc:creator>Afroze_Ali</dc:creator>
      <dc:date>2024-04-18T11:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Read Billing data in Output type processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/13674630#M2027722</link>
      <description>&lt;P&gt;See how it's done in SAP standard output types e.g. RD00. The output type is processed with the ENTRY routine of the SD_INVOICE_PRINT01 program. The billing document data is fetched with the&amp;nbsp;RV_BILLING_PRINT_VIEW function - routine GET_DATA of the same program:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;  ls_comwa-mandt = sy-mandt.
  ls_comwa-spras = gs_nast-spras.
  ls_comwa-kunde = gs_nast-parnr.
  ls_comwa-parvw = gs_nast-parvw.
  if gs_nast-objky+10(6) ne space.
    ls_comwa-vbeln = gs_nast-objky+16(10).
  else.
    ls_comwa-vbeln = gs_nast-objky.
  endif.

*--- Call the famous print view
  call function 'RV_BILLING_PRINT_VIEW'
    exporting
      comwa                        = ls_comwa
    importing
      kopf                         = gs_interface-head_detail-vbdkr
    tables
      pos                          = lt_vbdpr
    exceptions
      terms_of_payment_not_in_t052 = 1
      error_message                = 2
      others                       = 3.&lt;/LI-CODE&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 12:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-billing-data-in-output-type-processing/m-p/13674630#M2027722</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2024-04-18T12:01:07Z</dc:date>
    </item>
  </channel>
</rss>

