Traceability Text in VF03 T-code & also on reports FBL5N & FBL3N
2023-11-2 23:34:41 Author: blogs.sap.com(查看原文) 阅读量:8 收藏

Hello Enthusiastic Buddies,

I hope everyone are doing well 😊

In this blog, I am glad to share & discuss about the ‘Traceability text in VF03 T-code & also on reports FBL5N & FBL3N’.

Introduction

Recently, I got a

Requirement : To enhance the functionality of text which is maintained during sales order creation (  VA01 ) under item level. When we pass the sales order ID in ( VF01 ) Billing document is generated. Please check the below screen shot.

When we double click on item 1 in the above screen shot. We get the below screen, please check the below screen shot. In this there is a provision for maintenance of item text under item text tab.

After maintaining the text and user clicks on accounting button as you can see from the above screen shot. A pop up appears as shown.

Now double click on accounting document which is highlighted in the above image. The following screen appears as shown.

Now double click on item level which is highlighted in the above image. The following screen appears as shown.

In the above screen shot, there is an area which is highlighted for the text ( field ) to be maintained which is empty as of now. The text whichever is maintained in the item texts tab under item level of invoice need to appear in the highlighted area of the text( field ).

To achieve the above requirement, I have followed the below steps.

Steps:

  1. Firstly, we need to find the function exit to enhance the functionality.
  2. I have identified the function exit by placing the external break point in the exit and name of the function exit is EXIT_SAPLV60B_008. Please refer to the below screenshot.
  3. Maintain the logic in the highlighted include zxvvfu08 from the above screenshot.
  4. The logic for the traceability text is shown below.
  5. Call the FM : READ_TEXT. Fill the required parameters, Refer to the below screenshot.
  6. From the above FM the text is captured into internal table ( lines[] ). Finally, this internal table is looped accordingly and the text is captured in structure xaccit and the field name is sgtxt. This ( sgtxt ) field refers to text ( field ) in VF03 T-code.

Result :

Summary:

By following the above steps, we can enhance the functionality of ‘Traceability text’ in VF03 t-code and, we can have the result in the reports of FBL5N & FBL3N.

I hope this blog will be helpful 😊

Thank you for reading…!

Please provide your valuable feedback on comment section, if you do like the blog, please hit the like button and if you think this blog is helpful, please do share the link with your co-enthusiastic learners.

–Please do follow Ganesh Kumar for more such exciting blog posts which are loading up.

Thanks & Regards,

Ganesh Kumar.


文章来源: https://blogs.sap.com/2023/11/02/traceability-text-in-vf03-t-code-also-on-reports-fbl5n-fbl3n/
如有侵权请联系:admin#unsafe.sh