2006 Feb 20 7:27 AM
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.
2006 Feb 20 7:29 AM
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
2006 Feb 20 7:29 AM
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
2006 Feb 20 8:50 AM
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.
2006 Feb 20 9:03 AM
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
2006 Feb 20 9:30 AM
2006 Feb 20 7:39 AM
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
2006 Feb 20 8:53 AM
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