09-18-2008 4:36 AM
Hi to all,
there is one program which will extract all the dump( Error sessions) from SM35. in that program there are some call statements which are working fine in 4.5B version, Client upgraded to ECC 6.0 version, in that it is not working.
for example
data:paramname(11) VALUE 'bdc/logfile',
logname(80).
CALL 'C_SAPGPARAM' ID 'NAME' FIELD paramname
ID 'VALUE' FIELD logname.
this call statement is getting some path and file name into logname in 4.5B version, but in ECC version its getting failed.
is we need to do any configuration for this, i also tried by passing value 'bdc/new_protocol' to the PARAMNAME, didnt working.
after getting this fiel and pathe name, how to read the data in that file.
there are some call statements to read this file, but those also again failing.
data: ec TYPE i,
one TYPE i VALUE 1.
DATA BEGIN OF bdclda OCCURS 0.
INCLUDE STRUCTURE bdcld.
DATA END OF bdclda .
i have included some declarations for reference.
CALL 'ReadLogDirA' ID 'LOGN' FIELD logname
ID 'DTAB' FIELD bdclda-sys
ID 'AINF' FIELD one
ID 'ECNT' FIELD ec.
is we need any configuration, or is there some thing else to do it.
can any body help pls.
regards
raadha
09-18-2008 9:40 AM
09-18-2008 2:05 PM
hello,
could any one help me how to use these statements.
regards
raadha
09-22-2008 7:52 AM
Hello every body,
Can anybody help me where can i get documentation for these Cfunctions, Pls help me
Regards
Raadha
09-23-2008 10:44 AM
Hi,
You need to change some coding part.
Replace Occurs 0 with like standard table.
Example:
DATA BEGIN OF bdclda OCCURS 0.
INCLUDE STRUCTURE bdcld.
DATA END OF bdclda .
Change it to:
DATA BEGIN OF bdclda.
INCLUDE STRUCTURE bdcld.
DATA END OF bdclda.
DATA:
bdclda LIKE STANDARD TABLE bdclda.
Regards,
Rama.