Skip to content

Commit

Permalink
1.7.1
Browse files Browse the repository at this point in the history
Version 1.7.1 - More Templates Correction
  • Loading branch information
LMS235 committed Sep 13, 2024
1 parent f56e942 commit 78cf47c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 3 additions & 2 deletions sap_tab_exp_imp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ export EXPCLIENT=ALL

# set global variables
export global_pwd=$(pwd)
export global_height=30
export global_width=60
export global_height=45
export global_width=80
export global_list=35
export global_title="SAP Table EXP/IMP for SystemCopy (c) Florian Lamml 2024"
export global_backtitle="SAP Table EXP/IMP for SystemCopy (c) Florian Lamml 2024"
export global_copy="(c) Florian Lamml 2024"
Expand Down
6 changes: 5 additions & 1 deletion script/sap_export_tables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
# Version 1.2 - New Tables
# Version 1.3 - Template Correction
# Version 1.4 - Minor Corrections
# Version 1.5 - Cloud ALM Template
# Version 1.6 - Corrections Cloud ALM and GTS Template
# Version 1.7 - More Templates
# Version 1.7.1 - More Templates Correction

# set config file and delete old one
export selectedtablesforexport=$EXPIMPLOC/selected_tables_for_export.conf
Expand Down Expand Up @@ -48,7 +52,7 @@ do
done

# selet the templates
dialog --title "$global_title" --backtitle "$global_backtitle" --separate-output --checklist "Select the Templates for Export:" $global_height $global_width 24 ${TEMPLATE[@]:1:$TEMPLATECOUNTER} 2> $selectedtablesforexport
dialog --title "$global_title" --backtitle "$global_backtitle" --separate-output --checklist "Select the Templates for Export:" $global_height $global_width $global_list ${TEMPLATE[@]:1:$TEMPLATECOUNTER} 2> $selectedtablesforexport
if [ $? -ne 0 ]
then
echo "ERROR: fail to select templates for export" >> $EXPIMPLOGFILE
Expand Down
6 changes: 5 additions & 1 deletion script/sap_import_tables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
# Version 1.2 - New Tables
# Version 1.3 - Template Correction
# Version 1.4 - Minor Corrections
# Version 1.5 - Cloud ALM Template
# Version 1.6 - Corrections Cloud ALM and GTS Template
# Version 1.7 - More Templates
# Version 1.7.1 - More Templates Correction

# set config file and delete old one
export exportedtables=$EXPIMPLOC/exported_tables.conf
Expand Down Expand Up @@ -70,7 +74,7 @@ do
done < $exportedtablesok

# select exported tables for import
dialog --title "$global_title" --backtitle "$global_backtitle" --separate-output --checklist "Select the exports to import:" $global_height $global_width 24 ${IMPORTEDTABLES[@]:1:$IMPORTEDTABLESCOUNTER} 2> $importtables
dialog --title "$global_title" --backtitle "$global_backtitle" --separate-output --checklist "Select the exports to import:" $global_height $global_width $global_list ${IMPORTEDTABLES[@]:1:$IMPORTEDTABLESCOUNTER} 2> $importtables
if [ $? -ne 0 ]
then
echo "ERROR: import select error" >> $EXPIMPLOGFILE
Expand Down

0 comments on commit 78cf47c

Please sign in to comment.