on 01-17-2007 9:40 PM
Hello All:
Is it possible to create a single recording that populates the same set of fields on an infotype which has country specific screens?
I need to populate the same set of field on IT 0006 for employees in different countries, however the screen layouts are different for each country and eCATT recording seems to be having an issue accepting countries other than the one for which it is recorded.
Thank you.
Hi,
you can do that but all you need to do is "you have to do multiple recordings for each and every country". I mean if there are 5 country codes then you need to record 5 times the transaction for each and every country code.
Then you need to use the branching (if...else) to pass the control to the respective TCD.
This is because eCATT totally depends on the recording. If one screen misses then script will fail.
Hope this helps.
>>reward if this helps.
kvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rao,
It is basically possible if there is no screen change for every country, but when there is a screen change based on country specific settings, The ID's of the parameters would be changed in most of the cases.
However, you do have the chance of reusing the same recording, provided all the screen fields are same for all the different screens by manipulating the ID's of the parameters and you are using SAPGUI for your recording.
You will have to do a lot of ground work inorder to make the same script re-usable like checking the ID's on each screen and keeping the static part(the part of the ID which is similar in all the cases) of the ID intact and using a parameter for the rest of the dynamic part and using the IF conditions and keep on changind the id part based on the country.
Example:
'wnd[0]/usr/subSUBSCR_CATEGORY:SAPLCOM_PRODUCT_CATEGORY_UI:2000/subSUBSCR_TABSTRIP:SAPLCOM_PRODUCT_CATEGORY_UI:0100/tblSAPLCOM_PRODUCT_CATEGORY_UITCTRL_PRCAT_FRAG_REL/ctxtCOML_DYN_PRCAT_FRAG_REL-FRGTYPE_ID[0,<!V_ROW!>]'
Inserting a parameter into an ID would be done the way the parameter V_ROW is included in the example above <!<b>PARAMETER</b>!>
Hope this information Helps.
Best regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.