Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

call statement

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

Former Member
Not what you were looking for? View more on this topic or Ask a question