2010 Apr 08 11:49 AM
Hi All,
My requirement is to add an custom tab to ME22N transaction screen if there is an attachment in the PO.
Please advise.
Thanks
Abhijeet K
Hi All,
My requirement is to add an custom tab to ME22N transaction screen if there is an attachment in the PO.
Please advise.
Thanks
Abhijeet K
2010 Apr 08 12:40 PM
Hi Abhijit,
There is a Screen Exit Available for additional tab in PO screen.
Go to transaction CMOD. Create a Project and attach Exit - MM06E005 - Customer fields in purchasing document.
Go through the documentation of Exit componant.
Create sub screen 101 for PO Customer data at header level and
111 for PO Customer data at item level.
List of Exits under MM06E005 are:
u2022 EXIT_SAPMM06E_006 u2013 Export Data to Customer Subscreen for Purchasing Document Header (PBO)
u2022 EXIT_SAPMM06E_008 u2013 Import Data from Customer Subscreen for Purchasing Document Header
u2022 EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
u2022 EXIT_SAPMM06E_012 u2013 Check Customer-Specific Data Before Saving
u2022 EXIT_SAPMM06E_016 u2013 Export Data to Customer Subscreen for Purchasing Document Item (PBO)
u2022 EXIT_SAPMM06E_017 u2013 Export Data to Customer Subscreen for Purchasing Document Item (PAI)
u2022 EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
you can write your logic in concerned exit.
Regards,
Amee.
2010 Apr 08 12:53 PM
Thanks Amee.
To write the logic its necessary to know where these attachments get stored in SAP (tables ?).
Any idea ?
2010 Jun 01 11:26 AM
Hi,
For the project you create, you'll get two structure CI_EKKODB and CI_EKPODB which are nothing but added structures to standard tables EKKO and EKPO respectively.
Whatever Custom fields have been added and written logic for will get stored in to ekko and ekpo tables only.
Regards,
Amee Tewar