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

Parameterizing the text data recorded using SAPGUI.

Former Member
0 Likes
745

Hi all,

Is it possible to record the text input we are providing at item data level say for example,Packing item text for the transaction VA01 using SAPGUI recording.

I am able to capture the text input after recording those values inside but I am not able to parameterize so that I can change the data everytime to be given as input.

If it is possible to parameterize what steps that we need to followed?

It is urgent.

Regards,

Vishwakarma.

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
720

Hi,

I think you need to modify or create a field-exit. That will allow you to catch all value set into a field before SAP use it in the transactions.

Rgd

Frédéric

6 REPLIES 6
Read only

FredericGirod
Active Contributor
0 Likes
721

Hi,

I think you need to modify or create a field-exit. That will allow you to catch all value set into a field before SAP use it in the transactions.

Rgd

Frédéric

Read only

0 Likes
720

Hi Bikash and fredric,

I am using ECATT tool to record VAO1 in which the text needs to be maintained for a line item.

This text will vary depend upon the case and I need to parameterize it.But,as Bikash mentioned the text will not be stored like any field or data element,then is it any other way of capturing it?

Regards,

Vishwakarma.

Read only

0 Likes
720

Hi vishwakarma,

as i mentioned in my previous message, u can upload the text using function module 'SAVE_TEXT' n passing the 4 parameters. This u need to do after u have uploaded ur other details for the sales order. So, u ll have 2 sets of data in flat file. one flat fiel has sales order data which u can upload using CATT and the other file conatains only the item no. and texts related to every item. In ur text upload program, u ll have to loop thru ur data and call this FM to upload the texts.

Similarly, To read these texts from SAP, u use FM 'READ_TEXT'.

Regards,

Bikash

Read only

0 Likes
720

Thanks Bikash.

Read only

Former Member
0 Likes
720

i dont think u can use recording method to upload ur LONG TEXTS since these texts are not stored as other fields in the table. they can instead be put using FM 'SAVE_TEXT' in which u need to provide the id,object and name. These parameters u can have an idea by going into the SApscript editor of the text ( in the transaction itself, below the box where u enter the text, u have a DETAIL button, click it), then in the editor GOTO>HEADER> u ll c the parameters.

Text Name

Language

Text ID

Text object

These r to be passed to the FM to upload the text properly. The parameter NAME & ID depends on the item no.

other 2 are fixed.

Hope it helps.

regards,

Bikash

Read only

0 Likes
720

Hi Bikash and fredric,

I am using ECATT tool to record VAO1 in which the text needs to be maintained for a line item.

This text will vary depend upon the case and I need to parameterize it.But,as Bikash mentioned the text will not be stored like any field or data element,then is it any other way of capturing it?

Regards,

Vishwakarma