2008 Jun 30 1:41 PM
Greetings All,
I need to validate PO Doc header text ( i know it is free form text but it has become need of the hour). Is there a user exit I could use to validate PO header text?
I was looking at EXIT_SAPMM06E_12 and EXIT_SAPMM06E_13 but not sure if I could use it. Please advise....thanks a ton in advance.
Greetings All,
I need to validate PO Doc header text ( i know it is free form text but it has become need of the hour). Is there a user exit I could use to validate PO header text?
I was looking at EXIT_SAPMM06E_12 and EXIT_SAPMM06E_13 but not sure if I could use it. Please advise....thanks a ton in advance.
2008 Jun 30 1:45 PM
hi,
check this exit.
MM06E005 Customer fields in purchasing document
also check these badi.
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PURCHDOC_POSTED Purchasing Document Posted
2008 Jul 01 2:26 PM
2008 Jun 30 2:22 PM
Hi,
We can use either of them.
EXIT_SAPMM06E_013
I_EKKO struture of type EKKO
try ot populate the field IHREZ to get header text.
Or go with BADI
ME_PROCESS_PO->use PROCESS_HEADER->
in this IM_HEADER is of type IF_PURCHASE_ORDER_MM
-> in this use SET_DATA method the paremters of
this IM_DATA-> of type MEPOHEADER
this of type EKKO try to fill IHREZ to get header text.
Reward if helpful.
Regards
Chandralekha
2008 Jun 30 3:39 PM
Thanks much Chandralekha, I will explore the user-exits 12/13. Could you please tell me more detailed as to ...What do I need to populate in IHREZ? I want to read header text for the PO (say Text F01) and then validate the contents of it. If the contents of header text is invalid I want to show an error msg.
thanks again.
2008 Jun 30 6:10 PM
All,
This is kinda urgent...could anyone please give me some a helping hand?
thanks!
2008 Jun 30 6:59 PM
Hi,
You can this BADI
- The Business Add-In (BAdI) ME_REQ_HEADER_TEXT enables you to specify whether the header text of the reference document is to be copied as well when purchase requisitions are copied.
- The COPY_HEADER_TEXT method enables you to specify whether the header text is to be copied as well when a purchase requisition is copied.
get the fieldname of the header text and use it in the above BADI.
Reward if helpful.
Regards,
Chandralekha.
2008 Jun 30 11:22 PM
thank you Chandralekha. Unfortunately BADI or even the user exit does not help...it is called much later in the PO transactions. By then the Text is already written.
Thanks much though.
Edited by: Soumya P on Jul 1, 2008 12:23 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |