Skip to Content
Author's profile photo Sandeep Kumar

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.










Assigned tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Very useful document! Good contribution..

      Author's profile photo Former Member
      Former Member

      Really Grate And Helpful Document

      Author's profile photo Former Member
      Former Member

      This post is very helpful Sandeep. Was searching for just this.

       

      Thank you.

      Author's profile photo Aditya Sharma
      Aditya Sharma

      Very Informative Post Sandeep. Thank you

      Author's profile photo Former Member
      Former Member

      Hi Sandeep,

       

      This is what i was looking for besides can u please provide coding for point No.4 & 5.

      Thanks in Advance.

      Author's profile photo Sandeep Kumar
      Sandeep Kumar
      Blog Post Author

      Hi Supriya,

       

      Just try activating the enhancements and put a break-point to see the list of fields available. This should help you filling the data.

       

      Regards,

      Sandeep

      Author's profile photo Former Member
      Former Member

      Hi Sandeep,

       

      First of all, great post! But I still can't make it work, so I have a couple of questions which I wish you can help me with:

       

      Is the coding the same for both includes??

       

      When adding the tables to the access sequence, and mantaining the field overview, should all fields from the table we just created come from document structure KOMKBV3? In which cases should we consider selecting KOMPBV3 as document structure?

       

      Best regards,

      Omar