‎2013 Apr 29 9:39 AM
Hi,
I have created a variant of a table using program /1BCDWB/DB****. Here, '****' is any standard table name.
Now, After that if any one changes the field selection of the table.
Batch job fails with runtime error as "CONNE_IMPORT_WRONG_COMP_LENG". and also while viewing the variant gives error message as
"Variant TEST of program /1BCDWB/DB**** is not the current version"
Now, After that if i am resetting the table fields again, So, Variant can be viewed and batch job can be processed.
But i need permanent solution, As I can not stop users to change the selection parameters of Table.
Thanks And Regards,
Akber Husain
‎2013 May 01 6:44 PM
Thanks to all for your valuable inputs !!!
To create a query rather than table variant run in the batch job seems as a good option and we are planing to go with it.
Closed!!!
Thanks Again.
Akber Husain
‎2013 Apr 29 9:45 AM
Allowing users to run via SE16 or running the batch job via table variant is not a good approach.
Simply create a SQ01 query for the database table you want e.g. VBAK and then give authorization to users in running this query.
This should be a good solution.
‎2013 Apr 29 9:45 AM
The program name /1BCDWB/* is generated at runtime based on dynamic selections. Better use the table name and for your batch job you can create a wrapper program.
‎2013 Apr 29 9:56 AM
‎2013 Apr 29 9:58 AM
Hi,
The below link may be useful to you.
http://www.stechno.net/sap-notes.html?view=sapnote&id=481183
Regards
Raja
‎2013 May 01 6:44 PM
Thanks to all for your valuable inputs !!!
To create a query rather than table variant run in the batch job seems as a good option and we are planing to go with it.
Closed!!!
Thanks Again.
Akber Husain