quarta-feira, 14 de setembro de 2022

Enhancing The Field Catalog of Condition Tables For Output Billing Documents

 The below steps helps us in adding a new custom field to the existing field catalog of a condition table on Output billing.


          1. Create a new structure (append structure) in KOMBZ – Customer groups. The newly added structure holds the new field.

                    /wp-content/uploads/2013/01/image1_177773.png

          2.  Enhance the structures KOMKBV3 (Header) and KOMPBV3 (Item) with the new field by adding an append structure.

                    /wp-content/uploads/2013/01/image2_177774.png

                    /wp-content/uploads/2013/01/image3_177775.png

          3. Now maintain V_T681F with the new field, this will add the new field to the condition table structure.

                    /wp-content/uploads/2013/01/image4_177776.png

              Click on new entries

                    /wp-content/uploads/2013/01/image5_177777.png

              

Add the new field.

          /wp-content/uploads/2013/01/image6_177778.png


                      

Save it.

4. Coding for filling the new field in RVCOMFZ1 form USEREXIT_KOMPBV3_FILL for the item field.

/wp-content/uploads/2013/01/image7_177801.png

          5.  Coding for filling the new field in RVCOMFZZ form USEREXIT_KOMKBV3_FILL for the header field.

               /wp-content/uploads/2013/01/image8_177780.png

This will add the new field in the field catalog structure for access sequence, now we can create a condition table with this field and assign it to the Output type which will be triggered during the billing document creation.

To create a condition table use the transaction V/62.

/wp-content/uploads/2013/01/image9_177781.png

Give the description and the field catalog will be shown as below with newly added fields.

/wp-content/uploads/2013/01/image10_177782.png

Double clicking the required fields will move the fields to the selected fields list.

The technical view will help us in seeing the technical details of the selected fields.

/wp-content/uploads/2013/01/image11_177783.png

/wp-content/uploads/2013/01/image12_177784.png

The access sequence and output type are assigned to the billing application in NACE configuration and the data for the output type of the billing document is maintained using VV31.

Once this configuration is done, when a billing document is triggered with corresponding output type all the condition records are filled and we can see them from output messages tab on billing document using determination analysis.

/wp-content/uploads/2013/01/image13_177785.png

The output will be seen in the analysis under the output message type with the condition table records.

/wp-content/uploads/2013/01/image14_177802.png

Thank you.

Source: https://blogs.sap.com/2013/01/23/enhancing-the-condition-table-field-catalog-for-output-billing/

Nenhum comentário:

Postar um comentário