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

User Exit or BADI for VA02-Text editor Functionality

Former Member
0 Likes
866

Hi experts,

Can anyone of you please provide me the User exit or BADI name for the tcode VA02 to call the Function Modules related to TEXT Editor?

**********Issues********

I have an Order eg.110022345...Under that Order,there are many line items...Say if i select one line item and change its Schedule line date,then that line item will get cancel and in turn an corresponding New line item will get ceated.

However,the Content of the TEXT fields is not copied to the line item from the parent line item.

I guess the STD SAP code functions in that way.So i thought of writting an Zcode to apply this functionality by using the Function modules "SAVE_TEXT" and "READ_TEXT_INLINE".

In order to do this i need to know the User exit or BADI which is suitable for my requirment.

Requesting you to help me in this case..

Thanks in advans:)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
683

Hi

How you are copying the contents of current line into new line ?

May be there you can read the texts for the current line and copy it to the new line using function module 'CREATE_TEXT'.

Best Regards,

Nikhil Patil

3 REPLIES 3
Read only

Former Member
0 Likes
684

Hi

How you are copying the contents of current line into new line ?

May be there you can read the texts for the current line and copy it to the new line using function module 'CREATE_TEXT'.

Best Regards,

Nikhil Patil

Read only

0 Likes
683

Hi Nikhil,

Thanks for your reply.

I will get the text from the old line item using Function module "READ_TEXT_INLINE" and save it to new line item using function module "SAVE_TEXT"..

Now i want to know which is suitable User exit or BADI for text editors.

Read only

0 Likes
683

Hi

Try USEREXIT_MOVE_FIELD_TO_VBAP in userexit MV45AFZZ.

I'm not sure but may be you need to use FM 'CREATE_TEXT' instead of 'SAVE_TEXT'.

First try with "SAVE_TEXT" if it won't work then use 'CREATE_TEXT'.

Best Regards,

Nikhil Patil