FTR_SUBSCR Function Group Download in a EHP4 version
Hi Guys
Im facing an upgrade from 4.6C to an Ecc 6.0 and unfortunally my client had the brilliant idea to install the EHP4 in your QAS system but ddnt installed in the DEV system...
I dont need to mention that transporting the requests from DEV to QAS some of them gave errors..
What i need now it's the FTR_SUBSCR function group EHP4 version in order to compare in the DEV system version but im not getting to the original version thru SE95..
Can anyone donwload this function group in and version with the EHP4 instaled and send it to me? i'll be appreciated.
johnny_martinsAThotmail.com
thanks in advance
Best Regards
João Martins
Edited by: joao martins on Nov 3, 2009 11:26 PM
Z program to download all Z programs,
refer the post by " Arun Sambargi"
check this link,will be useful for you.
Regards
Srikanth
Message was edited by: Srikanth Kidambi
Similar Messages
-
Is there any program to download function group?
Hi
I just want to download whole function group and dictionary object (table type and structure) in specific package.
not need to table contents though.
is there anyway to download these object quick?Hi
You can try this code
[code]tables: trdir, seoclass, tfdir, enlfdir, dd02l.
Types
text element structure
types: tTextTable like textpool.
GUI titles
types: tGUITitle like d347t.
Message classes
types: begin of tMessage,
arbgb like t100-arbgb,
stext like t100a-stext,
msgnr like t100-msgnr,
text like t100-text,
end of tMessage.
Screen flow.
types: begin of tScreenFlow,
screen like d020s-dnum,
code like d022s-line,
end of tScreenFlow.
Holds a table\structure definition
types: begin of tDictTableStructure,
fieldname like dd03l-fieldname,
position like dd03l-position,
keyflag like dd03l-keyflag,
rollname like dd03l-rollname,
domname like dd03l-domname,
datatype like dd03l-datatype,
leng like dd03l-leng,
ddtext like dd04t-ddtext,
end of tdictTableStructure.
Holds a tables attributes + its definition
types: begin of tDictTable,
tablename like dd03l-tabname,
tableTitle like dd02t-ddtext,
iStructure type tDictTableStructure occurs 0,
end of tDictTable.
Include program names
types: begin of tInclude,
includeName like trdir-name,
includeTitle like tftit-stext,
end of tInclude.
Exception class texts
types: begin of tConcept,
constName type string,
concept type sotr_conc,
end of tConcept.
Method
types: begin of tMethod,
cmpName like vseomethod-cmpname,
descript like vseomethod-descript,
exposure like vseomethod-exposure,
methodKey type string,
end of tMethod.
Class
types: begin of tClass,
scanned(1),
clsname like vseoclass-clsname,
descript like vseoclass-descript,
msg_id like vseoclass-msg_id,
exposure like vseoclass-exposure,
state like vseoclass-state,
clsfinal like vseoclass-clsfinal,
r3release like vseoclass-r3release,
iMethods type tMethod occurs 0,
iDictStruct type tDictTable occurs 0,
iTextElements type tTextTable occurs 0,
iMessages type tMessage occurs 0,
iConcepts type tConcept occurs 0,
textElementKey type string,
publicClassKey type string,
privateClassKey type string,
protectedClassKey type string,
typesClassKey type string,
exceptionClass type i,
end of tClass.
function modules
types: begin of tFunction,
functionName like tfdir-funcName,
functionGroup like enlfdir-area,
includeNumber like tfdir-include,
functionMainInclude like tfdir-funcName,
functionTitle like tftit-stext,
topIncludeName like tfdir-funcName,
progname like tfdir-pname,
programLinkName like tfdir-pname,
messageClass like t100-arbgb,
iTextElements type tTextTable occurs 0,
iSelectiontexts type tTextTable occurs 0,
iMessages type tMessage occurs 0,
iIncludes type tInclude occurs 0,
iDictStruct type tDictTable occurs 0,
iGUITitle type tGUITitle occurs 0,
iScreenFlow type tScreenFlow occurs 0,
end of tFunction.
types: begin of tProgram,
progname like trdir-name,
programTitle like tftit-stext,
subc like trdir-subc,
messageClass like t100-arbgb,
iMessages type tMessage occurs 0,
iTextElements type tTextTable occurs 0,
iSelectiontexts type tTextTable occurs 0,
iGUITitle type tGUITitle occurs 0,
iScreenFlow type tScreenFlow occurs 0,
iIncludes type tInclude occurs 0,
iDictStruct type tDictTable occurs 0,
end of tProgram.
Internal tables
Dictionary object
data: iDictionary type standard table of tDictTable with header line.
Function modules.
data: iFunctions type standard table of tFunction with header line.
Tree display structure.
data: iTreeDisplay type standard table of snodetext with header line.
Message class data
data: iMessages type standard table of tMessage with header line.
Holds a single message class an all of its messages
data: iSingleMessageClass type standard table of tMessage with header line.
Holds program related data
data: iPrograms type standard table of tProgram with header line.
Classes
data: iClasses type standard table of tClass with header line.
Table of paths created on the SAP server
data: iServerPaths type standard table of string with header line.
Table prototypes
data: dumiDictStructure type standard table of tDictTableStructure.
data: dumiTextTab type standard table of tTextTable.
data: dumiIncludes type standard table of tInclude.
data: dumiHtml type standard table of string.
data: dumiHeader type standard table of string .
data: dumiScreen type standard table of tScreenFlow .
data: dumIGUITitle type standard table of tGUITitle.
data: dumiMethods type standard table of tMethod.
data: dumiConcepts type standard table of tConcept.
Global objects
data: objFile type ref to cl_gui_frontend_services.
data: objRuntimeError type ref to cx_root.
Constants
constants: VERSIONNO type string value '1.3.1'.
constants: TABLES type string value 'TABLES'.
constants: TABLE type string value 'TABLE'.
constants: LIKE type string value 'LIKE'.
constants: TYPE type string value 'TYPE'.
constants: TYPEREFTO type string value 'TYPE REF TO'.
constants: STRUCTURE type string value 'STRUCTURE'.
constants: LOWSTRUCTURE type string value 'structure'.
constants: OCCURS type string value 'OCCURS'.
constants: FUNCTION type string value 'FUNCTION'.
constants: CALLFUNCTION type string value ' CALL FUNCTION'.
constants: MESSAGE type string value 'MESSAGE'.
constants: INCLUDE type string value 'INCLUDE'.
constants: LOWINCLUDE type string value 'include'.
constants: DESTINATION type string value 'DESTINATION'.
constants: IS_TABLE type string value 'T'.
constants: IS_PROGRAM type string value 'P'.
constants: IS_SCREEN type string value 'S'.
constants: IS_GUITITLE type string value 'G'.
constants: IS_DOCUMENTATION type string value 'D'.
constants: IS_MESSAGECLASS type string value 'MC'.
constants: IS_FUNCTION type string value 'F'.
constants: IS_CLASS type string value 'C'.
constants: IS_METHOD type string value 'M'.
constants: ASTERIX type string value '*'.
constants: COMMA type string value ','.
constants: PERIOD type string value '.'.
constants: DASH type string value '-'.
constants: TRUE type i value 1.
constants: FALSE type i value 0.
constants: LT type string value '<'.
constants: GT type string value '>'.
constants: UNIX type string value 'UNIX'.
constants: NON_UNIX type string value 'not UNIX'.
constants: BACKGROUND_COLOUR type string value '#FFFFE0'.
constants: COLOUR_WHITE type string value '#FFFFFF'.
constants: COLOUR_BLACK type string value '#000000'.
constants: COLOUR_YELLOW type string value '#FFFF00'.
constants: COMMENT_COLOUR type string value '#0000FF'.
constants: HTMLEXTENSION type string value 'html'.
constants: TEXTEXTENSION type string value 'txt'.
Global variables
data: statusBarMessage(100).
data: forcedExit type i value 0.
data: startTime like sy-uzeit.
data: runTime like sy-uzeit.
data: downloadFileExtension type string.
data: downloadFolder type string.
data: serverSlashSeparator type string.
data: frontendSlashSeparator type string.
data: slashSeparatorToUse type string.
data: serverFilesystem type filesys_d.
data: serverFolder type string.
data: frontendOpSystem type string.
data: serverOpSystem type string.
data: customerNameSpace type string.
ranges: soProgramName for trdir-name.
ranges: soAuthor for usr02-bname.
ranges: soTableNames for dd02l-tabname.
ranges: soFunctionName for tfdir-funcName.
ranges: soClassName for vseoclass-clsname.
ranges: soFunctionGroup for enlfdir-area.
field-symbols: <waDictStruct> type tDictTable.
Selection screen declaration
Author
selection-screen: begin of block b1 with frame title tBlock1.
selection-screen begin of line.
selection-screen comment 5(23) tAuth.
parameters: pAuth like usr02-bname memory id MAUTH.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(36) tPmod.
parameters: pMod as checkbox.
selection-screen end of line.
Local objects
selection-screen begin of line.
selection-screen comment 5(36) t$tmp.
parameters: p$tmp as checkbox default ''.
selection-screen end of line.
selection-screen: end of block b1.
selection-screen begin of block b2 with frame title tBlock2.
Tables
selection-screen begin of line.
parameters: rTable radiobutton group r1.
selection-screen comment 5(15) tRtable.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 10(15) tPtable.
select-options: soTable for dd02l-tabname.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 10(79) tTnote.
selection-screen end of line.
Message classes
selection-screen begin of line.
parameters: rMess radiobutton group r1.
selection-screen comment 5(18) tPMes.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 10(18) tMname.
parameters: pMname like t100-arbgb memory id MMNAME.
selection-screen end of line.
Function modules
selection-screen begin of line.
parameters: rFunc radiobutton group r1.
selection-screen comment 5(30) tRfunc.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 10(15) tPfname.
select-options: soFname for tfdir-funcName.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 10(15) tFgroup.
select-options: soFgroup for enlfdir-area.
selection-screen end of line.
Classes
selection-screen begin of line.
parameters: rClass radiobutton group r1.
selection-screen comment 5(30) tRClass.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 10(15) tPcName.
select-options: soClass for seoclass-clsname.
selection-screen end of line.
Programs / includes
selection-screen begin of line.
parameters: rProg radiobutton group r1 default 'X'.
selection-screen comment 5(18) tProg.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 10(15) tRpname.
select-options: soProg for trdir-name.
selection-screen end of line.
selection-screen skip.
Language
selection-screen begin of line.
selection-screen comment 1(18) tMLang.
parameters: pMLang like t100-sprsl default 'EN'.
selection-screen end of line.
Package
selection-screen begin of line.
selection-screen comment 1(18) tPack.
parameters: pPack like tadiv-devclass memory id MPACK.
selection-screen end of line.
Customer objects
selection-screen begin of line.
selection-screen comment 1(27) tCust.
parameters: pCust as checkbox default 'X'.
selection-screen comment 32(25) tNRange.
parameters: pCName type namespace memory id MNAMESPACE.
selection-screen end of line.
selection-screen: end of block b2.
Additional things to download.
selection-screen: begin of block b3 with frame title tBlock3.
selection-screen begin of line.
selection-screen comment 1(33) tPtext.
parameters: pText as checkbox default 'X' memory id MTEXT.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(33) tMess.
parameters: pMess as checkbox default 'X' memory id MMESS.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(33) tPinc.
parameters: pInc as checkbox default 'X' memory id MINC.
selection-screen comment 40(20) tRecc.
parameters: pReci as checkbox default 'X' memory id MRECI.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(33) tPfunc.
parameters: pFunc as checkbox default 'X' memory id MFUNC.
selection-screen comment 40(20) tRecf.
parameters: pRecf as checkbox default 'X' memory id MRECF.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(33) tDoc.
parameters: pDoc as checkbox default 'X' memory id MDOC.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(33) tPscr.
parameters: pScr as checkbox default 'X' memory id MSCR.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(33) tPdict.
parameters: pDict as checkbox default 'X' memory id MDICT.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(33) tSortT.
parameters: pSortT as checkbox default ' ' memory id MSORTT.
selection-screen end of line.
selection-screen: end of block b3.
File details
selection-screen: begin of block b4 with frame title tBlock4.
selection-screen begin of line.
selection-screen comment 1(20) tPhtml.
parameters: pHtml radiobutton group g1 default 'X'.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(29) tComm.
parameters: pComm as checkbox default 'X'.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(29) tBack.
parameters: pBack as checkbox default 'X'.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) tPtxt.
parameters: pTxt radiobutton group g1.
selection-screen end of line.
selection-screen skip.
Download to SAP server
selection-screen begin of line.
selection-screen comment 1(25) tServ.
parameters: pServ radiobutton group g2.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 8(20) tSPath.
parameters: pLogical like filename-fileintern memory id MLOGICAL.
selection-screen end of line.
selection-screen comment /28(60) tSDPath.
Download to PC
selection-screen begin of line.
selection-screen comment 1(25) tPc.
parameters: pPc radiobutton group g2 default 'X'.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 8(20) tPpath.
parameters: pFolder like rlgrap-filename memory id MFOLDER.
selection-screen end of line.
selection-screen: end of block b4.
Display options
selection-screen: begin of block b5 with frame title tBlock5.
Display final report
selection-screen begin of line.
selection-screen comment 1(33) tRep.
parameters: pRep as checkbox default 'X'.
selection-screen end of line.
Display progress messages
selection-screen begin of line.
selection-screen comment 1(33) tProMess.
parameters: pProMess as checkbox default 'X'.
selection-screen end of line.
selection-screen: end of block b5.
Display a directory picker window
at selection-screen on value-request for pFolder.
data: objFile type ref to cl_gui_frontend_services.
data: pickedFolder type string.
data: initialFolder type string.
if sy-batch is initial.
create object objFile.
if not pFolder is initial.
initialFolder = pFolder.
else.
objFile->get_temp_directory( changing temp_dir = initialFolder
exceptions cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3 ).
endif.
objFile->directory_browse( exporting initial_folder = initialFolder
changing selected_folder = pickedFolder
exceptions cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3 ).
if sy-subrc = 0.
pFolder = pickedFolder.
else.
write: / 'An error has occured picking a folder'.
endif.
endif.
at selection-screen.
case 'X'.
when pPc.
if pFolder is initial.
User must enter a path to save to
message e000(oo) with 'You must enter a file path'.
endif.
when pServ.
if pLogical is initial.
User must enter a logical path to save to
message e000(oo) with 'You must enter a logical file name'.
endif.
endcase.
at selection-screen on pLogical.
if not pServ is initial.
call function 'FILE_GET_NAME' exporting logical_filename = pLogical
importing file_name = serverFolder
exceptions file_not_found = 1
others = 2.
if sy-subrc = 0.
if serverFolder is initial.
message e000(oo) with 'No file path returned from logical filename'.
else.
Path to display on the selection screen
tSDPath = serverFolder.
Remove the trailing slash off the path as the subroutine buildFilename will add an extra one
shift serverFolder right deleting trailing serverSlashSeparator.
shift serverFolder left deleting leading space.
endif.
else.
message e000(oo) with 'Logical filename does not exist'.
endif.
endif.
at selection-screen on value-request for soProg-low.
call function 'REPOSITORY_INFO_SYSTEM_F4' exporting object_type = 'PROG'
object_name = soProg-low
suppress_selection = 'X'
use_alv_grid = ''
without_personal_list = ''
importing object_name_selected = soProg-low
exceptions cancel = 1.
at selection-screen on value-request for soProg-high.
call function 'REPOSITORY_INFO_SYSTEM_F4' exporting object_type = 'PROG'
object_name = soProg-high
suppress_selection = 'X'
use_alv_grid = ''
without_personal_list = ''
importing object_name_selected = soProg-high
exceptions cancel = 1.
at selection-screen on value-request for soClass-low.
call function 'F4_DD_ALLTYPES' exporting object = soClass-low
suppress_selection = 'X'
display_only = ''
only_types_for_clifs = 'X'
importing result = soClass-low.
at selection-screen on value-request for soClass-high.
call function 'F4_DD_ALLTYPES' exporting object = soClass-high
suppress_selection = 'X'
display_only = ''
only_types_for_clifs = 'X'
importing result = soClass-high.
at selection-screen on value-request for soFName-low.
call function 'REPOSITORY_INFO_SYSTEM_F4' exporting object_type = 'FUNC'
object_name = soFname-low
suppress_selection = 'X'
use_alv_grid = ''
without_personal_list = ''
importing object_name_selected = soFName-low
exceptions cancel = 1.
at selection-screen on value-request for soFName-high.
call function 'REPOSITORY_INFO_SYSTEM_F4' exporting object_type = 'FUNC'
object_name = soFname-high
suppress_selection = 'X'
use_alv_grid = ''
without_personal_list = ''
importing object_name_selected = soFName-high
exceptions cancel = 1.
at selection-screen on value-request for soFGroup-low.
call function 'REPOSITORY_INFO_SYSTEM_F4' exporting object_type = 'FUGR'
object_name = soFGroup-low
suppress_selection = 'X'
use_alv_grid = ''
without_personal_list = ''
importing object_name_selected = soFGroup-low
exceptions cancel = 1.
at selection-screen on value-request for soFGroup-high.
call function 'REPOSITORY_INFO_SYSTEM_F4' exporting object_type = 'FUGR'
object_name = soFGroup-high
suppress_selection = 'X'
use_alv_grid = ''
without_personal_list = ''
importing object_name_selected = soFGroup-high
exceptions cancel = 1.
initialisation
initialization.
Parameter screen texts.
tBlock1 = 'Author (Optional)'.
t$tmp = 'Programs only: include local objects'.
tBlock2 = 'Objects to download'.
tBlock3 = 'Additional downloads for programs, function modules and classes'.
tBlock4 = 'Download parameters'.
tBlock5 = 'Display options'.
tAuth = 'Author name'.
tPmod = 'Include programs modified by author'.
tCust = 'Only customer objects'.
tNRange = 'Alt customer name range'.
tRtable = 'Tables / Structures'.
tPtable = 'Table name'.
tTnote = 'Note: tables are stored under the username of the last person who modified them'.
tRfunc = 'Function modules'.
tPfname = 'Function name'.
tFgroup = 'Function group'.
tRClass = 'Classes'.
tPcname = 'Class name'.
tMess = 'Message class'.
tMName = 'Class name'.
tMLang = 'Language'.
tProg = 'Programs'.
tRpname = 'Program name'.
tPack = 'Package'.
tPtxt = 'Text document'.
tPhtml = 'HTML document'.
tComm = 'Highlight comments'.
tBack = 'Include background colour'.
tPtext = 'Text elements'.
tPinc = 'Include programs'.
tRecc = 'Recursive search'.
tPpath = 'File path'.
tSPath = 'Logical file name'.
tPmes = 'Message classes'.
tPfunc = 'Function modules'.
tDoc = 'Function module documentation'.
tRecf = 'Recursive search'.
tPscr = 'Screens'.
tPdict = 'Dictionary structures'.
tSortT = 'Sort table fields alphabetically'.
tServ = 'Download to server'.
tPc = 'Download to PC'.
tRep = 'Display download report'.
tProMess = 'Display progress messages'.
Determine the frontend operating system type.
if sy-batch is initial.
perform determineFrontendOPSystem using frontendSlashSeparator frontendOpSystem.
endif.
perform determineServerOpsystem using serverSlashSeparator serverFileSystem serverOpsystem.
Determine if the external command exists. If it doesn't then disable the server input field
perform findExternalCommand.
start-of-selection.
start-of-selection.
perform checkComboBoxes.
perform fillSelectionRanges.
startTime = sy-uzeit.
Don't display status messages if we are running in the background
if not sy-batch is initial.
pProMess = ''.
endif.
Fool the HTML routines to stop them hyperlinking anything with a space in them
if pCName is initial.
customerNameSpace = '^'.
else.
customerNameSpace = pCName.
endif.
Determine which operating slash and download directory to use
case 'X'.
when pPc.
slashSeparatorToUse = frontendSlashSeparator.
downloadFolder = pFolder.
when pServ.
slashSeparatorToUse = serverSlashSeparator.
downloadFolder = serverFolder.
endcase.
Main program flow.
case 'X'.
Select tables
when rTable.
perform retrieveTables using iDictionary[]
soTableNames[]
soAuthor[].
Select message classes tables
when rMess.
perform retrieveMessageClass using iMessages[]
soAuthor[] "Author
pMname "Message class name
pMLang "Message class language
pMod. "Modified by author
Select function modules
when rFunc.
perform retrieveFunctions using soFunctionName[] "Function name
soFunctionGroup[] "Function group
iFunctions[] "Found functions
soAuthor[] "Author
pText "Get text elements
pScr "Get screens
pCust "Customer data only
customerNameSpace. "Customer name range
loop at iFunctions.
Find Dict structures, messages, functions, includes etc.
perform scanForAdditionalFuncStuff using iFunctions[]
pRecI "Search for includes recursively
pRecF "Search for functions recursively
pInc "Search for includes
pFunc "Search for functions
pDict "search for dictionary objects
pMess "Search for messages
pCust "Customer data only
customerNameSpace. "Customer name range
endloop.
Select Classes
when rClass.
perform retrieveClasses using iClasses[]
iFunctions[]
soClassName[] "Class name
soAuthor[] "Author
customerNameSpace "Customer name range
pMod "Also modified by author
pCust "Customer object only
pMess "Find messages
pText "Text Elements
pDict "Dictionary structures
pFunc "Get functions
pInc "Get includes
pRecF "Search recursively for functions
pRecI "Search recursively for includes
'X' "Search recursively for classes
pMLang. "Language
loop at iFunctions.
Find Dict structures, messages, functions, includes etc.
perform scanForAdditionalFuncStuff using iFunctions[]
pRecI "Search for includes recursively
pRecF "Search for functions recursively
pInc "Search for includes
pFunc "Search for functions
pDict "search for dictionary objects
pMess "Search for messages
pCust "Customer data only
customerNameSpace. "Customer name range
endloop.
Select programs
when rProg.
perform retrievePrograms using iPrograms[]
iFunctions[]
soProgramName[] "Program name
soAuthor[] "Author
customerNamespace "Customer name range
pMod "Also modified by author
pCust "Customer object only
pMess "Find messages
pText "Text Elements
pDict "Dictionay structures
pFunc "Get functions
pInc "Get includes
pScr "Get screens
pRecF "Search recursively for functions
pRecI "Search recursively for includes
p$Tmp "local objects
pPack. "Package
endcase.
end-of-selection
end-of-selection.
if forcedExit = 0.
Set the file extension and output type of the file
if pTxt is initial.
downloadFileExtension = HTMLEXTENSION.
else.
downloadFileExtension = TEXTEXTENSION.
endif.
Decide what to download
case 'X'.
Download tables
when rTable.
if not ( iDictionary[] is initial ).
perform downloadDDStructures using iDictionary[]
downloadFolder
HTMLEXtension
space
pSortT
slashSeparatorToUse
pServ
pProMess.
Free up any memory used for caching HTML versions of tables
loop at iDictionary.
free memory id iDictionary-tablename.
endloop.
Display donwload report
if not pRep is initial.
get time.
runTime = sy-uzeit - startTime.
perform fillTreeNodeTables using iDictionary[]
iTreeDisplay[]
runTime.
endif.
clear iDictionary[].
endif.
Download message class
when rMess.
if not ( iMessages[] is initial ).
sort iMessages ascending by arbgb msgnr.
loop at iMessages.
append iMessages to iSingleMessageClass.
at end of arbgb.
perform downloadMessageClass using iSingleMessageClass[]
iMessages-arbgb
downloadFolder
downloadFileExtension
pHtml
space
pComm
customerNameSpace
pInc
pDict
pMess
slashSeparatorToUse
pServ
pProMess.
clear iSingleMessageClass[].
endat.
endloop.
Display download report
if not pRep is initial.
get time.
runTime = sy-uzeit - startTime.
perform fillTreeNodeMessages using iMessages[]
iTreeDisplay[]
runTime.
endif.
clear iMessages[].
endif.
Download functions
when rFunc.
if not ( iFunctions[] is initial ).
perform downloadFunctions using iFunctions[]
downloadFolder
downloadFileExtension
space
pDoc
pHtml
pComm
customerNameSpace
pInc
pDict
TEXTEXTENSION
HTMLEXTENSION
pSortT
slashSeparatorToUse
pServ
pProMess.
Free up any memory used for caching HTML versions of tables
loop at iFunctions.
loop at iFunctions-iDictStruct assigning <waDictStruct>.
free memory id <waDictStruct>-tablename.
endloop.
endloop.
Display donwload report
if not pRep is initial.
get time.
runTime = sy-uzeit - startTime.
perform fillTreeNodeFunctions using iFunctions[]
iTreeDisplay[]
runTime.
endif.
clear iFunctions[].
endif.
Download Classes
when rClass.
if not ( iClasses[] is initial ).
perform downloadClasses using iClasses[]
iFunctions[]
downloadFolder
downloadFileExtension
HTMLEXTENSION
TEXTEXTENSION
pHtml
pComm
custo -
Download/Upload Function group???
Hi,
How to download function group from one system and upload it to another system.
Here transporting the request is not possible. Hence it requires to be downloded first on to one system and uploaded to another system.
How it can be done??
Thanks and Regards
Rahul.Hi,
GOTO transaction SE80, Choose Function Group in the List Box and Provide your FG and Press Enter. Now goto utilities->more utilities->Upload and DOwnload.
Hope this should have helped you.
Thanks,
Prashanth -
Upload / download gui-status/dynpro when function group
Hi All,
I'm coding a program where I can download and upload reports and module pools but I tried to do the same with function groups and I found It is different to upload dynpro and gui staus when the objet to generate is a function group.
Could anyone help me a little in order to complete and finish this issue?
Below is shown the routines I coding in order to achive that:
For gui-status uploading I use:
CALL FUNCTION 'RS_CUA_INTERNAL_WRITE'
EXPORTING
program = prog
language = sy-langu
tr_key = tr_key
adm = adm4
TABLES
sta = sta4
fun = fun4
men = men4
mtx = mtx4
act = act4
but = but4
pfk = pfk4
set = set4
doc = doc4
tit = tit4
biv = biv46c
EXCEPTIONS
not_found = 1
OTHERS = 2.
For screen uploading I use:
GENERATE DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s ID dynp_id
MESSAGE mess LINE line WORD word.
IF sy-subrc = 0.
EXPORT DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s ID dynp_id.
ENDIF.
But both options don't work when uploading function groups
Regards...
Edited by: Rob Burbank on Jun 1, 2011 11:58 AM
Edited by: Kenneth Castañeda on Jun 2, 2011 7:31 PM
Edited by: Kenneth Castañeda on Jun 2, 2011 7:34 PMHi Kenneth,
sorry, it is really not obvious that [there is a link behind zsaplink|http://code.google.com/p/saplink/].
From the link:
"SAPlink is an open source project that aims to make it easier to share ABAP developments between programmers. It provides the ability to easily distribute and package custom objects."
This software allows you to up- and download all kinds of SAP objects. It is distributed under the GNU General Public License.
I think this is exactly what you are looking for - or I did not understand your question.
Regards,
Clemens -
Function Group : Upload/ download
Hi Experts,
is there any Function group which will help me upload/download excel file?Kindly advise.
thanks & regards,
M.SYes you can but you must save data in text mode (tabulation or delimited) .
It's not possible to upload directly a excel file with GUI_UPLOAD
But it's possible with ALSM_EXCEL_TO_INTERNAL_TABLE.
Rgds -
What do you mean by changing a Function Group in upgradation projects
Hi ABAPers,
I am new to upgradation project will any one help me in understanding the concepts like.
1) what do you mean by changing a Function Group in upgradation projects
2) what is the relation b/w the Maintenance view and function group
3) what happens when we regenerate the table maintenance in se11
4) how can i restore the changes that have done to FG after regenerating
5) Suggest me is there any Tcode or procedure to see the code in Remote system (like how we compare the versions of remote system)
Could you please help me ..
Any relevant docs you can send it to [email protected]
Thanks in advance..Hello Smriti,
Exploding a BOM means to display all the components and sub-components for a BOM in a particular transaction (eg) VA01,CO01,ME22N etc..
You can use the SAP FM's depend on the Functionality:
CS_BOM_EXPLOSION General BOM explosion
CS_BOM_EXPLOSION_EQUI BOM explosion - initial screen: equipment
CS_BOM_EXPLOSION_MAT BOM explosion (old version); as of 3.0, use CS_BOM_EXPL_MAT_V2
CS_BOM_EXPL_EQU_V2 BOM explosion for equipment
CS_BOM_EXPL_KND_V1 BOM explosion for material
CS_BOM_EXPL_MAT_V2 BOM explosion for material
CS_BOM_EXPL_PSP_V1
CS_BOM_EXPL_TPL_V1 BOM explosion for functional location
CSS7 Explode BOM (Document)
CS_BOM_EXPL_DOC_V1 BOM explosion: document sub-assemblies
CS_BOM_EXPL_GNRL2_V1 General BOM explosion: document sub-assemblies
CSSO
CS_SO_MODE_BOM_EXPLOSION
As per Garet in response to your question better talk to the Functional team to get the better underatanding for your requirement.
Check the below link for more details on BOM:
http://sap-img.com/sap-sd/what-is-bom-referring-to-sap-sd.htm
Thanks,
Greetson -
Problem in adding function group inlcude in new transport request
Hi friends,
This is regarding the issue while moving the function group developed for BAPI object to production.Include having the suffix UXX in main program of function group I am not able to change and then save in new transport request,but the same is possible in R/3 4.7 version.
Can you please help me out to get it done in ECC 6.0.
Regards,
Rajesh AkarteDid you try to do: Put cursor on transport number-select include icon-say select freely selected objects-I usually say dev class and can highlight and select the object and save. Please reward points if helpful.
Message was edited by:
Tom M. -
EDI validation Error: Segment GS(Functional Group Header) at guideline
Hi,
I am working on EDI 272 transaction(inbound).
I created ECS file for EDI 272 and validated the EDI 272 data with ECS file in the B2B document editor. Validation was sucess in the B2B document editor
when I upload the same ECS file and tested the same in B2B. I am using EDI version 4020.
I am getting the following error,
Segment GS(Functional Group Header) at guideline position 0200 is missing. This segment's standard option is Mandatory.{br}{br}This segment was expected after:{br}{tab}Segment Count: 1{br}{tab}Character: 105Hi Anuj,
I created new ECS file without Envelope.
Now I am getting the following exception
<errorCode>AIP-51505</errorCode>
<errorText>5020: An invalid character was encountered in a data element.</errorText>
<errorDescription>
<![CDATA[Machine Info: (dgia21a.cccis.com)
Element ISA11 data type must be 'Alphanumeric'. Segment ISA is defined in the guideline at position 010.{br}{br}This error was detected at:{br}{tab}Segment Count: 1{br}{tab}Element Position: 11 {br}{tab}Characters: 82 through 83 ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
<errorDetails>
<parameter name="InterchangeControlStandard_RepeatingSeparator" value=""/>
<parameter name="InterchangeTrailerControlNumber" value="000000001"/>
<parameter name="InterchangeChildCount" value="1"/>
<parameter name="InterchangeTime" value="1417"/>
<parameter name="InterchangeUsageIndicator" value="T"/>
<parameter name="ErrorScope" value="Interchange"/>
<parameter name="SubelementDelimiter" value=""/>
<parameter name="RepeatingSeparator" value=""/>
<parameter name="InterchangeSecurityInfo" value=" "/>
<parameter name="InterchangeReceiverQual" value="ZZ"/>
<parameter name="DecimalSeparator" value=""/>
<parameter name="InterchangeAuthorizationInfoQual" value="00"/>
<parameter name="ElementDelimiter" value=""/>
<parameter name="InterchangeComponentElementSep" value=""/>
<parameter name="InterchangeControlVersion" value="00402"/>
<parameter name="InterchangeAckRequested" value="0"/>
<parameter name="InterchangeSenderQual" value="ZZ"/>
<parameter name="InterchangeReceiverID" value="BBBBBBBBBBBB"/>
<parameter name="ReleaseCharacter" value=""/>
<parameter name="InterchangeDate" value="001212"/>
<parameter name="SegmentDelimiter" value=""/>
<parameter name="InterchangeControlNumber" value="000000001"/>
<parameter name="InterchangeAuthorizationInfo" value=" "/>
<parameter name="InterchangeSenderID" value="AAAAAAAAAAAA"/>
<parameter name="InterchangeSecurityInfoQual" value="00"/>
</errorDetails>
</Exception> -
Regarding uploading the function group
Hi All,
I have a requirement like this....
I have a selection screen which consists of function group name...and two options upload and download...
If i click on download option and supply the function group name..then it will download all the function group related stuff like function modules, includes,etc..
this download option is working fine...
Now my problem is in upload option...
how can i upload all the files and it forms a function group...
I created a function group zfgroup and downloaded all the files related to this like function modules and include files...and deleted that function group...
now using these files i have to create the function group when i click on the upload option.
hope you guys got this question...
thanks and regards
raghuHi,
Check the solution you are look in for inthis link.
<a href="/people/alvaro.tejadagalindo/blog/2006/03/18/taking-good-care-of-z-function-modules utility</a>
Hope this helps.
Cheers
VJ
Message was edited by: Vijayendra Rao -
Experts pls guide me function group problem
Hi Experts
plz help me i have an issue regarding a function group
i m in a upgrade project from 4.6c to 6.0
in 4.6 there is a function group named svar we made a copy of it an did som customisation for our use
in ecc 6.0 SAP have made some major changes in svar
as zvar is also calling one of the include of svar which is LSVARCLS so it is affecting our zvar too
what i want
i want to keep all my customisations of 4.6 and also want to add the new functionality added by sap in the newer version
i heard a term called regeneration of zvar which is for this purpose only
so experts plz tell me what is this regeneration ?
does it exists?
if it exist how i can do it
thanx in advanceHi Anit,
The best way in such cases is copy the standard program once again lets say ZVAR1.
Now identify the diffences between SVAR (Old version) and ZVAR and include all those changes in ZVAR1 and use ZVAR1.
Reward points if useful.
Regards,
Atish -
QM-IDI : User QMIDI has no RFC authorization for function group QIRF
Hi,
I am in the process of trying to connect from Labware LIMS to SAP ECC 6, specifically the quality module. The aim is to use Labware to connect to SAP via the QM-IDI interface to
1) Download inspection lots from SAP
2) Upload usage decisions and inspection lot results to SAP.
Initially I specified an account on SAP of the type 'Communications Data', however any time I tried to connect to SAP from LIMS via the interface with this account it gives an <i>'Incorrect Username/Password'</i> error in the trace logs. I then changed the account to a dialog user, which seems to be partially more successful, however the trace logs captures the following error 'User QMIDI has no RFC authorization for function group QIRF' when I try to connect from LIMS to SAP via the QM-IDI interface after changing the user to type dialog.
I would appreciate any guidance on how to resolve this issue.
Regards.i got stuck on configuring idi. plz guide me. bond_chaitu at yahoo dot com
-
Option to mass migrate function modules in a function group to new SAP box
Hi All,
We have a requirement wherein we have to move all the existing function modules to a new SAP box.
I heard that there is an option to download all function modules in a function group to text files and upload them to a new system at once without much progamming.
Please let me know if anyone knows how to do this.
Thank you,
VasuHi Vasu,
why don't you just use CTS?
Create a transport that contains the objects you want to move. Then. assuming the target system is not in the same CTS landscape, move the files to the transport directory of the target system. Then in STSM goto the Import Queue and select Extras->Other Requests-Add to add your transport to the queue. Then import it as normal.
Cheers
Graham Robbo -
Hi there, got 3 issues at once....
1) can't download the latest itune version onto my PC (it simply stops, not even an error message)
2) can't access the itune store and in order to fix this i need the latest version - catch 22!
3) one of my ipods isn't recognised by itune, nit sure if because of the earlier problems?
.... thanks
S.Hello SAB7700,
This first article can help get iTunes successfully downloaded and updated, which should restore access to the iTunes Store.
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/HT1926
Once iTunes is successfully updated, the following articles provides steps that can help get your iPod working in iTunes again and the iTunes Store functioning, should the update not resolve these issues
iPod not recognized in My Computer and in iTunes for Windows
http://support.apple.com/kb/TS1369
Can't connect to the iTunes Store
http://support.apple.com/kb/TS1368
Cheers,
Allen -
Hi,
I copied a standard sap function group to Z one in transaction SE80 in sap version SAP ECC 6.0.
After copying I tried to activate a new function group, but it was not possible, because a syntax error in a source.
Syntax error : function group contain a some includes containing some forms what are working with a parameters of function modules.
But these parameters of function modules are marked as unknown objects.
I tried to activate all object at once but anyway I get still same error that object xyz ( what is a parameter of function module) is not in form abcd known.
Any help is very appreciated.
Thank you.
MarianAfter copying I tried to activate a new function group, but it was not possible, because a syntax error in a source.
How you are trying actvate the FG? try with SE80 than right click -
I have a window XP, since i updated firefox to 5.0, it doesnt work. i uninstalled it to install the 4.0 version. But whenever i want to download it only offers the 5,0.
How can i download the 4.0 version???Firefox 4 versions and later do not run on a PowerPC Mac. Firefox 4 and later require at least OS X 10.5 and an Intel Mac.
http://www.mozilla.org/en-US/firefox/8.0/system-requirements/
Firefox 3.6.24 (Mac OS X 10.4 and later) can be found here:
http://www.mozilla.com/en-US/firefox/all-older.html
(this is for you)
read the-edmeister reply here too:
https://support.mozilla.com/en-US/questions/896057
(A group of Mac users have created their own Community Build from the "Firefox 4+" versions.
TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8 .
http://www.floodgap.com/software/tenfourfox/
http://tenfourfox.blogspot.com/ )
thank you
Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.
Maybe you are looking for
-
Duplicate failed with below error. The catalog database is up and running "rman_Dup_full.log_DEVDB_2013-01-20_21_11_32" 1600 lines, 71681 characters switch clone datafile all; RMAN-08162: executing Memory Script RMAN-00571: ==========================
-
Best audio settings for mp3?
Hi everyone, I was wondering what are the best audio settings for an mp3 to import into C4? Thanks, Tina
-
Unrecognized Blackberry Device
Hello, I own an unlocked Storm 9570. I installed BB Desktop Manager 6.0, and when i connected my bb it said "Unrecognized BlackBerry Device BlackBerry Desktop Software device information update failed. Please verify you have a valid internet connect
-
Hi I created PR to PO. Po created with account assignment category c-sales order and item category s-third party. My question is PO or PR not showing in MD04. Please can anybody suggest?
-
HAI im trying to load the text&attribute for one master data characteristic(ZTEMP)IN background. 1) I checked in SM37. There job is cancelled . And i got the following error in joblog of SM37 Analyze table /BIC/TZTEMP delete statistics Begin DBMS_S