This document is to explain how to add a new tab Purchasing Documents as per Vendor Price List in the ME32K (Change Contract) transaction for the collective search help of field Agreement (EVRTN = EBELN ).
The collective search help for this is MEKK.
Before adding a new tab the search help (F4) of Agreement in the ME32K transaction is:
Now the requirement is to add a new tab Purchasing Documents as per Vendor Price List as follows.
To get the desired result we need to append the elementary search help to MEKK.
Steps to Proceed:
· Create the database view ZRS_V_VPL_RFP.
· Create the elementary search help ZRS_SHL_VPL_RFP and use the database view ZRS_V_VPL_RFQas selection method in this search help.
· Include the elementary search help ZRS_SHL_VPL_RFP in the appended search helpZRS_SHL_VPLRFP of collective search help MEKK.
Database view ZRS_V_VPL_RFP:
Create the Database view ZRS_V_VPL_RFP and use this as selection method in Elementary search help ZRS_SHL_VPL_RFP.
Go to SE11 provide view name as ZRS_V_VPL_RFP and click on the create button.
It prompts for the view type, here select the Database view and click on the COPY button.
Enter the short description and TABLE/JOIN Conditions as follows.
Select View Fields tab and provide the details as follows.
Now select the selection conditions tab and provide the details as follows
Activate the view. Execute it and pass the WBS element value as follows.
WBS element 35000-1 (output format) = WBS element 00002827 (internal format).
The Output is:
Purchasing document we got is 45000017365.
Use this view in the selection method of elementary search help ZRS_SHP_VPL_RFP.
Elementary Search Help ZRS_SHP_VPL_RFP:
Go to SE11 provide the search help name ZRS_SHP_VPL_RFP and click on the create button.
Provide the short description and use the above created view ZRS_V_VPL_RFP as the selection method and enter the other details as follows.
Remember to check the EBELN as export parameter.
Activate the search help.
Execute it and provide the WBS element, 35000-1 in A screen then B screen will pop up there select any item.
As the EBELN (Purchasing Document no) is export parameter it gets populated as follows.
The EBELN is populated and this search help is working fine.
Include this search help ZRS_SHL_VPL_RFP in the appended search help ZRS_SHL_VPL_RFP of MEKK collective search help.
Append Search Help ZRS_SHL_VPL_RFP in ME32K:
In SE11 go to MEKK search help it takes you to the below screen there you select the included search helps tab.
Go to menu GOTO->Append Search Help or press F5 button the below pop up screen gets displayed.
Click on the create button and provide name ZRS_SHL_VPLRFP then click on the continue button.
The below screen gets displayed, provide the short text, select the Include search help tab there add the above created elementary search help ZRS_SHL_VPL_RFP and click on the param. assignment button.
Confirmation screen will pop up to propose a parameter assignment, click on YES button as specified in the below screen. (Don’t forget the param. assignment)
The following screen will be displayed just click on the COPY button.
Now activate it. We have successfully appended the search help ZRS_SHL_VPLRFP in MEKK.
Check the same in ME32K transaction.
ME32K – Change Contract
Go to ME32K transaction and click on F4 button of Agreement, the below screen will pop up where we can see our newly created tab Purchasing Documents as per Vendor Price List. Input the WBS element as35000-1 and click on the continue button.
The below screen gets displayed, select any line item.
Agreement gets populated with purchasing document number as follows.
Now we have got the desired result.
No comments:
Post a Comment