Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PO HEADER TEXT - USER EXIT

Former Member
0 Likes
3,298

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.

7 REPLIES 7
Read only

GauthamV
Active Contributor
0 Likes
1,989

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

Read only

Former Member
0 Likes
1,989

thx.

Read only

Former Member
0 Likes
1,989

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

Read only

0 Likes
1,989

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.

Read only

0 Likes
1,989

All,

This is kinda urgent...could anyone please give me some a helping hand?

thanks!

Read only

Former Member
0 Likes
1,989

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.

Read only

0 Likes
1,989

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