This is my first Blog, in this blog i will share my experience with adding an additional selection field (pop-up) in VA05 transaction.
In SDN, i came across many threads for additional selection fields in VA05 and found several OSS Notes, but could find the required field in the list of which SAP provides.
By using enhancement spot, we can add additional selection field by using a pop-up screen for the field.
Create a Function Module program with a pop-up screen of the required field. For Eg. I created a popup screen for requested delivery date in FM Z_VA05_POPUP as shown below.
Provide GUI Status and PF status for the pop-up screen as per your requirement.
Write a logic to read from pop-up screen in PAI module.
In FM RV_SALES_DOCUMENT_VIEW_3, create an enhancement spot on ES_SAPLV05T on section RV_SALES_DOCUMENT_VIEW_3_06.
This Enhancement spot will trigger right after the select statement based on selection screen parameters. All data will be stored in internal table VBAK_TAB.
Provide the logic in ENHANCEMENT-SECTION to invoke pop-up screen for additional seelction screen fields.
Filter the internal table VBAK_TAB with the new selection screen parameters from pop-up screen. Change the logic as per your requirement.
The VA05 screen with requested Delivery date popup looks like…
Hope to get valuable suggestions from experts….