Application Development 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: 

defaulting header texts in ME21n texts tab

former_member191728
Active Participant
0 Kudos

Hi Experts

I got a requirement where the shipping type texts in Header Texts tab should be defaulted in me21n transaction

When user open me21n transaction and enter the details like order type vendor number , material number po quantity plant storage

and hit enter

then automatically the Shipping Item text in Texts tab of PO header tab should be defaulted with the value belonging with the Shipping Item.

Shipping Item is obtained from route table

so basing on route value shipping Item should be determined  and after that get the text of the shipping Item

I need an user exit /Badi where we can achieve this functionality

Thanks

Pawan Akella

1 ACCEPTED SOLUTION

former_member191728
Active Participant
0 Kudos

problem solved

4 REPLIES 4

philipdavy
Contributor
0 Kudos
  • Did you have a check on BADI, ME_PROCESS_PO_CUST?
  • Using the method,  PROCESS_HEADER. would be handy for your requirement. Interface: IF_PURCHASE_ORDER_MM and use method IF_LONGTEXTS_MM-SET_TEXT.
  • Read the documentation of this BADI.

Regards,

Philip.

0 Kudos

Hi Philip

I tried that badi. It is not satisfying my requirement

The Shipping Type is fetched from tvro table based on route value

so when the user enters the item details and press enter

Internally route value is calculated

based on that route value i need to fetch the shipping type and after that its text

and populate that text in shipping type texts under texts tab at header level

former_member191728
Active Participant
0 Kudos

problem solved

madhaviv
Explorer
0 Kudos

Hi Pawan,

We are also facing the same issue for past 1 month and we couldn't resolve.

Can you post the solution please.

-Madhavi