Skip to Content
0
Former Member
Jun 13, 2011 at 03:30 PM

Issue in data types for SAP Function Module (SCMS_ARCHIVE_INFO_GET)

417 Views

Hello Gurus,

I m facing a starnge issue. I am using aFunbction module, 'SCMS_ARCHIVE_INFO_GET' to get the detail of content repository setup in SAP.

Now in this function module the export parameters, BASICPATH and ARCHIVPATH are defined as type 'C'. But when I execute the FM, I see the datatype for these fields and some others which are defined as Type C, gets changed to Type C(200) in the ABAp debugger. This FM test execution is successful.

But when the background user tries to use the same FM in a program during debugging, the data type remains Type C as defined in FM export parameters and the FM execution terminates.

Can someone tell me why is the difference and what do I need to do make sure that the data type does change to C(200) and does not remain TyPE C becasue then it fails.

Regards,

Tushar.