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: 

READ STANDARD TEXT BEFORE SAVING A PURCHASE ORDER IN ME21N

Former Member
0 Kudos

HI All,

i have requirement in which i need to get the standard text for the header and Item before saving the PO in ME21N.

because in ME21N , before saing the EBELN is not created yet.

How do we proceed in this case.

Can any one tell me how does the Std Program for MEDRUCK handle this.

Thanks and Regards,

Vikki.

5 REPLIES 5

former_member156446
Active Contributor
0 Kudos

hi

I tried creating a PO and with out saving it .. I found as the below details:

text ID : F01

text Object : EKKO

former_member188685
Active Contributor
0 Kudos

the medruck form will trigger in the update task. so when it reaches the driver program SAPFM06P , purchase order number will be available.

0 Kudos

Hi Vijay,

How can we bring in that Update task in our custom Smartform and modified medruck program.

Can you give me some tips on how to do it.

Thank U.

vikki

0 Kudos

analyze this SAPFM06P, you can get the number from nast.

0 Kudos

Hi All,

I am clueless in getting the TEXTs for PO before saving it.

I debugged the std program.

It is using tables T166K and T166P. but i dont understand where i gets the EBELN for the TDNAME for getting the Standard text.

Please , help me solving this.

Vikki.