Enterprise Resource Planning Blog Posts by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
Clark_Huang
Product and Topic Expert
Product and Topic Expert
391

Background

This feature enable extension options in SAP Self-Billing Cockpit to give customers the flexibility to: Add custom fields to the Self-Billing with Automatic Posting (SBWAP) API and the Self-Billing with Invoice Creation (SBINV) API.  Those custom fields will display in both the SBWAP and SBINV monitor.

Solution

Introduce new structures "additionalField" in SBWAP and SBINV API each leavel.

The example of of the transmission level:

 

 

        <tran:SelfBillingInvTransmissionMessage>
            <transmission>
                <transmissionId>100001</transmissionId>
                <senderId>EXAMPLESENDERID</senderId>
                <transmissionDate>20210802</transmissionDate>
                <additionalField>
                    <fieldName>transName</fieldName>
                    <fieldValue>transValue</fieldValue>
                </additionalField>

 

 

Billing document level:

 

 

                <billingDocument>
                    <headerActionCode>000</headerActionCode>
                    <externalBilling>EB09061042</externalBilling>
                    <isoCurrency>EUR</isoCurrency>
                    <customerVatNumber></customerVatNumber>
                    <supplierVatNumber></supplierVatNumber>
                    <netValue></netValue>
                    <grossAmount></grossAmount>
                    <taxAmount></taxAmount>
                    <surcharges></surcharges>
                    <cashDiscountAmount></cashDiscountAmount>
                    <fixedValueDate></fixedValueDate>
                    <documentDate>20210902</documentDate>
                    <additionalField>
                        <fieldName>docName</fieldName>
                        <fieldValue>docValue</fieldValue>
                    </additionalField>

 

 

Delivery Level:

 

 

                    <deliveryHeader>
                        <delivery>80000471</delivery>
                        <externalDeliveryNote></externalDeliveryNote>
                        <deliveryRelevanceDate></deliveryRelevanceDate>
                        <customerPlant>CP03</customerPlant>
                        <customerUnloadingPoint>UP03</customerUnloadingPoint>
                        <customerSupplier>SP03</customerSupplier>
                        <soldToParty>24100003</soldToParty>
                        <goodsReceiptDate></goodsReceiptDate>
                        <serviceRenderedDate></serviceRenderedDate>
                        <shippingDate></shippingDate>
                        <deliveryTaxAmount></deliveryTaxAmount>
                        <deliveryGrossAmount></deliveryGrossAmount>
                        <additionalField>
                            <fieldName>deliveryName</fieldName>
                            <fieldValue>deliveryValue</fieldValue>
                        </additionalField>

 

 

Item level:

 

 

                        <billingItem>
                            <itemActionCode>091</itemActionCode>
                            <quantity>3</quantity>
                            <isoUnitOfMeasure>EA</isoUnitOfMeasure>
                            <netValue>60</netValue>
                            <grossAmount></grossAmount>
                            <price>20</price>
                            <priceUnit>1</priceUnit>
                            <priceIsoUoM>PCE</priceIsoUoM>
                            <taxAmount>12.6</taxAmount>
                            <taxRate>21</taxRate>
                            <product></product>
                            <customerMaterial>8001</customerMaterial>
                            <newPrice></newPrice>
                            <newPriceUnit></newPriceUnit>
                            <priceDifference></priceDifference>
                            <priceValidFromDate></priceValidFromDate>
                            <additionalField>
                                <fieldName>itemName</fieldName>
                                <fieldValue>itemValue</fieldValue>
                            </additionalField>

 

 

There is one example in SBWAP monitor

Add custom field in transmission level

Clark_Huang_0-1724903703126.png

Field show in SBWAP monitor object page

Clark_Huang_1-1724903712525.png

Add custom fields in "sddocument" level. In this case , we add multiple custom fields.

Clark_Huang_2-1724903812096.png

The custom fields will show both in list page and object page

Clark_Huang_4-1724904005545.pngClark_Huang_5-1724904018071.png

Add custom field in item level

Clark_Huang_6-1724904093241.png

The custom field will show in history page

Clark_Huang_7-1724904141754.png

Blog Post Series for SAP Self-Billing Cockpit