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: 

How to capture Table Control value in Partners Tab in Me21N

Former Member
0 Kudos
329

Hi Please help me in finding a way to capture value entered by the user in Partner Function Column in Partners Tab in ME21N tcode.

its really urgent can anybody please help me on this.

I need this value to be used in data population in customer data Tab.

Please have a look at the attachment maybe then you would have a clear understanding

thanks alot

1 ACCEPTED SOLUTION

Former Member
0 Kudos
171

Thanks guys for the reply.

I was able to find the value using

field-symbols : <fs_bsart> type any.

ASSIGN ('(SAPLEKPA)XMMPA[]') TO <SCR>.

       IF <SCR> IS ASSIGNED.

         READ TABLE <SCR_PARVW> ASSIGNING <WA> WITH KEY ('PARVW') = 'BA'.

          if      sy-subrc = 0.

          endif.

        endif.

and using the above code i was able to find the value entered by the user.

5 REPLIES 5

daborges
Explorer
0 Kudos
171

Hi Rajat,

Do you can find this information on table EKPA.

tanks

Daniel

Former Member
0 Kudos
171

Hi Rajat,

From TPART-VTEXT you can get the value.

Regards

Purnand

Former Member
0 Kudos
171

Hi Rajat,

Check this enhancement MM06E005(EXIT_SAPMM06E_013).

Former Member
0 Kudos
172

Thanks guys for the reply.

I was able to find the value using

field-symbols : <fs_bsart> type any.

ASSIGN ('(SAPLEKPA)XMMPA[]') TO <SCR>.

       IF <SCR> IS ASSIGNED.

         READ TABLE <SCR_PARVW> ASSIGNING <WA> WITH KEY ('PARVW') = 'BA'.

          if      sy-subrc = 0.

          endif.

        endif.

and using the above code i was able to find the value entered by the user.

0 Kudos
171

Hi Rajat,

I am also trying the same in me21n, but didn't able to get the value. Can you please elaborate the above solution in detail. Pls view the attached file for more details.

Regards,

Vishwas